Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 18:00:18 -0700 (PDT)
From:      twig les <twigles@yahoo.com>
To:        Dru <dlavigne6@cogeco.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: kernel compilation failure, ack!
Message-ID:  <20020921010018.5178.qmail@web10103.mail.yahoo.com>
In-Reply-To: <20020920204141.D634-100000@dhcp-6-59>

next in thread | previous in thread | raw e-mail | index | archive | help
Well you caught me.  I had a bunch of garbage in my FW
file that I never put there (not intentionally). So I
did a quick cp GENERIC FW, added my lines and redid
the diff.  This is what I got:


L# pwd
/usr/src/sys/i386/conf
L# diff GENERIC FW
251a252,261
> 
> #To enable IPFW with default deny all packets
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_VERBOSE_LIMIT=10
> options         TCP_DROP_SYNFIN         #drop TCP
packets with SYN+FIN
> options         IPFIREWALL_VERBOSE_LIMIT=100   
#limit verbosity
> 
> #device         pcm0 at isa? irq5 drq 1 flags 0x0
> 
L# 


So I gained heart and pushed onward, only to see this
error:

L# cd /usr/src
L# make buildkernel KERNCONF=FW
make: no target to make.
"/usr/src/Makefile.inc1", line 140: warning: "make -f
/dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
CPUTYPE" returned non-zero status

--------------------------------------------------------------
>>> Kernel build for FW started on Fri Sep 20 17:55:43
PDT 2002
--------------------------------------------------------------
===> FW
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 config  -d /usr/obj/usr/src/sys/FW 
/usr/src/sys/i386/conf/FW
/usr/src/sys/i386/conf/FW:256: option
"IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
../../conf/files: coda/coda_fbsd.c must be optional,
mandatory or standard
Your version of config(8) is out of sync with your
kernel source.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
L# 


Now I'm scratching my head trying to figure out how to
update my configure (I tried pkg_version and its not
there).  Sigh.  Thanks for the lead, any additional
help will gain you a smile.



--- Dru <dlavigne6@cogeco.ca> wrote:
> 
> 
> On Fri, 20 Sep 2002, twig les wrote:
> 
> > Hello *, for weeks I haven't been able to cut a
> new
> > kernel, which means I can't add my sound driver
> (pcm0)
> > which means I can't get one more step toward the
> goal
> > of replacing all windows tasks in my life with
> BSD.
> > The error I get is thus:
> >
> > L# make buildkernel KERNCONF=FW
> > make: no target to make.
> > "/usr/src/Makefile.inc1", line 140: warning: "make
> -f
> > /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> > CPUTYPE" returned non-zero status
> >
> >
>
--------------------------------------------------------------
> > >>> Kernel build for FW started on Fri Sep 20
> 16:56:19
> > PDT 2002
> >
>
--------------------------------------------------------------
> > ===> FW
> > mkdir -p /usr/obj/usr/src/sys
> > cd /usr/src/sys/i386/conf;
> >
>
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> >  config  -d /usr/obj/usr/src/sys/FW
> > /usr/src/sys/i386/conf/FW
> > /usr/src/sys/i386/conf/FW:260: option
> > "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to
> 10
> > /usr/src/sys/i386/conf/FW:56: unknown option
> > "ICMP_BANDLIM"
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > L#
> >
> >
> > ================================================
> >
> > Now I just cvs'd the source because I was
> desperate so
> > my new uname -a is:
> >
> > L# uname -a
> > FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
> > 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002
> > root@L.liza.com:/usr/obj/usr/src/sys/FW.safe  i386
> > L#
> >
> >
> > I have no idea why this started happening.  I
> built a
> > custom kernel about 1.5 months ago and it works
> fine.
> > This FW kernel I'm trying to build is simply
> GENERIC
> > with some well-known options added for IPFW, plus
> now
> > I'm adding the pcm0 line.  Regardless, when I try
> to
> > compile GENERIC it fails.  Please help me, I've
> put a
> > ton of time into getting my laptop just where I
> want
> > it...so close to Valhalla...so close....
> 
> 
> Can you send the list the output of:
> 
> cd /usr/src/sys/i386/conf
> diff GENERIC FW
> 
> Dru
> 


=====
-----------------------------------------------------------
Heavy metal made me do it.                        
-----------------------------------------------------------

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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