Building SNMP++ on Solaris

Jochen Katz katz____agentpp.com
Fri May 16 20:13:58 CEST 2003


Hi,

perhaps https://mailman.fastxs.nl/pipermail/dbmail/2002-April/000301.html
can help: try to add "-lresolv" to the link command.

Regards,
   Jochen


Billy Davis wrote:
> 
>  
>     I have been trying to install snmp++ on solaris. I get the library 
> to build fine, but when I try to build my application or the console 
> examples I get the following errors:
>  
> Undefined                       first referenced
>  symbol                             in file
> inet_aton                           
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/../../../libsnmp++.so
> gethostbyname2                      
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/../../../libsnmp++.so
>  
>     I recently upgraded my gcc compiler from 2.95 to 3.2.3 so I am not 
> sure if this is due to a bad install or not.
>  
> Thanks,
> Billy Davis




More information about the AGENTPP mailing list