[Ffmpeg-devel] compilation error

Chen Numen developingchen
Tue May 9 08:03:51 CEST 2006


Thank you very much for your any advice.

I compiled ffmpeg today, however I got error. Here is my compilation 
information.Could you help me out?

$ ./configure --disable-static --enable-shared --enable-memalign-hack
install prefix   /c/Program Files/FFmpeg
source path      /e/ac/ffmpeg
C compiler       gcc
make             make
CPU              x86 (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     no
lzo enabled      no
libgsm enabled   no
mp3lame enabled  no
libogg enabled   no
Vorbis enabled   no
Theora 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
debug symbols    yes
strip symbols    yes
optimize         yes
static           no
shared           yes
video hooking    no
SDL support      no
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      no
License: LGPL
Creating config.mak and config.h...

Numen at NUMEN /e/ac/ffmpeg
$ make
make -C libavutil all
make[1]: Entering directory `/e/ac/ffmpeg/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/e/ac/ffmpeg/libavutil'
make -C libavcodec all
make[1]: Entering directory `/e/ac/ffmpeg/libavcodec'
gcc -shared -Wl,-soname,avcodec.dll.51 
-o avcodec.dll bitstream.o utils.o mem.o allcodecs.o mpegvideo              
  .o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o 
resample.o resam                                                            
                                ple2.o dsputil.o motion_est.o imgconvert.o 
imgresample.o mpeg12.o mpegaudiodec.o                                       
                                                      pcm.o simple_idct.o 
ratecontrol.o adpcm.o eval.o error_resilience.o fft.o mdct.                 
o raw.o golomb.o cabac.o dpcm.o adx.o faandct.o parser.o g726.o vp3dsp.o 
                       t.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o 
opt.o aasc.o alac.o asv1.o avs                                              
                                              .o cinepak.o cook.o cljr.o 
cyuv.o dvbsubdec.o dvbsub.o dvdsub.o dvdsubenc.o dv.o                       
8bps.o ffv1.o flac.o flicvideo.o 4xm.o fraps.o h261.o h264.o huffyuv.o 
                        eo.o indeo2.o indeo3.o interplayvideo.o kmvc.o 
lcl.o loco.o mace.o msrle.o msvid                                           
                                                 eo1.o png.o qdm2.o qdrw.o 
qpeg.o qtrle.o ra144.o ra288.o roqvideo.o rpza.o rv10.                      
shorten.o smacker.o smc.o snow.o sonic.o svq1.o truemotion1.o truemotion2.o 
                  uespeech.o tta.o tscc.o cscd.o lzo.o nuv.o rtjpeg.o 
ulti.o vc9.o vcr1.o vmdav.o                                                 
                                            vorbis.o vp3.o vqavideo.o 
wmadec.o wnv1.o ws-snd1.o xan.o xl.o bmp.o mmvideo.o z                      
w32thread.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvid  
              eo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o 
i386/simple_idct_mmx.o i386/fft_s                                           
                                                 se.o i386/vp3dsp_mmx.o 
i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/sn                   
owdsp_mmx.o -L../libavutil -lavutil -lm 
Info: resolving _av_crc04C11DB7 by linking to __imp__av_crc04C11DB7 
Info: resolving _av_crc8005 by linking to __imp__av_crc8005 (auto-import)
Info: resolving _av_crc07 by linking to __imp__av_crc07 (auto-import)
Info: resolving _ff_log2_tab by linking to __imp__ff_log2_tab (auto-import)
Info: resolving _ff_sqrt_tab by linking to __imp__ff_sqrt_tab (auto-import)
shorten.o(.text+0x872): In function `shorten_decode_frame':
e:/ac/ffmpeg/libavutil/common.h:384: variable 'ff_log2_tab' can't be 
                           ed. Please read the documentation for ld's 
--enable-auto-import for details.
Creating library file: libavcodec.dll.a
collect2: ld returned 1 exit status
make[1]: *** [avcodec.dll] Error 1
make[1]: Leaving directory `/e/ac/ffmpeg/libavcodec'
make: *** [lib] Error 2

Thanks again.

?????????????? MSN Messenger:  http://messenger.msn.com/cn  

More information about the ffmpeg-devel mailing list