Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84583 - xmms-wma fails to compile due to ffmpeg av_seek_frame header change
Summary: xmms-wma fails to compile due to ffmpeg av_seek_frame header change
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-08 19:06 UTC by ra
Modified: 2005-03-15 14:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ra 2005-03-08 19:06:52 UTC
xmms-wma-1.0.3 fails to compile with ffmpeg-0.4.9_p20050226

This is due to an additional "flag" parameter required for the function av_seek_frame.

Bumping to the latest version 1.0.4 fixes the problem.

gcc -c -o obj/xmms-wma.o -march=athlon64 -mfpmath=sse -msse2 -fomit-frame-pointer -O2 -pipe -w -fPIC -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fPIC `xmms-config --cflags` -I/usr/include/ffmpeg xmms-wma.c
gcc -c -o obj/iir.o -march=athlon64 -mfpmath=sse -msse2 -fomit-frame-pointer -O2 -pipe -w -fPIC -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fPIC `xmms-config --cflags` -I/usr/include/ffmpeg iir.c
xmms-wma.c: In function `wma_play_loop':
xmms-wma.c:347: error: too few arguments to function `av_seek_frame'
make[1]: *** [obj/xmms-wma.o] Error 1
make: *** [all] Error 2

!!! ERROR: media-plugins/xmms-wma-1.0.3 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge xmms-wma
2.
3.

Actual Results:  
compile fails

Expected Results:  
compile succeeding.
Comment 1 ra 2005-03-08 19:18:15 UTC
Scratch that. It seems like the patch is the culprit.

Changing:

+#MYCFLAGS += -I ffmpeg-strip-wma

to

+MYCFLAGS += -I ffmpeg-strip-wma

fixes it.
Comment 2 Chris White (RETIRED) gentoo-dev 2005-03-15 14:51:47 UTC
Fixed in cvs.  Thanks for reporting.