Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 22:27:57 +0100
From:      "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
To:        freebsd-current@freebsd.org
Subject:   psec.c:120: error: `CRYPTOCAP_F_HARDWARE/CRYPTOCAP_F_SOFTWARE
Message-ID:  <4602F4DD.60005@mail.zedat.fu-berlin.de>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4602F4DD.60005>