compiling error by using updated livedotcom

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.
Irene Yao
New Cone
New Cone
Posts: 1
Joined: 23 Mar 2007 01:20

compiling error by using updated livedotcom

Postby Irene Yao » 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.

terence_zh
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Dec 2005 09:42

Postby terence_zh » 16 Jun 2007 16:54

:( ,hi,I got the same problem. the vlc version:vlc-snapshot-branch-0.8.6-bugfix-20070616.tar.gz, the contrib version:contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2. And I download the live555 from website fo live,the version: . If I compile vlc with contrib, it's ok! I got the perfect vlc-0.8.6c. Then I compile the last version live, it's successfully. But I compile vlc failed when I instead new live-lib to the live of contrib. The wrong info is the same as above guy wrote.
Anyone can give us some suggestion?

solar.gg
New Cone
New Cone
Posts: 4
Joined: 23 Mar 2007 09:08

Postby solar.gg » 18 Jun 2007 04:57

I've got the same problem when I compiled vlc with live555 compiled by myself. When compiled live555, I've tried cygwin and mingw, I succeed. But when compiling with vlc, this issue comes out.
Any body can help us?

terence_zh
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Dec 2005 09:42

Postby terence_zh » 21 Jun 2007 12:03

:o ,hi, everybody, i have solved the problem. you have to fix the config.cygwin, C compiler is gcc, you need add " gcc -mno-cygwin" also, C++ compiler is c++ you can change to " g++ -mno-cygwin" ,last " ld -lws2_32 -o" .
I success build the vlc for the live555(although live compiling will report wrong, it's the test source code, never mind).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: brucewol, Google [Bot], MSN [Bot] and 41 guests