Hi,
I’ve been following along with the sample program UDP_ECHO_DH.c and trying to set up udp in my own program. Issue is that when I include
#use “dcrtcp.lib” I get
line 127 : ERROR IP.LIB : Undefined (but used) global label _pbuf_pool
and I’m not sure where Im using it. Im just including the defines right now. The offending line in IP.lib is
extern Pool_t _pbuf_pool;
My other issue is that when I try to open a socket with
sock_init_or_exit(1);
I suddenly get all these undefined variable and out of scope errors for global variables and scructs that I have defined. Im not sure why thats happening.
Any help is appreciated. I have an RCM5700 and Dynamic C 10.60.
Thanks!