Fatal error with solaris socket
Hi, I ran into some issues when compiling my program on a sun solaris box.
I am using the header <sys/socket.h> and when I compile I get the error message:
Code:
Undefined first referenced
symbol in file
inet_addr /var/tmp//ccjs1p18.o
connect /var/tmp//ccjs1p18.o
socket /var/tmp//ccjs1p18.o
sendfile /var/tmp//ccjs1p18.o
ld: fatal: Symbol referencing errors. No output written to utilserv
collect2: ld returned 1 exit status
in the beej online manual I noticed a warning about linked libraries for sun solaris users. does anyone know if this is related? If so, can anyone point in the direction of a possible fix?