<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear Ondrej,<BR>
<BR>
Thanks for your continous support. I have prepared a computer with <STRONG>centOS 5.3</STRONG> and kernel (Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:55:02 EST 2009 i686 i686 i386 GNU/Linux). WHen I am installig <STRONG>openswan-2.6.24.tar.gz</STRONG> I am facing again same error that I faced while installing it on RHEL5.<BR>
<BR>
<FONT color=#17365d>[root@localhost openswan-2.6.24]# make module<BR>Building module for a 2.6 kernel<BR>make[1]: Entering directory `/usr/src/openswan-2.6.24'<BR>make[2]: Entering directory `/usr/src/openswan-2.6.24'<BR>mkdir -p /usr/src/openswan-2.6.24/modobj26<BR>echo ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/des/*.S /usr/src/openswan-2.6.24/modobj26<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/des/dx86unix.S /usr/src/openswan-2.6.24/modobj26<BR>(rm -f /usr/src/openswan-2.6.24/modobj26/des; mkdir -p /usr/src/openswan-2.6.24/modobj26/des && cd /usr/src/openswan-2.6.24/modobj26/des && ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/des/* . && ln -s -f Makefile.fs2_6 Makefile)<BR>(rm -f /usr/src/openswan-2.6.24/modobj26/aes; mkdir -p /usr/src/openswan-2.6.24/modobj26/aes && cd /usr/src/openswan-2.6.24/modobj26/aes && ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/aes/* . && ln -s -f Makefile.fs2_6 Makefile)<BR>mkdir -p /usr/src/openswan-2.6.24/modobj26/aes<BR>cp /usr/src/openswan-2.6.24/packaging/makefiles/module26.make /usr/src/openswan-2.6.24/modobj26/Makefile<BR>echo "# " >> /usr/src/openswan-2.6.24/modobj26/Makefile<BR>echo "# Local Variables: " >> /usr/src/openswan-2.6.24/modobj26/Makefile<BR>echo "# compile-command: \"make -C /usr/src/openswan-2.6.24 ARCH=i386 KERNELSRC=/usr/src/kernels/linux-2.6.18/ MOD26BUILDDIR=/usr/src/openswan-2.6.24/modobj26 module26\"" >> /usr/src/openswan-2.6.24/modobj26/Makefile<BR>echo "# End: " >> /usr/src/openswan-2.6.24/modobj26/Makefile<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/match*.S /usr/src/openswan-2.6.24/modobj26<BR>make[2]: Leaving directory `/usr/src/openswan-2.6.24'<BR>make -C /usr/src/kernels/linux-2.6.18/ BUILDDIR=/usr/src/openswan-2.6.24/modobj26 SUBDIRS=/usr/src/openswan-2.6.24/modobj26 MODULE_DEF_INCLUDE=/usr/src/openswan-2.6.24/packaging/linus/config-all.h MODULE_DEFCONFIG=/usr/src/openswan-2.6.24/linux/net/ipsec/defconfig MODULE_EXTRA_INCLUDE= ARCH=i386 V= modules<BR>make[2]: Entering directory `/usr/src/kernels/2.6.18-128.el5-xen-i686'<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/ipsec_init.c /usr/src/openswan-2.6.24/modobj26/ipsec_init.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/ipsec_init.o<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/ipsec_sa.c /usr/src/openswan-2.6.24/modobj26/ipsec_sa.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/ipsec_sa.o<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/ipsec_radij.c /usr/src/openswan-2.6.24/modobj26/ipsec_radij.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/ipsec_radij.o<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/radij.c /usr/src/openswan-2.6.24/modobj26/radij.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/radij.o<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/ipsec_life.c /usr/src/openswan-2.6.24/modobj26/ipsec_life.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/ipsec_life.o<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/ipsec_proc.c /usr/src/openswan-2.6.24/modobj26/ipsec_proc.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/ipsec_proc.o<BR>ln -s -f /usr/src/openswan-2.6.24/linux/net/ipsec/ipsec_tunnel.c /usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c<BR> CC [M] /usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.o<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: In function âklips_headerâ:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:249: error: âstruct net_deviceâ has no member named âheader_opsâ<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: In function âklips_header_parseâ:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:278: error: âstruct net_deviceâ has no member named âheader_opsâ<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: In function âklips_rebuild_headerâ:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:331: error: âstruct net_deviceâ has no member named âheader_opsâ<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: In function âklips_header_cacheâ:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:339: warning: passing argument 1 of ânetdev_privâ discards qualifiers from pointer target type<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:355: error: âstruct net_deviceâ has no member named âheader_opsâ<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: In function âklips_header_cache_updateâ:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:363: warning: passing argument 1 of ânetdev_privâ discards qualifiers from pointer target type<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:396: error: âstruct net_deviceâ has no member named âheader_opsâ<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: At top level:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:401: error: variable âklips_header_opsâ has initializer but incomplete type<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:402: error: unknown field âcreateâ specified in initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:402: warning: excess elements in struct initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:402: warning: (near initialization for âklips_header_opsâ)<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:403: error: unknown field âparseâ specified in initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:403: warning: excess elements in struct initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:403: warning: (near initialization for âklips_header_opsâ)<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:404: error: unknown field ârebuildâ specified in initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:404: warning: excess elements in struct initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:404: warning: (near initialization for âklips_header_opsâ)<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:405: error: unknown field âcacheâ specified in initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:405: warning: excess elements in struct initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:405: warning: (near initialization for âklips_header_opsâ)<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:406: error: unknown field âcache_updateâ specified in initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:406: warning: excess elements in struct initializer<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:406: warning: (near initialization for âklips_header_opsâ)<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c: In function âipsec_tunnel_cache_updateâ:<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:1270: warning: passing argument 1 of ânetdev_privâ discards qualifiers from pointer target type<BR>/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.c:1319: warning: passing argument 3 of âprv->header_cache_updateâ discards qualifiers from pointer target type<BR><FONT color=#ff0000><STRONG>make[3]: *** [/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.o] Error 1<BR></STRONG></FONT><FONT color=#ff0000><STRONG>make[2]: *** [_module_/usr/src/openswan-2.6.24/modobj26] Error 2</STRONG><BR></FONT>make[2]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-xen-i686'<BR>make[1]: *** [module26] Error 2<BR>make[1]: Leaving directory `/usr/src/openswan-2.6.24'<BR>make: *** [module] Error 2<BR></FONT><BR><BR>Now I seek your expert advice on this. Whether I need to upgrade kernel of what? If yes then what version would be required?<BR>
<BR>
Thanks once again for your help.<BR>
<BR>
<DIV><FONT color=#000080 face="Geneva, Arial, Sans-serif"><STRONG>Regards,</STRONG></FONT></DIV>
<DIV><BR><FONT color=#000080 face="Geneva, Arial, Sans-serif"><STRONG>Zaeem Sherazi </STRONG></FONT><BR></DIV><BR><BR><BR>
<BR>> Date: Mon, 11 Jan 2010 11:48:31 +0100<BR>> From: webserv@s3group.cz<BR>> To: zaeemabbas@hotmail.com<BR>> CC: users@openswan.org<BR>> Subject: Re: [Openswan Users] Openswan isntallation<BR>> <BR>> Hi Zaeem,<BR>> As I said previously, it is quite possible that the openswan <BR>> installation rpm was added in latter updates to RHEL-5.<BR>> Also openswan relies tightly on the kernel so you should update your <BR>> kernel first.<BR>> To do this you should either purchase RHEL license or switch to CentOS...<BR>> <BR>> Ondrej<BR>> <BR>> Zaeem Sherazi wrote:<BR>> > Dear Ondrej,<BR>> > <BR>> > Actually I am not using license version of OS and secondly it is older <BR>> > version (RHEL 5). So it is I thought its better to download lates <BR>> > version of Openswan and install it. Now I am using <BR>> > *openswan-2.6.24.tar.gz* but facing below mentioned error.<BR>> > <BR>> ><BR>> > "make[3]: *** [/usr/src/openswan-2.6.24/modobj26/ipsec_tunnel.o] Error 1<BR>> ><BR>> > make[2]: *** [_module_/usr/src/openswan-2.6.24/modobj26] Error 2<BR>> ><BR>> > make[2]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686'<BR>> ><BR>> > make[1]: *** [module26] Error 2<BR>> ><BR>> > make[1]: Leaving directory `/usr/src/openswan-2.6.24'<BR>> ><BR>> > make: *** [module] Error 2"<BR>> ><BR>> > <BR>> ><BR>> > When I rebooted PC then on boot screen I can see message "*Starting <BR>> > ipsec: ipsec_setup: Starting openswan IPSec U2.6.24/K2.6.18-8.el5*" <BR>> > It seems system is trying to start openswan but unable to do so. As a <BR>> > result operating system is not able to boot fully and just stuck on <BR>> > boot level with above error.<BR>> ><BR>> > <BR>> > Please let me know if you know its solution.<BR>> > <BR>> > Thanking you in advance<BR>> ><BR>> ><BR>> > *Regards,*<BR>> ><BR>> > *Zaeem Sherazi *<BR>> ><BR>> ><BR>> ><BR>> > <BR>> > > Date: Mon, 11 Jan 2010 10:00:33 +0100<BR>> > > From: webserv@s3group.cz<BR>> > > To: zaeemabbas@hotmail.com<BR>> > > Subject: Re: [Openswan Users] Openswan isntallation<BR>> > ><BR>> > > If I were you, I would always prefer the version shipped with the OS as<BR>> > > this way you can always use official RedHat support, should you have <BR>> > any<BR>> > > problems....<BR>> > ><BR>> > > Ondrej<BR>> > ><BR>> > > Zaeem Sherazi wrote:<BR>> > > > Dear Paul,<BR>> > > ><BR>> > > > Please let me know if this is stable and tested version that you are<BR>> > > > referring? Because I may be using this in production environment.<BR>> > > ><BR>> > > > Regards,<BR>> > > > Zaeem<BR>> > > ><BR>> > > ><BR>> > > ><BR>> > > > > Date: Fri, 8 Jan 2010 12:26:49 -0500<BR>> > > > > From: paul@xelerance.com<BR>> > > > > To: zaeemabbas@hotmail.com<BR>> > > > > CC: users@openswan.org<BR>> > > > > Subject: Re: [Openswan Users] Openswan isntallation<BR>> > > > ><BR>> > > > > On Fri, 8 Jan 2010, Zaeem Sherazi wrote:<BR>> > > > ><BR>> > > > > > First of all thank you so much for replying my email. From <BR>> > where I<BR>> > > > can pick pre-compiled package for my RHEL Box.<BR>> > > > ><BR>> > > > > yum install openswan<BR>> > > > ><BR>> > > > > > Openswan can work fine on RHEL? I would be really thankful if you<BR>> > > > can assist me to resolve below mentioned issue.<BR>> > > > ><BR>> > > > > I've build some a week or so ago if you want either a prerelease or<BR>> > > > a version without NSS<BR>> > > > ><BR>> > > > > http://www.openswan.org/download/binaries/centos/5/<BR>> > > > ><BR>> > > > > They're build for RHEL/CentOS 5.4<BR>> > > > ><BR>> > > > > Paul<BR>> > > ><BR>> > > > <BR>> > ------------------------------------------------------------------------<BR>> > > > Hotmail: Free, trusted and rich email service. Get it now.<BR>> > > > <http://clk.atdmt.com/GBL/go/196390708/direct/01/><BR>> > > > <BR>> > ------------------------------------------------------------------------<BR>> > > ><BR>> > > > _______________________________________________<BR>> > > > Users@openswan.org<BR>> > > > http://lists.openswan.org/mailman/listinfo/users<BR>> > > > Building and Integrating Virtual Private Networks with Openswan:<BR>> > > > <BR>> > http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155<BR>> > > ><BR>> > ><BR>> ><BR>> > ------------------------------------------------------------------------<BR>> > Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign <BR>> > up now. <http://clk.atdmt.com/GBL/go/196390706/direct/01/><BR>> <BR>> <BR>                                            <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='http://clk.atdmt.com/GBL/go/196390709/direct/01/' target='_new'>Sign up now.</a></body>
</html>