Re: [Users] unresolved netfilter symbols in ipsec.o

From: Bob Beers (bbeers_at_edgeaccess.net)
Date: Wed Jul 31 2002 - 14:44:37 CEST


Sam Sgro wrote:

>>Probably obvious to many of you, but ...
>>
>> I have two unresolved symbols;
>>nf_hooks and
>>nf_hooks_slow,
>>when I compile ipsec module.
>>
>
>When you "cat /proc/ksyms", do you actually have those symbols? If not, you
>probably don't have CONFIG_NETFILTER turned on.
>
>(I don't think this is a FreeS/WAN specific issue, though.)
>
Thanks Sam, for your reply,

First, let me say, I agree, the problem is likely with my netfilter
configuration.
I have these two symbols also unresolved in my bridge.o module. However,
it seems that I do have the ksyms (nf_hooks, and nf_hook_slow) in my kernel.

Hopefully, though, someone else has been down this path before me and
can steer
me to a solution. Please take a look at the info I am providing below
and tell me
the error of my ways.

bash-2.05# cat /proc/ksyms | grep nf_hook
c02015c8 nf_hook_slow_R__ver_nf_hook_slow
c02ecc80 nf_hooks_R__ver_nf_hooks

bash-2.05# depmod -ae
depmod: *** Unresolved symbols in
/lib/modules/2.4.18/kernel/net/bridge/bridge.o
depmod: nf_hooks
depmod: nf_hook_slow
depmod: *** Unresolved symbols in
/lib/modules/2.4.18/kernel/net/ipsec/ipsec.o
depmod: nf_hooks
depmod: nf_hook_slow

and the relevant parts of my .config are

CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=y
CONFIG_IP_NF_MATCH_MAC=y
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=y
CONFIG_IP_NF_MATCH_AH_ESP=y
CONFIG_IP_NF_MATCH_LENGTH=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
CONFIG_IP_NF_MATCH_STATE=y
# CONFIG_IP_NF_MATCH_UNCLEAN is not set
# CONFIG_IP_NF_MATCH_OWNER is not set
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
# CONFIG_IP_NF_TARGET_MIRROR is not set
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_TOS=y
CONFIG_IP_NF_TARGET_MARK=y
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not set
CONFIG_IP_NF_TARGET_TCPMSS=y
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set

Thanks again,
-Bob

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.4 : Mon Aug 05 2002 - 21:01:34 CEST