RELENG_5 Compile problems when using FAST_IPSEC?

From: Eivind Olsen <eivind_at_aminor.no>
Date: Thu, 16 Sep 2004 04:23:08 +0200
Hello.
I'm having problems compiling a RELENG_5 kernel if I add FAST_IPSEC to it.
Is this a known problem? Am I doing something incorrectly (probably...)? Any suggestions?

Here's the last few lines of output I get when I try to make buildkernel:


xform_ipcomp.o(.text+0x5e9): In function `ipcomp_input_cb':
: undefined reference to `M_XDATA'
xform_ipcomp.o(.text+0x5fd): In function `ipcomp_input_cb':
: undefined reference to `crypto_freereq'
xform_ipcomp.o(.text+0x87f): In function `ipcomp_output':
: undefined reference to `crypto_getreq'
xform_ipcomp.o(.text+0x8ea): In function `ipcomp_output':
: undefined reference to `M_XDATA'
xform_ipcomp.o(.text+0x927): In function `ipcomp_output':
: undefined reference to `crypto_freereq'
xform_ipcomp.o(.text+0x9b3): In function `ipcomp_output':
: undefined reference to `crypto_dispatch'
xform_ipcomp.o(.text+0xb54): In function `ipcomp_output_cb':
: undefined reference to `crypto_dispatch'
xform_ipcomp.o(.text+0xc94): In function `ipcomp_output_cb':
: undefined reference to `M_XDATA'
xform_ipcomp.o(.text+0xca4): In function `ipcomp_output_cb':
: undefined reference to `crypto_freereq'
xform_ipcomp.o(.text+0xda5): In function `ipcomp_output_cb':
: undefined reference to `M_XDATA'
xform_ipcomp.o(.text+0xdb5): In function `ipcomp_output_cb':
: undefined reference to `crypto_freereq'
*** Error code 1

Stop in /usr/obj/usr/src/sys/VIMES.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Here's the difference between the stock GENERIC and my custom kernel:

vimes# diff GENERIC VIMES
25c25
< ident         GENERIC
---
> ident         VIMES
271a272,274
>
> options               FAST_IPSEC      #new IPsec (cannot define w/ IPSEC)
>
vimes#

If I remove the FAST_IPSEC line from my kernel config, the compiling works again.

-- 
Regards
Eivind Olsen
Received on Thu Sep 16 2004 - 00:23:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:12 UTC