[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detecting IP_TOS (and IPPROTO_IP vs. SOL_IP)
From: |
Eric Blake |
Subject: |
Re: Detecting IP_TOS (and IPPROTO_IP vs. SOL_IP) |
Date: |
Mon, 19 Jul 2010 14:41:54 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5 |
[adding gnulib]
On 07/04/2010 07:51 PM, Philip Prindeville wrote:
>> Generally, for such issues it might be a good idea to just use gnulib if
>> you can; but I just looked and it doesn't address this particular issue
>> yet.
>>
>> Cheers,
>> Ralf
>>
>
> Ok, slightly different issue.
>
> I'm trying to test for the presence/usability of <netinet/ip.h>, but on
> certain platforms I need to include <netinet/insystm.h> first.
>
> configure:21873: checking netinet/ip.h usability
> configure:21873: gcc -c -g -O2 conftest.c>&5
> In file included from conftest.c:155:
> /usr/include/netinet/ip.h:67: error: field `ip_src' has incomplete type
> /usr/include/netinet/ip.h:67: error: field `ip_dst' has incomplete type
> /usr/include/netinet/ip.h:160: error: syntax error before "n_long"
> /usr/include/netinet/ip.h:162: error: field `ipt_addr' has incomplete type
> /usr/include/netinet/ip.h:163: error: syntax error before "n_long"
> /usr/include/netinet/ip.h:198: error: field `ippseudo_src' has
> incomplete type
> /usr/include/netinet/ip.h:199: error: field `ippseudo_dst' has
> incomplete type
Which platform? Again, using gnulib might be the cleanest way to not
have to worry about this; and in the meantime, gnulib probably needs to
be updated to deal with your particular platform with an incomplete header.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature