[vlc-devel] How do I compile VLC, I had errors.

朱大綱 takang at cht.com.tw
Mon Aug 9 11:22:00 CEST 2004


Hello:

I downloaded live.2004.04.23.tar.gz from source directory. I compiled live RTSP source code for cygwin. 
They did not error. So I used to had compiled live.com library to compiled VLC. It had error. 
How do I to solve the problem. 
Thanks.

Error as follows:
g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -finline-limi
t-30000 -pipe -L/usr/win32/lib -o vlc.exe src/vlc-vlc.o lib/libvlc.a share/vlc_w
in32_rc.o ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rg
b_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/libm
emcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom
.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_
out/libstream_out_transcode.a -L/usr/local/lib -g -lkernel32 /usr/win32/lib/libi
ntl.a /usr/win32/lib/libiconv.a -lws2_32 -lnetapi32 -lwinmm -mwindows -L/usr/win
32/lib -L/usr/win32/live.com/UsageEnvironment -lUsageEnvironment -L/usr/win32/li
ve.com/groupsock -lgroupsock -L/usr/win32/live.com/BasicUsageEnvironment -lBasic
UsageEnvironment -L/usr/win32/live.com/liveMedia -lliveMedia -lws2_32 -lmatroska
 -lebml -lavcodec -lfaac -lmp3lame -lxml2
Warning: resolving _select by linking to _select at 20
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _gethostname by linking to _gethostname at 8
Warning: resolving _send by linking to _send at 16
Warning: resolving _recv by linking to _recv at 16
Warning: resolving _accept by linking to _accept at 12
Warning: resolving _listen by linking to _listen at 8
 /usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x1248):ByteStreamFileSource.
cpp: undefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x13ae):ByteStreamFileSource.
cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x13fe):ByteStreamFileSource.
cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x24c6):WAVAudioFileSource.cp
p: undefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x352c):WAVAudioFileSource.cp
p: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x5878):MPEGVideoStreamFramer
.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x59a8):MPEGVideoStreamFramer
.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0xa223):MPEG1or2AudioStreamFr
amer.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0xa335):MPEG1or2AudioStreamFr
amer.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0xc894):MP3FileSource.cpp: un
defined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0xcd82):MP3HTTPSource.cpp: un
defined reference to `_connect'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0xffe7):MP3StreamState.cpp: u
ndefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x100c9):MP3StreamState.cpp:
undefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x101ab):MP3StreamState.cpp:
undefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x1029b):MP3StreamState.cpp:
undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x16b0e):AC3AudioStreamFramer
.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x16c2a):AC3AudioStreamFramer
.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x17e8c):AMRAudioFileSource.c
pp: undefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x1851b):AMRAudioFileSource.c
pp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x193b4):FileSink.cpp: undefi
ned reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x193d7):FileSink.cpp: undefi
ned reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x198a1):BasicUDPSink.cpp: un
defined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x19aad):BasicUDPSink.cpp: un
defined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x1f50f):RTPSource.cpp: undef
ined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x1f74b):RTPSource.cpp: undef
ined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x20315):MultiFramedRTPSource
.cpp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x20b50):MultiFramedRTPSource
.cpp: more undefined references to `_gettimeofday' follow
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x30d0b):RTSPClient.cpp: unde
fined reference to `_connect'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x334ff):SIPClient.cpp: undef
ined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x38bf6):ServerMediaSession.c
pp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x38d22):ServerMediaSession.c
pp: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x3c7d3):QuickTimeFileSink.cp
p: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x3cba7):QuickTimeFileSink.cp
p: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x3d4e6):QuickTimeFileSink.cp
p: undefined reference to `_gettimeofday'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x3d7a0):QuickTimeFileSink.cp
p: undefined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a(.text+0x3d7c3):QuickTimeFileSink.cp
p: undefined reference to `___getreent'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/home/vlc-0.7.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc-0.7.2'
make: *** [all] Error 2

 
Best Regards,

Bill Chu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20040809/bce37840/attachment.html>


More information about the vlc-devel mailing list