[Openswan Users] Compile error
Yiannis Mavroukakis
yiannis at jaguarfreight.com
Fri Jul 28 12:35:03 CEST 2006
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:
error:
> syntax error before string constant
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
warning:
> type defaults to `int' in declaration of `MODULE_PARM'
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
warning:
> function declaration isn't a prototype
> > /usr/src/other/openswan-2.4.6rc3/modobj26/aes/ipsec_alg_aes.c:82:
warning:
> 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-2.6.17.6'
> > make[1]: *** [module26] Error 2
> > make[1]: Leaving directory `/usr/src/other/openswan-2.4.6rc3'
> > make: *** [module] Error 2
> >
> > kernel version is 2.6.17.4 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
Yesterday I got an error in the same line (82), just complaining a
missing ")"
instead. I just commented the line MODULE_PARM(auth_id, "i"); out and
the patch compiled ok (just without full AES support I guess).
openswan-2.4.6rc3
gcc version 4.1.0
Kernel 2.6.16.13-4 (Suse 10.1)
Regards,
Rodrigo
________________________________________________________________________
This e-mail has been scanned for all known viruses.
Note:__________________________________________________________________
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
networks.
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