[Openswan Users] pfkey_sock.c:30: error: 'PF_KEY' undeclared.

Ryan McLeod r.mcleod20 at gmail.com
Wed Jul 28 14:33:20 EDT 2010

Started revisiting this issue. I've tried building winsup on ubuntu as
the document states. The ./configure command from the cross compiler
doc works fine. Its the make that comes back with various C errors. I
can only conclude that winsup isnt designed to be built on linux like
that. I tried doing it straight on cygwin, it came back with issues
with the cygwin0.dll.

 Christopher Faylor from cygwin said its not a necessary step to build
winsup. Cygwin has all the tools one could need to build a program for
cygwin he says.

After looking at other documents like this one:
and the cross compiler doc, it seems i need to run ./configure with
switches on openswan, but there is no configure file that comes with
the openswan package. The cross compiler doc gave an example of
building lbgmp4, but i imagine openswan would follow the same

If there's something someone can suggest from here, great. But i'm
starting to think its a deadend for now.


On Mon, Jul 5, 2010 at 7:06 PM, Paul Wouters <paul at xelerance.com> wrote:
> On Mon, 5 Jul 2010, Ryan McLeod wrote:
>> Well i've been trying to find some information on a compiler for cygwin
>> that installs on linux. I havent had luck so far. but back to the error,
>> make[3]: /xelerance/cross/win2k/bin/
>>      i686-pc-cygwin-gcc: command not found.
> See docs/cross-compiler.txt
> Paul

More information about the Users mailing list