[Ffmpeg-devel] Win32 compile + amr_wb support

Federico Rossi f.rossi
Thu Sep 22 16:42:02 CEST 2005


> Why oh why did you snip the link command itself? It would have shown us
> exactly what object modules were used, in what order.


You are right! Sorry. This is the complete dump of the link command.

rm -f libavcodec.a
ar rc libavcodec.a bitstream.o utils.o mem.o allcodecs.o mpegvideo.o 
jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o 
resample2.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 h264idct.o rangecoder.o pnm.o h263.o 
msmpeg4.o h263dec.o dvdsub.o dvbsub.o dvbsubdec.o opt.o aasc.o alac.o asv1.o 
cinepak.o cljr.o cyuv.o dv.o 8bps.o ffv1.o flac.o flicvideo.o 4xm.o fraps.o 
h261.o h264.o huffyuv.o idcinvideo.o indeo2.o indeo3.o interplayvideo.o 
lcl.o loco.o mace.o msrle.o msvideo1.o png.o qdrw.o qpeg.o qtrle.o ra144.o 
ra288.o roqvideo.o rpza.o rv10.o shorten.o smc.o snow.o sonic.o svq1.o 
truemotion1.o tscc.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 w32thread.o amrwb_float/dec_acelp.o 
amrwb_float/dec_dtx.o amrwb_float/dec_gain.o amrwb_float/dec_if.o 
amrwb_float/dec_lpc.o amrwb_float/dec_main.o amrwb_float/dec_rom.o 
amrwb_float/dec_util.o amrwb_float/enc_acelp.o amrwb_float/enc_dtx.o 
amrwb_float/enc_gain.o amrwb_float/enc_if.o amrwb_float/enc_lpc.o 
amrwb_float/enc_main.o amrwb_float/enc_rom.o amrwb_float/enc_util.o 
amrwb_float/if_rom.o amr.o
ranlib libavcodec.a
gcc -shared -Wl,--output-def,avcodec.def -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 resample2.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 h264idct.o rangecoder.o pnm.o 
h263.o msmpeg4.o h263dec.o dvdsub.o dvbsub.o dvbsubdec.o opt.o aasc.o alac.o 
asv1.o cinepak.o cljr.o cyuv.o dv.o 8bps.o ffv1.o flac.o flicvideo.o 4xm.o 
fraps.o h261.o h264.o huffyuv.o idcinvideo.o indeo2.o indeo3.o 
interplayvideo.o lcl.o loco.o mace.o msrle.o msvideo1.o png.o qdrw.o qpeg.o 
qtrle.o ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o smc.o snow.o 
sonic.o svq1.o truemotion1.o tscc.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 w32thread.o 
amrwb_float/dec_acelp.o amrwb_float/dec_dtx.o amrwb_float/dec_gain.o 
amrwb_float/dec_if.o amrwb_float/dec_lpc.o amrwb_float/dec_main.o 
amrwb_float/dec_rom.o amrwb_float/dec_util.o amrwb_float/enc_acelp.o 
amrwb_float/enc_dtx.o amrwb_float/enc_gain.o amrwb_float/enc_if.o 
amrwb_float/enc_lpc.o amrwb_float/enc_main.o amrwb_float/enc_rom.o 
amrwb_float/enc_util.o amrwb_float/if_rom.o 
amr.o  -lm -L../libavutil -lavutil
amr.o(.text+0x1c): In function `amr_nb_decode_init':
C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:342: undefined 
reference to `Decoder_Interface_init'
amr.o(.text+0xa4): In function `amr_nb_encode_init':
C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:377: undefined 
reference to `Encoder_Interface_init'
amr.o(.text+0x186): In function `amr_nb_decode_close':
C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:395: undefined 
reference to `Decoder_Interface_exit'
amr.o(.text+0x1ad): In function `amr_nb_encode_close':
C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:402: undefined 
reference to `Encoder_Interface_exit'
amr.o(.text+0x216): In function `amr_nb_decode_frame':
C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:436: undefined 
reference to `Decoder_Interface_Decode'
amr.o(.text+0x291): In function `amr_nb_encode_frame':
C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:448: undefined 
reference to `Encoder_Interface_Encode'
collect2: ld returned 1 exit status
make[1]: *** [avcodec.dll] Error 1
make[1]: Leaving directory `/home/Freddy/ffmpeg/libavcodec'
make: *** [lib] Error






More information about the ffmpeg-devel mailing list