Skip to contentSkip to conversation

Compile errors for debian-amd64

DISCUSSION husnu demir 3 participants 4 messages May 8, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I am getting compile errors on debian-amd64. Can somebody point me correct place?

hdemir.

Thanks.

# uname -a
Linux auth 2.6.18.8 #2 SMP Tue May 1 06:43:45 EDT 2007 x86_64 GNU/Linux

compile for linux-2.6.21.1

# make 
..
..

OBJCOPY arch/x86_64/boot/vmlinux.bin
HOSTCC arch/x86_64/boot/tools/build
BUILD arch/x86_64/boot/bzImage
Root device is (104, 1)
Boot sector 512 bytes.
Setup is 7343 bytes.
System is 1742 kB
Kernel: arch/x86_64/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 754 modules
WARNING: "ip6t_register_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
WARNING: "ip6t_unregister_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_connlimit.ko] undefined!
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_connlimit.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_ROUTE.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_ROUTE.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

All the added modules gave the same error for the PoM-ng. I select the "Layer 3 Independent Connection tracking".

#1 lore raw

Hi again,

I will reply myself again. I am not a programmer so I solved my problem with changing the appropriate lines from the files.

Somebody have forgotten the patchs I think. I changed the ipt_(un)register_match to xt_(un)register_match. Also, in some places I saw ipt_match should be changed to xt_match. Therefore I changed all with "(Layer 3 Dependent Connection tracking (OBSOLETE))".

At the and ;

# uname -a
Linux auth 2.6.21.1 #3 SMP Tue May 8 11:12:18 EDT 2007 x86_64 GNU/Linux

all compile without problem. I saw some patches at the CVS lists but these patches may be unapplied.

I think, somebody should check with the CVS version. Or may I doing something wrong? Am I downloading from the wrong site (ftp.netfilter.org/.../snapshot...).

Thanks in advance.

hdemir.

Quoted 49 lines · husnu demir

Hi,

I am getting compile errors on debian-amd64. Can somebody point me correct place?

hdemir.

Thanks.

# uname -a
Linux auth 2.6.18.8 #2 SMP Tue May 1 06:43:45 EDT 2007 x86_64 GNU/Linux

compile for linux-2.6.21.1

# make 
..
..

OBJCOPY arch/x86_64/boot/vmlinux.bin
HOSTCC arch/x86_64/boot/tools/build
BUILD arch/x86_64/boot/bzImage
Root device is (104, 1)
Boot sector 512 bytes.
Setup is 7343 bytes.
System is 1742 kB
Kernel: arch/x86_64/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 754 modules
WARNING: "ip6t_register_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
WARNING: "ip6t_unregister_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_connlimit.ko] undefined!
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_connlimit.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_ROUTE.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_ROUTE.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

All the added modules gave the same error for the PoM-ng. I select the "Layer 3 Independent Connection tracking".

#2 lore raw
In reply to husnu demir
Quoted 15 lines · husnu demir

I am getting compile errors on debian-amd64. Can somebody point me correct place?

MODPOST 754 modules
WARNING: "ip6t_register_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
WARNING: "ip6t_unregister_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_connlimit.ko] undefined!
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_connlimit.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_ROUTE.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_ROUTE.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

thats funny, i got the same error while compiling a fresh 2.6.21.1 last night. Guess it wasn't just my system acting up.

-Doc

Signature · 3 lines
No trees were killed in the sending of this message
However, a large number of electrons were terribly inconvenienced.
Join the Revolution: 09f911029d74e35bd84156c5635688c0
#3 lore raw
Quoted 12 lines · Doc Nielsen
Quoted 8 lines · husnu demir

I am getting compile errors on debian-amd64. Can somebody point me correct place?

MODPOST 754 modules
WARNING: "ip6t_register_target" [net/ipv6/netfilter/ip6t_ROUTE.ko] undefined!
...

Quoted 3 lines

thats funny, i got the same error while compiling a fresh 2.6.21.1 last night.
Guess it wasn't just my system acting up.

Patches for this have been sent multiple times, please search the archives.