[Openswan Users] - kernel panic (follow-up)

Paul Wouters paul at xelerance.com
Tue Mar 1 15:23:39 CET 2005


On Tue, 1 Mar 2005 mario.lobo at ipad.com.br wrote:

> If I try to compile KLIPS as a module I get those:

Please use the following to build an ipsec module:

export KERNELSRC=/your/linux/tree
cd openswan-2
make module
make minstall

If you're not using head, you might need to use 'make module26' if you are building this
for a 2.6 kernel. HEAD should automatically detect this.
Also make sure to do the anove on an UNPATCHED kernel tree. You should not be using
the make applypatch on this kernel tree. (or cd /your/linux/tree ; patch -R openswan.patch)

Paul

> ==========================
>   CHK     include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   Building modules, stage 2.
>   MODPOST
> *** Warning: "sysctl_ipsec_tos" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "sysctl_ipsec_inbound_policy_check" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "sysctl_ipsec_icmp" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "sysctl_ipsec_debug_ipcomp" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "sysctl_ipsec_debug_verbose" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_pfkey" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_rcv" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_xform" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_netlink" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_radij" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_spi" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_eroute" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_tunnel" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_esp" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "debug_ah" [net/ipsec/sysctl_net_ipsec.ko] undefined!
> *** Warning: "ultoa" [net/ipsec/subnettoa.ko] undefined!
> *** Warning: "masktobits" [net/ipsec/subnettoa.ko] undefined!
> *** Warning: "addrtoa" [net/ipsec/subnettoa.ko] undefined!
> *** Warning: "isunspecaddr" [net/ipsec/satot.ko] undefined!
> *** Warning: "addrtypeof" [net/ipsec/satot.ko] undefined!
> *** Warning: "addrtot" [net/ipsec/satot.ko] undefined!
> *** Warning: "ultot" [net/ipsec/satot.ko] undefined!
> *** Warning: "addrtoa" [net/ipsec/rangetoa.ko] undefined!
> *** Warning: "ipsec_rj_walker_delete" [net/ipsec/radij.ko] undefined!
> *** Warning: "rnh" [net/ipsec/radij.ko] undefined!
> *** Warning: "debug_radij" [net/ipsec/radij.ko] undefined!
> *** Warning: "pfkey_v2_sadb_type_string" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "ipsec_sa_wipe" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_msg_parse" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "ipsec_sa_alloc" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "extensions_bitmaps" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_x_debug_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_x_satype_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_x_kmprivate_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_spirange_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_supported_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_prop_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_sens_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_ident_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_key_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_address_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_lifetime_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_sa_process" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "pfkey_prop_build" [net/ipsec/pfkey_v2_parser.ko] undefined!
> *** Warning: "proto2satype" [net/ipsec/pfkey_v2_parser.ko] undefined!
> 
> ==========================
> 
> This is 1/4 of the warnings. I believe I get one for every function there is. Also, I end up with a
> bunch of .ko files (one for every .o) instead of a single ipsec.ko
> 
> If I compile inline, I don´t get the warnings, but I get the erros I posted.
> 
>    //|  //||
>   // | // ||
> -//--//---|| ARIO LOBO
> //  //    ||
> ---------------------------------
> mario.lobo at ipad.com.br
> http://www.ipad.com.br
> 



More information about the Users mailing list