Operating System - HP-UX
1854911 Members
5345 Online
104105 Solutions
New Discussion

install ip_fil4.1.31 & pfil-2.1.13

 
public
Regular Advisor

install ip_fil4.1.31 & pfil-2.1.13

Hi,

I tried to install ip_fil4.1.31 & pfil-2.1.13 on my server running HP-UX 11.00. I got the following error during execute "make hpux" in ip_fil4.1.31. Would you please tell me what to do? Thanks in adwance.
-------------------------------------------------
mkdir -p net netinet
if [ ! -f netinet/done ] ; then \
(cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .;); \
(cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
touch netinet/done; \
fi
(cd netinet; ln -s ../ip_rules.h ip_rules.h)
ln: ip_rules.h exists
*** Error exit code 1 (ignored)
if [ ! -f net/done ] ; then \
(cd net; ln -s ../radix_ipf.h .; ); \
touch net/done; \
fi
mkdir -p h
ln -s /usr/include/sys/xti.h h
make setup CPUDIR=`HPUX/cpurev` TARGOS=HPUX
if [ ! -d HPUX/B.11.00.9000.800.64 ] ; then mkdir HPUX/B.11.00.9000.800.64; fi
rm -f HPUX/B.11.00.9000.800.64/Makefile HPUX/B.11.00.9000.800.64/Makefile.ipsend
ln -s ../Makefile HPUX/B.11.00.9000.800.64/Makefile
ln -s ../Makefile.ipsend HPUX/B.11.00.9000.800.64/Makefile.ipsend
if [ -f HPUX/Makefile.common ] ; then \
rm -f HPUX/B.11.00.9000.800.64/Makefile.common; \
ln -s ../Makefile.common HPUX/B.11.00.9000.800.64/Makefile.common;\
fi
(cd HPUX/`HPUX/cpurev`; make build TOP=../.. 'CFLAGS=-I$(TOP) -D_BSD_SOURCE ' "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0" "POLICY=-DIPF_DEFAULT_PASS=FR_PASS" "SOLARIS2=" "DEBUG=-g" "DCPU=`uname -m`" "LIBBPF=" "CPUDIR=`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`" "IPFBPF=" 'STATETOP_CFLAGS=' "BPFILTER=" 'STATETOP_INC=' 'STATETOP_LIB=' "BITS=" "OBJ=." "LOOKUP=-DIPFILTER_LOOKUP -DIPFILTER_SCAN" "COMPIPF=" 'SYNC=' 'ALLOPTS=-DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM' 'LIBBPF=' "IPFLKM=-DIPFILTER_LKM" "BITS=`getconf KERNEL_BITS`" `../makeargs`; cd ..)
sed -e 's/radix_node/ipf_radix_node/g' \
-e 's/radix_mask/ipf_radix_mask/g' \
../../radix_ipf.h > radix_ipf_local.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/addicmp.c -o ./addicmp.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/addipopt.c -o ./addipopt.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/alist_free.c -o ./alist_free.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/alist_new.c -o ./alist_new.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/bcopywrap.c -o ./bcopywrap.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/binprint.c -o ./binprint.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/buildopts.c -o ./buildopts.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/checkrev.c -o ./checkrev.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/count6bits.c -o ./count6bits.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/count4bits.c -o ./count4bits.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/debug.c -o ./debug.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/facpri.c -o ./facpri.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/flags.c -o ./flags.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/fill6bits.c -o ./fill6bits.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/gethost.c -o ./gethost.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/getifname.c -o ./getifname.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/getnattype.c -o ./getnattype.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/getport.c -o ./getport.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/getportproto.c -o ./getportproto.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/getproto.c -o ./getproto.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/getsumd.c -o ./getsumd.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/hostname.c -o ./hostname.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/icmpcode.c -o ./icmpcode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/inet_addr.c -o ./inet_addr.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/initparse.c -o ./initparse.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ionames.c -o ./ionames.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipoptsec.c -o ./ipoptsec.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipf_dotuning.c -o ./ipf_dotuning.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipft_ef.c -o ./ipft_ef.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipft_hx.c -o ./ipft_hx.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipft_pc.c -o ./ipft_pc.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipft_sn.c -o ./ipft_sn.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipft_td.c -o ./ipft_td.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ipft_tx.c -o ./ipft_tx.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/kmem.c -o ./kmem.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/kmemcpywrap.c -o ./kmemcpywrap.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/kvatoname.c -o ./kvatoname.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_file.c -o ./load_file.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_hash.c -o ./load_hash.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_hashnode.c -o ./load_hashnode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_http.c -o ./load_http.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_pool.c -o ./load_pool.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_poolnode.c -o ./load_poolnode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/load_url.c -o ./load_url.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/mutex_emul.c -o ./mutex_emul.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/nametokva.c -o ./nametokva.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/nat_setgroupmap.c -o ./nat_setgroupmap.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/ntomask.c -o ./ntomask.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/optname.c -o ./optname.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/optprint.c -o ./optprint.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/optprintv6.c -o ./optprintv6.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/optvalue.c -o ./optvalue.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/portname.c -o ./portname.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/print_toif.c -o ./print_toif.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printactivenat.c -o ./printactivenat.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printaps.c -o ./printaps.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printbuf.c -o ./printbuf.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printhash.c -o ./printhash.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printhashdata.c -o ./printhashdata.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printhashnode.c -o ./printhashnode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printhash_live.c -o ./printhash_live.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printip.c -o ./printip.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printpool.c -o ./printpool.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printpooldata.c -o ./printpooldata.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printpoolnode.c -o ./printpoolnode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printpool_live.c -o ./printpool_live.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printproto.c -o ./printproto.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printfr.c -o ./printfr.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printfraginfo.c -o ./printfraginfo.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printhostmap.c -o ./printhostmap.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printifname.c -o ./printifname.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printhostmask.c -o ./printhostmask.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printlog.c -o ./printlog.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printmask.c -o ./printmask.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printnat.c -o ./printnat.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printportcmp.c -o ./printportcmp.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printpacket.c -o ./printpacket.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printpacket6.c -o ./printpacket6.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printsbuf.c -o ./printsbuf.o
cc: "../../lib/printsbuf.c", line 1: warning 501: Empty source file.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printstate.c -o ./printstate.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printtqtable.c -o ./printtqtable.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/printtunable.c -o ./printtunable.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/remove_hash.c -o ./remove_hash.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/remove_hashnode.c -o ./remove_hashnode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/remove_pool.c -o ./remove_pool.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/remove_poolnode.c -o ./remove_poolnode.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/resetlexer.c -o ./resetlexer.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/rwlock_emul.c -o ./rwlock_emul.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/tcpflags.c -o ./tcpflags.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/tcp_flags.c -o ./tcp_flags.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/var.c -o ./var.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/verbose.c -o ./verbose.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/v6ionames.c -o ./v6ionames.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../lib/v6optvalue.c -o ./v6optvalue.o
/bin/rm -f ./libipf.a
ar cq ./libipf.a ./addicmp.o ./addipopt.o ./alist_free.o ./alist_new.o ./bcopywrap.o ./binprint.o ./buildopts.o ./checkrev.o ./count6bits.o ./count4bits.o ./debug.o ./facpri.o ./flags.o ./fill6bits.o ./gethost.o ./getifname.o ./getnattype.o ./getport.o ./getportproto.o ./getproto.o ./getsumd.o ./hostname.o ./icmpcode.o ./inet_addr.o ./initparse.o ./ionames.o ./ipoptsec.o ./ipf_dotuning.o ./ipft_ef.o ./ipft_hx.o ./ipft_pc.o ./ipft_sn.o ./ipft_td.o ./ipft_tx.o ./kmem.o ./kmemcpywrap.o ./kvatoname.o ./load_file.o ./load_hash.o ./load_hashnode.o ./load_http.o ./load_pool.o ./load_poolnode.o ./load_url.o ./mutex_emul.o ./nametokva.o ./nat_setgroupmap.o ./ntomask.o ./optname.o ./optprint.o ./optprintv6.o ./optvalue.o ./portname.o ./print_toif.o ./printactivenat.o ./printaps.o ./printbuf.o ./printhash.o ./printhashdata.o ./printhashnode.o ./printhash_live.o ./printip.o ./printpool.o ./printpooldata.o ./printpoolnode.o ./printpool_live.o ./printproto.o ./printfr.o ./printfraginfo.o ./printhostmap.o ./printifname.o ./printhostmask.o ./printlog.o ./printmask.o ./printnat.o ./printportcmp.o ./printpacket.o ./printpacket6.o ./printsbuf.o ./printstate.o ./printtqtable.o ./printtunable.o ./remove_hash.o ./remove_hashnode.o ./remove_pool.o ./remove_poolnode.o ./resetlexer.o ./rwlock_emul.o ./tcpflags.o ./tcp_flags.o ./var.o ./verbose.o ./v6ionames.o ./v6optvalue.o
ranlib ./libipf.a
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipf.c -o ipf.o
cc: "../../tools/ipf.c", line 54: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 54: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 54: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 55: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 55: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 55: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 56: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 56: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 135: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipf.c", line 135: warning 563: Argument #3 is not the correct type.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipfcomp.c -o ipfcomp.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipf_y.c)
yacc -d ipf_y.y

conflicts: 8 shift/reduce
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.c/' \
-e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ipf_y.c
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' y.tab.h > ../HPUX/B.11.00.9000.800.64/ipf_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipf_l.h)
sed -e 's/yy/ipf_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ipf_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ipf_y.c -o ipf_y.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipf_l.c)
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \
-e 's/lexer.h/ipf_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipf_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -I../../tools -c ipf_l.c -o ipf_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipf.o ipfcomp.o ipf_y.o ipf_l.o -o ipf -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I/usr/conf/h -c ../../tools/ipfstat.c -o ipfstat.o
cc: "../../tools/ipfstat.c", line 853: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipfstat.c", line 853: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ipfstat.c", line 957: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipfstat.c", line 957: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ipfstat.c", line 1752: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipfstat.c", line 1752: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ipfstat.c", line 2043: warning 562: Redeclaration of "fetchstate" with a different storage class specifier: "fetchstate" will have internal linkage.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipfstat.o -o ipfstat -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipftest.c -o ipftest.o
./ipf -cc -nf ../../rules/ip_rules
if [ ! -f ../../ip_rules.h ] ; then \
/bin/mv -f ip_rules.h ../..; \
else \
touch ../../ip_rules.h; \
fi
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../fil.c -o fil_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_state.c -o ip_state_u.o
cc: "../../ip_state.c", line 736: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_state.c", line 1090: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_state.c", line 1091: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_frag.c -o ip_frag_u.o
cc: "../../ip_frag.c", line 266: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 266: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 299: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 299: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 464: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 464: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_nat.c -o ip_nat_u.o
cc: "../../ip_nat.c", line 710: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_nat.c", line 1451: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_nat.c", line 1468: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_fil.c -o ip_fil_u.o
cc: "/usr/include/sys/file.h", line 62: warning 618: Declaration of "uio" not visible outside this function prototype scope.
cc: "../../ip_fil.c", line 450: warning 604: Pointers are not assignment-compatible.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_proxy.c -o ip_proxy_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_sync.c -o ip_sync_u.o
cc: "../../ip_sync.c", line 738: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_sync.c", line 740: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_scan.c -o ip_scan_u.o
cc: "/usr/include/sys/file.h", line 62: warning 618: Declaration of "uio" not visible outside this function prototype scope.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_auth.c -o ip_auth_u.o
cc: "../../ip_auth.c", line 225: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_pool.c -o ip_pool_u.o
cc: "../../ip_pool.c", line 401: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_pool.c", line 533: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ip_rules.c -o ip_rules_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_log.c -o ip_log_u.o
cc: "../../ip_log.c", line 449: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_log.c", line 454: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_log.c", line 456: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_log.c", line 683: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_htable.c -o ip_htable_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_lookup.c -o ip_lookup_u.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipnat_y.c)
yacc -d ipnat_y.y
1 rules never reduced

conflicts: 7 shift/reduce
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.c/ipnat_y.c/' \
-e s/\"ipnat_y.y\"/\"..\\/tools\\/ipnat_y.y\"/ \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ipnat_y.c
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' \
y.tab.h > ../HPUX/B.11.00.9000.800.64/ipnat_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipnat_l.h)
sed -e 's/yy/ipnat_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ipnat_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ipnat_y.c -o ipnat_y.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/sys/stream.h", line 450: warning 2001: Redefinition of macro NOERROR.
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipnat_l.c)
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' \
-e 's/lexer.h/ipnat_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipnat_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ipnat_l.c -o ipnat_l.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ippool_y.c)
yacc -d ippool_y.y
sed -e 's/yy/ippool_yy/g' -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ippool_y.c
sed -e 's/yy/ippool_yy/g' y.tab.h > ../HPUX/B.11.00.9000.800.64/ippool_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ippool_l.h)
sed -e 's/yy/ippool_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ippool_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ippool_y.c -o ippool_y.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ippool_l.c)
sed -e 's/yy/ippool_yy/g' -e 's/y.tab.h/ippool_y.h/' \
-e 's/lexer.h/ippool_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ippool_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ippool_l.c -o ippool_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../bpf_filter.c -o bpf_filter_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../md5.c -o md5_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../radix.c -o radix_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipftest.o fil_u.o ip_state_u.o ip_frag_u.o ip_nat_u.o ip_fil_u.o ip_proxy_u.o ip_sync_u.o ip_scan_u.o ip_auth_u.o ip_pool_u.o ip_rules_u.o ip_log_u.o ip_htable_u.o ip_lookup_u.o ipf_y.o ipf_l.o ipnat_y.o ipnat_l.o ippool_y.o ippool_l.o bpf_filter_u.o md5_u.o radix_u.o -o ipftest -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DLOGFAC=LOG_LOCAL0 -c ../../tools/ipmon.c -o ipmon.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipmon_y.c)
yacc -d ipmon_y.y
sed -e 's/yy/ipmon_yy/g' -e 's/"ipmon_y.y"/"..\/tools\/ipmon_y.y"/' \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ipmon_y.c
sed -e 's/yy/ipmon_yy/g' y.tab.h > ../HPUX/B.11.00.9000.800.64/ipmon_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipmon_l.h)
sed -e 's/yy/ipmon_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ipmon_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ipmon_y.c -o ipmon_y.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipmon_l.c)
sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' \
-e 's/lexer.h/ipmon_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipmon_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ipmon_l.c -o ipmon_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DLOGFAC=LOG_LOCAL0 ipmon.o ipmon_y.o ipmon_l.o -o ipmon -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipnat.c -o ipnat.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/sys/stream.h", line 450: warning 2001: Redefinition of macro NOERROR.
cc: "../../tools/ipnat.c", line 219: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipnat.c", line 219: warning 563: Argument #3 is not the correct type.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -I../.. -D_BSD_SOURCE ipnat.o ipnat_y.o ipnat_l.o -o ipnat -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ippool.c -o ippool.o
cc: "../../tools/ippool.c", line 193: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 193: warning 563: Argument #4 is not the correct type.
cc: "../../tools/ippool.c", line 195: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 195: warning 563: Argument #4 is not the correct type.
cc: "../../tools/ippool.c", line 277: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 277: warning 563: Argument #3 is not the correct type.
cc: "../../tools/ippool.c", line 280: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 280: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ippool.c", line 287: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 287: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ippool.c", line 290: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 290: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ippool.c", line 338: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 338: warning 563: Argument #3 is not the correct type.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I. -I../.. -D_BSD_SOURCE ippool_y.o ippool_l.o ippool.o -o ippool -lnsl -lelf -L. -lipf -ll
ld: Unsatisfied symbol "nlist" in file ippool.o
1 errors.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
----------------------------------------------------


9 REPLIES 9
Dennis Handly
Acclaimed Contributor

Re: install ip_fil4.1.31 & pfil-2.1.13

I'm not sure why you need a 64 bit version of ipfil but you'll need to consult nlist64(3).
You are already linking with -lelf but you'll need to change the function and type to:
int nlist64(const char* file_name, struct nlist64 *nl);
public
Regular Advisor

Re: install ip_fil4.1.31 & pfil-2.1.13

Hi,

I executed "getconf KERNEL_BITS" got 64. That's why cc with +DD64.

I tried to add the following lines into ip_fil4.1.31/tools/ippool.cï¼

#ifdef __hpux
# define nlist nlist64
#endif

then reexecute "make hpux" in ip_fil4.1.31. Failed. Please see the following lines. Do you know what to do to solve the problem? Thank you.


--------------------------------------------------
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipf_l.c)
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \
-e 's/lexer.h/ipf_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipf_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -I../../tools -c ipf_l.c -o ipf_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipf.o ipfcomp.o ipf_y.o ipf_l.o -o ipf -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I/usr/conf/h -c ../../tools/ipfstat.c -o ipfstat.o
cc: "../../tools/ipfstat.c", line 853: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipfstat.c", line 853: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ipfstat.c", line 957: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipfstat.c", line 957: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ipfstat.c", line 1752: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipfstat.c", line 1752: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ipfstat.c", line 2043: warning 562: Redeclaration of "fetchstate" with a different storage class specifier: "fetchstate" will have internal linkage.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipfstat.o -o ipfstat -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipftest.c -o ipftest.o
./ipf -cc -nf ../../rules/ip_rules
if [ ! -f ../../ip_rules.h ] ; then \
/bin/mv -f ip_rules.h ../..; \
else \
touch ../../ip_rules.h; \
fi
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../fil.c -o fil_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_state.c -o ip_state_u.o
cc: "../../ip_state.c", line 736: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_state.c", line 1090: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_state.c", line 1091: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_frag.c -o ip_frag_u.o
cc: "../../ip_frag.c", line 266: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 266: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 299: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 299: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 464: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_frag.c", line 464: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_nat.c -o ip_nat_u.o
cc: "../../ip_nat.c", line 710: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_nat.c", line 1451: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_nat.c", line 1468: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_fil.c -o ip_fil_u.o
cc: "/usr/include/sys/file.h", line 62: warning 618: Declaration of "uio" not visible outside this function prototype scope.
cc: "../../ip_fil.c", line 450: warning 604: Pointers are not assignment-compatible.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_proxy.c -o ip_proxy_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_sync.c -o ip_sync_u.o
cc: "../../ip_sync.c", line 738: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_sync.c", line 740: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_scan.c -o ip_scan_u.o
cc: "/usr/include/sys/file.h", line 62: warning 618: Declaration of "uio" not visible outside this function prototype scope.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_auth.c -o ip_auth_u.o
cc: "../../ip_auth.c", line 225: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_pool.c -o ip_pool_u.o
cc: "../../ip_pool.c", line 401: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_pool.c", line 533: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ip_rules.c -o ip_rules_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_log.c -o ip_log_u.o
cc: "../../ip_log.c", line 449: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_log.c", line 454: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_log.c", line 456: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_log.c", line 683: warning 727: Cast truncates pointer into 32 bit integer.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_htable.c -o ip_htable_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_lookup.c -o ip_lookup_u.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipnat_y.c)
yacc -d ipnat_y.y
1 rules never reduced

conflicts: 7 shift/reduce
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.c/ipnat_y.c/' \
-e s/\"ipnat_y.y\"/\"..\\/tools\\/ipnat_y.y\"/ \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ipnat_y.c
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' \
y.tab.h > ../HPUX/B.11.00.9000.800.64/ipnat_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipnat_l.h)
sed -e 's/yy/ipnat_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ipnat_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ipnat_y.c -o ipnat_y.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/sys/stream.h", line 450: warning 2001: Redefinition of macro NOERROR.
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipnat_l.c)
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' \
-e 's/lexer.h/ipnat_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipnat_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ipnat_l.c -o ipnat_l.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ippool_y.c)
yacc -d ippool_y.y
sed -e 's/yy/ippool_yy/g' -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ippool_y.c
sed -e 's/yy/ippool_yy/g' y.tab.h > ../HPUX/B.11.00.9000.800.64/ippool_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ippool_l.h)
sed -e 's/yy/ippool_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ippool_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ippool_y.c -o ippool_y.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ippool_l.c)
sed -e 's/yy/ippool_yy/g' -e 's/y.tab.h/ippool_y.h/' \
-e 's/lexer.h/ippool_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ippool_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ippool_l.c -o ippool_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../bpf_filter.c -o bpf_filter_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../md5.c -o md5_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../radix.c -o radix_u.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipftest.o fil_u.o ip_state_u.o ip_frag_u.o ip_nat_u.o ip_fil_u.o ip_proxy_u.o ip_sync_u.o ip_scan_u.o ip_auth_u.o ip_pool_u.o ip_rules_u.o ip_log_u.o ip_htable_u.o ip_lookup_u.o ipf_y.o ipf_l.o ipnat_y.o ipnat_l.o ippool_y.o ippool_l.o bpf_filter_u.o md5_u.o radix_u.o -o ipftest -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DLOGFAC=LOG_LOCAL0 -c ../../tools/ipmon.c -o ipmon.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipmon_y.c)
yacc -d ipmon_y.y
sed -e 's/yy/ipmon_yy/g' -e 's/"ipmon_y.y"/"..\/tools\/ipmon_y.y"/' \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ipmon_y.c
sed -e 's/yy/ipmon_yy/g' y.tab.h > ../HPUX/B.11.00.9000.800.64/ipmon_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipmon_l.h)
sed -e 's/yy/ipmon_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ipmon_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ipmon_y.c -o ipmon_y.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipmon_l.c)
sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' \
-e 's/lexer.h/ipmon_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipmon_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ipmon_l.c -o ipmon_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -DLOGFAC=LOG_LOCAL0 ipmon.o ipmon_y.o ipmon_l.o -o ipmon -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipnat.c -o ipnat.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/sys/stream.h", line 450: warning 2001: Redefinition of macro NOERROR.
cc: "../../tools/ipnat.c", line 219: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ipnat.c", line 219: warning 563: Argument #3 is not the correct type.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -I../.. -D_BSD_SOURCE ipnat.o ipnat_y.o ipnat_l.o -o ipnat -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ippool.c -o ippool.o
cc: "../../tools/ippool.c", line 197: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 197: warning 563: Argument #4 is not the correct type.
cc: "../../tools/ippool.c", line 199: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 199: warning 563: Argument #4 is not the correct type.
cc: "../../tools/ippool.c", line 281: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 281: warning 563: Argument #3 is not the correct type.
cc: "../../tools/ippool.c", line 284: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 284: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ippool.c", line 291: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 291: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ippool.c", line 294: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 294: warning 563: Argument #2 is not the correct type.
cc: "../../tools/ippool.c", line 342: warning 604: Pointers are not assignment-compatible.
cc: "../../tools/ippool.c", line 342: warning 563: Argument #3 is not the correct type.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I. -I../.. -D_BSD_SOURCE ippool_y.o ippool_l.o ippool.o -o ippool -lnsl -lelf -L. -lipf -ll
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipfs.c -o ipfs.o
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/arpa/nameser.h", line 94: warning 2028: Found comment inside comment started on line 94.
cpp: "/usr/include/sys/stream.h", line 450: warning 2001: Redefinition of macro NOERROR.
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipfs.o -o ipfs -lnsl -lelf -L. -lipf
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipscan_y.c)
yacc -d ipscan_y.y
sed -e 's/yy/ipscan_yy/g' \
-e 's/"ipscan_y.y"/"..\/tools\/ipscan_y.y"/' \
y.tab.c > ../HPUX/B.11.00.9000.800.64/ipscan_y.c
sed -e 's/yy/ipscan_yy/g' y.tab.h > ../HPUX/B.11.00.9000.800.64/ipscan_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipscan_l.h)
sed -e 's/yy/ipscan_yy/g' lexer.h > ../HPUX/B.11.00.9000.800.64/ipscan_l.h
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ipscan_y.c -o ipscan_y.o
(cd ../../tools; make "DEST=../HPUX/B.11.00.9000.800.64" ../HPUX/B.11.00.9000.800.64/ipscan_l.c)
sed -e 's/yy/ipscan_yy/g' -e 's/y.tab.h/ipscan_y.h/' \
-e 's/lexer.h/ipscan_l.h/' lexer.c > ../HPUX/B.11.00.9000.800.64/ipscan_l.c
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ipscan_l.c -o ipscan_l.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g ipscan_y.o ipscan_l.o -o ipscan -ll -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipsyncm.c -o ipsyncm.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipsyncm.o -o ipsyncm -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipsyncs.c -o ipsyncs.o
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipsyncs.o -o ipsyncs -lnsl -lelf -L. -lipf
cc +DD64 -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -I../.. -DIPFILTER_LKM -DIPFILTER_LOG -D_KERNEL -DIPFILTER_LOOKUP -DIPFILTER_SCAN -Ae +ES1.Xindirect_calls -U__hp9000s700 -D__STDC_EXT__ -D_XPG4_EXTENDED -D_HPUX_SOURCE -D__hp9000s800 -D_KERNEL -DKERNEL +Xidu +ESlit -Wp,-H300000 +Hx0 +R500 -Wl,-a,archive +ESsfc -q +ESssf "-Dspustate_t=u_long" -I/usr/conf/h +O2 \
-c ../../ip_fil_hpux.c -o ip_fil.o
cc: "/usr/include/sys/file.h", line 62: warning 618: Declaration of "uio" not visible outside this function prototype scope.
cc: "../../../pfil/qif.h", line 164: error 1000: Unexpected symbol: "*".
cc: "../../../pfil/qif.h", line 164: error 1506: Parameters allowed in function definition only.
cc: "../../ip_fil_hpux.c", line 166: error 1588: "curproc" undefined.
cc: "../../ip_fil_hpux.c", line 166: error 1532: Reference through a non-pointer.
cc: "../../ip_fil_hpux.c", line 166: warning 563: Argument #5 is not the correct type.
cc: "../../ip_fil_hpux.c", line 166: warning 563: Argument #6 is not the correct type.
cc: "../../ip_fil_hpux.c", line 406: error 1621: Too few arguments for pfil_sendbuf.
cc: "../../ip_fil_hpux.c", line 406: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 406: warning 563: Argument #1 is not the correct type.
cc: "../../ip_fil_hpux.c", line 471: warning 727: Cast truncates pointer into 32 bit integer.
cc: "../../ip_fil_hpux.c", line 774: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 774: warning 563: Argument #2 is not the correct type.
cc: "../../ip_fil_hpux.c", line 795: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 795: warning 563: Argument #2 is not the correct type.
cc: "../../ip_fil_hpux.c", line 809: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 809: warning 563: Argument #2 is not the correct type.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Dennis Handly
Acclaimed Contributor

Re: install ip_fil4.1.31 & pfil-2.1.13

>I executed "getconf KERNEL_BITS" got 64. That's why cc with +DD64.

I doubt that's a good reason to use +DD64, remove it. But you will have to use nlist64.

>I tried to add the following lines
#ifdef __hpux
# define nlist nlist64
#endif

I would suggest you not play macro games but change all occurrences of nlist and struct nlist. But it might work if you define it after you include .
What executable is being passed to nlist(3)? Using quantum tunneling on the kernel or libc isn't supported.

>Do you know what to do to solve the problem?

Not unless you provide what's on those lines.
I would think most warnings would go away if you remove +DD64.

cc: qif.h", line 164: error 1000: Unexpected symbol: "*".
cc: qif.h", line 164: error 1506: Parameters allowed in function definition only.
cc: ip_fil_hpux.c", line 166: error 1588: "curproc" undefined.
cc: ip_fil_hpux.c", line 166: error 1532: Reference through a non-pointer.

I'm not sure what's here?

cc: ip_fil_hpux.c", line 406: error 1621: Too few arguments for pfil_sendbuf.

Or here.
public
Regular Advisor

Re: install ip_fil4.1.31 & pfil-2.1.13

Hi,

I tried to run without +DD64. But still failed.

cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -I. -c ipscan_l.c -o ipscan_l.o
cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g ipscan_y.o ipscan_l.o -o ipscan -ll -lnsl -lelf -L. -lipf
cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipsyncm.c -o ipsyncm.o
cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipsyncm.o -o ipsyncm -lnsl -lelf -L. -lipf
cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX -c ../../tools/ipsyncs.c -o ipsyncs.o
cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -g -I../.. -D_BSD_SOURCE -I../../../pfil/HP-UX ipsyncs.o -o ipsyncs -lnsl -lelf -L. -lipf
cc -DHPUXREV=1100 -I../../../pfil -I/usr/conf -I. -I../.. -DIPFILTER_LKM -DIPFILTER_LOG -D_KERNEL -DIPFILTER_LOOKUP -DIPFILTER_SCAN -Ae +ES1.Xindirect_calls -U__hp9000s700 -D__STDC_EXT__ -D_XPG4_EXTENDED -D_HPUX_SOURCE -D__hp9000s800 -D_KERNEL -DKERNEL +Xidu +ESlit -Wp,-H300000 +Hx0 +R500 -Wl,-a,archive +ESsfc -q +ESssf "-Dspustate_t=u_long" -I/usr/conf/h +O2 \
-c ../../ip_fil_hpux.c -o ip_fil.o
cc: "/usr/include/sys/file.h", line 62: warning 618: Declaration of "uio" not visible outside this function prototype scope.
cc: "../../../pfil/qif.h", line 164: error 1000: Unexpected symbol: "*".
cc: "../../../pfil/qif.h", line 164: error 1506: Parameters allowed in function definition only.
cc: "../../ip_fil_hpux.c", line 166: error 1588: "curproc" undefined.
cc: "../../ip_fil_hpux.c", line 166: error 1532: Reference through a non-pointer.
cc: "../../ip_fil_hpux.c", line 166: warning 563: Argument #5 is not the correct type.
cc: "../../ip_fil_hpux.c", line 166: warning 563: Argument #6 is not the correct type.
cc: "../../ip_fil_hpux.c", line 406: error 1621: Too few arguments for pfil_sendbuf.
cc: "../../ip_fil_hpux.c", line 406: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 406: warning 563: Argument #1 is not the correct type.
cc: "../../ip_fil_hpux.c", line 774: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 774: warning 563: Argument #2 is not the correct type.
cc: "../../ip_fil_hpux.c", line 795: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 795: warning 563: Argument #2 is not the correct type.
cc: "../../ip_fil_hpux.c", line 809: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 809: warning 563: Argument #2 is not the correct type.
cc: "../../ip_fil_hpux.c", line 876: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 876: warning 563: Argument #2 is not the correct type.
cc: "../../ip_fil_hpux.c", line 876: warning 604: Pointers are not assignment-compatible.
cc: "../../ip_fil_hpux.c", line 876: warning 563: Argument #3 is not the correct type.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Dennis Handly
Acclaimed Contributor

Re: install ip_fil4.1.31 & pfil-2.1.13

>I tried to run without +DD64. But still failed.

But you don't have those warnings and you are no worse off. :-)

cc: "../../../pfil/qif.h", line 164: error 1000: Unexpected symbol: "*".
cc: "../../../pfil/qif.h", line 164: error 1506: Parameters allowed in function definition only.
cc: "../../ip_fil_hpux.c", line 166: error 1588: "curproc" undefined.
cc: "../../ip_fil_hpux.c", line 166: error 1532: Reference through a non-pointer.
cc: "../../ip_fil_hpux.c", line 406: error 1621: Too few arguments for pfil_sendbuf.

What are on these lines?
public
Regular Advisor

Re: install ip_fil4.1.31 & pfil-2.1.13

Hi, Thanks for your reply. I realy do not know what to do now. :)

pfil/qif.h:
line 164:
extern void qif_addinject(qifpkt_t *qp);

ip_fil_hpux.c:

line 166:
error = fr_ioctlswitch(unit, data, cmd, flags, curproc->p_uid, c
urproc);

line 406:
i = pfil_sendbuf(m);

line 774:
ATOMIC_INCL(frstats[out].fr_pull[1]);
Dennis Handly
Acclaimed Contributor

Re: install ip_fil4.1.31 & pfil-2.1.13

>I really do not know what to do now. :)
pfil/qif.h: line 164:
extern void qif_addinject(qifpkt_t *qp);

This mans that qifpkt_t isn't defined.
Can you find it in a .h file?

ip_fil_hpux.c: line 166:
error = fr_ioctlswitch(unit, data, cmd, flags, curproc->p_uid, curproc);

Somehow curproc isn't defined??

>line 406:
i = pfil_sendbuf(m);

Is this defined with more than one parm?

line 774:
ATOMIC_INCL(frstats[out].fr_pull[1]);

I would have to know the type of ATOMIC_INCL and fr_pull.
public
Regular Advisor

Re: install ip_fil4.1.31 & pfil-2.1.13

Thanks for your reply.

>>I really do not know what to do now. :)
>>pfil/qif.h: line 164:
>>extern void qif_addinject(qifpkt_t *qp);

>This mans that qifpkt_t isn't defined.
>Can you find it in a .h file?

in pfil/qif.h: line 143~149

typedef struct qifpkt {
struct qifpkt *qp_next;
char qp_ifname[LIFNAMSIZ];
int qp_sap;
mblk_t *qp_mb;
int qp_inout;
} qifpkt_t;


>>ip_fil_hpux.c: line 166:
>>error = fr_ioctlswitch(unit, data, cmd, flags, curproc->p_uid, curproc);

>Somehow curproc isn't defined??

I could not find curproc defined in any *.h.

>>line 406:
>>i = pfil_sendbuf(m);

>>Is this defined with more than one parm?

I could not find pfil_sendbuf definition.

>>line 774:
>>ATOMIC_INCL(frstats[out].fr_pull[1]);

>I would have to know the type of ATOMIC_INCL and fr_pull.

in ip_fil.h:

u_long fr_pull[2]; /* good and bad pullup attempts */

ATOMIC_INCL in ip_compat.h (the attachment file). I really do not know which one is its definition. Please help me. Thanks again.

Dennis Handly
Acclaimed Contributor

Re: install ip_fil4.1.31 & pfil-2.1.13

>in pfil/qif.h: line 143~149
typedef struct qifpkt {

There must be conditional compilation between 143 where this is defined and 164 where it is used.

Can you compile with -E and save stdout so I can see what gets compiled?

>I could not find curproc defined in any *.h.
>I could not find pfil_sendbuf definition.

Look in .c files too.

>in ip_fil.h:
>u_long fr_pull[2]; /* good and bad pullup attempts */
>ATOMIC_INCL in ip_compat.h

There seems to be something in ip_compat.h that should work. It's just a warning so it's not that important. Also the .i file would tell us which one is the definition.