Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 1999 09:36:40 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Richard G. Roberto" <robertor@typhoon.co.jp>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: debug kernel having symbol problems after stripping?
Message-ID:  <19990708093640.K2340@freebie.lemis.com>
In-Reply-To: <99070723491000.01606@myname.my.domain>; from Richard G. Roberto on Wed, Jul 07, 1999 at 11:40:31PM %2B0900
References:  <99070723491000.01606@myname.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday,  7 July 1999 at 23:40:31 +0900, Richard G. Roberto wrote:
> High,
>
> I followed the handbook section on building a debug kernel and
> stripped it with strip -x (the web version of the handbook suggests
> -x, my local version says -d but that option is not available
> according to man).  So far the system runs OK, but vmstat gags saying:
>
> vmstat: undefined symbols:
>  _kmemstatistics _bucket

Correct.  That's what happens if you remove all symbols (-x).

What's the correct option?  I don't know, since you didn't say which
version of FreeBSD you're using.  But in view of the fact that -d
didn't work, it must be an ELF version, in which case the option is
-g.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990708093640.K2340>