This is a discussion on Re: Solaris 8/net-snmp-5.2.2 build problems within the SNMP Users forums, part of the Networking and Network Related category; Ruttenberg, Tanya wrote: > I am having trouble building net-snmp-5.2.2 on Solaris 8. [...] > gcc -I../...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ruttenberg, Tanya wrote:
> I am having trouble building net-snmp-5.2.2 on Solaris 8. [...] > gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include > -fno-strict-aliasing -pipe -I/usr/local/include > -I/usr/local/lib/perl5/5.8.7/sun4-solaris-64int/CORE -g -O2 -Dsolaris2 -c > snmp_api.c -fPIC -DPIC -o .libs/snmp_api.lo > snmp_api.c: In function `_init_snmp': > snmp_api.c:666: warning: assignment makes pointer from integer without a > cast > snmp_api.c:671: error: dereferencing pointer to incomplete type > *** Error code 1 > make: Fatal error: Command failed for target `snmp_api.lo' > Current working directory /home/865980/net-snmp-5.2.2.pre1/snmplib > *** Error code 1 > make: Fatal error: Command failed for target `subdirs' > s00c120# > > I found something in an email that suggested defining HAVE_NETDB_H in > net-snmp-config.h. I have done that and now it bombs here: I can fully reproduce this on Solaris 9 SPARC with gcc 3.3.1. If HAVE_NETDB_H was an appropriate fix, we should fix the corresponding configure test that failed. FWIW, both net-snmp 5.1.3 and 5.2.1 compiled fine on this Solaris box, IIRC. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |