RE: Compile problem

This is a discussion on RE: 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_01C895B2.16C947D8 Content-Type: text/plain; charset="us-ascii&...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-04-2008
Rugen, Len
 
Posts: n/a
Default RE: Compile problem

This is a multi-part message in MIME format.

------_=_NextPart_001_01C895B2.16C947D8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Someone suggested more info,=20

$ uname -a

SunOS xxxxxxx 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-880

$ gcc --version

gcc (GCC) 3.4.2

=20

=20

From: owner-ipfilter@coombs.anu.edu.au
[mailto:owner-ipfilter@coombs.anu.edu.au] On Behalf Of Rugen, Len
Sent: Thursday, April 03, 2008 12:29 PM
To: ipfilter@coombs.anu.edu.au
Subject: Compile problem

=20

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_01C895B2.16C947D8
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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 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;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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><span style=3D'color:#1F497D'>Someone suggested =
more info, <o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>$ uname =
-a<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>SunOS xxxxxxx 5.9
Generic_122300-12 sun4u sparc SUNW,Sun-Fire-880<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>$ gcc =
--version<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'color:#1F497D'>gcc (GCC) =
3.4.2<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0in 0in 0in'>

<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
owner-ipfilter@coombs.anu.edu.au =
[mailto:owner-ipfilter@coombs.anu.edu.au] <b>On
Behalf Of </b>Rugen, Len<br>
<b>Sent:</b> Thursday, April 03, 2008 12:29 PM<br>
<b>To:</b> ipfilter@coombs.anu.edu.au<br>
<b>Subject:</b> Compile problem<o:p></o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<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>&nbsp;</o:p></p>

<p class=3DMsoNormal>gcc -I. -I../.. -DIPFILTER_LKM -I../../../pfil =
-D_KERNEL
-DSUNDDI&nbsp; -DSOLARIS2=3D9 -DIPFILTER_LOG -DIPFILTER_LOOKUP
-DIPFILTER_SCAN&nbsp;&nbsp; -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>&nbsp;</o:p></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Centaur","serif"'><o:p>&nbsp;</o:p=
></span></p>


<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span =
style=3D'font-size:10.0pt;
font-family:"Centaur","serif"'>Len Rugen<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>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C895B2.16C947D8--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:58 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0