Skip to contentSkip to conversation

problems compiling kernel with patch-o-matic

DISCUSSION Justinas Bedžinskas 2 participants 2 messages Sep 27, 2005

lore
Share & tools
lore
#0 lore raw

I patch 2.6.13.2 vanilla kernel with patch-o-matic, and I have these errors:

net/built-in.o: In function `init':
ipt_set.c:(.init.text+0x1c7b): undefined reference to `ipt_register_match'
net/built-in.o: In function `init':
ipt_SET.c:(.init.text+0x1c9b): undefined reference to `ipt_register_target'
net/built-in.o: In function `fini':
ipt_set.c:(.exit.text+0xbb): undefined reference to `ipt_unregister_match'
net/built-in.o: In function `fini':
ipt_SET.c:(.exit.text+0xdb): undefined reference to `ipt_unregister_target'
make: *** [.tmp_vmlinux1] Error 1

Here is my config (nothing particular, just enabled IP_NF_SET..)
http://biesas.adminas.net/~digis/config

btw, http://www.ussg.iu.edu/hypermail/linux/kernel/0310.3/0466.html
patch here isn't helping, because by default, in 2.6.13.2 kernel "that" line is: "depends on IP_NF_IPTABLES && BRIDGE_NETFILTER".

Justinas B.

#1 lore raw
Quoted 9 lines · Justinas Bed¾inskas

I patch 2.6.13.2 vanilla kernel with patch-o-matic, and I have these errors:

net/built-in.o: In function `init':
ipt_set.c:(.init.text+0x1c7b): undefined reference to `ipt_register_match'

Here is my config (nothing particular, just enabled IP_NF_SET..)
http://biesas.adminas.net/~digis/config

Either define both IP_NF_MATCH/TARGET_SET and IP_NF_IPTABLES as static in kernel, or module. Don't mix y/m.

I'll fix the dependecy so that there won't be possible to select contradicting values.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary