[Live-devel] Compiling the library on windows using dev-cpp

Leon Schmets leon at fsvproducts.nl
Mon Apr 11 09:23:37 PDT 2005


Hi Ross,

Thank you for helping me out. These are the messages I get from the linker

../Swig/live_rtpstack/BasicUsageEnvironment/BasicUsageEnvironment.o(.text+0x
5f):BasicUsageEnvironment.cpp: undefined reference to
`initializeWinsockIfNecessary'

../Swig/live_rtpstack/BasicUsageEnvironment/BasicUsageEnvironment.o(.text+0x
13d):BasicUsageEnvironment.cpp: undefined reference to
`initializeWinsockIfNecessary'
../Swig/live_rtpstack/groupsock/Groupsock.o(.text+0x2b2d):Groupsock.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/groupsock/Groupsock.o(.text+0x2fc4):Groupsock.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/groupsock/Groupsock.o(.text+0x3093):Groupsock.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/groupsock/GroupsockHelper.o(.text+0x2c):GroupsockHelpe
r.cpp: undefined reference to `initializeWinsockIfNecessary'

../Swig/live_rtpstack/groupsock/GroupsockHelper.o(.text+0x23a):GroupsockHelp
er.cpp: undefined reference to `initializeWinsockIfNecessary'
../Swig/live_rtpstack/groupsock/GroupsockHelper.o(.text+0xd89):GroupsockHelp
er.cpp: undefined reference to `our_inet_addr'
../Swig/live_rtpstack/groupsock/GroupsockHelper.o(.text+0x10dc):GroupsockHel
per.cpp: undefined reference to `our_srandom'
../Swig/live_rtpstack/groupsock/GroupsockHelper.o(.text+0x110f):GroupsockHel
per.cpp: undefined reference to `our_random'
../Swig/live_rtpstack/groupsock/NetAddress.o(.text+0x391):NetAddress.cpp:
undefined reference to `our_inet_addr'
../Swig/live_rtpstack/groupsock/NetAddress.o(.text+0x46e):NetAddress.cpp:
undefined reference to `our_gethostbyname'
../Swig/live_rtpstack/groupsock/NetAddress.o(.text+0x61f):NetAddress.cpp:
undefined reference to `our_inet_addr'
../Swig/live_rtpstack/groupsock/NetAddress.o(.text+0x6fc):NetAddress.cpp:
undefined reference to `our_gethostbyname'
../Swig/live_rtpstack/liveMedia/DarwinInjector.o(.text+0x798):DarwinInjector
.cpp: undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/liveMedia/DarwinInjector.o(.text+0x875):DarwinInjector
.cpp: undefined reference to `our_random'
../Swig/live_rtpstack/liveMedia/PassiveServerMediaSubsession.o(.text+0x23c):
PassiveServerMediaSubsession.cpp: undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/liveMedia/RTCP.o(.text+0x227b):RTCP.cpp: undefined
reference to `our_random'
../Swig/live_rtpstack/liveMedia/RTPSink.o(.text+0x1bf):RTPSink.cpp:
undefined reference to `our_random'

../Swig/live_rtpstack/liveMedia/RTPSink.o(.text+0x1d1):RTPSink.cpp:
undefined reference to `our_random32'
../Swig/live_rtpstack/liveMedia/RTPSink.o(.text+0x1e5):RTPSink.cpp:
undefined reference to `our_random32'
../Swig/live_rtpstack/liveMedia/RTPSink.o(.text+0x403):RTPSink.cpp:
undefined reference to `our_random'
../Swig/live_rtpstack/liveMedia/RTPSink.o(.text+0x415):RTPSink.cpp:
undefined reference to `our_random32'
../Swig/live_rtpstack/liveMedia/RTPSink.o(.text+0x429):RTPSink.cpp:
undefined reference to `our_random32'
../Swig/live_rtpstack/liveMedia/RTPSource.o(.text+0x156):RTPSource.cpp:
undefined reference to `our_random32'
../Swig/live_rtpstack/liveMedia/RTPSource.o(.text+0x2ee):RTPSource.cpp:
undefined reference to `our_random32'
../Swig/live_rtpstack/liveMedia/RTSPServer.o(.text+0x373):RTSPServer.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/liveMedia/RTSPServer.o(.text+0x3a0):RTSPServer.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/liveMedia/RTSPServer.o(.text+0x255c):RTSPServer.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/liveMedia/RTSPServer.o(.text+0x2699):RTSPServer.cpp:
undefined reference to `our_inet_ntoa'
../Swig/live_rtpstack/liveMedia/RTSPServer.o(.text+0x2725):RTSPServer.cpp:
undefined reference to `our_inet_ntoa'

../Swig/live_rtpstack/liveMedia/RTSPServer.o(.text+0x27dd):RTSPServer.cpp:
more undefined references to `our_inet_ntoa' follow

../Swig/live_rtpstack/liveMedia/SIPClient.o(.text+0x175e):SIPClient.cpp:
undefined reference to `our_random'
../Swig/live_rtpstack/liveMedia/SIPClient.o(.text+0x176c):SIPClient.cpp:
undefined reference to `our_random'

Leon

-----Oorspronkelijk bericht-----
Van: live-devel-bounces at ns.live.com [mailto:live-devel-bounces at ns.live.com]
Namens Ross Finlayson
Verzonden: vrijdag 8 april 2005 19:25
Aan: LIVE.COM Streaming Media - development & use
Onderwerp: RE: [Live-devel] Compiling the library on windows using dev-cpp


>I do not seem tob e able to compile the inet.c file properly.
>Though the compiler doesn't complain, the linker does report 'undefined
>reference'.

Are you sure that "inet.c" got compiled with the *C* compiler (not C++)?

What specific "undefined reference" error do you get.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>

_______________________________________________
live-devel mailing list
live-devel at lists.live.com
http://lists.live.com/mailman/listinfo/live-devel



More information about the live-devel mailing list