I'm unable to get net-snmp-5.2.5 make to complete successfully.  Below
is system information and a copy of the output from the failing make.
If you have any ideas I would love to hear them.  I'm all out.

Thank you,

Anna


1.) net-snmp-5.2.5
2.) SunOS quartz 5.9 Generic_122300-28 sun4u sparc SUNW,Sun-Fire-V210
3.) /usr/local/bin/perl -v 
        This is perl, v5.8.5 built for sun4-solaris
4.) PATH
        /usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin

5.) LD_LIBRARY_PATH
        /usr/local/lib:/usr/lib:/usr/ccs/lib:/usr/local/ssl/lib

6.) ./configure --with-mib-modules=host disman/event-mib
ucd-snmp/diskio smux agentx mibII/mta_sendmail --with-cc=
gcc --with-mibdirs=/usr/local/share/snmp/mibs --enable-uc
d-snmp-compatibility --with-perl-modules

7.) /usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6

        
Section of make that is failing:        
gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -g -O2
-Dsolaris2 -c snmp_transport.c  -fPIC -DPIC -o .libs/snmp_transport.lo
gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -g -O2
-Dsolaris2 -c snmp_transport.c -o snmp_transport.o >/dev/null 2>&1
mv -f .libs/snmp_transport.lo snmp_transport.lo
/bin/sh ../libtool --mode=compile gcc -I../include -I.  -I../snmplib
-I/usr/local/ssl/include -g -O2 -Dsolaris2 -c -o snmpUDPDomain.lo
snmpUDPDomain.c
rm -f .libs/snmpUDPDomain.lo
gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -g -O2
-Dsolaris2 -c snmpUDPDomain.c  -fPIC -DPIC -o .libs/snmpUDPDomain.lo
snmpUDPDomain.c: In function `netsnmp_udp_recvfrom':
snmpUDPDomain.c:134: error: structure has no member named `msg_control'
snmpUDPDomain.c:135: error: structure has no member named
`msg_controllen'
snmpUDPDomain.c:144: warning: assignment makes pointer from integer
without a cast
snmpUDPDomain.c:144: warning: assignment makes pointer from integer
without a cast
snmpUDPDomain.c:145: error: `SOL_IP' undeclared (first use in this
function)
snmpUDPDomain.c:145: error: (Each undeclared identifier is reported only
once
snmpUDPDomain.c:145: error: for each function it appears in.)
snmpUDPDomain.c: In function `netsnmp_udp_sendto':
snmpUDPDomain.c:164: error: `SOL_IP' undeclared (first use in this
function)
snmpUDPDomain.c:177: error: unknown field `msg_control' specified in
initializer
snmpUDPDomain.c:177: warning: initialization from incompatible pointer
type
snmpUDPDomain.c:178: error: unknown field `msg_controllen' specified in
initializer
snmpUDPDomain.c:179: error: unknown field `msg_flags' specified in
initializer
snmpUDPDomain.c:179: warning: excess elements in struct initializer
snmpUDPDomain.c:179: warning: (near initialization for `m')
snmpUDPDomain.c:181: error: `MSG_NOSIGNAL' undeclared (first use in this
function)
snmpUDPDomain.c: In function `netsnmp_udp_transport':
snmpUDPDomain.c:644: error: `SOL_IP' undeclared (first use in this
function)
*** Error code 1
make: Fatal error: Command failed for target `snmpUDPDomain.lo'
Current working directory /usr/local/src/net-snmp-5.2.5/snmplib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to