Skip to contentSkip to conversation

git3 build dies at net/built-in.o: undefined __nfa_fill

DISCUSSION sean 2 participants 4 messages Sep 17, 2005 – Sep 19, 2005 netfilter

lore
Share & tools
lore

sean

author
#0 lore raw

On amd64, gcc-4.0.1:

.....

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

net/built-in.o: In function `ip_ct_port_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `ip_ct_port_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `tcp_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `icmp_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `icmp_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o:: more undefined references to `__nfa_fill' follow
make: *** [.tmp_vmlinux1] Error 1

#1 lore raw

sean napsal(a):

Quoted 9 lines

On amd64, gcc-4.0.1:

.....

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
Quoted 12 lines

net/built-in.o: In function `ip_ct_port_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `ip_ct_port_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `tcp_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `icmp_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o: In function `icmp_tuple_to_nfattr':
: undefined reference to `__nfa_fill'
net/built-in.o:: more undefined references to `__nfa_fill' follow
make: *** [.tmp_vmlinux1] Error 1

.config needed
NETFILTER_NETLINK is not selected, maybe.

Signature · 3 lines
Jiri Slaby         www.fi.muni.cz/~xslaby
~\-/~      [email protected]      ~\-/~
241B347EC88228DE51EE A49C4A73A25004CB2A10
author
#2 lore raw
Quoted 13 lines · Jiri Slaby

sean napsal(a):

Quoted 11 lines

On amd64, gcc-4.0.1:

.....

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

net/built-in.o: In function `ip_ct_port_tuple_to_nfattr':
: undefined reference to `__nfa_fill'

.............

Quoted 4 lines

.config needed
NETFILTER_NETLINK is not selected, maybe.

Nope.

grep NETFILTER .config
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m

sean

author
#3 lore raw
Quoted 25 lines · sean
Quoted 13 lines · Jiri Slaby

sean napsal(a):

Quoted 11 lines

On amd64, gcc-4.0.1:

.....

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

net/built-in.o: In function `ip_ct_port_tuple_to_nfattr':
: undefined reference to `__nfa_fill'

.............

Quoted 4 lines

.config needed
NETFILTER_NETLINK is not selected, maybe.

Nope.

Quoted 9 lines

grep NETFILTER .config
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m

sean

But this built -n rc1-git4:

grep NETLINK .config
# CONFIG_IP_NF_CONNTRACK_NETLINK is not set
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
# CONFIG_NETFILTER_NETLINK_LOG is not set

???

ean