gcc 3.0.1, kern 2.4.13 - ip_conntrack_proto_tcp.c does not
compile
Krzysztof Mazurczyk
kmazurczyk@wskiz.poznan.pl
Fri, 26 Oct 2001 13:19:02 +0200
On Fri, 26/Oct/01 11:46:13, Jozsef Kadlecsik wrote:
> On Fri, 26 Oct 2001, Maciej Soltysiak wrote:
>
> > In file included from /usr/src/linux/include/net/checksum.h:33,
> > from /usr/src/linux/include/net/tcp.h:30,
> > from ip_conntrack_proto_tcp.c:22:
> > /usr/src/linux/include/asm/checksum.h:72:30: warning: multi-line string literals are deprecated
> > /usr/src/linux/include/asm/checksum.h:105:17: warning: multi-line string literals are deprecated
> > /usr/src/linux/include/asm/checksum.h:121:13: warning: multi-line string literals are deprecated
> > /usr/src/linux/include/asm/checksum.h:161:17: warning: multi-line string literals are deprecated
> > ip_conntrack_proto_tcp.c:734: parse error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
> > ip_conntrack_proto_tcp.c:734: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> > ip_conntrack_proto_tcp.c:734: warning: data definition has no type or storage class
>
> If you use patches from p-o-m, please try to use the most recent ones.
>
> There was a policy change around 2.4.11 and the earlier
> tcp-window-tracking patch was not compatible with it. It's not the fault
> of gcc.
>
> Regards,
> Jozsef
> -
> E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
> WWW-Home: http://www.kfki.hu/~kadlec
> Address : KFKI Research Institute for Particle and Nuclear Physics
> H-1525 Budapest 114, POB. 49, Hungary
Hi all,
I've got the same errors on 2.4.12 p-o-m'ed from latest 1.2.4 iptables.
As I observed, three patches from patch-o-matic make kernel uncompilable.
When I applied: TTL, iplimit, ipt_LOG, ipv4options, length, mport, nth
pkttype, psd, string, time, ttl, ulog was ok.
Adding patch tcp-window-tracking - always or,
irc-conntrack-nat and record-rpc - when both applied made kernel uncompilable.
Comments please.
Regards,
Chris