Hi,
I'm trying to build net-snmp-5.3.0.1 on 64bit Linux RHEL3 and am receiving a bunch of 64bit related warnings from the compiler. Are there any patches to address this issue?
Details below.
Thanks,
- Jacob
[EMAIL PROTECTED] net-snmp-5.3.0.1]#
[EMAIL PROTECTED] net-snmp-5.3.0.1]# less /etc/issue
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
Kernel \r on an \m
[EMAIL PROTECTED] net-snmp-5.3.0.1]#
[EMAIL PROTECTED] net-snmp-5.3.0.1]# uname -a
Linux etc000940a.etc.test.gs.com 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:03:28 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
[EMAIL PROTECTED] net-snmp-5.3.0.1]#
[EMAIL PROTECTED] net-snmp-5.3.0.1]# grep -i warning makelog
snmp_api.c:6778: warning: comparison is always true due to limited range of data type
md5.c:468: warning: cast from pointer to integer of different size
snmp_logging.c:383: warning: cast to pointer from integer of different size
snmp_logging.c:628: warning: cast from pointer to integer of different size
snmp_logging.c:1044: warning: cast from pointer to integer of different size
text_utils.c:463: warning: cast from pointer to integer of different size
text_utils.c:499: warning: cast from pointer to integer of different size
container_binary_array.c:408: warning: assignment discards qualifiers from pointer target type
row_merge.c:33: warning: cast to pointer from integer of different size
row_merge.c:167: warning: cast from pointer to integer of different size
table_tdata.c:48: warning: passing arg 2 of `build_oid' from incompatible pointer type
ucd-snmp/pass.c:184: warning: comparison is always false due to limited range of data type
ucd-snmp/pass_persist.c:110: warning: comparison is always false due to limited range of data type
agent/nsDebug.c:294: warning: cast to pointer from integer of different size
agent/nsDebug.c:304: warning: cast from pointer to integer of different size
agent/nsDebug.c:316: warning: cast to pointer from integer of different size
host/hr_device.c:245: warning: assignment discards qualifiers from pointer target type
util_funcs.c:260: warning: passing arg 4 of `run_exec_command' from incompatible pointer type
disman/event/mteObjects.c:50: warning: passing arg 2 of `mteObjects_addOID' discards qualifiers from pointer target type
disman/event/mteObjects.c:50: warning: passing arg 4 of `mteObjects_addOID' discards qualifiers from pointer target type
ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface.c:445: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface.c:346: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface.c:474: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface.c:2190: warning: passing arg 3 of `read_config_read_objid' from incompatible pointer type
if-mib/data_access/interface.c:754: warning: passing arg 1 of `free' discards qualifiers from pointer target type
if-mib/ifTable/ifTable_interface.c:441: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
ip-mib/ipAddressTable/ipAddressTable_interface.c:414: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
if-mib/ifXTable/ifXTable_interface.c:400: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
if-mib/ifXTable/ifXTable_interface.c:1976: warning: passing arg 3 of `read_config_read_objid' from incompatible pointer type
ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c:441: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface.c:489: warning: passing arg 3 of `build_oid_noalloc' from incompatible pointer type
agent_registry.c:1501: warning: passing arg 5 of `netsnmp_oid_compare_ll' from incompatible pointer type
mibgroup/utilities/iquery.c:154: warning: passing arg 1 of `memdup' from incompatible pointer type
[EMAIL PROTECTED] net-snmp-5.3.0.1]#
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
