0.90.4 and 2.3.51

KevinWaterson hatemail@oceania.net
Sat, 11 Mar 2000 08:06:11 +1100


Will not compile :(

looks like this.......

[root@kevin netfilter-0.90.4]# make install
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/ip_nat_standalone.c -c -o
NAT/ip_nat_standalone.o
NAT/ip_nat_standalone.c:225: warning: initialization makes integer from
pointer without a cast
NAT/ip_nat_standalone.c:225: warning: excess elements in struct
initializer after `ip_nat_in_ops'
NAT/ip_nat_standalone.c:228: warning: initialization makes integer from
pointer without a cast
NAT/ip_nat_standalone.c:228: warning: excess elements in struct
initializer after `ip_nat_out_ops'
NAT/ip_nat_standalone.c:231: warning: initialization makes integer from
pointer without a cast
NAT/ip_nat_standalone.c:231: warning: excess elements in struct
initializer after `ip_nat_local_out_ops'
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/ip_nat_core.c -c -o NAT/ip_nat_core.o

cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/ip_nat_rule.c -c -o NAT/ip_nat_rule.o

cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/extensions/ip_nat_ftp.c -c -o
NAT/extensions/ip_nat_ftp.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/mapping-types/ipt_MASQUERADE.c -c -o
NAT/mapping-types/ipt_MASQUERADE
.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/mapping-types/ipt_REDIRECT.c -c -o
NAT/mapping-types/ipt_REDIRECT.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/protocols/ip_nat_tcp.c -c -o
NAT/protocols/ip_nat_tcp.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/protocols/ip_nat_unknown.c -c -o
NAT/protocols/ip_nat_unknown.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/protocols/ip_nat_icmp.c -c -o
NAT/protocols/ip_nat_icmp.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  NAT/protocols/ip_nat_udp.c -c -o
NAT/protocols/ip_nat_udp.o
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -D
MODULE   -fno-strict-aliasing  compat/ip_fw_compat.c -c -o
compat/ip_fw_compat.o
compat/ip_fw_compat.c: In function `fw_in':
compat/ip_fw_compat.c:105: `NF_REASON_MIN_RESERVED_FOR_CONNTRACK'
undeclared (first use in this function
)
compat/ip_fw_compat.c:105: (Each undeclared identifier is reported only
once
compat/ip_fw_compat.c:105: for each function it appears in.)
compat/ip_fw_compat.c: At top level:
compat/ip_fw_compat.c:177: warning: initialization makes integer from
pointer without a cast
compat/ip_fw_compat.c:177: warning: excess elements in struct
initializer after `preroute_ops'
compat/ip_fw_compat.c:180: warning: initialization makes integer from
pointer without a cast
compat/ip_fw_compat.c:180: warning: excess elements in struct
initializer after `postroute_ops'
compat/ip_fw_compat.c:183: warning: initialization makes integer from
pointer without a cast
compat/ip_fw_compat.c:183: warning: excess elements in struct
initializer after `forward_ops'
make: *** [compat/ip_fw_compat.o] Error 1
[root@kevin netfilter-0.90.4]# make install
cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include
-DNETFILTER_VERSION=\"0.90.4\"  -D__KERNEL__ -DMODULE
-fno-strict-aliasing  compat/ip_fw_compat.c -c -o compat/ip_fw_compat.o
compat/ip_fw_compat.c: In function `fw_in':
compat/ip_fw_compat.c:105: `NF_REASON_MIN_RESERVED_FOR_CONNTRACK'
undeclared (first use in this function)
compat/ip_fw_compat.c:105: (Each undeclared identifier is reported only
once
compat/ip_fw_compat.c:105: for each function it appears in.)
compat/ip_fw_compat.c: At top level:
compat/ip_fw_compat.c:177: warning: initialization makes integer from
pointer without a cast
compat/ip_fw_compat.c:177: warning: excess elements in struct
initializer after `preroute_ops'
compat/ip_fw_compat.c:180: warning: initialization makes integer from
pointer without a cast
compat/ip_fw_compat.c:180: warning: excess elements in struct
initializer after `postroute_ops'
compat/ip_fw_compat.c:183: warning: initialization makes integer from
pointer without a cast
compat/ip_fw_compat.c:183: warning: excess elements in struct
initializer after `forward_ops'
make: *** [compat/ip_fw_compat.o] Error 1