[FUG-BR] IPSEC e kernel
c0re dumped
ez.c0re em gmail.com
Quarta Abril 29 14:33:15 BRT 2009
Pessoal,
Tô tentando compilar o kernel com suporte a IPSec num 7.0 amd64 e não
tá indo nem com reza brava.
O erro retornado é o seguinte:
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../..
-I../../../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 ../../../opencrypto/crypto.c
../../../opencrypto/crypto.c:81:26: error: cryptodev_if.h: No such
file or directory
cc1: warnings being treated as errors
../../../opencrypto/crypto.c: In function 'crypto_newsession':
../../../opencrypto/crypto.c:410: warning: implicit declaration of
function 'CRYPTODEV_NEWSESSION'
../../../opencrypto/crypto.c:410: warning: nested extern declaration
of 'CRYPTODEV_NEWSESSION'
../../../opencrypto/crypto.c: In function 'crypto_freesession':
../../../opencrypto/crypto.c:464: warning: implicit declaration of
function 'CRYPTODEV_FREESESSION'
../../../opencrypto/crypto.c:464: warning: nested extern declaration
of 'CRYPTODEV_FREESESSION'
../../../opencrypto/crypto.c: In function 'crypto_kinvoke':
../../../opencrypto/crypto.c:943: warning: implicit declaration of
function 'CRYPTODEV_KPROCESS'
../../../opencrypto/crypto.c:943: warning: nested extern declaration
of 'CRYPTODEV_KPROCESS'
../../../opencrypto/crypto.c: In function 'crypto_invoke':
../../../opencrypto/crypto.c:1037: warning: implicit declaration of
function 'CRYPTODEV_PROCESS'
../../../opencrypto/crypto.c:1037: warning: nested extern declaration
of 'CRYPTODEV_PROCESS'
*** Error code 1
Apesar de seguir os passos em
http://www.freebsd.org/doc/en/books/handbook/ipsec.html e em `man
ipsec', nada deu certo até agora.
Minha intenção é usar o isakmpd, que já foi instalado sem maiores
problemas, só que para inicá-lo corretamente, preciso habilitar o
suporte ao IPSec para trabalhar com as variáveis adequadas no sysctl.
Alguma luz ?
[]'s
--
"To err is human, to blame it on somebody else shows management potential."
Mais detalhes sobre a lista de discussão freebsd