From: dphan@alpha.comsource.net (David Phan)
Subject: Include File Error
Date: 1996/05/31 [thread overview]
Message-ID: <4on5lc$fmg@alpha.comsource.net> (raw)
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|
next reply other threads:[~1996-05-31 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-31 4:00 David Phan [this message]
1996-06-03 4:00 ` Include File Error Jonathan ben-Avraham (Tivoli)
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