[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conflicting linux and GNU headerfiles in pfinet

From: Marco Gerards
Subject: Re: Conflicting linux and GNU headerfiles in pfinet
Date: 12 Jul 2003 23:11:00 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Alfred M. Szmidt" <> writes:

>    I'm trying to get some extra ioctl support in pfinet (for
>    routing). The problem I'm having is that I need to include the
>    headerfile <net/route.h>. Sometimes I need the linux version (in
>    the linux code) and sometimes I need the glibc version (for mig
>    generated code and for some pfinet (Hurd) code.
> Can't you manipulate the -I lines for gcc? I.e. when we are compiling
> Linux specific code put the Linux header directory before the Hurd
> one, and vice versa.

Perhaps, the building process of the Hurd still confuses me. I think
this requires a lot of work and I'm almost sure there is an easy way.
>    >From net/route.h I need "struct rtentry". In net/route.h in the
>    linux header files this struct is not defined (it is defined in
>    linux/route.h). And in GNU/Hurd it is define in <net/route.h>.
> In recent libc's on GNU/Linux rtentry is in <net/route.h>.  Maybe that
> another way of fixing the problem...

No, I'm using that one. The problem is that the linux header files conflict.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]