Hi,

 

Can somebody help me? i am stuck here. 

 

Mudassar

 

 

From: Myasin [mailto:mudas...@innovative-pk.com] 
Sent: Tuesday, July 21, 2009 9:04 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Snmp error

 

Hi,

 

I am getting following error during the compilation of both 5.4.2.1 and
5.5pre3, 

 

OS = Soalris 10

GCC= 3.4

 

#./configure 

#make (error)

 

In file included from /usr/include/sys/user.h:229,

                 from host/hr_swrun.c:37:

/usr/include/sys/proc.h:11: error: syntax error before "var_extensible_proc"

/usr/include/sys/proc.h:12: error: syntax error before "fixProcError"

host/hr_swrun.c: In function `var_hrswrun':

host/hr_swrun.c:994: error: `SIDL' undeclared (first use in this function)

host/hr_swrun.c:994: error: (Each undeclared identifier is reported only
once

host/hr_swrun.c:994: error: for each function it appears in.)

host/hr_swrun.c:1003: error: `SSTOP' undeclared (first use in this function)

host/hr_swrun.c:1030: error: `SZOMB' undeclared (first use in this function)

gmake[2]: *** [host/hr_swrun.lo] Error 1

gmake[2]: Leaving directory `/usr/local/net-snmp-5.5.pre3/agent/mibgroup'

gmake[1]: *** [subdirs] Error 1

gmake[1]: Leaving directory `/usr/local/net-snmp-5.5.pre3/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 ; gmake ) ; \

                if test $? != 0 ; then \

                        exit 1 ; \

                fi  \

        done \

fi

make: Fatal error: Command failed for target `subdirs'

 

 

 

Thanks 

Mudassar

------------------------------------------------------------------------------
_______________________________________________
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