[strongSwan] Need help in compilation at kernel 2.4
vivek singh
vivek.singh at accelpro.net
Fri Aug 22 09:43:08 CEST 2014
Hello there,
I am trying to compile strongswan-2.8.11 for kernel 2.4.21-47.EL. As I
understand this
Is very old release but I have a server with kernel 2.4.21-47.EL. and I need
to install
strongswan on that.
Trying for command make menumod but it fails with error.
Any help will be usefull. And thanks for your time .!!!
Output of :::: make menumod ::::::::
IPSECVERSION=2.8.11
if [ -f /usr/src/linux-2.4/freeswan.patch ]; then \
echo Undoing previous patches; \
cat /usr/src/linux-2.4/freeswan.patch | (cd
/usr/src/linux-2.4 && patch -p1 -R --force -E -z .preipsec --reverse
--ignore-whitespace ); \
fi
Undoing previous patches
patching file Documentation/Configure.help
Hunk #1 succeeded at 27991 with fuzz 2 (offset 3754 lines).
patching file README.freeswan
patching file crypto/ciphers/des/COPYRIGHT
patching file crypto/ciphers/des/INSTALL
patching file crypto/ciphers/des/Makefile.objs
patching file crypto/ciphers/des/README
patching file crypto/ciphers/des/README.freeswan
patching file crypto/ciphers/des/VERSION
patching file crypto/ciphers/des/asm/crypt586.pl
patching file crypto/ciphers/des/asm/des-586.pl
patching file crypto/ciphers/des/asm/des686.pl
patching file crypto/ciphers/des/asm/desboth.pl
patching file crypto/ciphers/des/asm/perlasm/cbc.pl
patching file crypto/ciphers/des/asm/perlasm/readme
patching file crypto/ciphers/des/asm/perlasm/x86asm.pl
patching file crypto/ciphers/des/asm/perlasm/x86ms.pl
patching file crypto/ciphers/des/asm/perlasm/x86unix.pl
patching file crypto/ciphers/des/asm/readme
patching file crypto/ciphers/des/cbc_enc.c
patching file crypto/ciphers/des/des.doc
patching file crypto/ciphers/des/des_crypt.man
patching file crypto/ciphers/des/des_enc.c
patching file crypto/ciphers/des/des_locl.h
patching file crypto/ciphers/des/des_ver.h
patching file crypto/ciphers/des/destest.c
patching file crypto/ciphers/des/dx86unix.S
patching file crypto/ciphers/des/ecb_enc.c
patching file crypto/ciphers/des/fcrypt.c
patching file crypto/ciphers/des/fcrypt_b.c
patching file crypto/ciphers/des/options.txt
patching file crypto/ciphers/des/podd.h
patching file crypto/ciphers/des/set_key.c
patching file crypto/ciphers/des/sk.h
patching file crypto/ciphers/des/spr.h
patching file include/crypto/des.h
patching file include/freeswan.h
patching file include/freeswan/ipcomp.h
patching file include/freeswan/ipsec_ah.h
patching file include/freeswan/ipsec_alg.h
patching file include/freeswan/ipsec_encap.h
patching file include/freeswan/ipsec_eroute.h
patching file include/freeswan/ipsec_errs.h
patching file include/freeswan/ipsec_esp.h
patching file include/freeswan/ipsec_ipe4.h
patching file include/freeswan/ipsec_kversion.h
patching file include/freeswan/ipsec_life.h
patching file include/freeswan/ipsec_md5h.h
patching file include/freeswan/ipsec_param.h
patching file include/freeswan/ipsec_policy.h
patching file include/freeswan/ipsec_proto.h
patching file include/freeswan/ipsec_radij.h
patching file include/freeswan/ipsec_rcv.h
patching file include/freeswan/ipsec_sa.h
patching file include/freeswan/ipsec_sha1.h
patching file include/freeswan/ipsec_stats.h
patching file include/freeswan/ipsec_tunnel.h
patching file include/freeswan/ipsec_xform.h
patching file include/freeswan/ipsec_xmit.h
patching file include/freeswan/radij.h
patching file include/mast.h
patching file include/pfkey.h
patching file include/pfkeyv2.h
patching file include/zlib/zlib.h
patching file include/zlib/zutil.h
patching file lib/libfreeswan/Makefile.objs
patching file lib/libfreeswan/addrtoa.c
patching file lib/libfreeswan/addrtot.c
patching file lib/libfreeswan/addrtypeof.c
patching file lib/libfreeswan/anyaddr.3
patching file lib/libfreeswan/anyaddr.c
patching file lib/libfreeswan/atoaddr.3
patching file lib/libfreeswan/atoaddr.c
patching file lib/libfreeswan/atoasr.3
patching file lib/libfreeswan/atoasr.c
patching file lib/libfreeswan/atosa.3
patching file lib/libfreeswan/atosa.c
patching file lib/libfreeswan/atosubnet.c
patching file lib/libfreeswan/atoul.3
patching file lib/libfreeswan/atoul.c
patching file lib/libfreeswan/copyright.c
patching file lib/libfreeswan/datatot.c
patching file lib/libfreeswan/goodmask.3
patching file lib/libfreeswan/goodmask.c
patching file lib/libfreeswan/initaddr.3
patching file lib/libfreeswan/initaddr.c
patching file lib/libfreeswan/initsaid.c
patching file lib/libfreeswan/initsubnet.3
patching file lib/libfreeswan/initsubnet.c
patching file lib/libfreeswan/internal.h
patching file lib/libfreeswan/keyblobtoid.3
patching file lib/libfreeswan/keyblobtoid.c
patching file lib/libfreeswan/optionsfrom.3
patching file lib/libfreeswan/optionsfrom.c
patching file lib/libfreeswan/pfkey_v2_build.c
patching file lib/libfreeswan/pfkey_v2_debug.c
patching file lib/libfreeswan/pfkey_v2_ext_bits.c
patching file lib/libfreeswan/pfkey_v2_parse.c
patching file lib/libfreeswan/portof.3
patching file lib/libfreeswan/portof.c
patching file lib/libfreeswan/prng.3
patching file lib/libfreeswan/prng.c
patching file lib/libfreeswan/rangetoa.c
patching file lib/libfreeswan/rangetosubnet.3
patching file lib/libfreeswan/rangetosubnet.c
patching file lib/libfreeswan/sameaddr.3
patching file lib/libfreeswan/sameaddr.c
patching file lib/libfreeswan/satoa.c
patching file lib/libfreeswan/satot.c
patching file lib/libfreeswan/subnetof.3
patching file lib/libfreeswan/subnetof.c
patching file lib/libfreeswan/subnettoa.c
patching file lib/libfreeswan/subnettot.c
patching file lib/libfreeswan/subnettypeof.c
patching file lib/libfreeswan/ttoaddr.3
patching file lib/libfreeswan/ttoaddr.c
patching file lib/libfreeswan/ttodata.3
patching file lib/libfreeswan/ttodata.c
patching file lib/libfreeswan/ttoprotoport.c
patching file lib/libfreeswan/ttosa.3
patching file lib/libfreeswan/ttosa.c
patching file lib/libfreeswan/ttosubnet.c
patching file lib/libfreeswan/ttoul.3
patching file lib/libfreeswan/ttoul.c
patching file lib/libfreeswan/ultoa.c
patching file lib/libfreeswan/ultot.c
patching file lib/libfreeswan/version.3
patching file lib/libfreeswan/version.in.c
patching file lib/zlib/Makefile
patching file lib/zlib/Makefile.objs
patching file lib/zlib/README
patching file lib/zlib/README.freeswan
patching file lib/zlib/adler32.c
patching file lib/zlib/deflate.c
patching file lib/zlib/deflate.h
patching file lib/zlib/infblock.c
patching file lib/zlib/infblock.h
patching file lib/zlib/infcodes.c
patching file lib/zlib/infcodes.h
patching file lib/zlib/inffast.c
patching file lib/zlib/inffast.h
patching file lib/zlib/inffixed.h
patching file lib/zlib/inflate.c
patching file lib/zlib/inftrees.c
patching file lib/zlib/inftrees.h
patching file lib/zlib/infutil.c
patching file lib/zlib/infutil.h
patching file lib/zlib/match586.S
patching file lib/zlib/match686.S
patching file lib/zlib/trees.c
patching file lib/zlib/trees.h
patching file lib/zlib/zconf.h
patching file lib/zlib/zutil.c
patching file net/Config.in
Hunk #1 succeeded at 118 with fuzz 1 (offset 30 lines).
patching file net/Makefile
Hunk #1 succeeded at 21 with fuzz 2 (offset 4 lines).
patching file include/net/sock.h
Hunk #1 succeeded at 363 with fuzz 2 (offset -125 lines).
Hunk #2 succeeded at 777 with fuzz 1 (offset 122 lines).
patching file net/ipsec/Config.in
patching file net/ipsec/Makefile
patching file net/ipsec/Makefile.algtest
patching file net/ipsec/alg/Config.alg_aes.in
patching file net/ipsec/alg/Config.alg_blowfish.in
patching file net/ipsec/alg/Config.alg_cryptoapi.in
patching file net/ipsec/alg/Config.alg_serpent.in
patching file net/ipsec/alg/Config.alg_sha2.in
patching file net/ipsec/alg/Config.alg_twofish.in
patching file net/ipsec/alg/Config.in
patching file net/ipsec/alg/Makefile
patching file net/ipsec/alg/Makefile.alg_aes
patching file net/ipsec/alg/Makefile.alg_blowfish
patching file net/ipsec/alg/Makefile.alg_cryptoapi
patching file net/ipsec/alg/Makefile.alg_serpent
patching file net/ipsec/alg/Makefile.alg_sha2
patching file net/ipsec/alg/Makefile.alg_twofish
patching file net/ipsec/alg/ipsec_alg_aes.c
patching file net/ipsec/alg/ipsec_alg_blowfish.c
patching file net/ipsec/alg/ipsec_alg_cryptoapi.c
patching file net/ipsec/alg/ipsec_alg_serpent.c
patching file net/ipsec/alg/ipsec_alg_sha2.c
patching file net/ipsec/alg/ipsec_alg_twofish.c
patching file net/ipsec/alg/scripts/mk-static_init.c.sh
patching file net/ipsec/defconfig
patching file net/ipsec/ipcomp.c
patching file net/ipsec/ipsec_alg.c
patching file net/ipsec/ipsec_init.c
patching file net/ipsec/ipsec_life.c
patching file net/ipsec/ipsec_mast.c
patching file net/ipsec/ipsec_md5c.c
patching file net/ipsec/ipsec_proc.c
patching file net/ipsec/ipsec_radij.c
patching file net/ipsec/ipsec_rcv.c
patching file net/ipsec/ipsec_sa.c
patching file net/ipsec/ipsec_sha1.c
patching file net/ipsec/ipsec_tunnel.c
patching file net/ipsec/ipsec_xform.c
patching file net/ipsec/ipsec_xmit.c
patching file net/ipsec/pfkey_v2.c
patching file net/ipsec/pfkey_v2_ext_process.c
patching file net/ipsec/pfkey_v2_parser.c
patching file net/ipsec/radij.c
patching file net/ipsec/sysctl_net_ipsec.c
patching file net/ipv4/af_inet.c
Hunk #1 succeeded at 1250 (offset 231 lines).
patching file net/ipv4/udp.c
Hunk #1 succeeded at 976 with fuzz 2 (offset 199 lines).
Hunk #2 succeeded at 943 (offset 149 lines).
Hunk #3 FAILED at 1159.
1 out of 3 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
patching file net/ipsec/Makefile.ver
make: [unapplypatch] Error 1 (ignored)
echo Now performing forward patches;
Now performing forward patches
make kernelpatch2.4 | tee /usr/src/linux-2.4/freeswan.patch | (cd
/usr/src/linux-2.4 && patch -p1 -b -z .preipsec --forward
--ignore-whitespace )
patching file Documentation/Configure.help
Hunk #1 succeeded at 27991 with fuzz 2 (offset 3754 lines).
patching file README.freeswan
patching file crypto/ciphers/des/COPYRIGHT
patching file crypto/ciphers/des/INSTALL
patching file crypto/ciphers/des/Makefile.objs
patching file crypto/ciphers/des/README
patching file crypto/ciphers/des/README.freeswan
patching file crypto/ciphers/des/VERSION
patching file crypto/ciphers/des/asm/crypt586.pl
patching file crypto/ciphers/des/asm/des-586.pl
patching file crypto/ciphers/des/asm/des686.pl
patching file crypto/ciphers/des/asm/desboth.pl
patching file crypto/ciphers/des/asm/perlasm/cbc.pl
patching file crypto/ciphers/des/asm/perlasm/readme
patching file crypto/ciphers/des/asm/perlasm/x86asm.pl
patching file crypto/ciphers/des/asm/perlasm/x86ms.pl
patching file crypto/ciphers/des/asm/perlasm/x86unix.pl
patching file crypto/ciphers/des/asm/readme
patching file crypto/ciphers/des/cbc_enc.c
patching file crypto/ciphers/des/des.doc
patching file crypto/ciphers/des/des_crypt.man
patching file crypto/ciphers/des/des_enc.c
patching file crypto/ciphers/des/des_locl.h
patching file crypto/ciphers/des/des_ver.h
patching file crypto/ciphers/des/destest.c
patching file crypto/ciphers/des/dx86unix.S
patching file crypto/ciphers/des/ecb_enc.c
patching file crypto/ciphers/des/fcrypt.c
patching file crypto/ciphers/des/fcrypt_b.c
patching file crypto/ciphers/des/options.txt
patching file crypto/ciphers/des/podd.h
patching file crypto/ciphers/des/set_key.c
patching file crypto/ciphers/des/sk.h
patching file crypto/ciphers/des/spr.h
patching file include/crypto/des.h
patching file include/freeswan.h
patching file include/freeswan/ipcomp.h
patching file include/freeswan/ipsec_ah.h
patching file include/freeswan/ipsec_alg.h
patching file include/freeswan/ipsec_encap.h
patching file include/freeswan/ipsec_eroute.h
patching file include/freeswan/ipsec_errs.h
patching file include/freeswan/ipsec_esp.h
patching file include/freeswan/ipsec_ipe4.h
patching file include/freeswan/ipsec_kversion.h
patching file include/freeswan/ipsec_life.h
patching file include/freeswan/ipsec_md5h.h
patching file include/freeswan/ipsec_param.h
patching file include/freeswan/ipsec_policy.h
patching file include/freeswan/ipsec_proto.h
patching file include/freeswan/ipsec_radij.h
patching file include/freeswan/ipsec_rcv.h
patching file include/freeswan/ipsec_sa.h
patching file include/freeswan/ipsec_sha1.h
patching file include/freeswan/ipsec_stats.h
patching file include/freeswan/ipsec_tunnel.h
patching file include/freeswan/ipsec_xform.h
patching file include/freeswan/ipsec_xmit.h
patching file include/freeswan/radij.h
patching file include/mast.h
patching file include/pfkey.h
patching file include/pfkeyv2.h
patching file include/zlib/zlib.h
patching file include/zlib/zutil.h
patching file lib/libfreeswan/Makefile.objs
patching file lib/libfreeswan/addrtoa.c
patching file lib/libfreeswan/addrtot.c
patching file lib/libfreeswan/addrtypeof.c
patching file lib/libfreeswan/anyaddr.3
patching file lib/libfreeswan/anyaddr.c
patching file lib/libfreeswan/atoaddr.3
patching file lib/libfreeswan/atoaddr.c
patching file lib/libfreeswan/atoasr.3
patching file lib/libfreeswan/atoasr.c
patching file lib/libfreeswan/atosa.3
patching file lib/libfreeswan/atosa.c
patching file lib/libfreeswan/atosubnet.c
patching file lib/libfreeswan/atoul.3
patching file lib/libfreeswan/atoul.c
patching file lib/libfreeswan/copyright.c
patching file lib/libfreeswan/datatot.c
patching file lib/libfreeswan/goodmask.3
patching file lib/libfreeswan/goodmask.c
patching file lib/libfreeswan/initaddr.3
patching file lib/libfreeswan/initaddr.c
patching file lib/libfreeswan/initsaid.c
patching file lib/libfreeswan/initsubnet.3
patching file lib/libfreeswan/initsubnet.c
patching file lib/libfreeswan/internal.h
patching file lib/libfreeswan/keyblobtoid.3
patching file lib/libfreeswan/keyblobtoid.c
patching file lib/libfreeswan/optionsfrom.3
patching file lib/libfreeswan/optionsfrom.c
patching file lib/libfreeswan/pfkey_v2_build.c
patching file lib/libfreeswan/pfkey_v2_debug.c
patching file lib/libfreeswan/pfkey_v2_ext_bits.c
patching file lib/libfreeswan/pfkey_v2_parse.c
patching file lib/libfreeswan/portof.3
patching file lib/libfreeswan/portof.c
patching file lib/libfreeswan/prng.3
patching file lib/libfreeswan/prng.c
patching file lib/libfreeswan/rangetoa.c
patching file lib/libfreeswan/rangetosubnet.3
patching file lib/libfreeswan/rangetosubnet.c
patching file lib/libfreeswan/sameaddr.3
patching file lib/libfreeswan/sameaddr.c
patching file lib/libfreeswan/satoa.c
patching file lib/libfreeswan/satot.c
patching file lib/libfreeswan/subnetof.3
patching file lib/libfreeswan/subnetof.c
patching file lib/libfreeswan/subnettoa.c
patching file lib/libfreeswan/subnettot.c
patching file lib/libfreeswan/subnettypeof.c
patching file lib/libfreeswan/ttoaddr.3
patching file lib/libfreeswan/ttoaddr.c
patching file lib/libfreeswan/ttodata.3
patching file lib/libfreeswan/ttodata.c
patching file lib/libfreeswan/ttoprotoport.c
patching file lib/libfreeswan/ttosa.3
patching file lib/libfreeswan/ttosa.c
patching file lib/libfreeswan/ttosubnet.c
patching file lib/libfreeswan/ttoul.3
patching file lib/libfreeswan/ttoul.c
patching file lib/libfreeswan/ultoa.c
patching file lib/libfreeswan/ultot.c
patching file lib/libfreeswan/version.3
patching file lib/libfreeswan/version.in.c
patching file lib/zlib/Makefile
patching file lib/zlib/Makefile.objs
patching file lib/zlib/README
patching file lib/zlib/README.freeswan
patching file lib/zlib/adler32.c
patching file lib/zlib/deflate.c
patching file lib/zlib/deflate.h
patching file lib/zlib/infblock.c
patching file lib/zlib/infblock.h
patching file lib/zlib/infcodes.c
patching file lib/zlib/infcodes.h
patching file lib/zlib/inffast.c
patching file lib/zlib/inffast.h
patching file lib/zlib/inffixed.h
patching file lib/zlib/inflate.c
patching file lib/zlib/inftrees.c
patching file lib/zlib/inftrees.h
patching file lib/zlib/infutil.c
patching file lib/zlib/infutil.h
patching file lib/zlib/match586.S
patching file lib/zlib/match686.S
patching file lib/zlib/trees.c
patching file lib/zlib/trees.h
patching file lib/zlib/zconf.h
patching file lib/zlib/zutil.c
patching file net/Config.in
Hunk #1 succeeded at 118 with fuzz 1 (offset 30 lines).
patching file net/Makefile
Hunk #1 succeeded at 21 with fuzz 2 (offset 4 lines).
patching file include/net/sock.h
Hunk #1 succeeded at 363 with fuzz 2 (offset -125 lines).
Hunk #2 succeeded at 783 with fuzz 1 (offset 122 lines).
patching file net/ipsec/Config.in
patching file net/ipsec/Makefile
patching file net/ipsec/Makefile.algtest
patching file net/ipsec/alg/Config.alg_aes.in
patching file net/ipsec/alg/Config.alg_blowfish.in
patching file net/ipsec/alg/Config.alg_cryptoapi.in
patching file net/ipsec/alg/Config.alg_serpent.in
patching file net/ipsec/alg/Config.alg_sha2.in
patching file net/ipsec/alg/Config.alg_twofish.in
patching file net/ipsec/alg/Config.in
patching file net/ipsec/alg/Makefile
patching file net/ipsec/alg/Makefile.alg_aes
patching file net/ipsec/alg/Makefile.alg_blowfish
patching file net/ipsec/alg/Makefile.alg_cryptoapi
patching file net/ipsec/alg/Makefile.alg_serpent
patching file net/ipsec/alg/Makefile.alg_sha2
patching file net/ipsec/alg/Makefile.alg_twofish
patching file net/ipsec/alg/ipsec_alg_aes.c
patching file net/ipsec/alg/ipsec_alg_blowfish.c
patching file net/ipsec/alg/ipsec_alg_cryptoapi.c
patching file net/ipsec/alg/ipsec_alg_serpent.c
patching file net/ipsec/alg/ipsec_alg_sha2.c
patching file net/ipsec/alg/ipsec_alg_twofish.c
patching file net/ipsec/alg/scripts/mk-static_init.c.sh
patching file net/ipsec/defconfig
patching file net/ipsec/ipcomp.c
patching file net/ipsec/ipsec_alg.c
patching file net/ipsec/ipsec_init.c
patching file net/ipsec/ipsec_life.c
patching file net/ipsec/ipsec_mast.c
patching file net/ipsec/ipsec_md5c.c
patching file net/ipsec/ipsec_proc.c
patching file net/ipsec/ipsec_radij.c
patching file net/ipsec/ipsec_rcv.c
patching file net/ipsec/ipsec_sa.c
patching file net/ipsec/ipsec_sha1.c
patching file net/ipsec/ipsec_tunnel.c
patching file net/ipsec/ipsec_xform.c
patching file net/ipsec/ipsec_xmit.c
patching file net/ipsec/pfkey_v2.c
patching file net/ipsec/pfkey_v2_ext_process.c
patching file net/ipsec/pfkey_v2_parser.c
patching file net/ipsec/radij.c
patching file net/ipsec/sysctl_net_ipsec.c
patching file net/ipv4/af_inet.c
Hunk #1 succeeded at 1250 (offset 231 lines).
patching file net/ipv4/udp.c
Hunk #1 succeeded at 976 with fuzz 2 (offset 199 lines).
Hunk #2 succeeded at 946 (offset 149 lines).
Hunk #3 FAILED at 1194.
1 out of 3 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
patching file net/ipsec/Makefile.ver
make: *** [applypatch] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20140822/286dc9aa/attachment-0001.html>
More information about the Users
mailing list