Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] CFGLAGS ipsec-tools

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Cory <cory AT schmidtsite.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] CFGLAGS ipsec-tools
  • Date: Wed, 22 Sep 2004 06:01:18 -0600

On Tuesday 21 September 2004 10:15 pm, Eric Sandall wrote:
> Quoting Robert Figura <rfigura AT aubergine.zwischengesicht.de>:
> > Hi,
> >
> > i just ran into a problem with cast ipsec-tools complaining about EINTR
> > which should be defined in errno.h
> >
> > i didn't grok why (spell: whom to blame) so i concluded to cast with env
> > CFLAGS=-include... that should've worked but i needed to put that into
> > the BUILD where this envvar was explicitly unset. removing that line
> > didn't help so i put the set there directly.
> >
> > question: is there a reason for that? is my glibc/linux install correct?
>
> Weird...when I last cast ipsec-tools it went fine, but now I get the same
> error as you. It may need certain options in the kernel (packet filtering
> (pfkey) maybe?). I'll see what I can find, but no promises. ;)
>
> -sandalle
>
> --
> Eric Sandall | Source Mage GNU/Linux Developer
> eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
> http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
> http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

I started looking into it a few days ago but didn't really follow through.
What I found was that EINTR is defined in /usr/include/linux/errno.h but the
file that is failing, /libipsec/pfkey.c, just has #include "errno.h". There
are various errno.h files around including one for each arch type in the
kernel source, one in /usr/include/asm, /usr/include/sys, and /usr/include.
It appears that the wrong one is being included, which I think is what Robert
is alluding to with the CFLAGS option. I didn't find any answers though.





Archive powered by MHonArc 2.6.24.

Top of Page