Kernel compilation error for 7.0 ( with IPSEC )

Michael Ross michael.ross at gmx.net
Mon Mar 3 12:38:34 UTC 2008


Am Mon, 03 Mar 2008 15:15:29 +0300 schrieb Leonid Satanovsky
<leosat.it at ariel.ru>:

> Hi, people!
> I've just "CvsUP"ed the "src-all" collection for "RELENG_7_0"
> [This is a 7.0-RELEASE, as I understand, am I correct? ]

RELENG_7_0

The release branch for FreeBSD-7.0, used only for security advisories and
other critical fixes.


> trying to compile the source with IPSEC reselts in the following:
> ---------------------------------------       
> <...>
> 
> xform_ipcomp.o(.text+0xcac):/usr/src/sys/netipsec/xform_ipcomp.c:570: 
> undefined reference to `M_XDATA'
> xform_ipcomp.o(.text+0xcbc):/usr/src/sys/netipsec/xform_ipcomp.c:571: 
> undefined reference to `crypto_freereq'
> xform_ipcomp.o(.text+0xda6):/usr/src/sys/netipsec/xform_ipcomp.c:584: 
> undefined reference to `M_XDATA'
> xform_ipcomp.o(.text+0xdb6):/usr/src/sys/netipsec/xform_ipcomp.c:585: 
> undefined reference to `crypto_freereq'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/TKLGW_7.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> --------------------------------------
>             The question: what may be wrong with that?
> 

You are missing "device crypto" in your kernel config.

Michael


More information about the freebsd-questions mailing list