This is a discussion on Re: Candidate for next ipfilter release within the IPFilter forums, part of the System Security and Security Related category; Darren Reed wrote: > http://coombs.anu.edu.au/~avalon/ip_fil4.1next.tar.gz > > I've compiled and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Darren Reed wrote:
> http://coombs.anu.edu.au/~avalon/ip_fil4.1next.tar.gz > > I've compiled and loaded it on: .... > solaris 9 Compilation in Solaris with Sun cc (at least 5.0 from Workshop 5.0 and 5.4 from Forte 7) fails in ip_fil_solaris.c with: "ip_fil_solaris.c", line 1045: warning: implicit function declaration: ipf_fixl4sum "ip_fil_solaris.c", line 1169: identifier redeclared: ipf_fixl4sum current : function() returning void previous: function() returning int : "ip_fil_solaris.c", line 1045 cc: acomp failed for ip_fil_solaris.c To fix, either place the definition of ipf_fixl4sum() before that of fr_fastroute() or insert a forward declaration like this: *** ip_fil_solaris.c.orig Tue Oct 31 12:13:59 2006 --- ip_fil_solaris.c Wed Nov 1 12:50:39 2006 *************** *** 1035,1040 **** --- 1035,1042 ---- * IP and TCP/UDP */ if (mb->b_datap->db_struioflag) { + void ipf_fixl4sum(); + mb->b_datap->db_struioflag = 0; if (fin->fin_v == 4) { Otherwise, it compiles well in Solaris 7 and 10 (SPARC), too. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|