[Ffmpeg-devel] ffmpeg compile fail w/gcc 3.4.3 due to lrintf definition

Robert Lippmann rlippmann
Fri Apr 29 21:47:11 CEST 2005


hi all,

not sure if this has been covered (can't seem to find the old devel mailing
list archives to search, they're gone from sourceforge), but:

tried to compile today's CVS using fedora core 3 with latest updates, and I
fail with the following:

make -C libavcodec all
make[1]: Entering directory `/home/rlippmann/ffmpeg/libavcodec'
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o bitstream.o bitstream.c
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o utils.o utils.c
In file included from utils.c:28:
dsputil.h:617: warning: static declaration of 'lrintf' follows non-static
declaration
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o mem.o mem.c
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o allcodecs.o allcodecs.c
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o mpegvideo.o mpegvideo.c
In file included from mpegvideo.c:29:
dsputil.h:617: warning: static declaration of 'lrintf' follows non-static
declaration
mpegvideo.c: In function `MPV_encode_picture': dsputil.h:617: sorry,
unimplemented: inlining failed in call to 'lrintf': redefined extern inline
functions are not considered for inlining
mpegvideo.c:2394: sorry, unimplemented: called from here
make[1]: *** [mpegvideo.o] Error 1
make[1]: Leaving directory `/home/rlippmann/ffmpeg/libavcodec'
make: *** [lib] Error 2

configure was invoked as follows:

./configure  --disable-ffplay --disable-v4l --disable-dv1394 --disable-audio
-beos --enable-pthreads --enable-gpl --enable-dts --enable-a52 --enable-faad
 --enable-faadbin

gcc version:

Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --disable-checking --with-system-zli
b --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk
 --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)

any ideas?

thanks,
rob






More information about the ffmpeg-devel mailing list