RELENG_5 Compile problems when using FAST_IPSEC?

Eivind Olsen eivind at aminor.no
Wed Sep 15 19:23:17 PDT 2004


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


More information about the freebsd-current mailing list