Try this: #pragma comment(lib,"Ws2_32.lib") Add it to your file.
ka-bar -------------------------------------------------- From: "mm" <[email protected]> Sent: Tuesday, September 08, 2009 8:55 AM To: "Crypto++ Users" <[email protected]> Subject: compile error in socketft.cpp > > Hi everyone > > I am a new member to this group so firstly thnaks to evryone > > I am trying to compile the crypto++ on omnet++ in windows xp. > first I got an error in rijndael.cpp which said :'alloca' was not > declared in this scope therefore I add #include <malloc.h> at the > begining of rijndael.cpp and try to compile again but I got 6 errors > in socketft.cpp as follows: > > undefined reference to `_wsaenumnetworkeve...@12' > undefined reference to `_wsaeventsel...@12' > undefined reference to `_wsagetoverlappedres...@20' > undefined reference to `_wsagetoverlappedres...@20' > undefined reference to `_wsar...@28' > undefined reference to `_wsas...@28' > > can you please help me what is wrong? > > thanks in advance > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
