[AGENT++] Compilation Error
Vinoth
vinoth at isoftel.com
Tue Feb 24 08:25:04 CET 2004
Hi all,
I tried compiling Agent++ library in solaris (SunOS 5.8
Generic_108528-07 sun4u sparc SUNW,UltraSPARC-IIi-Engine) .
I downloaded the following files from the site.
1) agent++v3.5.16.tar.gz
2) libdes-l-4.01.tar.gz
3) snmp++v3.2.10a.tar.gz
make version
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
gcc version
Thread model: posix
gcc version 3.2.1
First, I tried compiling libdes-l-4.01.tar.gz, I was successfull.
Next , I tried to compile snmp++, ( make -f Makefile.gcc_solaris ) i get
the following error.
gcc -D__XPG4_EXENDED -D_XPG4_EXTENDED -D__unix -DHEADER_DES_LOCL_H -I../inc
lude -I./ -I../../libdes -I../../crypt -g -o address.o -c address.cpp
address.cpp: In member function `virtual bool IpAddress::parse_address(const
char*)':
address.cpp:725: cannot convert `hostent**' to `int*' for argument `5' to `
hostent* gethostbyname_r(const char*, hostent*, char*, int, int*)'
address.cpp:730: `gethostbyname2_r' undeclared (first use this function)
address.cpp:730: (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:838: cannot convert `hostent**' to `int*' for argument `7' to `
hostent* gethostbyaddr_r(const char*, int, int, hostent*, char*, int,
int*)'
address.cpp:854: cannot convert `hostent**' to `int*' for argument `7' to `
hostent* gethostbyaddr_r(const char*, int, int, hostent*, char*, int,
int*)'
make: *** [address.o] Error 1
Do I have to do any special configuration?
Please advice,
Vinoth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20040224/11cd7a18/attachment.htm
More information about the AGENTPP
mailing list