psec.c:120: error: `CRYPTOCAP_F_HARDWARE/CRYPTOCAP_F_SOFTWARE

From: O. Hartmann <ohartman_at_mail.zedat.fu-berlin.de>
Date: Thu, 22 Mar 2007 22:27:57 +0100
Hello,
since yesterday, I get this error while compiling a kernel (FreeBSD
7.0-CURRENT, most recent cvsupdated, AMD64, FAST_IPSEC enabled in kernel
config).

Disabling FAST_IPSEC in kernel does produce a clean compiler run.

Is something broken, has something changed?

Regards,
Oliver

P.S. Error message on console:


cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron
-std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-fformat-extensions -nostdinc -I-  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Werror  /usr/src/sys/netipsec/ipsec.c
/usr/src/sys/netipsec/ipsec.c:120: error: `CRYPTOCAP_F_HARDWARE'
undeclared here (not in a function)
/usr/src/sys/netipsec/ipsec.c:120: error: `CRYPTOCAP_F_SOFTWARE'
undeclared here (not in a function)
*** Error code 1

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

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

Stop in /usr/src.
Received on Thu Mar 22 2007 - 20:26:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC