Hi i have problem to compile the ftwall in RHEL WS 3. is there anyone know how to fix this problem. [root@rhel ftwall-1.08]# make cc `sh findlibs.sh` -DVERSION=''"1.08"'' -DRELDATE=''"Dec 17th, 2003"'' -c -o ftwall.o ftwall.c ftwall.c:29:20: libipq.h: No such file or directory In file included from ftwall.c:37: /usr/include/linux/ip.h:95: syntax error before "__u8" /usr/include/linux/ip.h:102: syntax error before "tot_len" /usr/include/linux/ip.h:103: syntax error before "id" /usr/include/linux/ip.h:104: syntax error before "frag_off" /usr/include/linux/ip.h:105: syntax error before "ttl" /usr/include/linux/ip.h:106: syntax error before "protocol" /usr/include/linux/ip.h:107: syntax error before "check" /usr/include/linux/ip.h:108: syntax error before "saddr" /usr/include/linux/ip.h:109: syntax error before "daddr" In file included from /usr/include/linux/tcp.h:21, from ftwall.c:38: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead! In file included from ftwall.c:38: /usr/include/linux/tcp.h:105: enumerator value for `TCP_FLAG_CWR'' not integer constant /usr/include/linux/tcp.h:106: enumerator value for `TCP_FLAG_ECE'' not integer constant /usr/include/linux/tcp.h:107: enumerator value for `TCP_FLAG_URG'' not integer constant /usr/include/linux/tcp.h:108: enumerator value for `TCP_FLAG_ACK'' not integer constant /usr/include/linux/tcp.h:109: enumerator value for `TCP_FLAG_PSH'' not integer constant /usr/include/linux/tcp.h:110: enumerator value for `TCP_FLAG_RST'' not integer constant /usr/include/linux/tcp.h:111: enumerator value for `TCP_FLAG_SYN'' not integer constant /usr/include/linux/tcp.h:112: enumerator value for `TCP_FLAG_FIN'' not integer constant /usr/include/linux/tcp.h:113: enumerator value for `TCP_RESERVED_BITS'' not integer constant /usr/include/linux/tcp.h:115: enumerator value for `TCP_DATA_OFFSET'' not integer constant ftwall.c:164: warning: `struct ipq_handle'' declared inside parameter list ftwall.c:164: warning: its scope is only this definition or declaration, which is probably not what you want ftwall.c: In function `die'': ftwall.c:183: warning: assignment makes pointer from integer without a cast ftwall.c:187: `errno'' undeclared (first use in this function) ftwall.c:187: (Each undeclared identifier is reported only once ftwall.c:187: for each function it appears in.) ftwall.c: In function `log_client_added'': ftwall.c:391: `O_RDWR'' undeclared (first use in this function) ftwall.c:391: `O_CREAT'' undeclared (first use in this function) ftwall.c:391: `O_TRUNC'' undeclared (first use in this function) ftwall.c: In function `inspect_tcp'': ftwall.c:596: dereferencing pointer to incomplete type ftwall.c:597: dereferencing pointer to incomplete type ftwall.c: In function `send_udp'': ftwall.c:754: dereferencing pointer to incomplete type ftwall.c:755: dereferencing pointer to incomplete type ftwall.c:756: dereferencing pointer to incomplete type ftwall.c:757: dereferencing pointer to incomplete type ftwall.c:758: dereferencing pointer to incomplete type ftwall.c:759: dereferencing pointer to incomplete type ftwall.c:760: dereferencing pointer to incomplete type ftwall.c:761: dereferencing pointer to incomplete type ftwall.c:762: dereferencing pointer to incomplete type ftwall.c:763: dereferencing pointer to incomplete type ftwall.c:764: dereferencing pointer to incomplete type ftwall.c:779: dereferencing pointer to incomplete type ftwall.c: At top level: ftwall.c:927: syntax error before ''*'' token ftwall.c: In function `log'': ftwall.c:932: `m'' undeclared (first use in this function) ftwall.c:934: dereferencing pointer to incomplete type ftwall.c:964: `dropped'' undeclared (first use in this function) ftwall.c: In function `main'': ftwall.c:1028: `optarg'' undeclared (first use in this function) ftwall.c:1043: `optind'' undeclared (first use in this function) ftwall.c:1102: warning: assignment makes pointer from integer without a cast ftwall.c:1103: warning: passing arg 1 of `die'' from incompatible pointer type ftwall.c:1106: `IPQ_COPY_PACKET'' undeclared (first use in this function) ftwall.c:1109: warning: passing arg 1 of `die'' from incompatible pointer type ftwall.c:1114: dereferencing pointer to incomplete type ftwall.c:1115: dereferencing pointer to incomplete type ftwall.c:1117: warning: passing arg 1 of `die'' from incompatible pointer type ftwall.c:1127: `O_RDWR'' undeclared (first use in this function) ftwall.c:1161: `NLMSG_ERROR'' undeclared (first use in this function) ftwall.c:1166: `IPQM_PACKET'' undeclared (first use in this function) ftwall.c:1167: `ipq_packet_msg_t'' undeclared (first use in this function) ftwall.c:1167: `m'' undeclared (first use in this function) make: *** [ftwall.o] Error 1 ------------------------------------------------------------------------ ------- Best Regards Liew Toh Seng Icq No: >> 36835809 << MSN: >> tohseng@hotmail.com << * .--. * |o_o | * |:_/ | * // * (| | ) * /''\_ _/` The Internet Solution Company * \___)=(___ My Directory Sdn Bhd
This is not a FTWALL mailing list. Please post your question at the appropriate mailing list. -----Original Message----- From: shorewall-users-bounces@lists.shorewall.net [mailto:shorewall-users-bounces@lists.shorewall.net] On Behalf Of Liew Toh Seng Sent: Tuesday, June 01, 2004 5:26 PM To: Mailing List for Shorewall Users Subject: [Shorewall-users] ftwall Hi i have problem to compile the ftwall in RHEL WS 3. is there anyone know how to fix this problem. [root@rhel ftwall-1.08]# make cc `sh findlibs.sh` -DVERSION=''"1.08"'' -DRELDATE=''"Dec 17th, 2003"'' -c -o ftwall.o ftwall.c ftwall.c:29:20: libipq.h: No such file or directory In file included from ftwall.c:37: /usr/include/linux/ip.h:95: syntax error before "__u8" /usr/include/linux/ip.h:102: syntax error before "tot_len" /usr/include/linux/ip.h:103: syntax error before "id" /usr/include/linux/ip.h:104: syntax error before "frag_off" /usr/include/linux/ip.h:105: syntax error before "ttl" /usr/include/linux/ip.h:106: syntax error before "protocol" /usr/include/linux/ip.h:107: syntax error before "check" /usr/include/linux/ip.h:108: syntax error before "saddr" /usr/include/linux/ip.h:109: syntax error before "daddr" In file included from /usr/include/linux/tcp.h:21, from ftwall.c:38: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead! In file included from ftwall.c:38: /usr/include/linux/tcp.h:105: enumerator value for `TCP_FLAG_CWR'' not integer constant /usr/include/linux/tcp.h:106: enumerator value for `TCP_FLAG_ECE'' not integer constant /usr/include/linux/tcp.h:107: enumerator value for `TCP_FLAG_URG'' not integer constant /usr/include/linux/tcp.h:108: enumerator value for `TCP_FLAG_ACK'' not integer constant /usr/include/linux/tcp.h:109: enumerator value for `TCP_FLAG_PSH'' not integer constant /usr/include/linux/tcp.h:110: enumerator value for `TCP_FLAG_RST'' not integer constant /usr/include/linux/tcp.h:111: enumerator value for `TCP_FLAG_SYN'' not integer constant /usr/include/linux/tcp.h:112: enumerator value for `TCP_FLAG_FIN'' not integer constant /usr/include/linux/tcp.h:113: enumerator value for `TCP_RESERVED_BITS'' not integer constant /usr/include/linux/tcp.h:115: enumerator value for `TCP_DATA_OFFSET'' not integer constant ftwall.c:164: warning: `struct ipq_handle'' declared inside parameter list ftwall.c:164: warning: its scope is only this definition or declaration, which is probably not what you want ftwall.c: In function `die'': ftwall.c:183: warning: assignment makes pointer from integer without a cast ftwall.c:187: `errno'' undeclared (first use in this function) ftwall.c:187: (Each undeclared identifier is reported only once ftwall.c:187: for each function it appears in.) ftwall.c: In function `log_client_added'': ftwall.c:391: `O_RDWR'' undeclared (first use in this function) ftwall.c:391: `O_CREAT'' undeclared (first use in this function) ftwall.c:391: `O_TRUNC'' undeclared (first use in this function) ftwall.c: In function `inspect_tcp'': ftwall.c:596: dereferencing pointer to incomplete type ftwall.c:597: dereferencing pointer to incomplete type ftwall.c: In function `send_udp'': ftwall.c:754: dereferencing pointer to incomplete type ftwall.c:755: dereferencing pointer to incomplete type ftwall.c:756: dereferencing pointer to incomplete type ftwall.c:757: dereferencing pointer to incomplete type ftwall.c:758: dereferencing pointer to incomplete type ftwall.c:759: dereferencing pointer to incomplete type ftwall.c:760: dereferencing pointer to incomplete type ftwall.c:761: dereferencing pointer to incomplete type ftwall.c:762: dereferencing pointer to incomplete type ftwall.c:763: dereferencing pointer to incomplete type ftwall.c:764: dereferencing pointer to incomplete type ftwall.c:779: dereferencing pointer to incomplete type ftwall.c: At top level: ftwall.c:927: syntax error before ''*'' token ftwall.c: In function `log'': ftwall.c:932: `m'' undeclared (first use in this function) ftwall.c:934: dereferencing pointer to incomplete type ftwall.c:964: `dropped'' undeclared (first use in this function) ftwall.c: In function `main'': ftwall.c:1028: `optarg'' undeclared (first use in this function) ftwall.c:1043: `optind'' undeclared (first use in this function) ftwall.c:1102: warning: assignment makes pointer from integer without a cast ftwall.c:1103: warning: passing arg 1 of `die'' from incompatible pointer type ftwall.c:1106: `IPQ_COPY_PACKET'' undeclared (first use in this function) ftwall.c:1109: warning: passing arg 1 of `die'' from incompatible pointer type ftwall.c:1114: dereferencing pointer to incomplete type ftwall.c:1115: dereferencing pointer to incomplete type ftwall.c:1117: warning: passing arg 1 of `die'' from incompatible pointer type ftwall.c:1127: `O_RDWR'' undeclared (first use in this function) ftwall.c:1161: `NLMSG_ERROR'' undeclared (first use in this function) ftwall.c:1166: `IPQM_PACKET'' undeclared (first use in this function) ftwall.c:1167: `ipq_packet_msg_t'' undeclared (first use in this function) ftwall.c:1167: `m'' undeclared (first use in this function) make: *** [ftwall.o] Error 1 ------------------------------------------------------------------------ ------- Best Regards Liew Toh Seng Icq No: >> 36835809 << MSN: >> tohseng@hotmail.com << * .--. * |o_o | * |:_/ | * // * (| | ) * /''\_ _/` The Internet Solution Company * \___)=(___ My Directory Sdn Bhd _______________________________________________ Shorewall-users mailing list Post: Shorewall-users@lists.shorewall.net Subscribe/Unsubscribe: https://lists.shorewall.net/mailman/listinfo/shorewall-users Support: http://www.shorewall.net/support.htm FAQ: http://www.shorewall.net/FAQ.htm
Jason Png wrote:> This is not a FTWALL mailing list. > Please post your question at the appropriate mailing list. > > > -----Original Message----- > From: shorewall-users-bounces@lists.shorewall.net > [mailto:shorewall-users-bounces@lists.shorewall.net] On Behalf Of Liew Toh > Seng > Sent: Tuesday, June 01, 2004 5:26 PM > To: Mailing List for Shorewall Users > Subject: [Shorewall-users] ftwall > > Hi > i have problem to compile the ftwall in RHEL WS 3. is there anyone > know how to fix this problem. > > > [root@rhel ftwall-1.08]# make > cc `sh findlibs.sh` -DVERSION=''"1.08"'' -DRELDATE=''"Dec 17th, 2003"'' > -c -o ftwall.o ftwall.c > ftwall.c:29:20: libipq.h: No such file or directory----------------------------------- As Jason says, this is wildly off-topic on this list. However, I think you should take the time to read the INSTALL file that is included with ftwall before posting on *any* list about your problem. You''ll save yourself some additional embarassment... -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
sorry ...... ------------------------------------------------------------------------ ------- Best Regards Liew Toh Seng Icq No: >> 36835809 << MSN: >> tohseng@hotmail.com << * .--. * |o_o | * |:_/ | * // * (| | ) * /''\_ _/` The Internet Solution Company * \___)=(___ My Directory Sdn Bhd On Jun 1, 2004, at 9:46 PM, Tom Eastep wrote:> Jason Png wrote: >> This is not a FTWALL mailing list. >> Please post your question at the appropriate mailing list. >> -----Original Message----- >> From: shorewall-users-bounces@lists.shorewall.net >> [mailto:shorewall-users-bounces@lists.shorewall.net] On Behalf Of >> Liew Toh >> Seng >> Sent: Tuesday, June 01, 2004 5:26 PM >> To: Mailing List for Shorewall Users >> Subject: [Shorewall-users] ftwall >> Hi >> i have problem to compile the ftwall in RHEL WS 3. is there anyone >> know how to fix this problem. >> [root@rhel ftwall-1.08]# make >> cc `sh findlibs.sh` -DVERSION=''"1.08"'' -DRELDATE=''"Dec 17th, 2003"'' >> -c -o ftwall.o ftwall.c >> ftwall.c:29:20: libipq.h: No such file or directory > ----------------------------------- > > As Jason says, this is wildly off-topic on this list. However, I think > you should take the time to read the INSTALL file that is included > with ftwall before posting on *any* list about your problem. You''ll > save yourself some additional embarassment... > > -Tom > -- > Tom Eastep \ Nothing is foolproof to a sufficiently talented fool > Shoreline, \ http://shorewall.net > Washington USA \ teastep@shorewall.net > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: > https://lists.shorewall.net/mailman/listinfo/shorewall-users > Support: http://www.shorewall.net/support.htm > FAQ: http://www.shorewall.net/FAQ.htm