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

Ryan McLeod r.mcleod20 at gmail.com
Mon Jul 5 10:37:42 EDT 2010


I opened up ubuntu and ran the make command you suggested. Make came back
with the error:

make[3]: /xelerance/cross/win2k/bin/i686-pc-cygwin-gcc: command not found
make[3]: *** [addrtoa.o] Error 127

I'm not familiar with compiling, so not sure where to take it from here.

Thanks,

Ryan

On Mon, Jul 5, 2010 at 10:24 AM, Paul Wouters <paul at xelerance.com> wrote:

> On Mon, 5 Jul 2010, Ryan McLeod wrote:
>
>  I'm getting the above error when trying to run: make programs.
>>
>> Im attempting to get openswan installed on cygwin. I'm using
>> cygwin_1.5.25-15 and openswan version 2.6.27.
>>
>> On cygwin ive installed gmp, gmp-devel, gcc, bison and make. In order for
>> the install to get this far i needed to rename
>> openswan-2.6.27/packaging/defaults/cygwin_nt to
>> openswan-2.6.27/packaging/defaults/cygwin_nt-5.2. I havent had much results
>> googling the error.
>>
>
> Looks like some includes are missing? Or we broke the windows build (we
> have
> not tested it recently)
>
> You might want to try crosscompiling to cygwin on linux instead. That's how
> we
> build things in the past, eg:
>
> make OS=cygwin BUILDENV=cygwin32-linux programs
>
> Paul
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20100705/a447dbed/attachment.html 


More information about the Users mailing list