[Openswan Users] 1DES compile errors

Brian T btuch at usa.net
Fri Aug 4 12:14:53 EDT 2006


Hi,

I'm trying to compile in 1DES support into OSW 2.4.6 ( final ) and kernel 2.6.17.7 ( patches
applied ).  ( I know it's unwise, but I have been directed to include it's support in our product ).

Under klips I select everything including :

[*] CryptoAPI algorithm interface
[*]   Include 1DES with CryptoAPI

But when running a make I get the following :

# make
make ARCH=i386 CROSS_COMPILE=i386-linux- -C linux-2.6.x bzImage || exit 1
make[1]: Entering directory `/home/btuchten/build/snapgear.psw/linux-2.6.17.7_ows246'
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/linux/compile.h
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  CC      net/ipsec/ipsec_alg.o
net/ipsec/ipsec_alg.c:844:2: warning: #warning "Using built-in AES rather than CryptoAPI AES"
net/ipsec/ipsec_alg.c:854:2: warning: #warning "Using built-in 3des rather than CryptoAPI 3des"
  CC      net/ipsec/ipsec_alg_cryptoapi.o
net/ipsec/ipsec_alg_cryptoapi.c:109: error: redefinition of '__check_debug_crypto'
net/ipsec/ipsec_alg_cryptoapi.c:105: error: previous definition of '__check_debug_crypto' was here
net/ipsec/ipsec_alg_cryptoapi.c:109: error: redefinition of '__param_str_debug_crypto'
net/ipsec/ipsec_alg_cryptoapi.c:105: error: previous definition of '__param_str_debug_crypto' was
here
net/ipsec/ipsec_alg_cryptoapi.c:109: error: redefinition of '__param_debug_crypto'
net/ipsec/ipsec_alg_cryptoapi.c:105: error: previous definition of '__param_debug_crypto' was here
net/ipsec/ipsec_alg_cryptoapi.c:144: error: parse error before string constant
net/ipsec/ipsec_alg_cryptoapi.c:144: warning: type defaults to `int' in declaration of `MODULE_PARM'
net/ipsec/ipsec_alg_cryptoapi.c:144: warning: function declaration isn't a prototype
net/ipsec/ipsec_alg_cryptoapi.c:144: warning: data definition has no type or storage class
net/ipsec/ipsec_alg_cryptoapi.c:145: error: parse error before string constant
net/ipsec/ipsec_alg_cryptoapi.c:145: warning: type defaults to `int' in declaration of `MODULE_PARM'
net/ipsec/ipsec_alg_cryptoapi.c:145: warning: function declaration isn't a prototype
net/ipsec/ipsec_alg_cryptoapi.c:145: warning: data definition has no type or storage class
net/ipsec/ipsec_alg_cryptoapi.c:146: error: parse error before string constant
net/ipsec/ipsec_alg_cryptoapi.c:146: warning: type defaults to `int' in declaration of `MODULE_PARM'
net/ipsec/ipsec_alg_cryptoapi.c:146: warning: function declaration isn't a prototype
net/ipsec/ipsec_alg_cryptoapi.c:146: warning: data definition has no type or storage class
net/ipsec/ipsec_alg_cryptoapi.c:147: error: parse error before string constant
net/ipsec/ipsec_alg_cryptoapi.c:147: warning: type defaults to `int' in declaration of `MODULE_PARM'
net/ipsec/ipsec_alg_cryptoapi.c:147: warning: function declaration isn't a prototype
net/ipsec/ipsec_alg_cryptoapi.c:147: warning: data definition has no type or storage class
net/ipsec/ipsec_alg_cryptoapi.c:148: error: parse error before string constant
net/ipsec/ipsec_alg_cryptoapi.c:148: warning: type defaults to `int' in declaration of `MODULE_PARM'
net/ipsec/ipsec_alg_cryptoapi.c:148: warning: function declaration isn't a prototype
net/ipsec/ipsec_alg_cryptoapi.c:148: warning: data definition has no type or storage class
net/ipsec/ipsec_alg_cryptoapi.c:149: error: parse error before string constant
net/ipsec/ipsec_alg_cryptoapi.c:149: warning: type defaults to `int' in declaration of `MODULE_PARM'
net/ipsec/ipsec_alg_cryptoapi.c:149: warning: function declaration isn't a prototype
net/ipsec/ipsec_alg_cryptoapi.c:149: warning: data definition has no type or storage class
net/ipsec/ipsec_alg_cryptoapi.c: In function `setup_cipher_list':
net/ipsec/ipsec_alg_cryptoapi.c:372: warning: assignment discards qualifiers from pointer target
type
{standard input}: Assembler messages:
{standard input}:58: Error: symbol `__param_str_debug_crypto' is already defined
{standard input}:64: Error: symbol `__param_debug_crypto' is already defined
make[3]: *** [net/ipsec/ipsec_alg_cryptoapi.o] Error 1
make[2]: *** [net/ipsec] Error 2
make[1]: *** [net] Error 2

Thanks for any help you can lend.

-Brian







More information about the Users mailing list