linking error

Hi !

I try to port wvdial (I cant connect to the net and I have seen that others
have problems too). Everything compiles allright only the final linking
fails with “unresolved function…” it is some socket handling function
using libsocket.a (I edited the make file and added it with -l) there is
included a socket header too. So does anybody have any idea ?

Thanks
PKA

Are you saying that you resolved the problem by adding -lsocket to the linker
arguments? Because that is what you would need to do if you were compiling
a networking application under QNX. If -lsocket didn’t fix it, could you
tell us what is still broken?

Kris

pka <pka@kgb.hu> wrote:

Hi !

I try to port wvdial (I cant connect to the net and I have seen that others
have problems too). Everything compiles allright only the final linking
fails with “unresolved function…” it is some socket handling function
using libsocket.a (I edited the make file and added it with -l) there is
included a socket header too. So does anybody have any idea ?

Thanks
PKA


Kris Warkentin
kewarken@qnx.com
(613)591-0836 x9368
“You’re bound to be unhappy if you optimize everything” - Donald Knuth

Hi again !

the function is socketpair, I wrote some simple program to test it and it
worked fine (even without -lsocket), so I think the problem is somewhere
else, so I have to search further…

All the best
PKA