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
Problem with FTP o n Unix SCO Athos19 UNIX for Dummies Questions & Answers 5 01-14-2008 02:22 PM
How to complie a c++ program in Unix or Cygwin? meili100 High Level Programming 14 03-29-2007 12:34 AM
i have a problem with unix ckng UNIX for Advanced & Expert Users 18 10-09-2006 02:50 AM
Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!! haggo Filesystems, Disks and Memory 2 08-23-2006 08:39 AM
UNIX problem? Unix programm runs windows 2000 CPU over 100% zerocool UNIX for Dummies Questions & Answers 2 11-06-2001 02:25 AM

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
Help about SCO unix complie problem ?

Can you tell me why ? Thank you !
$ cc -L /usr/lib server.c -lsocket
UX:acomp: WARNING: "server.c", line 60: argument is incompatible with prototype6
Undefined first referenced
symbol in file
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-24-2002
Registered User
 

Join Date: Jan 2002
Location: India
Posts: 111
It could be these possible errors :
Assumption :- ( U r writing Server Module Using Sockets)
1) bind , accepts SSC functions requires one of the parameters as a pointer to struct sockaddr structure. Kindly be sure u r using a structure of said type or else u have to typecast it.

2) I think u r trying to use fflush instead of ffush.

Try these points , u might get ur code sucessfully compiled
__________________
Regards,
Satya Prakash Prasad
Reply With Quote
  #3  
Old 01-24-2002
Registered User
 

Join Date: Jan 2002
Location: China
Posts: 2
Smile

do you mind send your source code to me?
i think i can get the right reason.
i think there are some simple syntax errors in your code, maybe i can help u.

i like scounix too, and hope to help each other in future.

thanx.
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 12:56 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