Snmp error

"Myasin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <03fd01ca09af$eeec49b0$ccc4dd10$@com>
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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.