Bronson,

What version of PFIL do you use? IPF 4.1.13 needs Pfil 2.1.10 or 2.1.11
for Solaris 10 , and needs PFIL 2.1.11 on Solaris 8.

Andrew


On Tue, 2006-06-27 at 06:30 -0500, J.D. Bronson wrote:
> I need some assistance in troubleshooting this build failure.
> I used NO arguments and did not edit the Makefile. Only issued
> 'make solaris'
> 
> I am using Studio 11 with all current patches.
> I fully removed the stock ipfilter and replacing it with the newer 
> versions. I have done this in other solaris machines and understand 
> the procedure. However at this point with the build failing...I dont 
> know how to fix this.
> 
> 
> 
> ..
> ...
> /opt/SUNWspro/prod/bin/cc -Xa -xildoff -I../.. -DIPFILTER_LKM 
> -I../../../pfil -D_KERNEL -DSUNDDI  -DSOLARIS2=10 -DIPFILTER_LOG 
> -DIPFILTER_LOOKUP -DIPFILTER_SCAN   -c ../../ip_fil_solaris.c -o ip_fil.o
> "../../ip_fil_solaris.c", line 1172: warning: implicit function 
> declaration: qif_illrouteto
> "../../ip_fil_solaris.c", line 1172: warning: improper 
> pointer/integer combination: op "="
> "../../ip_fil_solaris.c", line 1213: warning: argument #1 is 
> incompatible with prototype:
>          prototype: pointer to struct msgb {pointer to struct msgb 
> {..} b_next, pointer to struct msgb {..} b_prev, pointer to struct 
> msgb {..} b_cont, pointer to unsigned char b_rptr, pointer to 
> unsigned char b_wptr, pointer to struct datab {..} b_datap, unsigned 
> char b_band, unsigned char b_ftflag, unsigned short b_flag, pointer 
> to struct queue {..} b_queue} : "../../../pfil/pfil.h", line 88
>          argument : pointer to struct qif {struct mutex {..} qf_lock, 
> struct qifplock {..} qf_ptl, pointer to struct qif {..} qf_next, 
> pointer to struct qif {..} qf_ipmp, pointer to void qf_ill, pointer 
> to struct queue {..} qf_q, pointer to struct queue {..} qf_oq, 
> unsigned long qf_nr, unsigned long qf_nw, unsigned long qf_bad, 
> unsigned long qf_copy, unsigned long qf_copyfail, unsigned long 
> qf_drop, unsigned long qf_notip, unsigned long qf_nodata, unsigned 
> long qf_notdata, unsigned long qf_qifsz, unsigned long qf_hl, 
> unsigned int qf_num, unsigned int qf_ppa, int qf_sap, int qf_bound, 
> int qf_flags, int qf_waitack, int qf_max_frag, array[32] of char 
> qf_name, pointer to char qf_members}
> "../../ip_fil_solaris.c", line 1213: prototype mismatch: 4 args 
> passed, 1 expected
> "../../ip_fil_solaris.c", line 1302: undefined symbol: qifpkt_t
> "../../ip_fil_solaris.c", line 1302: undefined symbol: qp
> "../../ip_fil_solaris.c", line 1304: cannot dereference non-pointer type
> "../../ip_fil_solaris.c", line 1304: warning: improper 
> pointer/integer combination: op "="
> "../../ip_fil_solaris.c", line 1310: undefined struct/union member: qp_mb
> "../../ip_fil_solaris.c", line 1310: left operand of "->" must be 
> pointer to struct/union
> "../../ip_fil_solaris.c", line 1310: warning: improper 
> pointer/integer combination: op "="
> "../../ip_fil_solaris.c", line 1312: undefined struct/union member: qp_sap
> "../../ip_fil_solaris.c", line 1312: left operand of "->" must be 
> pointer to struct/union
> "../../ip_fil_solaris.c", line 1314: undefined struct/union member: qp_sap
> "../../ip_fil_solaris.c", line 1314: left operand of "->" must be 
> pointer to struct/union
> "../../ip_fil_solaris.c", line 1315: undefined struct/union member: qp_inout
> "../../ip_fil_solaris.c", line 1315: left operand of "->" must be 
> pointer to struct/union
> "../../ip_fil_solaris.c", line 1316: undefined struct/union member: qp_ifname
> "../../ip_fil_solaris.c", line 1316: left operand of "->" must be 
> pointer to struct/union
> "../../ip_fil_solaris.c", line 1316: warning: improper 
> pointer/integer combination: arg #1
> "../../ip_fil_solaris.c", line 1317: warning: implicit function 
> declaration: qif_addinject
> cc: acomp failed for ../../ip_fil_solaris.c
> *** Error code 2
> make: Fatal error: Command failed for target `ip_fil.o'
> Current working directory /export/home/junk/test/ip_fil4.1.13/SunOS5/i386-5.10
> *** Error code 1
> make: Fatal error: Command failed for target `sunos5'
> Current working directory /export/home/junk/test/ip_fil4.1.13
> *** Error code 1
> make: Fatal error: Command failed for target `solaris'
> 
> 

Reply via email to