cheers peeps,
currently I am trying to install IP-Filter 3.4.33pre1 on an SGI Origin200
server running IRIX 6.5.21. But I am encountering some build errors. I first
tried IP-Filter 3.4.32 but that had exactly the same problems.
I followed the steps in the INSTALL.IRIX file: changed the compiler to cc and
commented out the IPFLKM line. I also enabled the -D_MP_NETLOCKS -DMP options
since this is a quad-CPU system. I am in dire need of a proper firewall since
we all know IRIX isn't that secure all by itself, but this system has to be
an internet server.
The initial errors I get are:
cc -I../.. -DIPFILTER_LOG -D_KMEMUSER -DIRIX=605 -c../../ipsend/iptests.c -o
iptests.o
cc-1070 cc: ERROR File = /usr/include/netinet/tcp_var.h, Line = 269
The indicated type is incomplete.
struct tcp6hdrs t_lnk6; /* ipv6 tcp reassembly queue */
^
cc-1070 cc: ERROR File = /usr/include/netinet/tcp_var.h, Line = 271
The indicated type is incomplete.
struct tcptemp t_template6; /* skeletal packet for transmit */
^
The compiler I use is MIPS Pro 7.3.1.2
Now I'm not that big a C Code genius, but I guessed that this has something to
do with the structs being not yet defined somewhere, so I peeked into some
files and it seems that <netinet/tcpip.h> needs to be included for that. But
then it gets a bit too much complicated for me. It looks to me like tcp_var.h
and tcpip.h depend on eachother, but that if I put one of them first, it
fails because the other is missing (not included yet). Wicked.
Maybe this issue is known, maybe now.
I would be glad to know what I can do about this, or how I can help to make
this thing even more IRIX-friendly. :)
greets,
Steffen M. Boelaars