[Openswan Users] 2.4.30 kernel / openswan 1.0.9
John A. Sullivan III
jsullivan at opensourcedevel.com
Mon Oct 24 07:46:58 CEST 2005
On Thu, 2005-10-20 at 15:50 -0600, Jorge I. Davila L. wrote:
> Hi list!:
>
> I found this error trying to compile the kernel 2.4.30 after apply the
> patches from openswan-1.0.9.
>
> The error ocurrs using:
>
> kernel 2.4.30 (xenU kernel)
> iptables 1.3.3
> patch-o-matic-ng-20051010
> openswan 1.0.9
>
> [root at xenkbunk linux-2.4.30-xenUOSW-1.0.9]# make CC=gcc33 ARCH=xen
> menuconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-xen asm)
> make -C scripts/lxdialog all
> make[1]: Entering directory
> `/download/kernels/xen-2.0/linux-2.4.30-xenUOSW-1.0.9/scripts/lxdialog'
> make[1]: Leaving directory
> `/download/kernels/xen-2.0/linux-2.4.30-xenUOSW-1.0.9/scripts/lxdialog'
> /bin/sh scripts/Menuconfig arch/xen/config.in
> Using defaults found in .config
> Preparing scripts: functions, parsing.........../MCmenu17: line 149:
> syntax error near unexpected token `fi'
> ./MCmenu17: line 149: `fi'
> ......................................................................done.
>
> Menuconfig has encountered a possible error in one of the kernel's
> configuration files and is unable to continue. Here is the error
> report:
>
> Q> scripts/Menuconfig: line 832: MCmenu17: command not found
>
> Please report this to the maintainer <mec at shout.net>. You may also
> send a problem report to <linux-kernel at vger.kernel.org>.
>
> Please indicate the kernel version you are trying to configure and
> which menu you were trying to enter when this error occurred.
>
> make: *** [menuconfig] Error 1
>
> Thanks in advance for any help
I was able to get 1.0.9 to compile with some changes. I did not take
the time to investigate why my changes worked or even if all of them
were necessary as I was in a rush to get Jorge a working installation
but here they are for documentation purposes.
I noticed there was a hunk failing in the patch. It looked like it was
trying to patch in /usr/src/linux even though KERNELSRC had been
provided in the command line arguments. I created a symbolic link from
the xen kernel source to /usr/src/linux, patched (make ARCH=xen insert)
and then was able to successfully run make ARCH=xen menuconfig.
However, make ARCH=xen failed. It appeared to be upset by 1DES and some
of the modular encryption and authentication algorithms so I simply
disabled them all in my rush and it compiled perfectly - John
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan at opensourcedevel.com
If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net
More information about the Users
mailing list