compilation
Salari, Morris M
MMSc@pge.com
Fri Feb 23 11:28:00 GMT 2001
Hi Jerry,
I put "lsocket" in command line with gcc, it does not compile and creating
the message that I put them in a file.
The syntax I used:
gcc -lsocket http_get.c -o http
It does not create the object file http, I attched the message file.
Please rescue and let me know that I should use differnet syntax for
compilation.
Thanks again.
Morris Salari <<gcerror.1>>
-------------- next part --------------
Undefined first referenced
symbol in file
gethostbyname /var/tmp/ccUgKVV_1.o (symbol belongs to imp
licit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to http
More information about the Gcc-help
mailing list