Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 10:19:52 -0600
From:      shawley <sdhawley@eatel.net>
To:        kris@obsecurity.org
Cc:        FreeBSD-questions@freebsd.org
Subject:   Fwd: Re: Fwd: Re: make buildkernel
Message-ID:  <200412271019.52929.sdhawley@eatel.net>

next in thread | raw e-mail | index | archive | help

--Boundary-00=_oYD0BmY+JunJMg2
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

My Bad
In file included from /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/=
 =A0=20
netinet/ip_fil.c:109:

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.h:501:1=
:=20
warning: "PFIL_HOOKS" redefined

<command line>:6:1: warning: this is the location of the previous definition

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In=20
function `fr_forgetifp':

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922:=
=20
error: `ipf_mutex' undeclared (first use in this function)

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922:=
=20
error: (Each undeclared identifier is reported only once

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922:=
=20
error: for each function it appears in.)

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In=20
function `ipfr_fastroute':

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1779:=
=20
error: `ipf_rw' undeclared (first use in this function)

*** Error code 1

(Strange thing, if you reduce the size of the shell konsole it deletes the=
=20
extra commentary? when I ran it full screen it was there! When I minimized =
it=20
it went away & full sizing the screen again wouldn't bring it back?)
=A0=A0=A0=A0=A0=A0=A0=A0In an effort to update ( before I emailed youthe fi=
rst time) I ran=20
cvsup -g=20
=2DL 2 www-supfile. Which worked I then ran make buildworld. Which worked j=
ust=20
fine. I then toyed to run make buildkernel on my custom kernel which failed=
=20
repeatedly untill I got it cleaned up. It then ran to the point of error I=
=20
sent you,(however that's not what I sent you). So I switched to the generic=
=20
kernel suppled with freebsd & got the exact same error message at which poi=
nt=20
I cried for help.=20
=A0=A0=A0=A0=A0=A0=A0=A0All thoughts & Ideas are greatly appreciated stewart
=A0=A0=A0=A0=A0=A0=A0=A0ps I would like to do this on my own any suggestion=
s for tutorial=20
material?
On DecemberMonday 27 =A02004 10:20, you wrote:
> ---------- =A0Forwarded Message =A0----------
>
> Subject: Re: make buildkernel
> Date: Sunday 26 December 2004 06:59 pm
> From: Kris Kennaway <kris@obsecurity.org>
> To: shawley <sdhawley@eatel.net>
> Cc: FreeBSD-questions@freebsd.org
>
> On Sun, Dec 26, 2004 at 05:46:04PM -0600, shawley wrote:
> > If you have the time or inclination I have a failed buildkernel
> > stewart at sdhawey@eatel.net
> > thanks.
> > =A0From buildkernel print out
> > In file included from
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/
> > netinet/ip_fil.c:109:
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.h:5=
01
> >:1
> >
> >: war
> >
> > <command line>:6:1: warning: this is the location of the previous
> > definition
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: =
In
> > functi
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:9=
22
> >: error
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:9=
22
> >: error
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:9=
22
> >: error
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: =
In
> > functi
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1=
77
> >9: erro
>
> That's only the first few characters of each line of the error message.
>
> Errors in kernel builds are almost always the fault of the user though
> (unless you're tracking the head of a branch and the error was checked
> in, but these are usually fixed within an hour or two). =A0Double-check
> that your source tree is complete and up-to-date, and if you continue
> to have problems then go back to the GENERIC kernel, or compare your
> custom kernel for the thing you changed that broke it.
>
> Kris
>

--Boundary-00=_oYD0BmY+JunJMg2
Content-Type: message/rfc822;
  name="forwarded message"
Content-Transfer-Encoding: 7bit
Content-Description: shawley <sdhawley@eatel.net>: Re: Fwd: Re: make
	buildkernel

Return-Path: <sdhawley@eatel.net>
Delivered-To: sdhawley@9
Received: (qmail 8676 invoked by uid 89); 27 Dec 2004 16:52:22 -0000
Received: from unknown (HELO 192.168.0.103) (209.124.251.171)
  by 0 with SMTP; 27 Dec 2004 16:52:22 -0000
From: shawley <sdhawley@eatel.net>
To: sdhawley <sdhawley@eatel.net>
Subject: Re: Fwd: Re: make buildkernel
Date: Mon, 27 Dec 2004 10:01:53 -0600
User-Agent: KMail/1.5.4
References: <200412271020.34104.sdhawley@eatel.net>
In-Reply-To: <200412271020.34104.sdhawley@eatel.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200412271001.53208.sdhawley@eatel.net>
Status: R 
X-Status: N
X-KMail-EncryptionState: 
X-KMail-SignatureState: 


My Bad
In file included from /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/   
netinet/ip_fil.c:109:

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.h:501:1: 
warning: "PFIL_HOOKS" redefined

<command line>:6:1: warning: this is the location of the previous definition

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In 
function `fr_forgetifp':

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922: 
error: `ipf_mutex' undeclared (first use in this function)

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922: 
error: (Each undeclared identifier is reported only once

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922: 
error: for each function it appears in.)

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In 
function `ipfr_fastroute':

/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1779: 
error: `ipf_rw' undeclared (first use in this function)

*** Error code 1

(Strange thing, if you reduce the size of the shell konsole it deletes the 
extra commentary? when I ran it full screen it was there! When I minimized it 
it went away & full sizing the screen again wouldn't bring it back?)
	In an effort to update ( before I emailed youthe first time) I ran cvsup -g 
-L 2 www-supfile. Which worked I then ran make buildworld. Which worked just 
fine. I then toyed to run make buildkernel on my custom kernel which failed 
repeatedly untill I got it cleaned up. It then ran to the point of error I 
sent you,(however that's not what I sent you). So I switched to the generic 
kernel suppled with freebsd & got the exact same error message at which point 
I cried for help. 
	All thoughts & Ideas are greatly appreciated stewart
	ps I would like to do this on my own any suggestions for tutorial material?
On DecemberMonday 27  2004 10:20, you wrote:
> ----------  Forwarded Message  ----------
>
> Subject: Re: make buildkernel
> Date: Sunday 26 December 2004 06:59 pm
> From: Kris Kennaway <kris@obsecurity.org>
> To: shawley <sdhawley@eatel.net>
> Cc: FreeBSD-questions@freebsd.org
>
> On Sun, Dec 26, 2004 at 05:46:04PM -0600, shawley wrote:
> > If you have the time or inclination I have a failed buildkernel
> > stewart at sdhawey@eatel.net
> > thanks.
> >  From buildkernel print out
> > In file included from
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/
> > netinet/ip_fil.c:109:
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.h:501
> >:1
> >
> >: war
> >
> > <command line>:6:1: warning: this is the location of the previous
> > definition
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In
> > functi
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922
> >: error
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922
> >: error
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:922
> >: error
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In
> > functi
> > /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:177
> >9: erro
>
> That's only the first few characters of each line of the error message.
>
> Errors in kernel builds are almost always the fault of the user though
> (unless you're tracking the head of a branch and the error was checked
> in, but these are usually fixed within an hour or two).  Double-check
> that your source tree is complete and up-to-date, and if you continue
> to have problems then go back to the GENERIC kernel, or compare your
> custom kernel for the thing you changed that broke it.
>
> Kris
>
> -------------------------------------------------------



--Boundary-00=_oYD0BmY+JunJMg2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412271019.52929.sdhawley>