Skip to Content.
Sympa Menu

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

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: Mike <oksijun AT nerim.net>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] ipsec-tools
  • Date: Thu, 3 Feb 2005 08:51:36 -0800

It compiles fine here for me. google says you should insert:
#include <errno.h>
into it. I'm on gcc 3.4.3 linux-2.6.x nptl glibc-2.3.3

from my good compile log:

if /bin/sh ../../libtool --mode=compile --tag=CC gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -include
./src/include-glibc/glibc-bugs.h -I./src/include-glibc
-I./src/include-glibc -I./../../src/racoon/missing -include
../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc
-I../../src/include-glibc -g -O2 -Wall -Werror -Wno-unused -MT pfkey.lo
-MD -MP -MF ".deps/pfkey.Tpo" -c -o pfkey.lo pfkey.c; \
then mv -f ".deps/pfkey.Tpo" ".deps/pfkey.Plo"; else rm -f
".deps/pfkey.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -include
./src/include-glibc/glibc-bugs.h -I./src/include-glibc
-I./src/include-glibc -I./../../src/racoon/missing -include
../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc
-I../../src/include-glibc -g -O2 -Wall
-Werror -Wno-unused -MT pfkey.lo -MD -MP -MF .deps/pfkey.Tpo -c pfkey.c
-o pfkey.o

You do include -I/usr/include where I don't; maybe something got
overridden by that.

Another google hit implies maybe you need to 'cast glibc-kernel-headers'
to override the kernel-provided kernel headers (which are known to be
broken).

Seth


On Thu, Feb 03, 2005 at 10:29:44AM +0100, Mike wrote:
>
> In september 2004, a thread was started concerning ipsec-tools which
> wouldn't compile due to glibc/errno.h problem. I am experiencing the
> same:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -include
> ./src/include-glibc/glibc-bugs.h -I./src/include-glibc
> -I./src/include-glibc -I./../../src/racoon/missing -include
> ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc
> -I../../src/include-glibc -march=c3 -pipe -Os -I/usr/include -Wall
> -Werror -Wno-unused -MT pfkey.lo -MD -MP -MF .deps/pfkey.Tpo -c pfkey.c
> -o pfkey.o pfkey.c: In function `pfkey_recv':
> pfkey.c:1760: error: `EINTR' undeclared (first use in this function)
> pfkey.c:1760: error: (Each undeclared identifier is reported only once
> pfkey.c:1760: error: for each function it appears in.)
>
> did this get solved by anyone?
>
> thanks, Mike
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org

Attachment: pgpRqh0CM1owT.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page