[2703] in RedHat Linux List
TCP/IP libraries missing!
daemon@ATHENA.MIT.EDU (Sean Staats)
Tue Nov 5 03:15:48 1996
Date: Tue, 5 Nov 1996 00:39:14 -0600 (CST)
From: Sean Staats <sestaats@wichita.fn.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I have been developing TCP/IP applications on RH 3.0.3 and had no problems.
After I upgraded to RH 4.0 my TCP/IP c programs don't compile(they
haven't been changed). If someone knows what is wrong please let me know.
If needed, here is an example of the compiler messages I get when I run
the make file...
---------------------------------------------------------------
shocker:~/cs742/project >make
gcc -g -c tcp_ip_lib.c
In file included from tcp_ip_lib.h:6,
from tcp_ip_lib.c:6:
/usr/include/sys/types.h:4: linux/types.h: No such file or directory
In file included from /usr/include/netinet/in.h:23,
from tcp_ip_lib.h:7,
from tcp_ip_lib.c:6:
/usr/include/sys/socket.h:5: linux/socket.h: No such file or directory
In file included from tcp_ip_lib.h:7,
from tcp_ip_lib.c:6:
/usr/include/netinet/in.h:78: linux/in.h: No such file or directory
In file included from /usr/include/limits.h:30,
from /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h:116,
from
/usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h:11,
from /usr/include/sys/param.h:4,
from /usr/include/arpa/inet.h:66,
from tcp_ip_lib.h:11,
from tcp_ip_lib.c:6:
/usr/include/posix1_lim.h:72: linux/limits.h: No such file or directory
In file included from /usr/include/arpa/inet.h:66,
from tcp_ip_lib.h:11,
from tcp_ip_lib.c:6:
/usr/include/sys/param.h:5: linux/limits.h: No such file or directory
/usr/include/sys/param.h:6: linux/param.h: No such file or directory
In file included from tcp_ip_lib.h:13,
from tcp_ip_lib.c:6:
/usr/include/fcntl.h:29: linux/fcntl.h: No such file or directory
make: *** [tcp_ip_lib.o] Error 1
-----------------------------------------------------------------------
And here are the header files I'm including in my source code...
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <fcntl.h>
#include <stdio.h>
-----------------------------------------------------------------------
As I mentioned, I didn't get these errors under RH 3.0.3.
Thanks for the help. And please reply to sestaats@feist.com or
sestaats@cs.twsu.edu
Sean Staats
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null