The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mouse Problem In ScoUnix uranium UNIX for Dummies Questions & Answers 1 09-10-2004 01:18 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-23-2002
Registered User
 

Join Date: Jan 2002
Location: hangzhou
Posts: 4
Unhappy help about scounix?

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
Reply With Quote
Forum Sponsor
  #2  
Old 01-23-2002
Registered User
 

Join Date: Jan 2002
Location: India
Posts: 111
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
Reply With Quote
  #3  
Old 01-23-2002
Registered User
 

Join Date: Jan 2002
Location: hangzhou
Posts: 4
thank you very much!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0