From: Mark Evans (evansmp@uhura.aston.ac.uk)
Date: 06/12/93


From: evansmp@uhura.aston.ac.uk (Mark Evans)
Subject: Re: 0.99pl10 won't compile with TCP/IP configured
Date: 12 Jun 1993 15:21:25 GMT

Steve VanDevender (stevev@miser.uoregon.edu) wrote:
:
: I first ran into a problem with limits.h during the "make dep"
: phase. After grepping through most of the recent posts to
: c.o.l., I found one answer which said that commenting out the
: line "#include_next <limits.h>" seemed to fix the problem.
:
: Then I found that the in.h supplied with the libc.so.4.4 release
: appears to conflict with the kernel's in.h. Here are the error
: messages GCC gives:
:
: gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -DD_LINK_IO=0x378 -DD_LINK_IRQ=
: 7 -UD_LINK_DEBUG -c d_link.c -o d_link.o
: In file included from /usr/include/netinet/in.h:94, from d_link.c:88:
: /usr/include/linux/in.h:24: conflicting types for `IPPROTO_IP'
: /usr/include/netinet/in.h:30: previous declaration of `IPPROTO_IP'

What you do is edit /usr/include/netinet/in.h arround line 22
remove all of the first enum type setup.

: If I configure the kernel without TCP/IP, I can get it to
: compile, but the unix-domain sockets don't seem to agree with X.
: Starting X usually gives me a blank screen, then hangs such that
: VC switching or attempting to kill the server with
: CTRL-ALT-Backspace doesn't work at all.

They shouldn't X uses unix domain sockets for local clients.