Help about SCO unix complie problem ?

Thread Tools Search this Thread
Top Forums Programming Help about SCO unix complie problem ?
# 1  
Old 01-23-2002
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
# 2  
Old 01-24-2002
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
# 3  
Old 01-24-2002

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.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

load sco xenix and sco unix binary ?

Hi I have some sco xenix object, bin and archive files that operate in sco unix 5.0.7. I know that sco unix kernel can support sco xenix binary. I want to know how can I link xenix and unix archives together? (0 Replies)
Discussion started by: javad1_maroofi
0 Replies

2. SCO

SCO unix binary compatibility problem

Hi I am looking for sco xenix binary compatibility utility "cvtomf",(convert omf object to COFF object) Would you please help me ? tnx (3 Replies)
Discussion started by: javad1_maroofi
3 Replies

3. SCO

Sco unix v/386 3.2 problem boot and install

Hi i have a problem after boot with N1 disk and putting N2 disk and pressing the enter in this message:Insert N2(filesystem) floppy and press after by this(pressing enter) the system is reboot!! why??? :confused: my old pc is a Pentium II 333mhz 3gb hd 64mb ram please help!! :( (3 Replies)
Discussion started by: panos_pit
3 Replies

4. SCO

Problem with sco unix 5.0.5 and copy disk

Hi, i'm from Argetina and my english is very poor. I'm trying to copy disk with sco unix 5.0.5 -60Gb IDE Disk- (7476, 255, 63) to other disk -IDE 80Gb- and g4u v2.3. After the copy, i'm trying the 80Gb disk and the roblem is the partition /u/disco is empty. Note: /u/disco is the... (0 Replies)
Discussion started by: sebpes
0 Replies

5. UNIX for Dummies Questions & Answers

Problem installing SCO UNIX 6.0

Hi all, This is the first time I have attempted to install SCO UNIX. I have a customer that has requested we install it on a desktop sized machine and they have supplied me with their install CD - "SCO UNIX Release 6.0.0 Base Operating System Install disk CD 1" I am attempting to install it... (0 Replies)
Discussion started by: Becks
0 Replies

6. UNIX for Dummies Questions & Answers

Problem with FTP o n Unix SCO

my problem is like this while ftping locally it works, but when users from WAN try the ftp services it doesnt comes the message it displays is as follows "connection closed by remote host " please help Thanks (5 Replies)
Discussion started by: Athos19
5 Replies

7. Programming

How to complie a c++ program in Unix or Cygwin?

Can I use gcc to compile a piece of c++ code? Do I need to name the file that contains the code as .cpp? Thank you (14 Replies)
Discussion started by: meili100
14 Replies

8. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

9. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

10. SCO

inetd problem in Unix Sco

Hi, I cannot remote login into my unix sco server, only at the box itself, when I write root to login then enter, it immediately logs in without asking me the password :confused: , at the prompt it gives me this error : inetd:system defaults databse couldn't be allocated due to : cannot... (6 Replies)
Discussion started by: BAM
6 Replies
Login or Register to Ask a Question