I have got a QNX TCP/IP program “client.c”.It was written in C language. The program can be compiled and run in Linux. But in QNX gcc compiler, it has some problems. The compiler says: undifined reference to “gethostbyname” ,“bind”, “socket”,“connect”, “send”,“receive”
It seems like that the program couldn’t load the header file or library.
I have another question:
in IDE ,the compiling have the same mistakes.
do you know how to use “-lsocket” and something like that to link the library. Thanks for reply!
Are you Chinese too?