[Openswan Users] 2.4.6 fails to compile on vanilla 2.6.17.6

Jorge Davila davila at nicaraguaopensource.com
Fri Aug 4 16:29:56 EDT 2006


Hi!:

Why use the configuration that comes with fedora core 5 kernel?

I think that the margen error increase when mixing the customized 
configuration of a distribution with a vanilla kernel.

I face that configuration without problems (2.6 kernel series, openswan 
2.4.x)

Ah! Be sure that you are using the right compiler (maybe are in use in some 
distributions -and versions- 3.2, 3.3 and 4 for the gcc compiler)

Hope this help.

Jorge Dávila

On Fri, 4 Aug 2006 22:56:51 +0100 (WEST)
  "Jorge Santos" <jsantos at deltasoft.pt> wrote:
> 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
> 
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155

Jorge Isaac Davila Lopez
+505 808 2478
www.nicaraguaopensource.com/


More information about the Users mailing list