MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000725VCMIOtherpublic2011-04-29 21:402011-10-31 20:35
Reporterhumeniuc 
Assigned ToIvan 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformDell Vostro 1720OSDebianOS VersionSqeeze
Product Version0.84 
Target VersionFixed in Version 
Summary0000725: error during make
Descriptionconfigure 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
Steps To Reproduce./configure
make
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001703)
Ivan (developer)
2011-04-29 22:30

Probably due to different version of libavformat - Debian Squeeze have 0.5.2. Will look into this.
(0001704)
Ivan (developer)
2011-04-30 18:20

Can you check this with latest source? Should be fixed in rev 2099
(0001708)
humeniuc (reporter)
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 (developer)
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 (developer)
2011-10-31 20:35

Not VCMI issue, can be avoided by using newer version of libavformat

- Issue History
Date Modified Username Field Change
2011-04-29 21:40 humeniuc New Issue
2011-04-29 22:30 Ivan Status new => assigned
2011-04-29 22:30 Ivan Assigned To => Ivan
2011-04-29 22:30 Ivan Note Added: 0001703
2011-04-30 18:20 Ivan Note Added: 0001704
2011-04-30 18:20 Ivan Status assigned => feedback
2011-05-12 18:20 humeniuc Note Added: 0001708
2011-05-12 18:20 humeniuc Status feedback => assigned
2011-05-28 10:27 Ivan Note Added: 0001731
2011-10-31 20:35 Ivan Note Added: 0002111
2011-10-31 20:35 Ivan Status assigned => closed
2011-10-31 20:35 Ivan Resolution open => won't fix

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean