[AGENT++] Cannot compile SNMP++
Parker
userqt at gmail.com
Tue May 26 11:07:33 CEST 2009
Hello, is anybody here ?
I'm using Windows XP and I have a project which I'm writing with QT Creator. I have created a lib project and added all the sources and implementations from the library ( the files inside snmp++/src and
snmp++/include/snmp_pp to it ). I'm trying to compile it, but I've got a bunch of errors :
address.cpp: In member function `virtual bool IpAddress::parse_address(const char*)':
address.cpp:827: error: `gethostbyname_r' undeclared (first use this function)
address.cpp:827: error: (Each undeclared identifier is reported only once for each function it appears in.)
address.cpp: In member function `int IpAddress::addr_to_friendly()':
address.cpp:945: error: `inet_aton' undeclared (first use this function)
address.cpp:964: error: `gethostbyaddr_r' undeclared (first use this function)
mingw32-make.exe[1]: Leaving directory `D:/Documents and Settings/Secret/Desktop/workspace/DigiIP/snmp_pp'
D:\Qt\2009.02\mingw\bin\mingw32-make.exe: Leaving directory `D:/Documents and Settings/Secret/Desktop/workspace/DigiIP/snmp_pp'
mingw32-make.exe[1]: *** [debug/address.o] Error 1
D:\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [debug] Error 2
Exited with code 2.
Error while building project snmp_pp
When executing build step 'Make'
Is there anyone who could help me ?
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the AGENTPP
mailing list