#16 pfkey.c: `EINTR' undeclared


I have download the versions 0.4 / 0.5 / 0.5.1 / 0.6.pre .

But when I compile the tools, the following error occurs.

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.)
make[3]: *** [pfkey.lo] Fehler 1

I know the EINTR is defined in
"/usr/include/linux/errno.h" which is included in
"/usr/include/bits/errno.h" which is included in

Also when I use -I/usr/include as an option for make
the error occurs.

What can I do?Where is the mistake?


  • Mike Robinson

    Mike Robinson - 2005-05-12

    Logged In: YES

    Strange. I had no end of grief like this with 0.4 but
    with 0.5.2 it compiled just fine. I've noticed some
    support or bug-entries where people specified "-I" options
    on the "./configure" command-line but do not fully
    understand them. I, too, would like to know much more
    about problems like this.

  • Timo Teras

    Timo Teras - 2009-01-16
    • status: open --> closed
  • Timo Teras

    Timo Teras - 2009-01-16

    Closing all sourceforge.net bugs. If this issue has not been cared for please submit a new bug report to https://trac.ipsec-tools.net/ issue tracker. Thank you.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks