SNMP on an RCM6k
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
I am trying to add SNMP to an RCM6750 application, and I'm using DC 10.72. When I compile I get three warnings about incompatible pointer types: line 2026: SNMP.LIB : Wrong type for parameter 2. line 2026: SNMP.lib : Converting long to incompatible pointer type __far void * There are two other sets of warning that are just the same at different places. The warning at line 2026 is regarding this function call: udp_write(s,_snmp.outbuf,length=end-_snmp.xmemseg,0,udi) Here is the prototype for udp_write(): int udp_write(udp_Socket *s, void __far * datap, word len, word offset, _udp_datagram_info __far * udi); From what I can see, the problem is that the function takes a far pointer, and is being passed a long int. Is there supposed to be an updated snmp.lib file for DC10?