freebsd5.5stable, trying to follow http://flowplayer.sourceforge.net/encoding.html
./configure --enable-pthreads --enable-pp --enable-libtheora --enable-libvorbis --enable-libogg --enable-liba52 --enable-debug --disable-mmx --disable-iwmmxt --enable-libmp3lame --enable-xvid --enable-encoder=mp3 --enable-decoder=wmav1 --enable-decoder=wmav2 --enable-encoder=wmav2 --enable-encoder=wmav1 --enable-encoder=wmv3 --enable-encoder=wmv2 --enable-encoder=wmv1 --enable-encoder=mjpeg --enable-encoder=mjpegb --enable-encoder=dvvideo --enable-encoder=adpcm_ima_qt --enable-encoder=h263p --enable-encoder=h263 --enable-encoder=mpeg4 --enable-decoder=mpeg4 --enable-decoder=msmpeg4 --enable-encoder=msmpeg4 --enable-encoder=msmpeg4v1 --enable-encoder=msmpeg4v2 --enable-encoder=mp4a --enable-decoder=mp4a --enable-decoder=mp4v --enable-encoder=mp4v --enable-decoder=AVRn --enable-decoder=MJPG --enable-decoder=AVDJ --enable-decoder=mjpa --enable-decoder=mjpeg --enable-encoder=dvcpro50 --enable-decoder=dvcpro50 --enable-decoder=dvvideo --enable-decoder=rawvideo --enable-decoder=uncompressed --enable-decoder=dv5p --enable-decoder=dv5n --enable-decoder=dv1n --enable-decoder=dv1p --enable-decoder=dvhp --enable-decoder=dvh6 --enable-decoder=dvh5 --enable-amr_nb --enable-amr_wb --enable-encoder=swf --enable-decoder=aac --enable-encoder=x264 --enable-x264 --enable-gpl --enable-decoder=mpeg4a --enable-encoder=mpeg4a --cc=cc --prefix=/usr/local --make=gmake --disable-debug --enable-memalign-hack --source-path=/usr/local/src/ffmpeg --disable-ffplay --extra-cflags="-I/usr/local/include/lame -I/usr/local/include -I/usr/local/include/a52dec -I/usr/local/src/ffmpeg/libavcodec" --extra-ldflags="-L/usr/lib -L/usr/local/lib -L/usr/local/src/ffmpeg/libavcodec" --enable-muxer=flv
....
In file included from x264.c:22:
avcodec.h:2478: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
avcodec.h:2481: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
cc -I"/usr/local/src/ffmpeg"/libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"/libavutil -I/usr/local/include/lame -I/usr/local/include -I/usr/local/include/a52dec -I/usr/local/src/ffmpeg/libavcodec -pthread -fomit-frame-pointer -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3 -c -o xvidff.o xvidff.c
In file included from xvidff.c:31:
avcodec.h:2478: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
avcodec.h:2481: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
cc -I"/usr/local/src/ffmpeg"/libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"/libavutil -I/usr/local/include/lame -I/usr/local/include -I/usr/local/include/a52dec -I/usr/local/src/ffmpeg/libavcodec -pthread -fomit-frame-pointer -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3 -c -o xvid_rc.o xvid_rc.c
In file included from xvid_rc.c:25:
avcodec.h:2478: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
avcodec.h:2481: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
cc -I"/usr/local/src/ffmpeg"/libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"/libavutil -I/usr/local/include/lame -I/usr/local/include -I/usr/local/include/a52dec -I/usr/local/src/ffmpeg/libavcodec -pthread -fomit-frame-pointer -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3 -c -o amr.o amr.c
gmake[1]: *** No rule to make target `amr_float/sp_dec.o', needed by `libavcodec.a'. Stop.
gmake[1]: *** Waiting for unfinished jobs....
In file included from amr.c:71:
avcodec.h:2478: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
avcodec.h:2481: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2465)
amr.c:85:34: amr_float/interf_dec.h: No such file or directory
amr.c:86:34: amr_float/interf_enc.h: No such file or directory
amr.c:98: error: field `mode' has incomplete type
amr.c: In function `getBitrateMode':
amr.c:105: error: `MR475' undeclared (first use in this function)
amr.c:105: error: (Each undeclared identifier is reported only once
amr.c:105: error: for each function it appears in.)
amr.c:106: error: `MR515' undeclared (first use in this function)
amr.c:107: error: `MR59' undeclared (first use in this function)
amr.c:108: error: `MR67' undeclared (first use in this function)
amr.c:109: error: `MR74' undeclared (first use in this function)
amr.c:110: error: `MR795' undeclared (first use in this function)
amr.c:111: error: `MR102' undeclared (first use in this function)
amr.c:112: error: `MR122' undeclared (first use in this function)
amr.c: In function `amr_nb_decode_init':
amr.c:374: warning: implicit declaration of function `Decoder_Interface_init'
amr.c:374: warning: assignment makes pointer from integer without a cast
amr.c: In function `amr_nb_encode_init':
amr.c:413: warning: implicit declaration of function `Encoder_Interface_init'
amr.c:413: warning: assignment makes pointer from integer without a cast
amr.c: In function `amr_nb_decode_close':
amr.c:433: warning: implicit declaration of function `Decoder_Interface_exit'
amr.c: In function `amr_nb_encode_close':
amr.c:441: warning: implicit declaration of function `Encoder_Interface_exit'
amr.c: In function `amr_nb_decode_frame':
amr.c:453: error: storage size of 'dec_mode' isn't known
amr.c:469: warning: implicit declaration of function `Decoder_Interface_Decode'
amr.c:453: warning: unused variable `dec_mode'
amr.c: In function `amr_nb_encode_frame':
amr.c:487: warning: implicit declaration of function `Encoder_Interface_Encode'
amr.c:535:32: amrwb_float/enc_if.h: No such file or directory
amr.c:536:32: amrwb_float/dec_if.h: No such file or directory
amr.c: At top level:
amr.c:576: error: syntax error before "Word16"
amr.c: In function `amr_wb_encode_init':
amr.c:606: warning: implicit declaration of function `E_IF_init'
amr.c:606: warning: assignment makes pointer from integer without a cast
amr.c:607: error: structure has no member named `allow_dtx'
amr.c: In function `amr_wb_encode_close':
amr.c:616: warning: implicit declaration of function `E_IF_exit'
amr.c: In function `amr_wb_encode_frame':
amr.c:633: warning: implicit declaration of function `E_IF_encode'
amr.c:633: error: structure has no member named `allow_dtx'
amr.c: In function `amr_wb_decode_init':
amr.c:642: warning: implicit declaration of function `D_IF_init'
amr.c:642: warning: assignment makes pointer from integer without a cast
amr.c: At top level:
amr.c:655: error: syntax error before "block_size"
amr.c:655: warning: type defaults to `int' in declaration of `block_size'
amr.c:655: warning: data definition has no type or storage class
amr.c: In function `amr_wb_decode_frame':
amr.c:680: warning: implicit declaration of function `D_IF_decode'
amr.c:680: error: `_good_frame' undeclared (first use in this function)
amr.c: In function `amr_wb_decode_close':
amr.c:689: warning: implicit declaration of function `D_IF_exit'
amr.c: At top level:
amr.c:655: warning: array 'block_size' assumed to have one element
gmake[1]: *** [amr.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/ffmpeg/libavcodec'
gmake: *** [lib] Error 2
[root@ph1 /usr/local/src/ffmpeg]#