make 命令后就出现下面的错误:
/include/net-snmp/types.h:80: warning: redefinition of `int8_t'
/usr/include/sys/types.h:191: warning: `int8_t' previously declared here
../include/net-snmp/types.h:87: warning: redefinition of `uint8_t'
/usr/include/stdint.h:49: warning: `uint8_t' previously declared here
../include/net-snmp/types.h:100: warning: redefinition of `int16_t'
/usr/include/sys/types.h:192: warning: `int16_t' previously declared here
../include/net-snmp/types.h:108: warning: redefinition of `uint16_t'
/usr/include/stdint.h:50: warning: `uint16_t' previously declared here
../include/net-snmp/types.h:126: warning: redefinition of `int32_t'
/usr/include/sys/types.h:193: warning: `int32_t' previously declared here
../include/net-snmp/types.h:134: warning: redefinition of `uint32_t'
/usr/include/stdint.h:52: warning: `uint32_t' previously declared here
../include/net-snmp/types.h:169: warning: redefinition of `intmax_t'
/usr/include/stdint.h:139: warning: `intmax_t' previously declared here
In file included from snmp_client.c:96:
../include/net-snmp/types.h:170:1: warning: "SIZEOF_INTMAX_T" redefined
In file included from snmp_client.c:42:
../include/net-snmp/net-snmp-config.h:1163:1: warning: this is the location of the previous definition
../include/net-snmp/types.h:183: warning: redefinition of `uintmax_t'
/usr/include/stdint.h:141: warning: `uintmax_t' previously declared here
../include/net-snmp/types.h:197: warning: redefinition of `uintptr_t'
/usr/include/stdint.h:129: warning: `uintptr_t' previously declared here
../include/net-snmp/types.h:206: warning: redefinition of `intptr_t'
/usr/include/unistd.h:236: warning: `intptr_t' previously declared here
make[1]: *** [snmp_client.lo] Error 1
make[1]: Leaving directory `/home/qq/net-snmp-5.4.1/snmplib'
make: *** [subdirs] Error 1
请问这是什么原因啊? 谢谢!!


于 2012-12-05 16:10:23发表:
大神,我如今也碰到了你一样的问题,求赐教