From: SourceForge.net <no...@so...> - 2005-05-12 14:55:38
|
Support Requests item #1102237, was opened at 2005-01-14 04:17 Message generated for change (Comment added) made by sundialservices You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541483&aid=1102237&group_id=74601 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Compiling error (EINTR not defined). Initial Comment: I today tried to compile ipsec-tools, and get an error as follows: 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 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.) Now, i've found out that it seems as if there're just files in ./src/include-glibc included. The errno.h there seems to provide no EINTR. My local system has a linux/errno.h, where i actually got a define entry where EINTR is defined as 4. I'm using ARCH linux (0.7, wombat), and 2.6.10-ARCH stock kernel, compiling with GCC 3.4.3. Any suggestions? ---------------------------------------------------------------------- Comment By: Mike Robinson (sundialservices) Date: 2005-05-12 07:55 Message: Logged In: YES user_id=854356 Are you trying this with the very latest build? I also had wierd problems trying the 0.4 release which "magically went away" with this one (0.5.2). ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-02-04 05:50 Message: Logged In: NO if anyone is still interested ; ) compile with --with-kernel-headers=/usr/include instead of --with-kernel-headers=/lib/modules/<uname>/build/include as suggested by ./configure --help. Did it for me on crux 2.0. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-02-03 01:39 Message: Logged In: NO I get exactly the same error, compiling ipsec-tools-0.5-rc2 (or rc1, haven't tried 0.4). I'm using crux linux, kernel 2.6.10, gcc 3.3.3 and glibc 2.3.3. Note that src/include-glibc does not contain any errno.h. /usr/include/linux/errno.h also defines EINTR on this system. Any help vastly appreciated... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=541483&aid=1102237&group_id=74601 |