Problem with amr-nb/wb when building

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Problem with amr-nb/wb when building

Postby Nem » 20 Jul 2007 17:02

Hi !

I've got a problem with vlc building on Msys/MinGW.
I want to build vlc with faac-faad-amrnb-amrwb-x264.
I use ffmpeg-export-snapshot-20070711 and last release of the codecs.
Followed this method to get a working ffmpeg (very well made, a pleasure to read) : http://arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php
This is the ./configure i used :

Code: Select all

./configure --prefix=$RESULTS --enable-memalign-hack --disable-shared --enable-static --enable-gpl --enable-pp --enable-libfaac --enable-libamr-nb --enable-libamr-wb --disable-vhook --disable-ffserver --disable-ffplay --extra-cflags=-I$RESULTS/include --extra-ldflags=-L$RESULTS/lib
Now, i try to build vlc(0.8.6c) with those guys.
Here is my "configure" line (source : wiki for the beginning) :

Code: Select all

./bootstrap && \ PKG_CONFIG_PATH=$RESULTS/lib/pkgconfig \ PATH=$RESULTS/bin:$PATH \ CPPFLAGS=-I$RESULTS/include \ LDFLAGS=-L$RESULTS/lib \ ./configure --prefix=$VLC --disable-hal --disable-altivec --disable-growl --disable-notify --enable-live555 --disable-dvdnav --disable-dshow --disable-dvbpsi --disable-gnomevfs --disable-libcdio --disable-libcddb --disable-cdda --disable-vcd --disable-screen --disable-ogg --disable-mkv --disable-mod --disable-mpc --disable-mad --enable-ffmpeg --enable-faad --disable-quicktime --disable-a52 --disable-libmpeg2 --disable-dts --disable-vorbis --disable-speex --disable-libtar --disable-png --disable-cmml --disable-xinerama --disable-x11 --disable-glx --disable-opengl --disable-sdl --disable-sdl-image --disable-freetype --disable-fribidi --disable-libxml2 --disable-hd1000v --disable-fb --disable-alsa --disable-macosx-audio --disable-hd1000a --disable-skins2 --disable-wxwidgets --disable-macosx --disable-qnx --disable-visual --disable-daap --disable-bonjour --disable-gnutls --disable-activex --with-ffmpeg-faac --with-ffmpeg-zlib --with-live555-tree=$TMP/live* --with-libintl-prefix=/mingw
I get many problems that i resolve by myself (and with my best friend google ;-)),
but i get this error, which i can't resolve :

Code: Select all

[...] LOT of lines... [...] Making all in po make[2]: Entering directory `/home/S0008180/VLC_light/tmp/vlc-0.8.6c/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/S0008180/VLC_light/tmp/vlc-0.8.6c/po' Making all in . make[2]: Entering directory `/home/S0008180/VLC_light/tmp/vlc-0.8.6c' if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/S0008180/VLC_light/librairies/include -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I./include `top_builddir="." ./vlc-config --cflags vlc` -Wsign-compare -Wall -mms-bitfields -pipe -MT vlc-vlc.o -MD -MP -MF ".deps/vlc-vlc.Tpo" \ -c -o vlc-vlc.o `test -f 'src/vlc.c' || echo './'`src/vlc.c; \ then mv ".deps/vlc-vlc.Tpo" ".deps/vlc-vlc.Po"; \ else rm -f ".deps/vlc-vlc.Tpo"; exit 1; \ fi /bin/sh ./libtool --mode=link g++ -Wsign-compare -Wall -mms-bitfields -pipe -L/home/S0008180/VLC_light/librairies/lib -o vlc.exe vlc-vlc.o share/vlc_win32_rc.o src/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblive555.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_switcher.a -L/home/S0008180/VLC_light/vlc/lib -lkernel32 -liconv /mingw/lib/libintl.a -L/mingw/lib -liconv -lws2_32 -lnetapi32 -lwinmm -mwindows -L/home/S0008180/VLC_light/librairies/lib -L/home/S0008180/VLC_light/tmp/live/UsageEnvironment -lUsageEnvironment -L/home/S0008180/VLC_light/tmp/live/groupsock -lgroupsock -L/home/S0008180/VLC_light/tmp/live/BasicUsageEnvironment -lBasicUsageEnvironment -L/home/S0008180/VLC_light/tmp/live/liveMedia -lliveMedia -lws2_32 -lavformat -lz -lpostproc -lavcodec -lavutil -lz -lfaac mkdir .libs g++ -Wsign-compare -Wall -mms-bitfields -pipe -o vlc.exe vlc-vlc.o share/vlc_win32_rc.o -mwindows -L/home/S0008180/VLC_light/librairies/lib src/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblive555.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_switcher.a -L/home/S0008180/VLC_light/vlc/lib -lkernel32 /mingw/lib/libintl.a -L/mingw/lib c:/msys/mingw/lib/libiconv.dll.a -lnetapi32 -lwinmm -L/home/S0008180/VLC_light/tmp/live/UsageEnvironment -lUsageEnvironment -L/home/S0008180/VLC_light/tmp/live/groupsock -lgroupsock -L/home/S0008180/VLC_light/tmp/live/BasicUsageEnvironment -lBasicUsageEnvironment -L/home/S0008180/VLC_light/tmp/live/liveMedia -lliveMedia -lws2_32 -lavformat -lpostproc -lavcodec -lavutil -lz /home/S0008180/VLC_light/librairies/lib/libfaac.a -Lc:/msys/mingw/lib -Lc:/msys/mingw/lib C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_nb_decode_init': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:369: undefined reference to `Decoder_Interface_init' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_nb_encode_init': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:408: undefined reference to `VADxEncoder_Interface_init' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_nb_decode_close': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:428: undefined reference to `Decoder_Interface_exit' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_nb_encode_close': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:436: undefined reference to `Encoder_Interface_exit' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_nb_decode_frame': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:464: undefined reference to `GP3Decoder_Interface_Decode' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_nb_encode_frame': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:482: undefined reference to `GP3VADxEncoder_Interface_Encode' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_wb_encode_init': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:602: undefined reference to `E_IF_init' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_wb_encode_close': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:612: undefined reference to `E_IF_exit' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_wb_encode_frame': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:629: undefined reference to `GP3E_IF_encode' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_wb_decode_init': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:638: undefined reference to `D_IF_init' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_wb_decode_frame': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:666: undefined reference to `IF2block_size' C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:674: undefined reference to `GP3D_IF_decode' C:/msys/home/S0008180/VLC_light/librairies/lib/libavcodec.a(libamr.o): In function `amr_wb_decode_close': C:/msys/home/S0008180/VLC_light/tmp/ffmpeg-export-2007-07-11/libavcodec/libamr.c:683: undefined reference to `D_IF_exit' collect2: ld returned 1 exit status make[2]: *** [vlc.exe] Error 1 make[2]: Leaving directory `/home/S0008180/VLC_light/tmp/vlc-0.8.6c' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/S0008180/VLC_light/tmp/vlc-0.8.6c' make: *** [all] Error 2
Does somebody knows what i could do ?
Thanks for any help !

Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Re: Problem with amr-nb/wb when building

Postby Nem » 23 Jul 2007 11:15

I've taken of amr-nb/wb from ffmpeg and vlc get compile (ho ? Strange... ^^).
I need amr, but preffer a half working version than a non working app.

If i find what was the problem, i will post again.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests