aboujouj83
IS-IT--Management
After compiling a client.c C code, I am getting the following message:
Undefined first referenced
symbol in file
max /var/tmp/cc56aOlv2.o
Inet_pton /var/tmp/cc56aOlv1.o
ld: fatal: Symbol referencing errors. No output written to prog1
The code is long, I will provide it later if I don't get any answer. Note that I included in a header file all the necessary libraries including the <netinet/in.h> which defines the Inet_pton variable.
I don't understand what the messages refers too and how to correct it. Is it a libary missing (which i doubt) or something else?
Waiting for your clarifications.
Aboujouj
Undefined first referenced
symbol in file
max /var/tmp/cc56aOlv2.o
Inet_pton /var/tmp/cc56aOlv1.o
ld: fatal: Symbol referencing errors. No output written to prog1
The code is long, I will provide it later if I don't get any answer. Note that I included in a header file all the necessary libraries including the <netinet/in.h> which defines the Inet_pton variable.
I don't understand what the messages refers too and how to correct it. Is it a libary missing (which i doubt) or something else?
Waiting for your clarifications.
Aboujouj