I've successfully compiled and made FFMPEG with the following flags:
Code: Select all
/usr/local/src/ffmpeg$ ffmpeg
FFmpeg version git-8756e5b, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --disable-vhook --enable-gpl --enable-pthreads --disable-debug --enable-libmp3lame --enable-swscale --enable-libfaac
libavutil 49.11. 0 / 49.11. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
built on Oct 9 2008 22:12:26, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Code: Select all
/usr/local/src/vlc-0.9.3$ ./configure --enable-ffmpeg --with-ffmpeg-mp3lame --disable-live555
Code: Select all
Ending up with:
Enabled modules: a52 a52tofloat32 a52tospdif access_filter_bandwidth access_filter_dump access_filter_record access_filter_timeshift access_mmap access_smb adjust adpcm alphamask alsa aout_file aout_sdl araw asf atmo audio_format audioscrobbler avcodec avformat avi bandlimited_resampler blend blendbench bluescreen bonjour canvas cc cdda cdg chain cinepak clone cmml colorthres converter_fixed converter_float crop croppadd cvdsub dbus deinterlace dolby_surround_decoder dts dtstospdif dummy dvb dvb dvbsub dvdnav dvdread dynamicoverlay equalizer erase export extract fake fb flac float32_mixer folder freetype gaussianblur gestures glx gnutls gradient grain grey_yuv h264 hal headphone_channel_mixer hotkeys http i420_rgb i420_rgb_mmx i420_rgb_sse2 i420_ymga i420_ymga_mmx i420_yuy2 i420_yuy2_mmx i420_yuy2_sse2 i422_i420 i422_yuy2 i422_yuy2_mmx i422_yuy2_sse2 id3tag image inhibit invert libmpeg2 linear_resampler logger logo lpcm m4a m4v magnify marq memcpy memcpy3dn memcpymmx memcpymmxext mkv mod mono mosaic motion motionblur motiondetect mp4 mpc mpeg_audio mpga mpgatofixed32 mpgv mux_ogg mux_ts noise normvol notify nsc ogg opengl opengl osd_parser osdmenu oss panoramix param_eq playlist png podcast postproc probe_hal ps psychedelic pulse puzzle qt4 rawvideo rc remoteosd ripple rotate rss rv32 sap scale scaletempo screen screensaver sdl_image sharpen shout showintf signals simple_channel_mixer skins2 spatializer spdif_mixer speex spudec stats subsdec subsusf svcdsub swscale t140 telepathy telnet telx transform trivial_channel_mixer trivial_mixer trivial_resampler ts ugly_resampler v4l2 vcd visual vmem vorbis vout_sdl wall wave x11 xml xtag xvideo yuy2_i420 yuy2_i422
libvlc configuration
--------------------
version : 0.9.3
system : linux
architecture : x86_64 mmx sse sse2
build flavour : devel
vlc aliases : cvlc rvlc svlc qvlc
plugins/bindings :
and I eventually get this error when I 'make':
Code: Select all
make[5]: Entering directory `/usr/local/src/vlc-0.9.3/modules/demux/avformat'
make all-am
make[6]: Entering directory `/usr/local/src/vlc-0.9.3/modules/demux/avformat'
/bin/bash ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -DSYS_LINUX `top_builddir="../../.." ../../../vlc-config --cflags plugin libavformat_plugin_la-avformat.lo` -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libavformat_plugin_la-avformat.lo -MD -MP -MF .deps/libavformat_plugin_la-avformat.Tpo -c -o libavformat_plugin_la-avformat.lo `test -f 'avformat.c' || echo './'`avformat.c
mkdir .libs
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -DSYS_LINUX -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=avformat -DMODULE_NAME_IS_avformat -DMODULE_STRING=\"avformat\" -O3 -ffast-math -funroll-loops -mtune=athlon64 -fomit-frame-pointer -I/usr/local/include -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libavformat_plugin_la-avformat.lo -MD -MP -MF .deps/libavformat_plugin_la-avformat.Tpo -c avformat.c -fPIC -DPIC -o .libs/libavformat_plugin_la-avformat.o
mv -f .deps/libavformat_plugin_la-avformat.Tpo .deps/libavformat_plugin_la-avformat.Plo
/bin/bash ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -DSYS_LINUX `top_builddir="../../.." ../../../vlc-config --cflags plugin libavformat_plugin_la-demux.lo` -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libavformat_plugin_la-demux.lo -MD -MP -MF .deps/libavformat_plugin_la-demux.Tpo -c -o libavformat_plugin_la-demux.lo `test -f 'demux.c' || echo './'`demux.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -DSYS_LINUX -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=avformat -DMODULE_NAME_IS_avformat -DMODULE_STRING=\"avformat\" -O3 -ffast-math -funroll-loops -mtune=athlon64 -fomit-frame-pointer -I/usr/local/include -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libavformat_plugin_la-demux.lo -MD -MP -MF .deps/libavformat_plugin_la-demux.Tpo -c demux.c -fPIC -DPIC -o .libs/libavformat_plugin_la-demux.o
In file included from demux.c:46:
../../codec/avcodec/chroma.h: In function ‘GetFfmpegChroma’:
../../codec/avcodec/chroma.h:117: warning: comparison between signed and unsigned
../../codec/avcodec/chroma.h:118: warning: comparison between signed and unsigned
../../codec/avcodec/chroma.h:119: warning: comparison between signed and unsigned
demux.c: At top level:
demux.c:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IOSeek’
demux.c: In function ‘OpenDemux’:
demux.c:103: warning: passing argument 2 of ‘stream_Peek’ from incompatible pointer type
demux.c:173: warning: implicit declaration of function ‘offset_t’
demux.c:173: error: expected expression before ‘)’ token
demux.c:173: error: called object ‘offset_t(<erroneous-expression>)’ is not a function
demux.c:173: error: expected ‘;’ before ‘IOSeek’
demux.c:177: error: ‘IOSeek’ undeclared (first use in this function)
demux.c:177: error: (Each undeclared identifier is reported only once
demux.c:177: error: for each function it appears in.)
demux.c: In function ‘Control’:
demux.c:387: warning: cast from function call of type ‘int64_t’ to non-matching type ‘double’
demux.c: At top level:
demux.c:496: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IOSeek’
make[6]: *** [libavformat_plugin_la-demux.lo] Error 1
make[6]: Leaving directory `/usr/local/src/vlc-0.9.3/modules/demux/avformat'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/local/src/vlc-0.9.3/modules/demux/avformat'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-0.9.3/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/vlc-0.9.3/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-0.9.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-0.9.3'
make: *** [all] Error 2
Thanks!
-bdk