[Openswan Users] Compile error

Fabio Bombonati Miguel fabio.miguel at wisetelecom.com.br
Thu Jul 27 16:58:35 CEST 2006


Hello, Yiannis.

 

I had the same or similar error on FC5.

 

Here is a answer from Paul Wouters that can help you:

 

One of my servers was indeed not up to date. It was still using
glibc-devel-2.4-4 instead of glibc-devel-2.4-8.

 

On Fedora Core 5, glibc-devel-2.4-8's sys/queue.h file changed from version
8.3 to version 8.5. The macro LIST_INSERT_HEAD changed and got an extra
while() loop around it, without a trailing ";", breaking our call in
server.c that depended on the previous behaviour of the macro expanding to
an if statement that ended with a ";". As a workaround for this glibc bug, I
added an ";" to the LIST_INSERT_HEAD macro call.

 

We will release 2.4.6rc4 in the next few hours.

 

Paul

 

Best Regards

 

  _____  

From: users-bounces at openswan.org [mailto:users-bounces at openswan.org] On
Behalf Of Yiannis Mavroukakis
Sent: Thursday, 27 July, 2006 16:01
To: users at openswan.org
Subject: [Openswan Users] Compile error

 

Hello again :-)

 

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

 

Anyone else getting this error?

 

Y.


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20060727/528a4f9f/attachment-0001.htm


More information about the Users mailing list