TCP 5 :: sysctl()

Please help, I am stuck on a link error “undefined symbol sysctl_”
I am linking socket3r.lib and everything compiles fine.

What am I missing?

“Phil Wilson” <wilson@wilsonworks-eng.com> wrote in message
news:b8chr2$980$1@inn.qnx.com

Please help, I am stuck on a link error “undefined symbol sysctl_”
I am linking socket3r.lib and everything compiles fine.

What am I missing?

I finally realize that the linker was looking in /usr/watcom~ before
/usr/lib and therefore picking up the wrong socket.lib.
By adding -L /usr/lib to the Makefile I was able to link properly.

Does this indicate a problem with the TCP 5 install?

“Phil Wilson” <wilson@wilsonworks-eng.com> wrote in message
news:b8d7h0$1a2$1@inn.qnx.com

“Phil Wilson” <> wilson@wilsonworks-eng.com> > wrote in message
news:b8chr2$980$> 1@inn.qnx.com> …
Please help, I am stuck on a link error “undefined symbol sysctl_”
I am linking socket3r.lib and everything compiles fine.

What am I missing?



I finally realize that the linker was looking in /usr/watcom~ before
/usr/lib and therefore picking up the wrong socket.lib.
By adding -L /usr/lib to the Makefile I was able to link properly.

Does this indicate a problem with the TCP 5 install?

Possibly. What version fo TCP/IP 5.0 do you have installed?