compiling error by using updated livedotcom
Posted: 23 Mar 2007 01:31
I have difficulties to update livedotcom in vlc 0.8.5 compiling on Cygwin.
I could able to compile livedocom (standalone) sucessfully, but once i back to vlc and type "make". It will show the following errors.
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _socket by linking to _socket@12
Warning: resolving _select by linking to _select@20
Warning: resolving _inet_ntoa by linking to _inet_ntoa@4
Warning: resolving _getsockname by linking to _getsockname@12
Warning: resolving _gethostbyname by linking to _gethostbyname@4
Warning: resolving _setsockopt by linking to _setsockopt@20
Warning: resolving _bind by linking to _bind@12
Warning: resolving _inet_addr by linking to _inet_addr@4
Warning: resolving _connect by linking to _connect@12
Warning: resolving _send by linking to _send@16
Warning: resolving _recv by linking to _recv@16
Warning: resolving _accept by linking to _accept@12
Warning: resolving _listen by linking to _listen@8
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x250):
undefined reference to `_fcntl'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x269):
undefined reference to `_fcntl'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x453):
undefined reference to `___errno'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x45d):
undefined reference to `___errno'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x52f):
undefined reference to `_recvfrom'
.........
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f722): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f745): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f7a1): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f7ab): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:SIPClient.cpp:(.text+0x376fb): unde
fined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:MediaSession.cpp:(.text+0x38dbe): u
ndefined reference to `_gethostname'
/usr/win32/live.com/liveMedia/libliveMedia.a:MediaSession.cpp:(.text+0x38f10): u
ndefined reference to `_gethostname'
/usr/win32/live.com/liveMedia/libliveMedia.a:OnDemandServerMediaSubsession.cpp:(
.text+0x3e35f): undefined reference to `_gethostname'
/usr/win32/live.com/liveMedia/libliveMedia.a:OnDemandServerMediaSubsession.cpp:(
.text+0x3e463): undefined reference to `_gethostname'
collect2: ld returned 1 exit status
make[3]: *** [axvlc.dll] Error 1
make[3]: Leaving directory `/home/iryao/vlc-0.8.5/activex'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/iryao/vlc-0.8.5/activex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iryao/vlc-0.8.5'
make: *** [all] Error 2
I also tried to include -mno-cygwin option when I compiled livedotcom. But it would create more errors when I compiled livedotcome.
Any idea how to resolve this problems? Please kindly share your valuable comments. I really appreciate.
I could able to compile livedocom (standalone) sucessfully, but once i back to vlc and type "make". It will show the following errors.
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _socket by linking to _socket@12
Warning: resolving _select by linking to _select@20
Warning: resolving _inet_ntoa by linking to _inet_ntoa@4
Warning: resolving _getsockname by linking to _getsockname@12
Warning: resolving _gethostbyname by linking to _gethostbyname@4
Warning: resolving _setsockopt by linking to _setsockopt@20
Warning: resolving _bind by linking to _bind@12
Warning: resolving _inet_addr by linking to _inet_addr@4
Warning: resolving _connect by linking to _connect@12
Warning: resolving _send by linking to _send@16
Warning: resolving _recv by linking to _recv@16
Warning: resolving _accept by linking to _accept@12
Warning: resolving _listen by linking to _listen@8
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x250):
undefined reference to `_fcntl'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x269):
undefined reference to `_fcntl'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x453):
undefined reference to `___errno'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x45d):
undefined reference to `___errno'
/usr/win32/live.com/groupsock/libgroupsock.a:GroupsockHelper.cpp:(.text+0x52f):
undefined reference to `_recvfrom'
.........
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f722): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f745): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f7a1): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:OutputFile.cpp:(.text+0x1f7ab): und
efined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:SIPClient.cpp:(.text+0x376fb): unde
fined reference to `___getreent'
/usr/win32/live.com/liveMedia/libliveMedia.a:MediaSession.cpp:(.text+0x38dbe): u
ndefined reference to `_gethostname'
/usr/win32/live.com/liveMedia/libliveMedia.a:MediaSession.cpp:(.text+0x38f10): u
ndefined reference to `_gethostname'
/usr/win32/live.com/liveMedia/libliveMedia.a:OnDemandServerMediaSubsession.cpp:(
.text+0x3e35f): undefined reference to `_gethostname'
/usr/win32/live.com/liveMedia/libliveMedia.a:OnDemandServerMediaSubsession.cpp:(
.text+0x3e463): undefined reference to `_gethostname'
collect2: ld returned 1 exit status
make[3]: *** [axvlc.dll] Error 1
make[3]: Leaving directory `/home/iryao/vlc-0.8.5/activex'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/iryao/vlc-0.8.5/activex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iryao/vlc-0.8.5'
make: *** [all] Error 2
I also tried to include -mno-cygwin option when I compiled livedotcom. But it would create more errors when I compiled livedotcome.
Any idea how to resolve this problems? Please kindly share your valuable comments. I really appreciate.