Mkb wrote:
#include socket
int main() { exit(0); };
gcc -o t.o -c t.c
gives
t.c:1:18: socket: No such file or directory. Not
being a C programmer, I'm not sure how I'd get the
compiler to include this header. Any ideas?
The socket.h files are located here:
/usr/conf/sys/socket.h
[EMAIL PROTECTED] wrote:
This looks like your GCC can not parse /usr/include/socket.h
Can you test that?
cat t.c EOF
#include socket
int main() { exit(0); }
EOF
gcc -o t.o -c t.c
posting this just for comparison purposes...
my copy of redhat 8 here doesn't have socket.h in
This looks like your GCC can not parse /usr/include/socket.h
Can you test that?
cat t.c EOF
#include socket
int main() { exit(0); }
EOF
gcc -o t.o -c t.c
Lincoln
215-444-7973 (office)
267-716-1370 (cellular)
-Original Message-
From: mkb [mailto:[EMAIL PROTECTED]
Sent: Friday,
#include socket
int main() { exit(0); };
gcc -o t.o -c t.c
gives
t.c:1:18: socket: No such file or directory. Not
being a C programmer, I'm not sure how I'd get the
compiler to include this header. Any ideas?
The socket.h files are located here:
/usr/conf/sys/socket.h
/usr/include/sys/socket.h
Message-
From: mkb [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 2:32 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: make DBI-1.35 Fails on HP-UX 11i and Perl 5.8.0
#include socket
int main() { exit(0); };
gcc -o t.o -c t.c
gives
t.c:1:18: socket
-7973 (office)
267-716-1370 (cellular)
-Original Message-
From: mkb [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 2:32 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: make DBI-1.35 Fails on HP-UX 11i and Perl 5.8.0
#include socket
If you're
Good point. That should be socket.h. My bad.
-Original Message-
From: mkb [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 2:32 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: make DBI-1.35 Fails on HP-UX 11i and Perl 5.8.0
#include socket