Hi…
In the mist of my application I get this error on a plain vanilla
socket() call:
/tmp/AAA273909_cc.o(.gnu.linkonce.t.InitInternetAddr__t9SocketCom1Zi+0x24):
undefined reference to `socket’
cc: /usr/bin/ld error 1
Help… why? Solution? A pointer to previous messages?
Thanks…
Miguel
/tmp/AAA273909_cc.o(.gnu.linkonce.t.InitInternetAddr__t9SocketCom1Zi+0x24):
undefined reference to `socket’
cc: /usr/bin/ld error 1
Help… why? Solution? A pointer to previous messages?
I can’t be sure without seeing your command line but at a guess are you
including the socket library in the link?
g++ blah.o -o blah -lsocket
James
Hi…
Thanks for your reply.
Yes, I was liking the library. I reinstalled the packages again, and
then all was ok. I suppose that something went wrong the first time I
updated to QNX6 from the Beta version.
Bests…
Miguel.
James Bridson wrote:
/tmp/AAA273909_cc.o(.gnu.linkonce.t.InitInternetAddr__t9SocketCom1Zi+0x24):
undefined reference to `socket’
cc: /usr/bin/ld error 1
Help… why? Solution? A pointer to previous messages?
I can’t be sure without seeing your command line but at a guess are you
including the socket library in the link?
g++ blah.o -o blah -lsocket
James