netfilter 0.1.7

rdicaire@vic.com rdicaire@vic.com
Sun, 05 Sep 1999 20:48:22 -0500 (EST)


-----BEGIN PGP SIGNED MESSAGE-----

>> while trying to compile netfilter-0.1.6, I get this error 
>> am I missing a file from the kernel ? 
>> 
>> cc -O -g -DFAST_TIMEOUTS -DDEBUG_CONNTRACK -Wall -Wunused -Iinclude/ 
>> -I/usr/src/linux/include -fPIC -o packet-filter/extentions/libipt_mac_sh.o -c
 
>> packet-filter/extentions/libipt_mac.c packet-filter/extentions/libipt_mac.c:7
: 
>> net/ethernet.h: No such file or directory make: *** 
>> [packet-filter/extentions/libipt_mac_sh.o] Error 1 

>libc5? Does replacing `#include <net/ethernet.h>' with `#include 
><linux/if_ether.h>' make it work? I don't have a libc5 system here to 
>test... 

I have a libc5 system, I had to change two instances of the above
to get a compile. However, the compile still bombs at the end:

cc -O -Wall -Wunused -Iinclude/ -I/usr/src/linux/include -DNETFILTER_VERSION=\"0
.1.7\"     test/ethertap_ping_reply.c   -o test/ethertap_ping_reply
test/ethertap_ping_reply.c: In function `main':
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 3)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 4)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 5)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 6)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 7)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 8)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 9)
test/ethertap_ping_reply.c:68: warning: unsigned int format, long unsigned int a
rg (arg 10)
test/ethertap_ping_reply.c:103: structure has no member named `source'
test/ethertap_ping_reply.c:103: structure has no member named `source'
test/ethertap_ping_reply.c:103: structure has no member named `source'
test/ethertap_ping_reply.c:103: structure has no member named `source'
test/ethertap_ping_reply.c:104: structure has no member named `dest'
test/ethertap_ping_reply.c:104: structure has no member named `dest'
test/ethertap_ping_reply.c:104: structure has no member named `dest'
test/ethertap_ping_reply.c:104: structure has no member named `dest'
make: *** [test/ethertap_ping_reply] Error 1

I'm not on the mailing list, please reply back.

- ----------------------------------------------------
                 Richard Dicaire          
          Co-owner/Systems Administrator  
           K&R Information Technologies   
             http://novaone.dynip.com     
- ----------------------------------------------------
  Tekmetrics Certified Master Linux Administrator

http://www.tekmetrics.com/transcript.shtml?pid=67584
- ----------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN9MfE+cYXpEFq4PNAQGV7wP8Csj5CEntknbLOcB6tz10zgHEABHppDrm
oI6yDjqJXU9/UG+fXVe+JfvNGQJv4FLgvgepZSUVFkJUr4s6XWsOZ+P4Pz7GObzR
hmUjzRJFZ3irywao7+QrF46+K3I75EtGFDqoZPWeXVWtRFHOpLFnb+MCuRVw81W/
o+1PcysSkkQ=
=WN78
-----END PGP SIGNATURE-----