[gentoo-user] libquicktime won't build against x264 enabled ffmpeg

2006-09-11 Thread karsten
Hi, 

there  is an error 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] libquicktime won't build against x264 enabled ffmpeg

2006-09-11 Thread karsten
sorry, I pushed enter tooo early :D

I get the following error with libquicktime-0.9.9-r1 when compiling
against ffmpeg (which in turn is built against x264-svn with the x264
USE-flag):

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I../../include/quicktime -O3 -funroll-all-loops -fomit-frame-pointer
-finline-functions -Wall -Winline -MT x264.lo -MD -MP -MF .deps/x264.Tpo
-c x264.c  -fPIC -DPIC -o .libs/x264.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I../../include/quicktime -O3 -funroll-all-loops -fomit-frame-pointer
-finline-functions -Wall -Winline -MT lqt_x264.lo -MD -MP
-MF .deps/lqt_x264.Tpo -c lqt_x264.c  -fPIC -DPIC -o .libs/lqt_x264.o
x264.c: In function 'encode':
x264.c:495: error: 'struct anonymous' has no member named
'i_rc_method'
x264.c:495: error: 'X264_RC_ABR' undeclared (first use in this function)
x264.c:495: error: (Each undeclared identifier is reported only once
x264.c:495: error: for each function it appears in.)
x264.c: At top level:
x264.c:632: error: 'X264_RC_CQP' undeclared here (not in a function)
x264.c:633: error: 'X264_RC_ABR' undeclared here (not in a function)
x264.c:634: error: 'X264_RC_CRF' undeclared here (not in a function)
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I../../include/quicktime -O3 -funroll-all-loops -fomit-frame-pointer
-finline-functions -Wall -Winline -MT lqt_x264.lo -MD -MP
-MF .deps/lqt_x264.Tpo -c lqt_x264.c -o lqt_x264.o /dev/null 21
x264.c: In function 'set_parameter':
x264.c:654: error: 'struct anonymous' has no member named
'i_rc_method'
x264.c:654: warning: statement with no effect
make[3]: *** [x264.lo] Error 1
make[3]: *** Waiting for unfinished jobs
make[3]: Leaving directory
`/var/tmp/portage/libquicktime-0.9.9-r1/work/libquicktime-0.9.9/plugins/x264'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libquicktime-0.9.9-r1/work/libquicktime-0.9.9/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libquicktime-0.9.9-r1/work/libquicktime-0.9.9'
make: *** [all] Error 2


it looks as if something, like x264.h is not being included, but I don't
know too much about that to be able to fix the problem myself. Does
anyone know what could be the problem here?

I use the following x264-svn ebuild: 20060612

I need this compile a few things actually, mplayer, cinelerra-cvs and
other non-portage software.

thanks

Karsten

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libquicktime won't build against x264 enabled ffmpeg

2006-09-11 Thread Alan McKinnon
On Monday 11 September 2006 14:10, karsten wrote:
 Hi,

 there  is an error

from /usr/portage/profile/package.mask:

# Luca Barbato [EMAIL PROTECTED] (12 Aug 2006)
# x264 doesn't play nice with older version, temp mask for a 
better
# transition
=media-libs/x264-svn-20060810
=media-video/mplayer-1.0_pre20060810
=media-video/ffmpeg-0.4.9_p20060816
=media-libs/libquicktime-0.9.9-r1

the devs have masked it for a reason - from the above I'd say 
it's because it doesn't work :-)

alan
-- 
gentoo-user@gentoo.org mailing list