Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 07:16:47 -0800 (PST)
From:      Rob <spamrefuse@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Swapfile problem in 6?
Message-ID:  <20051115151647.29549.qmail@web36210.mail.mud.yahoo.com>
In-Reply-To: <20051115103821.GJ39882@cirb503493.alcatel.com.au>

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


--- Peter Jeremy <PeterJeremy@optushome.com.au> wrote:

> On Tue, 2005-Nov-15 02:08:12 -0800, Rob wrote:
> > makeoptions DEBUG=-g
> > options INVARIANTS
> > options WITNESS
> > options WITNESS_KDB
> > options KDB
> > options DDB
> > options DDB_NUMSYM
> > options GDB
> >
> >Is that enough?
> 
> If your system is headless, you probably want
> 'options BREAK_TO_DEBUGGER' as well.

If I merge all these options into the GENERIC kernel
config file, the kernel compilation ends with error:

$ make buildkernel KERNCONF=DEBUGKERNEL
[...snip...]
cc -c -O -pipe ... /usr/src/sys/dev/ata/atapi-cd.c
/usr/src/sys/dev/ata/atapi-cd.c: In function
`acd_geom_attach':
/usr/src/sys/dev/ata/atapi-cd.c:181: warning: implicit
declaration of function `_sx_assert'
/usr/src/sys/dev/ata/atapi-cd.c:181: warning: nested
extern declaration of `_sx_assert'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

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

Stop in /usr/src.

--------------
In /etc/make.conf, I have:

CFLAGS= -O -pipe
NO_PROFILE=true
NO_PF=true
RUBY_VER=1.8
PERL_VER=5.8.7
PERL_VERSION=5.8.7


Hence, so far no luck with building a debug
kernel with 6. Any ideas what's wrong here?

Thanks,
Rob.



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



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