[Openswan Users] 2.6 Klips and SMP ...
Christopher Malott
chris at travelconnection.com
Thu Aug 18 12:29:53 CEST 2005
It might also be relevant to note that if SMP is enabled and one has
enabled nat-t support, the following error is give during compilation.
in ipsec_init.c
#if defined(NET_26) && defined(CONFIG_IPSEC_NAT_TRAVERSAL) &&
!defined(HAVE_XFRM4_UDP_REGISTER)
#warning "You are trying to build KLIPS2.6 with NAT-T support, but you
did not"
#error "properly apply the NAT-T patch to your 2.6 kernel source tree."
#endif
Chris
Christopher Malott wrote:
> Thanks for uncovering this. I can also reproduce this issue. At least
> now I know what was causing the pfkey_ops error I've been running into.
> I wouldn't have thought it would have anything to do with SMP.
>
> I haven't tested the application yet, so I'm assuming by the sheer fact
> it compiled fine that I won't run any related issues at runtime.
>
> Chris
>
> Alexander Hellkuhl wrote:
>
>> When I compile with SMP the Compiler stops with the following error.
>> Without
>> SMP it works fine. But on a dual Xeon it would be fine to have SMP :-). I
>> tried to find the error myself. But my knowledge of kernelprogramming
>> ....
>>
>> I use
>>
>> Linux-2.6.12.5 from kernel.org
>> openswan-2.4.0dr10.kernel-2.6-klips.patch.
>>
>> I had the error with the older releases of openswan-klips patch.
>>
>> Best Regards
>> Alex
>>
>> CC lib/string.o
>> CC lib/vsprintf.o
>> AR lib/lib.a
>> CC [M] lib/libcrc32c.o
>> CC arch/i386/lib/bitops.o
>> CC arch/i386/lib/dec_and_lock.o
>> CC arch/i386/lib/delay.o
>> CC arch/i386/lib/memcpy.o
>> CC arch/i386/lib/usercopy.o
>> AR arch/i386/lib/lib.a
>> GEN .version
>> CHK include/linux/compile.h
>> UPD include/linux/compile.h
>> CC init/version.o
>> LD init/built-in.o
>> LD .tmp_vmlinux1
>> net/built-in.o: In function `pfkey_create':
>> : undefined reference to `pfkey_ops'
>> make: *** [.tmp_vmlinux1] Error 1
>>
>>
>>
>> -----Original Message-----
>> From: Paul Wouters [mailto:paul at xelerance.com] Sent: Donnerstag, 18.
>> August 2005 16:13
>> To: Alexander Hellkuhl
>> Cc: users at openswan.org
>> Subject: Re: [Openswan Users] 2.6 Klips and SMP ...
>>
>> On Thu, 18 Aug 2005, Alexander Hellkuhl wrote:
>>
>>
>>> When I turn on SMP my kernel doesn't compile properly. Is there a work
>>> around?
>>
>>
>>
>> Can you show us the problem?
>>
>> Paul
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openswan.org
>> http://lists.openswan.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
More information about the Users
mailing list