• Advertisement


This topic is now archived and is closed to further replies.

Dev-C++ "undefined reference"

This topic is 5772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to compile a DLL in Dev-C++ that acts as a server / client using WinSock. The code compiles fine, but the linker gives me a whole list of "undefined references". Any Winsock function that I have used appears in this list, e.g. closesocket, send etc. The Project is being compiled as a DLL, "Do not create a console" is checked and I am importing the correct libraries through "-lwsock32 -lws2_32" as extra link files. Still no luck though. Any ideas as to why this may not be working?

Share this post

Link to post
Share on other sites

  • Advertisement