From owner-freebsd-questions Wed Jul 7 17: 6:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id C7F7714CE0 for ; Wed, 7 Jul 1999 17:06:43 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA10804; Thu, 8 Jul 1999 09:36:41 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA04059; Thu, 8 Jul 1999 09:36:41 +0930 (CST) Date: Thu, 8 Jul 1999 09:36:40 +0930 From: Greg Lehey To: "Richard G. Roberto" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: debug kernel having symbol problems after stripping? Message-ID: <19990708093640.K2340@freebie.lemis.com> References: <99070723491000.01606@myname.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <99070723491000.01606@myname.my.domain>; from Richard G. Roberto on Wed, Jul 07, 1999 at 11:40:31PM +0900 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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