Fwd: Re: Fwd: Re: make buildkernel

shawley sdhawley at eatel.net
Mon Dec 27 09:10:28 PST 2004


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 at obsecurity.org>
> To: shawley <sdhawley at eatel.net>
> Cc: FreeBSD-questions at 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 at 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
>
-------------- next part --------------
An embedded message was scrubbed...
From: shawley <sdhawley at eatel.net>
Subject: Re: Fwd: Re: make buildkernel
Date: Mon, 27 Dec 2004 10:01:53 -0600
Size: 4881
Url: http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041227/20fcdb3b/attachment.mht


More information about the freebsd-questions mailing list