SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] sctp - windows


Chronological Thread 
  • From: Andreas Mueller <mail AT amueller.org>
  • To: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>, discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] sctp - windows
  • Date: Tue Apr 26 18:42:02 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

ok now it is linked but i get some more/other errors:

sctp.lib(streamengine.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(recvctrl.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(reltransfer.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(flowcontrol.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(distribution.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(chunkHandler.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(auxiliary.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
sctp.lib(flowcontrol.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(errorhandler.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(sbundling.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(streamengine.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(recvctrl.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(reltransfer.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(distribution.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(rbundling.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(chunkHandler.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
sctp.lib(streamengine.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(recvctrl.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(reltransfer.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(errorhandler.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(distribution.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(SCTP-control.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(chunkHandler.obj) : error LNK2001: unresolved external symbol __imp__htons@4
sctp.lib(flowcontrol.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(auxiliary.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(streamengine.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(recvctrl.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(reltransfer.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(distribution.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(SCTP-control.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(chunkHandler.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol ___WSAFDIsSet@8
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__select@20
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__inet_addr@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__inet_ntoa@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__setsockopt@20
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__getsockopt@20
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__bind@12
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__socket@12
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__sendto@24
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__recv@16
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__recvfrom@24
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__WSAEnumNetworkEvents@12
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__WSAStartup@8
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__gethostbyname@4
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__getservbyname@8
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__gethostbyaddr@12
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__getservbyport@8
sctp.lib(adaptation.obj) : error LNK2001: unresolved external symbol __imp__WSAIoctl@36




Michael Tuexen wrote:
Hi Andreas,

these functions are define in sctp_wrapper.c Isn't that linked to
terminal?

Best regards
Michael

On Apr 26, 2005, at 16:47 Uhr, Andreas Mueller wrote:

Thanks Michael, I built the sctp.lib sucessfully with V-Studio6.
But when I try to compile an application I always get some Linker-Errors:

Linking...
terminal.obj : error LNK2001: unresolved external symbol _SCTP_receive
...
terminal.obj : error LNK2001: unresolved external symbol _SCTP_send
...
Debug/terminal.exe : fatal error LNK1120: 23 unresolved externals
Error executing link.exe.

terminal.exe - 24 error(s), 0 warning(s)

I linked with my sctp.lib but it doesn't work!?


Michael Tuexen wrote:

Hi Andy,
I have to ask Irene, who made the Windows port, but I think she used
(= you need) MS Studio 6.0.
Irene, am I right?
The reason for this is related to MS licence restrictions. We can not
distribute stuff under GPL for MS Studio 7.0 or higher, as far as I know.
Best regards
Michael
On Apr 25, 2005, at 23:11 Uhr, Andreas Mueller wrote:



Michael Tuexen wrote:

Hi Andreas,
see my comments in-line.
Best regards
Michael
On Apr 25, 2005, at 22:08 Uhr, Andreas Mueller wrote:

hi @all,

I'm trying to get the lib working on windows but unfortunately I don't know how. What is the latest version that is working on windows? The 1.0.3 readme says download the 1.0.2 source but it doesn't work neither.


Well, that is a bug in the README. Of course 1.0.3 should work with the 1.0.3 sources...

I tried it with nmake but I always get an error in adaptation.c (addrinfo: struct type redefinition) and some wspiapi errors. Is there a howto that tells how to get it working on


Which version of the MS C Compiler do you use?


I use the MS Visual Studio .Net 2003, nmake version 7.10.3077.

windows? Version 1.0.1 works fine but I need the newer one.


1.0.3 should work...


cheers
Andy





_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion






Archive powered by MHonArc 2.6.19+.

Top of page