[vlc-devel] Re: ["Jonas A. Larsen" <jonas at vrt.dk>] SUBVERSION is broken

Mark Moriarty mfmbusiness at earthlink.net
Sat Aug 13 13:42:39 CEST 2005


I tried, as a standalone line in my Bash shell:
 g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe
-L/usr/win32/lib -o vlc.exe src/vlc-vlc.o
./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/liblivedotcom.a ./modules/mux/mpeg/libmux_ts.a
./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a
./modules/stream_out/libstream_out_switcher.a ./modules/codec/libquicktime.a
-L/usr/local/lib -g -lkernel32 -liconv -lintl -liconv -lws2_32 -lnetapi32
-lwinmm -mwindows -L/usr/win32/lib -L/usr/win32/live.com/UsageEnvironment
-lUsageEnvironment -L/usr/win32/live.com/groupsock -lgroupsock
-L/usr/win32/live.com/BasicUsageEnvironment -lBasicUsageEnvironment
-L/usr/win32/live.com/liveMedia -lliveMedia -lws2_32 -ldvbpsi -lz -lmatroska
-lebml  -lavformat -lz -lavcodec -lz -lfaac -lmp3lame

It didn't work, of course, generated:
src/vlc-vlc.o(.text+0x17): In function `main':
/home/mfm/vlc-trunk/src/vlc.c:57: undefined reference to `_VLC_Version'
src/vlc-vlc.o(.text+0x62):/home/mfm/vlc-trunk/src/vlc.c:77: undefined
reference
to `_VLC_Create'
src/vlc-vlc.o(.text+0x82):/home/mfm/vlc-trunk/src/vlc.c:98: undefined
reference
to `_VLC_Init'
src/vlc-vlc.o(.text+0xac):/home/mfm/vlc-trunk/src/vlc.c:105: undefined
reference
 to `_VLC_AddIntf'
src/vlc-vlc.o(.text+0xba):/home/mfm/vlc-trunk/src/vlc.c:108: undefined
reference
 to `_VLC_CleanUp'
src/vlc-vlc.o(.text+0xc6):/home/mfm/vlc-trunk/src/vlc.c:111: undefined
reference
 to `_VLC_Destroy'
collect2: ld returned 1 exit status


So, what in the make or configure files needs to be changed to make this
reordering occur, so that -lavcodec gets moved earlier?

Thanks.

Mark
-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Gildas Bazin
Sent: Saturday, August 13, 2005 7:26 AM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: ["Jonas A. Larsen" <jonas at vrt.dk>] SUBVERSION is
broken

> ----- 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

-- 
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