SNMP Make error
"Ernie Lacson" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6F70810E69DB404A9AEAD68E2CADD9FD6F53AA@sfmail09.successfactors.com> |
Hi,
While running: make test, I get the following error.
Thanks in advance for any help you provide.
make test
making all in /usr/local/src/net-snmp/net-snmp-5.5/snmplib
making all in /usr/local/src/net-snmp/net-snmp-5.5/agent
/bin/bash ../libtool --mode=compile gcc -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib -I/usr/local/ssl/include -g -O2
-Usolaris2 -Dsolaris2=solaris2 -c -o snmp_vars.lo snmp_vars.c
libtool: compile: gcc -I../include -I. -I../agent -I../agent/mibgroup
-I../snmplib -I/usr/local/ssl/include -g -O2 -Usolaris2
-Dsolaris2=solaris2 -c snmp_vars.c -fPIC -DPIC -o .libs/snmp_vars.o
In file included from /usr/include/kvm.h:14,
from kernel.h:11,
from snmp_vars.c:143:
/usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid"
/usr/include/sys/proc.h:203: error: syntax error before "p_tr_lgrpid"
/usr/include/sys/proc.h:337: error: syntax error before '}' token
In file included from kernel.h:11,
from snmp_vars.c:143:
/usr/include/kvm.h:44: error: syntax error before '*' token
/usr/include/kvm.h:45: error: syntax error before '*' token
/usr/include/kvm.h:48: error: syntax error before "proc_t"
*** Error code 1
make: Fatal error: Command failed for target `snmp_vars.lo'
Current working directory /usr/local/src/net-snmp/net-snmp-5.5/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'
Regards,
Ernie
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
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