[FFmpeg-user] Other compilations problems

aple ex exampte01 at hotmail.fr
Sun Jan 15 03:58:55 CET 2012




> From: exampte01 at hotmail.fr
> To: ffmpeg-user at ffmpeg.org
> Date: Sun, 15 Jan 2012 03:03:31 +0100
> Subject: Re: [FFmpeg-user] Other compilations problems
> 
> 
> Hi,
> 
> 
> Thanks again to watch my problems, I zm a beginner so I don't know how proceeding ...
> 
> 
> Anyway the celt version installed is the version 0.10.0-2.fc15 in 64 bits
> 
> 
> Make V=1 give me :
> 
> 
> [test at ltest ffmpeg]$  make  V=1
> 
> gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes  -MMD -MF libavcodec/libcelt_dec.d -MT libavcodec/libcelt_dec.o -c -o libavcodec/libcelt_dec.o libavcodec/libcelt_dec.c
> libavcodec/libcelt_dec.c: In function ‘ff_celt_bitstream_version_hack’:
> 
> libavcodec/libcelt_dec.c:55:5: erreur: too many arguments to function ‘celt_header_init’
> /usr/include/celt/celt_header.h:60:6: note: declared here
> libavcodec/libcelt_dec.c: In function ‘libcelt_dec_init’:
> libavcodec/libcelt_dec.c:70:5: erreur: implicit declaration of function ‘celt_decoder_create_custom’ [-Werror=implicit-function-declaration]
> libavcodec/libcelt_dec.c:70:15: attention : assignment makes pointer from integer without a cast [enabled by default]
> cc1: some warnings being treated as errors
> 
> 
> make: *** [libavcodec/libcelt_dec.o] Erreur 1
> 
> 
> For frei0r it's more weird because when I try to install ffmpeg with this in configure line
> ./configure --arch=x86_64 --cpu=64 --enable-frei0r
> that's work !!
> 
> 
> But  if I try with the complete configure line used before, I have the same error. The make V=1 give me :
> 
> 
> [test at ltest ffmpeg]$ make V=1
> gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-needed -fprofile-arcs -ftest-coverage -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -o ffmpeg_g ffmpeg.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale -lavutil -lX11 -lXext -lXfixes -lva -lcdio_paranoia -lcdio_cdda -lcdio -lasound -lSDL -lpthread -lopenal -lxvidcore -lx264 -lvpx -lvpx -lvorbisenc -lvorbis -logg -lvo-aacenc -lv4l2 -ltheoraenc -ltheoradec -logg -lspeex -lschroedinger-1.0 -lrtmp -lz -lgnutls -lopenjpeg -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lopencore-amrwb -lopencore-amrnb -lmp3lame -lmodplug -lgsm -lfreetype -lfaac -ldirac_encoder -ldirac_decoder -lstdc++ -ldc1394 -lass -laacplus -lva -lm -pthread -lbz2 -lz 
> /usr/bin/ld: libavfilter/libavfilter.a(vf_frei0r.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
> /lib64/libdl.so.2: could not read symbols: Invalid operation
> collect2: ld a retourné 1 code d'état d'exécution
> make: *** [ffmpeg_g] Erreur 1
> 
> 
> 
> My version of frei0r-devel  is 1.3-1.fc15 in 64bits too.

I have solve the frei0r problem. I have see it's incompatible with --disable-ffserver in the configure line ! If you remove it that's works !!
Moreover i have try to configure ffmpeg with only 
./configure --arch=x86_64 --cpu=64 --enable-libcelt 
and without the 64 bits flags but I always have the same error. 		 	   		  


More information about the ffmpeg-user mailing list