Using GSWgcc4core and GSWgmake.

./configure --with-mib-modules="ucd-snmp/lmSensors ucd-snmp/diskio smux
mibII/mta_sendmail" --with-cc=gcc

"make" barfs on....

libtool: compile:  gcc -I../../include -I. -I../../agent
-I../../agent/mibgroup -I../../snmplib -fno-strict-aliasing -g -O2
-Usolaris2 -Dsolaris2=solaris2 -c mibII/icmp.c  -fPIC -DPIC -o
mibII/.libs/icmp.o
mibII/icmp.c: In function 'solaris_read_icmp6_stat':
mibII/icmp.c:1510:12: error: 'icmp6stat' undeclared (first use in this
function)
     *mib = icmp6stat;
            ^
mibII/icmp.c:1510:12: note: each undeclared identifier is reported only
once for each function it appears in
mibII/icmp.c: In function 'solaris_read_icmp6_msg_stat':
mibII/icmp.c:1517:12: error: 'icmp6stat' undeclared (first use in this
function)
     *mib = icmp6stat;
            ^
*** Error code 1
make: Fatal error: Command failed for target `mibII/icmp.lo'
Current working directory
/usr/local/src/net-snmp/net-snmp-5.7.3.pre1/agent/mibgroup
*** Error code 1
The following command caused the error:
if test "helpers mibgroup" != ""; then \
        it="helpers mibgroup" ; \
        for i in $it ; do \
                echo "making all in `pwd`/$i"; \
                ( cd $i ; make ) ; \
                if test $? != 0 ; then \
                        exit 1 ; \
                fi  \
        done \
fi
make: Fatal error: Command failed for target `subdirs'
Current working directory /usr/local/src/net-snmp/net-snmp-5.7.3.pre1/agent
*** Error code 1
The following command caused the error:
if test "snmplib  agent apps man local mibs" != ""; then \
        it="snmplib  agent apps man local mibs" ; \
        for i in $it ; do \
                echo "making all in `pwd`/$i"; \
                ( cd $i ; make ) ; \
                if test $? != 0 ; then \
                        exit 1 ; \
                fi  \
        done \
fi
make: Fatal error: Command failed for target `subdirs'
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to