[Openswan Users] 2.4.6 fails to compile on vanilla 2.6.17.6

Jorge Santos jsantos at deltasoft.pt
Fri Aug 4 17:56:51 EDT 2006


Hi all

Trying to compile 2.4.6 on a vanilla 2.6.17.6. I am on CentOS 4.3 and used
FC5 's config-2.6.17-1.2157_FC5 as a starting point for my .config.
Applied klips.patch and natt.patch cleanly and defined all klips options
as static kernel options. Still i get

  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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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}:66: Error: symbol `__param_str_debug_crypto' is already
defined
{standard input}:72: Error: symbol `__param_debug_crypto' is already defined
make[2]: *** [net/ipsec/ipsec_alg_cryptoapi.o] Error 1
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2


Any thoughts?

Thanks in advance

JS



More information about the Users mailing list