Re: [Newbie] [Win95] Linking errors...

From: Baktor Silvanti (baktor@BEDFORD.NET)
Date: 11/11/97


El Diablo wrote:
>
> I tried compiling stock bpl12 with MSVC 4 and got the following errors.  Any idea
> what I can do to fix this?
>
> Linking...
> comm.obj : error LNK2001: unresolved external symbol _closesocket@4
> comm.obj : error LNK2001: unresolved external symbol _listen@8
> comm.obj : error LNK2001: unresolved external symbol _bind@12
> comm.obj : error LNK2001: unresolved external symbol _htonl@4
> comm.obj : error LNK2001: unresolved external symbol _htons@4
> comm.obj : error LNK2001: unresolved external symbol _setsockopt@20
> comm.obj : error LNK2001: unresolved external symbol _WSAGetLastError@0
> comm.obj : error LNK2001: unresolved external symbol _socket@12
> comm.obj : error LNK2001: unresolved external symbol _WSAStartup@8
> comm.obj : error LNK2001: unresolved external symbol ___WSAFDIsSet@8
> comm.obj : error LNK2001: unresolved external symbol _select@20
> comm.obj : error LNK2001: unresolved external symbol _ntohl@4
> comm.obj : error LNK2001: unresolved external symbol _gethostbyaddr@12
> comm.obj : error LNK2001: unresolved external symbol _accept@12
> comm.obj : error LNK2001: unresolved external symbol _send@16
> comm.obj : error LNK2001: unresolved external symbol _recv@16
> comm.obj : error LNK2001: unresolved external symbol _ioctlsocket@12
> Debug/circle.exe : fatal error LNK1120: 17 unresolved externals
> Error executing link.exe.
> circle.exe - 18 error(s), 12 warning(s)

lo,

Looks like we forgot to include the wsock32.lib in our project...


baktor


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST