opennms
+ Reply to Thread
Results 1 to 4 of 4

Thread: Programming.

  1. #1
    Join Date
    Jul 2006
    Posts
    10

    Programming.

    Er, I keep having this same damn error, and I don't really know how to fix it. I changed subsystem:console to subsystem:windows, uh.. upgraded to sp5, and added the ppack.. and switched from single threaded, to multi threaded. -_- damn thing still isn't working, any advice?

    here are the errors.

    error LNK200*: unresolved external symbol _closesocket@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _WSACleanup@0
    sdbot05b.obj : error LNK200*: unresolved external symbol _WSAStartup@8
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetOpenA@20
    sdbot05b.obj : error LNK200*: unresolved external symbol _connect@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _socket@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _gethostbyaddr@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _gethostbyname@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _inet_addr@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _htons@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _send@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol _accept@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _listen@8
    sdbot05b.obj : error LNK200*: unresolved external symbol _bind@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _WSAAsyncSelect@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol _recv@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol _inet_ntoa@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _sendto@24
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetCloseHandle@4
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetReadFile@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetOpenUrlA@24
    sdbot05b.obj : error LNK200*: unresolved external symbol _getsockname@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__HttpSendRequestA@20
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__HttpOpenRequestA@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetConnectA@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetCrackUrlA@*6
    Debug/sdbot05b.exe : fatal error LNK**20: 26 unresolved externals
    Error executing link.exe.

  2. #2
    Join Date
    Sep 2005
    Posts
    2,050
    Quote Originally Posted by Sintacks
    Er, I keep having this same damn error, and I don't really know how to fix it. I changed subsystem:console to subsystem:windows, uh.. upgraded to sp5, and added the ppack.. and switched from single threaded, to multi threaded. -_- damn thing still isn't working, any advice?

    here are the errors.

    error LNK200*: unresolved external symbol _closesocket@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _WSACleanup@0
    sdbot05b.obj : error LNK200*: unresolved external symbol _WSAStartup@8
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetOpenA@20
    sdbot05b.obj : error LNK200*: unresolved external symbol _connect@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _socket@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _gethostbyaddr@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _gethostbyname@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _inet_addr@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _htons@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _send@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol _accept@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _listen@8
    sdbot05b.obj : error LNK200*: unresolved external symbol _bind@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol _WSAAsyncSelect@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol _recv@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol _inet_ntoa@4
    sdbot05b.obj : error LNK200*: unresolved external symbol _sendto@24
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetCloseHandle@4
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetReadFile@*6
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetOpenUrlA@24
    sdbot05b.obj : error LNK200*: unresolved external symbol _getsockname@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__HttpSendRequestA@20
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__HttpOpenRequestA@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetConnectA@*2
    sdbot05b.obj : error LNK200*: unresolved external symbol __imp__InternetCrackUrlA@*6
    Debug/sdbot05b.exe : fatal error LNK**20: 26 unresolved externals
    Error executing link.exe.
    You haven't really provided much information on... anything really, but from what I can see, you haven't linked in the winsock libraries to your code.

    You need to tell me what language you are programming in, and what compiler you're using.

  3. #3
    Join Date
    Jul 2006
    Posts
    10
    sorry, lol, C++ and uh msvs 6, but yeah thanks, I'm sure thats what I've done.

  4. #4
    Join Date
    Jul 2006
    Posts
    10
    Ah nevermind I fixed everything. <* thanks though, that helped alot

+ Reply to Thread

Similar Threads

  1. Should learn programming?
    By martin8411 in forum Programming
    Replies: 15
    Last Post: 07-18-2018, 03:12 AM
  2. c programming
    By antonybarros in forum Programming
    Replies: 3
    Last Post: 03-17-2016, 05:37 AM
  3. Programming Project Help
    By blacksabbath in forum Programming
    Replies: 0
    Last Post: 10-24-2008, 05:49 PM
  4. programming
    By icepik1234 in forum Programming
    Replies: 1
    Last Post: 04-18-2007, 03:12 PM
  5. Programming
    By TelMeDragon in forum Programming
    Replies: 9
    Last Post: 10-24-2006, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts