[vlc-devel] Re: ["Jonas A. Larsen" <jonas at vrt.dk>] SUBVERSION is broken
Gildas Bazin
gbazin at altern.org
Sat Aug 13 13:26:23 CEST 2005
> ----- Forwarded message from "Jonas A. Larsen" <jonas at vrt.dk> -----
>
> 1. if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.
> -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long
> -DSYS_M
> 2. INGW32 -I./include `top_builddir="." ./vlc-config --cflags vlc`
> -Wsign-compare -Wall -mms-bitfields -pipe -MT src/vlc-vlc.o -M
> 3. D -MP -MF "src/.deps/vlc-vlc.Tpo" -c -o src/vlc-vlc.o `test -f
> 'src/vlc.c' || echo './'`src/vlc.c; \
> 4. then mv -f "src/.deps/vlc-vlc.Tpo" "src/.deps/vlc-vlc.Po"; else rm
> -f "src/.deps/vlc-vlc.Tpo"; exit 1; fi
> 5. g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields
> -pipe -L/usr/win32/lib -o vlc.exe src/vlc-vlc.o ./modules/mi
> 6. sc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a
> ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chr
> 7. oma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a
> ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/
> 8. libmemcpy3dn.a ./modules/demux/liblivedotcom.a
> ./modules/codec/ffmpeg/libffmpeg.a
> ./modules/stream_out/libstream_out_switcher.a
> 9. -L/usr/local/lib -g -lkernel32 /usr/win32/lib/libiconv.a
> /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a -lws2_32 -lnetapi3
> 10. 2 -lwinmm -mwindows -L/usr/win32/lib
> -L/usr/win32/live.com/UsageEnvironment -lUsageEnvironment
> -L/usr/win32/live.com/groupsock
> 11. -lgroupsock -L/usr/win32/live.com/BasicUsageEnvironment
> -lBasicUsageEnvironment -L/usr/win32/live.com/liveMedia -lliveMedia -lw
> 12. s2_32 -lz -lfaac -lmp3lame -lavformat -lz -lavcodec
> 13. /usr/win32/lib/libavcodec.a(mp3lameaudio.o): In function
> `MP3lame_encode_init':
> 14. /home/videolan/win32/ffmpeg-20050624/libavcodec/mp3lameaudio.c:46:
> undefined reference to `_lame_init'
> 15. /home/videolan/win32/ffmpeg-20050624/libavcodec/mp3lameaudio.c:48:
> undefined reference to `_lame_set_in_samplerate'
> 16. /home/videolan/win32/ffmpeg-20050624/libavcodec/mp3lameaudio.c:49:
...
Somebody apparently broke the order the libraries are linked (ie. avcodec
depends on mp3lame so -lmp3lame needs to be on the right of -lavcodec,
etc...).
--
Gildas
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list