Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 04:23:08 +0200
From:      "Eivind Olsen" <eivind@aminor.no>
To:        <freebsd-current@freebsd.org>
Subject:   RELENG_5 Compile problems when using FAST_IPSEC?
Message-ID:  <01e301c49b94$1cbfbf50$9c077a0a@ttyl.internal>

next in thread | raw e-mail | index | archive | help
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.

--=20
Regards
Eivind Olsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01e301c49b94$1cbfbf50$9c077a0a>