[Openswan Users] Compile error

Yiannis Mavroukakis yiannis at jaguarfreight.com
Tue Aug 1 09:23:39 EDT 2006


Well slap my thigh and call me Linus..the moment I switched to KLIPS,
everything righted itself..Openswan hands over to l2tpd and everything
the world is great :) ...

My thanks to everyone for their valuable help
-----Original Message-----
From: users-bounces at openswan.org [mailto:users-bounces at openswan.org] On
Behalf Of Yiannis Mavroukakis
Sent: 28 July 2006 11:35
To: Rodrigo Weymar Fonseca; Paul Wouters
Cc: users at openswan.org
Subject: RE: [Openswan Users] Compile error

Hi Paul, Rodrigo,

Paul, thank you for your reply, I didn't respond earlier because it
seems your email got eaten up in our system and I didn't notice your
post on the list. What you suggested has worked, I'm off to test and
I'll let you know. 

-----Original Message-----
From: Rodrigo Weymar Fonseca [mailto:r.weymar at tu-bs.de]
Sent: 28 July 2006 10:59
To: Paul Wouters
Cc: Yiannis Mavroukakis; users at openswan.org
Subject: Re: [Openswan Users] Compile error

Quoting Paul Wouters <paul at xelerance.com>:

> On Thu, 27 Jul 2006, Yiannis Mavroukakis wrote:
> > While compiling the KLIPS module i get the following errors
> >
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
> syntax error before string constant
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
> type defaults to `int' in declaration of `MODULE_PARM'
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
> function declaration isn't a prototype
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
> data definition has no type or storage class
> > make[3]: ***
> [/usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.o] Error
> 1
> > make[2]: *** [_module_/usr/src/other/openswan-2.4.6rc3/modobj26]
> > Error 2
> > make[2]: Leaving directory `/usr/src/kernel/linux-'
> > make[1]: *** [module26] Error 2
> > make[1]: Leaving directory `/usr/src/other/openswan-2.4.6rc3'
> > make: *** [module] Error 2
> >
> > kernel version is gcc version 3.4.6
> Can you try changing line 82 of ipsec_alg_aes.c from:
> 	MODULE_PARM(auth_id, "i");
> to:
> 	module_param(auth_id, ulong, 0600);
> And see if that fixes it for you?
> Paul

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
This e-mail has been scanned for all known viruses.

More information about the Users mailing list