2.5.47 ipv4 netfilter compile time error

2.5.47 ipv4 netfilter compile time error

Post by Grzegorz Jaskiewic » Tue, 12 Nov 2002 07:20:08



Hello !

i've discovered this error during compilation:

net/ipv4/netfilter/ipt_TCPMSS.c: In function `ipt_tcpmss_target':
net/ipv4/netfilter/ipt_TCPMSS.c:95: structure has no member named `pmtu'
make[3]: *** [net/ipv4/netfilter/ipt_TCPMSS.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

on demand i'll include .config

now i will switch off this one, and try to compile it without netfilter.
It is still impossilble to make saa7146 module too...

anyway, keep doing this good job folks.

--
Greg Iaskievitch

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.47 ipv4 netfilter compile time error

Post by Felipe W Damasi » Tue, 12 Nov 2002 07:40:04



> Hello !

> i've discovered this error during compilation:

> net/ipv4/netfilter/ipt_TCPMSS.c: In function `ipt_tcpmss_target':
> net/ipv4/netfilter/ipt_TCPMSS.c:95: structure has no member named `pmtu'
> make[3]: *** [net/ipv4/netfilter/ipt_TCPMSS.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2

        Try this patch.

Felipe

[ tcpmss.diff < 1K ]
--- linux-2.5.47/net/ipv4/netfilter/ipt_TCPMSS.c.orig   Mon Nov 11 03:23:43 2002

                        return NF_DROP; /* or IPT_CONTINUE ?? */
                }

-               newmss = dst_pmtu((*pskb)->dst->pmtu) - sizeof(struct iphdr) - sizeof(struct tcphdr);
+               newmss = dst_pmtu((*pskb)->dst) - sizeof(struct iphdr) - sizeof(struct tcphdr);
        } else
                newmss = tcpmssinfo->mss;

 
 
 

2.5.47 ipv4 netfilter compile time error

Post by Grzegorz Jaskiewic » Tue, 12 Nov 2002 07:40:10



>    Try this patch.

> Felipe

Works fine, i've just done the same thing.
Thx ;]

Can somebody include this into kernel ?

--
GJ

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.47 ipv4 netfilter compile time error

Post by Felipe W Damasi » Tue, 12 Nov 2002 07:50:06




>>        Try this patch.

>>Felipe

> Works fine, i've just done the same thing.
> Thx ;]

> Can somebody include this into kernel ?

        I just sent it to rusty's trivial patch monkey...should be included in
the next release.

Felipe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.47 ipv4 netfilter compile time error

Post by Ognen Duzlevsk » Tue, 12 Nov 2002 15:30:12


There was a patch for this for 2.5.45 and 2.5.46, one would think it would
get fixed eventually...

Ognen


Quote:> Hello !

> i've discovered this error during compilation:

> net/ipv4/netfilter/ipt_TCPMSS.c: In function `ipt_tcpmss_target':
> net/ipv4/netfilter/ipt_TCPMSS.c:95: structure has no member named `pmtu'
> make[3]: *** [net/ipv4/netfilter/ipt_TCPMSS.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2

> on demand i'll include .config

> now i will switch off this one, and try to compile it without netfilter.
> It is still impossilble to make saa7146 module too...

> anyway, keep doing this good job folks.

> --
> Greg Iaskievitch

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
 
 
 

1. 2.5.47: Link-time error: llc_sap_open when using modules

This is a long-standing error, I think even discussed before. It goes
away if I set the LLC options to 'Y' instead of 'M'.

With most things configured as modules, make bzImage says:

net/built-in.o: In function `p8022_request':
net/built-in.o(.text+0x12ea6): undefined reference to `llc_build_and_send_ui_pkt'
net/built-in.o: In function `register_8022_client':
net/built-in.o(.text+0x12efd): undefined reference to `llc_sap_open'
net/built-in.o: In function `unregister_8022_client':
net/built-in.o(.text+0x12f42): undefined reference to `llc_sap_close'
net/built-in.o: In function `snap_request':
net/built-in.o(.text+0x130d2): undefined reference to `llc_build_and_send_ui_pkt'
net/built-in.o: In function `snap_init':
net/built-in.o(.init.text+0x6d3): undefined reference to `llc_sap_open'
make: *** [.tmp_vmlinux1] Error 1

-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. ODBC connection to Microsoft SQL on NT

3. 2.5.47-bk1: error compiling skbuff.c

4. apps don't work

5. 2.5.47 NFSv4 compile error

6. Linux PAM_NDS: Could not get user FDN

7. Linux 2.5.47 compile error

8. ufsdump on Solaris 2.5.1

9. 2.5.47 RadeonFB compile error

10. 2.5.47 "DAC960" Compile Error

11. cs46xx compile error 2.5.47

12. 2.5.47-bk compile errors: smbfs, cifs, nfs4, gameport, bttv

13. 2.5.47 : fs/nfsd/nfs4proc.c compile error