Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: benavrhm@applicom.co.il (Jonathan ben-Avraham (Tivoli))
Subject: Re: Include File Error
Date: 1996/06/03	[thread overview]
Message-ID: <DsFpzv.BHJ@applicom.co.il> (raw)
In-Reply-To: 4on5lc$fmg@alpha.comsource.net


David Phan (dphan@alpha.comsource.net) wrote:
: Can anyone help me?  I tried to compile an UNIX socket example program
: on Alpha OSF/1 and got the following compilation error message:
: 
: $ cc -o sockunix sockunix.c
: /usr/lib/cmplrs/cc/cfe: Error: sockunix.c: 20: Cannot open file libc.h for
: #include
: 
: 
: The first few lines of the programs are:
:    #include <stdio.h>
:    #include <stdlib.h>
:    #include <ctype.h>
:    #include <string.h>
:    #include <libc.h>
:    #include <netdb.h>
:    #include <sys/socket.h>
:    #include <netinet/in.h>
: 
: Do I need to use the -I and -L to include the correct path and libralies?
: If so, what are the path name?
: 
: Thanks in advance.
: 
: David
: -- 
: |o|   David Phan           Email: dphan@comsource.net        |o|
: |o|   ComSource, Inc.      URL: http://www.comsource.net     |o|
: |o|   101 Plaza East Blvd. Suite 316, Evansville, IN 47715   |o|
: |o|   Voice: 812.469.0300  Fax: 812.469.0317                 |o|

David,
Where did you get this code from? Try commenting out the line
#include <libc.h>, recompile and tell us what error message you
get.

 - yba
    
     TclTek Ltd.     "Don't laugh, we're serious!"        ~. .~
 =}----------------------------------------------------ooO--U--Ooo------{=
 - benavrhm@tcltek.co.il - tel: +972.52.670.353, http://www.tcltek.co.il -



      reply	other threads:[~1996-06-03  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-31  4:00 Include File Error David Phan
1996-06-03  4:00 ` Jonathan ben-Avraham (Tivoli) [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox