MantisBT - VCMI
View Issue Details
0000725VCMIOtherpublic2011-04-29 21:402011-10-31 20:35
humeniuc 
Ivan 
normalminoralways
closedwon't fix 
Dell Vostro 1720DebianSqeeze
0.84 
 
0000725: error during make
configure was ok, no errors appears.

Durring make an error appears:

vcmiclient-CVideoHandler.o: In function `CVideoPlayer::nextFrame()':
/data/lib-repositories/vcmi/trunk/client/CVideoHandler.cpp:845: undefined reference to `av_free_packet'
collect2: ld returned 1 exit status
make[1]: *** [vcmiclient] Error 1
make[1]: Leaving directory `/data/lib-repositories/vcmi/trunk/client'
make: *** [all-recursive] Error 1
./configure
make
No tags attached.
Issue History
2011-04-29 21:40humeniucNew Issue
2011-04-29 22:30IvanStatusnew => assigned
2011-04-29 22:30IvanAssigned To => Ivan
2011-04-29 22:30IvanNote Added: 0001703
2011-04-30 18:20IvanNote Added: 0001704
2011-04-30 18:20IvanStatusassigned => feedback
2011-05-12 18:20humeniucNote Added: 0001708
2011-05-12 18:20humeniucStatusfeedback => assigned
2011-05-28 10:27IvanNote Added: 0001731
2011-10-31 20:35IvanNote Added: 0002111
2011-10-31 20:35IvanStatusassigned => closed
2011-10-31 20:35IvanResolutionopen => won't fix

Notes
(0001703)
Ivan   
2011-04-29 22:30   
Probably due to different version of libavformat - Debian Squeeze have 0.5.2. Will look into this.
(0001704)
Ivan   
2011-04-30 18:20   
Can you check this with latest source? Should be fixed in rev 2099
(0001708)
humeniuc   
2011-05-12 18:20   
I take the fallowing steps

>> svn up
At revision 2118.
>> make clean
>> make

  CXX vcmiclient-SDL_Extensions.o
  CXX vcmiclient-SDL_framerate.o
  CXXLD vcmiclient
vcmiclient-CVideoHandler.o: In function `CVideoPlayer::nextFrame()':
/data/lib-repositories/vcmi/trunk/client/CVideoHandler.cpp:845: undefined reference to `av_free_packet'
collect2: ld returned 1 exit status
make[1]: *** [vcmiclient] Error 1
make[1]: Leaving directory `/data/lib-repositories/vcmi/trunk/client'
make: *** [all-recursive] Error 1

It seems that the problem persists.
Sorry for the late response.
(0001731)
Ivan   
2011-05-28 10:27   
Don't see any nice way to fix this. Re-running configure with --disable-debug switch may solve the problem:
./configure --disable-debug
make clean
make
More reliable way is to update to newer version of ffmpeg - anything newer should work
(0002111)
Ivan   
2011-10-31 20:35   
Not VCMI issue, can be avoided by using newer version of libavformat