ip_conntrack_proto_tcp.c error with 2.4.12
Brad Chapman
kakadu_croc@yahoo.com
Mon, 15 Oct 2001 18:43:08 -0700 (PDT)
Mr. Lohmander,
--- Hans Lohmander <hans.lohmander@ei.sigma.se> wrote:
> Hi,
> anyone seen anything like this?
> Kernel 2.4.12
> Iptables 1.2.3
> Modules:
> iplimit
> ipt_MIRROR-ttl
> ipv4options
> irc-conntrack-nat
> length
> NETLINK
> nth
> psd
> string
> tcp-window-tracking
> time
> ttl
> ulog
>
> I have probably done a less smart selection of modules, but where is the conflict?
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
> -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.12/include/linux/modversions.h -c -o ip_conntrack_proto_tcp.o
> ip_conntrack_proto_tcp.c
> ip_conntrack_proto_tcp.c:626: parse error before
> `this_object_must_be_defined_as_export_objs_in_the_Makefile'
> ip_conntrack_proto_tcp.c:626: warning: type defaults to `int' in declaration
> of`this_object_must_be_defined_as_export_objs_in_the_Makefile'
> ip_conntrack_proto_tcp.c:626: warning: data definition has no type or storage
> class
> ip_conntrack_proto_tcp.c:631: warning: initialization from incompatible
> pointertype
> make[2]: *** [ip_conntrack_proto_tcp.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.12/net/ipv4/netfilter'
> make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.12/net'
> make: *** [_mod_net] Error 2
>
> Any advice?
Policy change. Keith Owens has stated that the default now is to _NOT_
export all file-scope non-static variables. Now, you must either do an
EXPORT_SYMBOL() or add your source file to the export-objs := list in your
Makefile. AFAIK no one has submitted patches (yet).
>
> /Hans
Brad
=====
Brad Chapman
Permanent e-mail: kakadu_croc@yahoo.com
Current e-mail: kakadu@adelphia.net
Alternate e-mail: kakadu@netscape.net
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com