![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mouse Problem In ScoUnix | uranium | UNIX for Dummies Questions & Answers | 1 | 09-10-2004 01:18 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
HOW CAN I GET RIGHT ? thank you !
$ cc server.c UX:acomp: WARNING: "server.c", line 60: argument is incompatible with prototype6 Undefined first referenced symbol in file socket server.o getprotobyname server.o gethostbyname server.o inet_ntoa server.o ffush server.o UX:ld: ERROR: a.out: fatal error: Symbol referencing errors. No output written t |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I think u r trying to build a socket application. Kindly compile it with -lsocket option
cc server.c -lsocket to include socket related library. If u r using TLI then probably u have to include -lnsl library also I not as to sure why the application is generating these error but out of estimation I figure it so.
__________________
Regards, Satya Prakash Prasad |
|
#3
|
|||
|
|||
|
thank you very much!
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|