Fwd: Re: Fwd: Re: make buildkernel

From: shawley (sdhawley_at_eatel.net)
Date: 12/27/04

  • Next message: Tom Vilot: "It is a testament ...."
    To: kris@obsecurity.org
    Date: Mon, 27 Dec 2004 10:19:52 -0600
    
    
    

    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
    >

    
    

    attached mail follows:


    To: sdhawley <sdhawley@eatel.net>
    Date: Mon, 27 Dec 2004 10:01:53 -0600
    
    

    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
    >
    > -------------------------------------------------------

    
    

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Tom Vilot: "It is a testament ...."

    Relevant Pages

    • RE: kernel compile error
      ... www.mostly-harmless.nl Dutch community for helping newcomers on the ... Onderwerp: Re: kernel compile error ... the #make buildkernel completed and i wanted to change the GENERIC ... To unsubscribe, ...
      (freebsd-questions)
    • Re: cannot complete buildkernel
      ... the successful make buildkernel was due to a typo: ... Yesterday I tried to eliminate the SCSI drivers as they failed (not ... the temporary kernel and booting from it. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: cannot complete buildkernel
      ... the successful make buildkernel was due to a typo: ... Yesterday I tried to eliminate the SCSI drivers as they failed (not ... added makeoptions NO_MODULES=yes (to MYKERNEL) ... the temporary kernel and booting from it. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: custom kernel, make buildkernel and then?
      ... custom kernel, make buildkernel and then? ... that would explain why you don't see the kernel you built. ... The original of this email was scanned for viruses by Government Secure Intranet virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs. ...
      (freebsd-questions)
    • Re: AMD64 question
      ... > Subject: AMD64 question ... > I mkae a copy of the GENERIC kernel, editing it for what i want and renameing it to GREED ... If you are indeed running "buildkernel" on an amd64 machine, ...
      (freebsd-questions)