From: ukrainec@nimios.eng.mcmaster.ca (Andrew Ukrainec) Subject: Re: in.h problem; can't find solution. Date: Wed, 30 Jun 1993 22:36:29 GMT
In article <zmbenhalC9Eu35.FJz@netcom.com> zmbenhal@netcom.com (Zeyd M. Ben-Halim) writes:
>In article <C-AMB.93Jun29163940@solitude.math.utah.edu> c-amb@math.utah.edu (Mark B. Alston) writes:
>>I believe that I have seen this problem addressed on c.o.l before but
>>I can't find the solution anymore. While tring to compile emacs I get
>>the following errors:
>>
>>/usr/include/linux/in.h:25: conflicting types for `IPPROTO_IP'
>>/usr/include/netinet/in.h:30: previous declaration of `IPPROTO_IP'
>>/usr/include/linux/in.h:26: conflicting types for `IPPROTO_ICMP'
>>/usr/include/netinet/in.h:31: previous declaration of `IPPROTO_ICMP'
>>/usr/include/linux/in.h:27: conflicting types for `IPPROTO_GGP'
>>/usr/include/netinet/in.h:32: previous declaration of `IPPROTO_GGP'
>>...
>>there are at least 5 more errors exactly the same.
>>
>>However, I can't find any conflicts while looking at the files myself.
>>What gives?
>>
>>Anyhow, I am using 0.99-10 and the 4.4 libs with gcc 2.3.3.
>
>Just make netinet/in.h a link to linux/in.h or change it to have
>#include <linux/in.h>
>and nothing else.
This is precisely what I had to do as well. I'm glad to hear that it
was the right thing to do. Is there anything else that should be
deleted / added? This really should be in the README or FAQ.
Also, despite the fact that linux/kernel/chr_blk/serial.c tries to deal
with the COM4 / 8514 conflict problem, I still get a yellowish screen
from my ATI Ultra, which occaisonally flickers from white (correct) to
yellowish (yuck!). Does anyone have any suggestions for a fix.
--
Andrew Ukrainec ukrainec@nimios.eng.mcmaster.ca
< (*) > / \ < (*) >
Communications Research Laboratory McMaster Univ, Hamilton, Ontario