有在ml 2.0下成功编译ffmpeg源码的吗?
我加了x264,xvid,lame支持,并且编好了这些库的源码,放在相应位置,但是ffmpeg就是编译不了。# ./configure --enable-shared --enable-small --enable-memalign-hack --enable-gpl --enable-x264 --enable-xvid --enable-mp3lame
install prefix /usr/local
source path /root/ffmpeg
C compiler gcc
make make
CPU x86 (generic)
big-endian no
inttypes.h yes
broken inttypes.h no
MMX enabled yes
Vector Builtinsyes
3DNow! Builtinsno
gprof enabled no
zlib enabled yes
lzo enabled yes
libgsm enabled no
mp3lame enabledyes
libogg enabled no
Vorbis enabled no
Theora enabled no
FAAD enabled no
faadbin enabledno
FAAC enabled no
XviD enabled yes
x264 enabled yes
a52 support no
a52 dlopened no
DTS support no
pp support no
debug symbols yes
strip symbols yes
optimize small
static yes
shared yes
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
License: GPL
Creating config.mak and config.h...
# make
make -C libavutil all
make: Entering directory `/root/ffmpeg/libavutil'
rm -f libavutil.a
ar rc libavutil.a mathematics.o integer.o rational.o intfloat_readwrite.o crc.o
ranlib libavutil.a
make: Leaving directory `/root/ffmpeg/libavutil'
make -C libavcodec all
make: Entering directory `/root/ffmpeg/libavcodec'
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 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 idcinvideo.o indeo2.o indeo3.o interplayvideo.o lcl.o loco.o mace.o msrle.o msvideo1.o png.o qdm2.o qdrw.o qpeg.o qtrle.o ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o smacker.o smc.o snow.o sonic.o svq1.o truemotion1.o truemotion2.o truespeech.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 zmbv.o xvidff.o xvid_rc.o x264.o mp3lameaudio.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvideo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/snowdsp_mmx.o i386/idct_mmx_xvid.o
ranlib libavcodec.a
make: Leaving directory `/root/ffmpeg/libavcodec'
make -C libavformat all
make: Entering directory `/root/ffmpeg/libavformat'
rm -f libavformat.a
ar rc libavformat.a utils.o cutils.o os_support.o allformats.o mpeg.o mpegts.o mpegtsenc.o ffm.o crc.o img.o img2.o raw.o rm.o avienc.o avidec.o wav.o mmf.o swf.o au.o gif.o mov.o mpjpeg.o dv.o yuv4mpeg.o 4xm.o flvdec.o psxstr.o idroq.o ipmovie.o nut.o wc3movie.o mp3.o westwood.o segafilm.o idcin.o flic.o sierravmd.o matroska.o sol.o electronicarts.o nsvdec.o asf.o ogg2.o oggparsevorbis.o oggparsetheora.o oggparseflac.o daud.o aiff.o voc.o tta.o mm.o avs.o smacker.o nuv.o flvenc.o movenc.o asf-enc.o adtsenc.o pnm.o yuv.o png.o jpeg.o gifdec.o sgi.o framehook.o grab.o v4l2.o dv1394.o audio.o avio.o aviobuf.o file.o udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o
ranlib libavformat.a
make: Leaving directory `/root/ffmpeg/libavformat'
gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -lm -lx264 -lxvidcore -lmp3lame -lz -llzo -ldl
./libavcodec/libavcodec.so: undefined reference to `pthread_create'
./libavformat/libavformat.so: undefined reference to `put_bmp_header'
./libavformat/libavformat.so: undefined reference to `put_wav_header'
./libavformat/libavformat.so: undefined reference to `url_close_dyn_buf'
./libavformat/libavformat.so: undefined reference to `url_open_dyn_buf'
./libavcodec/libavcodec.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** 错误 1
这是怎么回事啊?我在fc4下已经成功编译了。
页:
[1]