I'm trying to compile ipfilter 4.1.3 on a Tru64 5.1A system and I'm
getting an error. I had been successful building ipf40a25 and wanted to
get 4.1.3 going. I'm using the Tru64 c compiler (not gcc) and the system
make.
# uname -a
OSF1 amadeus.ucsf.edu V5.1 1885 alpha
# cc -V
Compaq C V6.4-014 on Compaq Tru64 UNIX V5.1A (Rev. 1885)
Compiler Driver V6.4-215 (sys) cc Driver
The error occurs running "make tru64" - the text leading to the error is:
cc -std1 -msg_disable expandeddefined -g -DTRU64=1885 -DIPFILTER_LKM
-DIPFILTER_LOG -D`uname -m` -D__`uname -m`__ -DINET -DKERNEL -D_KERNEL
-I/usr/include -I`dirname /usr/sys/AMADEUS/mach_assert.h`
-I/usr/sys/include -DLANGUAGE_C -DUERF -DOSF -DMACH -DRT_SEM -DKERNEL
-D_KERNEL -D_BSD -D_USE_KERNEL_PROTOS -compress -MD -no_excpt
-nointrinsics -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -msg_enable
cvtdiftypes,warnimplfunc,macroredef,lvaluecast,uselesstyped -msg_inform
cvtdiftypes,warnimplfunc,macroredef,lvaluecast,uselesstyped -msg_enable
uninit1,falloffend,intrinsicint,outtoomany,outtoofew,questcompare,storclsdcl,tentredef
-msg_warn
uninit1,falloffend,intrinsicint,outtoomany,outtoofew,questcompare,storclsdcl,tentredef
-msg_enable othermember -msg_error othermember -Umips -UMIPS -U__intel__
-D__alpha -D__digital__ -D__arch64__ -DUNIX_LOCKS=1 -I../.. -D_BSD_SOURCE
-DIPFILTER_LOOKUP -DIPFILTER_SCAN -I. -c ../../ip_fil_osf.c -o ip_fil.o
cc: Info: ./radix_ipf_local.h, line 107: The redefinition of the macro
"MKGet" conflicts with a current definition because the number of
parameters is different. The redefinition is now in effect. (macroredef)
#define MKGet(m) {\
---------------^
cc: Info: ./radix_ipf_local.h, line 114: The redefinition of the macro
"MKFree" conflicts with a current definition because the replacement lists
differ. The redefinition is now in effect. (macroredef)
#define MKFree(m) { (m)->rm_mklist = rn_mkfreelist; rn_mkfreelist = (m);}
------------------^
cc: Info: ./radix_ipf_local.h, line 154: The redefinition of the macro
"R_Malloc" conflicts with a current definition because the replacement
lists differ. The redefinition is now in effect. (macroredef)
#define R_Malloc(p, t, n) KMALLOCS(p, t, n)
--------------------------------^
cc: Info: ./radix_ipf_local.h, line 156: The redefinition of the macro
"Free" conflicts with a current definition because the replacement lists
differ. The redefinition is now in effect. (macroredef)
#define Free(p) KFREE(p)
--------------------------------^
cc: Error: ../../ip_fil_osf.c, line 583: In this statement, "ip6_vfc" is
not a member of "ip6". (needmember)
ip6->ip6_vfc = 0x60;
----------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
Thanks for any help,
Dirk