All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile errors for debian-amd64
@ 2007-05-08 11:09 husnu demir
  2007-05-08 12:32 ` husnu demir
  2007-05-08 12:52 ` Doc Nielsen
  0 siblings, 2 replies; 6+ messages in thread
From: husnu demir @ 2007-05-08 11:09 UTC (permalink / raw)
  To: netfilter-devel

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". 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile errors for debian-amd64
  2007-05-08 11:09 Compile errors for debian-amd64 husnu demir
@ 2007-05-08 12:32 ` husnu demir
  2007-05-08 12:52 ` Doc Nielsen
  1 sibling, 0 replies; 6+ messages in thread
From: husnu demir @ 2007-05-08 12:32 UTC (permalink / raw)
  To: netfilter-devel

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.

On Tue, May 08, 2007 at 02:09:05PM +0300, husnu demir wrote:
> 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". 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile errors for debian-amd64
  2007-05-08 11:09 Compile errors for debian-amd64 husnu demir
  2007-05-08 12:32 ` husnu demir
@ 2007-05-08 12:52 ` Doc Nielsen
  2007-05-08 12:53   ` Patrick McHardy
  1 sibling, 1 reply; 6+ messages in thread
From: Doc Nielsen @ 2007-05-08 12:52 UTC (permalink / raw)
  To: netfilter-devel

On 5/8/07, husnu demir <hdemir@metu.edu.tr> wrote:
> 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
-- 
No trees were killed in the sending of this message
However, a large number of electrons were terribly inconvenienced.
Join the Revolution: 09f911029d74e35bd84156c5635688c0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile errors for debian-amd64
  2007-05-08 12:52 ` Doc Nielsen
@ 2007-05-08 12:53   ` Patrick McHardy
  0 siblings, 0 replies; 6+ messages in thread
From: Patrick McHardy @ 2007-05-08 12:53 UTC (permalink / raw)
  To: Doc Nielsen; +Cc: netfilter-devel

Doc Nielsen wrote:
> On 5/8/07, husnu demir <hdemir@metu.edu.tr> wrote:
> 
>> 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!
>> ...
> 
> 
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Compile errors for debian-amd64
@ 2007-05-11  8:21 husnu demir
  0 siblings, 0 replies; 6+ messages in thread
From: husnu demir @ 2007-05-11  8:21 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I am trying to compile kernel 2.6.21.1 with ipset from pom-ng snapshot of 10.05.2007. However, there is problem as;


Kernel: arch/x86_64/boot/bzImage is ready  (#1)
  Building modules, stage 2.
  MODPOST 725 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_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


When I change the ipt_unregister_match(&set_match); to xt_reg... etc., it compiles but does not work. I think it needs something elses.

# iptables -A OUTPUT -m set --set izinli src -j ACCEPT
iptables: No chain/target/match by that name


# ipset -nL izinli
Name: izinli
Type: iphash
References: 0
Default binding: 
Header: hashsize: 1024 probes: 8 resize: 50
Members:
10.10.144.156
Bindings:



Do I only need help on this subject? I could not find any patches available on the dev-list and also for the ROUTE as said before??


Thanks.

hdemir.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Compile errors for debian-amd64
       [not found]         ` <20070511081629.GA2289802@metu.edu.tr>
@ 2007-05-24 14:48           ` husnu demir
  0 siblings, 0 replies; 6+ messages in thread
From: husnu demir @ 2007-05-24 14:48 UTC (permalink / raw)
  To: netfilter-devel

thank to all. At last the patch came out and it worked for ipset :).


hdemir.

On Fri, May 11, 2007 at 11:16:29AM +0300, husnu demir wrote:
> Hi,
> 
> I am trying to compile kernel 2.6.21.1 with ipset from pom-ng snapshot of 10.05.2007. However, there is problem as;
> 
> 
> Kernel: arch/x86_64/boot/bzImage is ready  (#1)
>   Building modules, stage 2.
>   MODPOST 725 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_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
> 
> 
> When I change the ipt_unregister_match(&set_match); to xt_reg... etc., it compiles but does not work. I think it needs something elses.
> 
> # iptables -A OUTPUT -m set --set izinli src -j ACCEPT
> iptables: No chain/target/match by that name
> 
> 
> # ipset -nL izinli
> Name: izinli
> Type: iphash
> References: 0
> Default binding: 
> Header: hashsize: 1024 probes: 8 resize: 50
> Members:
> 10.10.144.156
> Bindings:
> 
> 
> 
> Do I only need help on this subject? I could not find any patches available on the dev-list and also for the ROUTE as said before??
> 
> 
> Thanks.
> 
> hdemir.
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-24 14:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 11:09 Compile errors for debian-amd64 husnu demir
2007-05-08 12:32 ` husnu demir
2007-05-08 12:52 ` Doc Nielsen
2007-05-08 12:53   ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2007-05-08 11:23 IPset and IPv6 support husnu demir
2007-05-08 18:59 ` Jozsef Kadlecsik
     [not found]   ` <20070509060534.GA3117230@metu.edu.tr>
     [not found]     ` <Pine.LNX.4.64.0705091132430.30518@blackhole.kfki.hu>
     [not found]       ` <20070509105159.GA970840@metu.edu.tr>
     [not found]         ` <20070511081629.GA2289802@metu.edu.tr>
2007-05-24 14:48           ` Compile errors for debian-amd64 husnu demir
2007-05-11  8:21 husnu demir

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.