[Ffmpeg-devel] Compiling problems with --disable-opts after r6248

angustia at arrozcru.no-ip.org angustia
Sat Oct 14 04:35:53 CEST 2006


Hello,

Trying "make" from "./configure --disable-opts" after revision 6248  
gives the following error:

gcc -L./libavformat -L./libavcodec -L./libavutil -Wl,--warn-common    
-rdynamic -export-dynamic -Wl,--as-needed  
-Wl,-rpath-link,/home/angustia/ffmpeg/libavcodec  
-Wl,-rpath-link,/home/angustia/ffmpeg/libavformat  
-Wl,-rpath-link,/home/angustia/ffmpeg/libavutil -g -o ffmpeg_g  
ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -ldl
./libavcodec/libavcodec.a(dsputil_mmx.o): In function  
`ff_libmpeg2mmx_idct_put':
i386/dsputil_mmx.c:2658: undefined reference to `ff_mmx_idct'
./libavcodec/libavcodec.a(dsputil_mmx.o): In function  
`ff_libmpeg2mmx_idct_add':
i386/dsputil_mmx.c:2663: undefined reference to `ff_mmx_idct'
./libavcodec/libavcodec.a(dsputil_mmx.o): In function  
`ff_libmpeg2mmx2_idct_put':
i386/dsputil_mmx.c:2668: undefined reference to `ff_mmxext_idct'
./libavcodec/libavcodec.a(dsputil_mmx.o): In function  
`ff_libmpeg2mmx2_idct_add':
i386/dsputil_mmx.c:2673: undefined reference to `ff_mmxext_idct'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

Output from "./configure --disable-opts":

angustia at amd64 ~/ffmpeg $ ./configure --disable-opts
install prefix   /usr/local
source path      /home/angustia/ffmpeg
C compiler       gcc
make             make
CPU              x86_64 (generic)
big-endian       no
inttypes.h       yes
broken inttypes.h no
MMX enabled      yes
Vector Builtins  yes
3DNow! Builtins  no
gprof enabled    no
zlib enabled     yes
libgsm enabled   no
mp3lame enabled  no
libogg enabled   no
Vorbis enabled   no
FAAD enabled     no
faadbin enabled  no
FAAC enabled     no
XviD enabled     no
x264 enabled     no
a52 support      no
a52 dlopened     no
DTS support      no
pp support       no
Software Scaler enabled no
AVISynth enabled no
debug symbols    yes
strip symbols    yes
optimize         no
static           yes
shared           no
video hooking    yes
SDL support      yes
Imlib2 support   yes
FreeType support yes
Sun medialib support no
pthreads support no
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
network support      yes
IPv6 support         yes
.align is power-of-two no
License: LGPL
Creating config.mak and config.h...

Revision 6247 worked alright. It also works if I --disable-mmx, or if  
I --enable-gpl.

 From that revision, i386/idct_mmx.o was moved from TARGET_MMX to CONFIG_GPL.
i386/dsputil_mmx.o uses some functions from i386/idct_mmx.o, with a comment:
/* XXX: those functions should be suppressed ASAP when all IDCTs are
    converted */

I'd try a fix I knew how, but I really don't know about that IDCTs stuff...

Ramiro Polla




More information about the ffmpeg-devel mailing list