1846187 Members
3936 Online
110254 Solutions
New Discussion

install IPFilter error

 
SOLVED
Go to solution
hongjing_zhang
Trusted Contributor

install IPFilter error

when I install IPFilter,error is:

2#[/home/mike/pfil]make
i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac
if [ ! -f HP-UX/Makefile ] ; then ln Makefile HP-UX; fi
(cd HP-UX; make mod.o "BITS=`getconf KERNEL_BITS`" OS=hpux DO=pfil "ADEF
=-I.. -I. -I/usr/conf/gen -U__hp9000s700 -DKERNEL -DHPUX_IPFILTER_HOOKS -D_KERN
EL_BUILD=1 -D__STDC_EXT__ -D_XPG4_EXTENDED -D_HPUX_SOURCE -D__hp9000s800 -D_KER
NEL -Ae +ES1.Xindirect_calls -Wp,-H300000 +XixdU +Hx0 +R500 -Wl,-a,archive +ESs
fc -q +DD`getconf KERNEL_BITS` ")
cc -O -I.. -I. -I/usr/conf/gen -U__hp9000s700 -DKERNEL -DHPUX_IPFILTER_
HOOKS -D_KERNEL_BUILD=1 -D__STDC_EXT__ -D_XPG4_EXTENDED -D_HPUX_SOURCE -D__hp9
000s800 -D_KERNEL -Ae +ES1.Xindirect_calls -Wp,-H300000 +XixdU +Hx0 +R500 -Wl,-
a,archive +ESsfc -q +DD64 -c ../pfil.c -o pfil.o
cpp: "../pfil.c", line 27: error 4036: Can't open include file 'inet/common.h'.
cpp: "../pfil.c", line 31: error 4036: Can't open include file 'inet/ip.h'.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
a2#[/home/mike/pfil]


what can I do? please help me,thanks very much!
4 REPLIES 4
Michael Tully
Honored Contributor
Solution

Re: install IPFilter error

Are you attemtping to compile with a 'gcc' or 'ANSI/C' compiler. The standard 'C' compiler that comes with the operating system is just about useless.
Anyone for a Mutiny ?
hongjing_zhang
Trusted Contributor

Re: install IPFilter error

I am a newperson,please tell me the progress step about how compile.
Michael Tully
Honored Contributor

Re: install IPFilter error

Where did you get this software from ?

There is an already installable product (doesn't need compiling) from here:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA

Here are the install instructions:

http://www.docs.hp.com/hpux/onlinedocs/B9901-90009/B9901-90009.html

Here is a good posting where there is a discussion on how to use it.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc72cc4c76f92d611abdb0090277a778c,00.html

Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: install IPFilter error