Hello,
I've traying to install NETSNMP V5.4 on a : OSF1 xxxx V4.0 1229 alpha .
the nest error message appear :
xxxx:/usr/local/netsnmp/net-snmp-5.4>make
cc -std1 -E -Iinclude -I./include
-I./agent/mibgroup -I. -I. -DDONT_INC_STRUCTS
-DBINDIR=/usr/local/netsnmp/v5.4/bin ./sedscript.in |
egrep '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' >
sedscript
echo 's#DATADIR#/usr/local/netsnmp/v5.4/share#g' >> sedscript
echo 's#LIBDIR#/usr/local/netsnmp/v5.4/lib#g' >> sedscript
echo 's#BINDIR#/usr/local/netsnmp/v5.4/bin#g' >> sedscript
echo 's#PERSISTENT_DIRECTORY#/usr/local/netsnmp/v5.4/var/net-snmp#g' >>
sedscript
echo 's#SYSCONFDIR#/usr/local/netsnmp/v5.4/etc#g' >> sedscript
/usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
making all in /usr/local/netsnmp/net-snmp-5.4/snmplib
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o snmp_client.lo snmp_client.c
mkdir .libs
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp_client.c -DPIC
-o .libs/snmp_client.o
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp_client.c -o
snmp_client.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o mib.lo mib.c
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c mib.c -DPIC -o
.libs/mib.o
cc: Warning: mib.c, line 2109: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to const char". (cvtdiftypes)
value = strtok_r(line, " \t\n", &st);
----^
cc: Warning: mib.c, line 2545: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(env_var, ENV_SEPARATOR, &st);
----^
cc: Warning: mib.c, line 2548: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(NULL, ENV_SEPARATOR, &st);
--------^
cc: Warning: mib.c, line 2555: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(env_var+1, ENV_SEPARATOR, &st);
------------^
cc: Warning: mib.c, line 2557: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(env_var, ENV_SEPARATOR, &st);
------------^
cc: Warning: mib.c, line 2560: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(NULL, ENV_SEPARATOR, &st);
------------^
cc: Warning: mib.c, line 2601: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(env_var, ENV_SEPARATOR, &st);
----^
cc: Warning: mib.c, line 2610: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(NULL, ENV_SEPARATOR, &st);
--------^
cc: Warning: mib.c, line 2650: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(env_var, ENV_SEPARATOR, &st);
--------^
cc: Warning: mib.c, line 2653: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to char". (cvtdiftypes)
entry = strtok_r(NULL, ENV_SEPARATOR, &st);
------------^
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c mib.c -o mib.o
>/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o parse.lo parse.c
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c parse.c -DPIC -o
.libs/parse.o
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c parse.c -o parse.o
>/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o snmp_api.lo snmp_api.c
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp_api.c -DPIC -o
.libs/snmp_api.o
cc: Warning: snmp_api.c, line 6928: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to const char". (cvtdiftypes)
for (cp = strtok_r(vp, " ,\t", &st); cp; cp = strtok_r(NULL, " ,\t",
&st)) {
-------------^
cc: Warning: snmp_api.c, line 6928: In this statement, "strtok_r(...)" of type
"int", is being converted to "pointer to const char". (cvtdiftypes)
for (cp = strtok_r(vp, " ,\t", &st); cp; cp = strtok_r(NULL, " ,\t",
&st)) {
-------------------------------------------------^
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp_api.c -o
snmp_api.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o snmp.lo snmp.c
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp.c -DPIC -o
.libs/snmp.o
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp.c -o snmp.o
>/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o snmp_auth.lo snmp_auth.c
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp_auth.c -DPIC -o
.libs/snmp_auth.o
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c snmp_auth.c -o
snmp_auth.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -std1 -I../include -I. -I../snmplib
-g -Dosf4=osf4 -c -o asn1.lo asn1.c
cc -std1 -I../include -I. -I../snmplib -g -Dosf4=osf4 -c asn1.c -DPIC -o
.libs/asn1.o
cc: Error: asn1.c, line 573: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(value,2);
----^
cc: Error: asn1.c, line 704: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(integer,4);
----^
cc: Error: asn1.c, line 1463: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(objid_val,5);
--------^
cc: Error: asn1.c, line 1833: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(high,6);
----^
cc: Error: asn1.c, line 1834: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(low,6);
----^
cc: Error: asn1.c, line 1897: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(high,7);
----^
cc: Error: asn1.c, line 1898: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(low,7);
----^
cc: Error: asn1.c, line 2098: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(high,8);
----^
cc: Error: asn1.c, line 2099: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(low,8);
----^
cc: Error: asn1.c, line 2165: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(low,9);
----^
cc: Error: asn1.c, line 2891: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(integer,11);
----^
cc: Error: asn1.c, line 3028: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(tmpint,12);
------------^
cc: Error: asn1.c, line 3246: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(high,13);
----^
cc: Error: asn1.c, line 3247: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(low,13);
----^
cc: Error: asn1.c, line 3432: In this statement, "UINT32_MAX" is not declared.
(undeclared)
CHECK_OVERFLOW_U(low,14);
----^
*** Exit 1
Stop.
*** Exit 1
Stop.
could anyone help me
PLEASE.
Best regards
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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