[SM-Discuss] ipsec-tools

Seth Alan Woolley seth at positivism.org
Thu Feb 3 11:51:36 EST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20050203/813894cc/attachment.bin 


More information about the SM-Discuss mailing list