This is a discussion on Compile problem within the IPFilter forums, part of the System Security and Security Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C895B0.42EFB51A Content-Type: text/plain; charset="us-ascii&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C895B0.42EFB51A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm trying to build the latest ipfilter on Solaris 9 and get this error: =20 gcc -I. -I../.. -DIPFILTER_LKM -I../../../pfil -D_KERNEL -DSUNDDI -DSOLARIS2=3D9 -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -c .../../ip_fil_solaris.c -o sparcv7/ip_fil.o .../../ip_fil_solaris.c: In function `fr_fastroute': .../../ip_fil_solaris.c:1079: warning: assignment makes pointer from integer without a cast .../../ip_fil_solaris.c:1150: warning: passing arg 1 of `pfil_sendbuf' from incompatible pointer type .../../ip_fil_solaris.c:1150: error: too many arguments to function `pfil_sendbuf' .../../ip_fil_solaris.c: In function `ipf_inject': .../../ip_fil_solaris.c:1240: error: `qifpkt_t' undeclared (first use in this function) .../../ip_fil_solaris.c:1240: error: (Each undeclared identifier is reported only once .../../ip_fil_solaris.c:1240: error: for each function it appears in.) .../../ip_fil_solaris.c:1240: error: `qp' undeclared (first use in this function) *** Error code 1 make: Fatal error: Command failed for target `sparcv7/ip_fil.o' Current working directory /home2/rugenl/ipfilter/ip_fil4.1.28/SunOS5/sparc-5.9 *** Error code 1 make: Fatal error: Command failed for target `sunos5' Current working directory /home2/rugenl/ipfilter/ip_fil4.1.28 *** Error code 1 make: Fatal error: Command failed for target `solaris' =20 =20 Len Rugen Cowboy Logic: If you get bucked off - get back on - but only if the horse is worth riding and the job is worth doing. =20 =20 ------_=_NextPart_001_01C895B0.42EFB51A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Centaur; panose-1:2 3 5 4 5 2 5 2 3 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} ..MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal>I’m trying to build the latest ipfilter on = Solaris 9 and get this error:<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>gcc -I. -I../.. -DIPFILTER_LKM -I../../../pfil = -D_KERNEL -DSUNDDI -DSOLARIS2=3D9 -DIPFILTER_LOG -DIPFILTER_LOOKUP = -DIPFILTER_SCAN -c .../../ip_fil_solaris.c -o sparcv7/ip_fil.o<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c: In function = `fr_fastroute':<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1079: warning: assignment = makes pointer from integer without a cast<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1150: warning: passing arg 1 = of `pfil_sendbuf' from incompatible pointer type<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1150: error: too many = arguments to function `pfil_sendbuf'<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c: In function = `ipf_inject':<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1240: error: `qifpkt_t' = undeclared (first use in this function)<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1240: error: (Each = undeclared identifier is reported only once<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1240: error: for each = function it appears in.)<o:p></o:p></p> <p class=3DMsoNormal>../../ip_fil_solaris.c:1240: error: `qp' undeclared = (first use in this function)<o:p></o:p></p> <p class=3DMsoNormal>*** Error code 1<o:p></o:p></p> <p class=3DMsoNormal>make: Fatal error: Command failed for target = `sparcv7/ip_fil.o'<o:p></o:p></p> <p class=3DMsoNormal>Current working directory /home2/rugenl/ipfilter/ip_fil4.1.28/SunOS5/sparc-5.9<o:p></o:p></p> <p class=3DMsoNormal>*** Error code 1<o:p></o:p></p> <p class=3DMsoNormal>make: Fatal error: Command failed for target = `sunos5'<o:p></o:p></p> <p class=3DMsoNormal>Current working directory /home2/rugenl/ipfilter/ip_fil4.1.28<o:p></o:p></p> <p class=3DMsoNormal>*** Error code 1<o:p></o:p></p> <p class=3DMsoNormal>make: Fatal error: Command failed for target = `solaris'<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Centaur","serif"'><o:p> </o:p= ></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Centaur","serif"'>Len Rugen<br> <br> <o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.5pt;font-family:"Centaur","serif"'>Cowboy Logic:<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.5pt;font-family:"Centaur","serif"'>If you get bucked off - get back on - but only if the horse is worth riding = and the job is worth doing.<o:p></o:p></span></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> </div> </body> </html> ------_=_NextPart_001_01C895B0.42EFB51A-- |