This is a discussion on Compile errors in net-snmp within the SNMP Users forums, part of the Networking and Network Related category; Hi All I downloaded net-snmp-5.2.2 source and did all that was recommended and started a compile ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi All
I downloaded net-snmp-5.2.2 source and did all that was recommended and started a compile on Sun Solaris 10 Sparc running Sun Studio 11 compiler. Set cc to be c99 and started make. The following error is what I get: c99 -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/local/ssl/include -g -Dsolaris2 -c mibII/route_write.c -KPIC -DPIC -o mibII/.libs/route_write.lo "mibII/route_write.c", line 126: undefined struct/union member: rt_nodes "mibII/route_write.c", line 126: undefined struct/union member: rn_key "mibII/route_write.c", line 126: left operand of "->" must be pointer to struct/union "mibII/route_write.c", line 131: undefined struct/union member: rt_pad1 "mibII/route_write.c", line 173: undefined struct/union member: rt_nodes "mibII/route_write.c", line 173: undefined struct/union member: rn_key "mibII/route_write.c", line 173: left operand of "->" must be pointer to struct/union "mibII/route_write.c", line 178: undefined struct/union member: rt_pad1 "mibII/route_write.c", line 314: warning: statement not reached c99: acomp failed for mibII/route_write.c The directory was /usr/local/src/net-snmp-5.2.2/agent/mibgroup What is wrong. I would very much appreciate your help and advice. Regards Vardhan |