Compileing FreeSWan 2.01 support for kernel 2.4.18 problem
Hi.
I'm using Debian Woody with kernel 2.4.18. I want to set-up the VPN
(FreeSWan) on my box. So I installed freeswan backport from Sid to Woody
(APT: deb http://www.backports.org/debian
./dists/woody/freeswan/binary-i386/).
I installed the following packages:
----
# dpkg -l |grep -i -e "freeswan" -e "kernel-source"
ii freeswan 2.01-0.backpor IPSEC utilities for FreeSWan
ii kernel-patch-f 2.01-0.backpor IPSEC kernel support for FreeSWan
ii kernel-source- 2.4.18-13 Linux kernel source for version 2.4.18
----
Than I changed the working directory to '/usr/src/kernel-source-2.4.18'
and executed:
----
# export PATCH_THE_KERNEL=YES
# make-kpkg --config=menuconfig kernel_image
----
During patching (before menuconfig runs) I got some errors:
----
Hunk #1 succeeded at 1187 (offset 168 lines).
* /usr/src/kernel-source-2.4.18/net/Makefile old patches must be undone,
undoing them...
* applying linux/net/Makefile.fs2_4.ipsec_alg.patch to
/usr/src/kernel-source-2.4.18/net/Makefile...
patching file Makefile
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
* /usr/src/kernel-source-2.4.18/net/Makefile patch failed, restoring
original
./patcher: patch on /usr/src/kernel-source-2.4.18/net/Makefile failed!
./patcher: restoring original /usr/src/kernel-source-2.4.18/net/Makefile,
./patcher: leaving patch attempt in
/usr/src/kernel-source-2.4.18/net/Makefile.mangled
make[2]: *** [_patches2.4] Error 1
make[2]: Leaving directory `/usr/src/kernel-patches/all/freeswan'
make[1]: *** [patches] Error 2
make[1]: Leaving directory `/usr/src/kernel-patches/all/freeswan'
run-parts: /usr/src/kernel-patches/all//apply/freeswan exited with return
code 2
----
I also looked into the 'source' distribution, however I was not
sucessfully in compileing FreeSWan support into the kernel.
Any other sugestion how to solve my problems?
Regards,
Dezo
Reply to: