From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 16:36:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF5A1065673 for ; Fri, 31 Oct 2008 16:36:19 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56802.mail.re3.yahoo.com (web56802.mail.re3.yahoo.com [66.196.97.76]) by mx1.freebsd.org (Postfix) with SMTP id 040868FC16 for ; Fri, 31 Oct 2008 16:36:18 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 36473 invoked by uid 60001); 31 Oct 2008 16:36:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=ldrM/vrSgZIbo3IlRRd91MRENStZs5dLLErMgvFX/1UEEKUxxW9DN+x4xL8LXSyZ+o2P/mMk1g9B6muQUMpj8xdjo+cm2rR9L/Iq/UTwPxbOiS1MskRqeKZbE3H8mdh7/jx8QpcYoOmMwzTKNb3u5JdjYdn2bcnGmbBQ6EBrwn8=; X-YMail-OSG: fzPMUX8VM1nX3yMEchK3Pev5pVHrg3CeMl5QmEPNRbmSuLFhTWeRXJZBE2tts.K4mqv.8YBQmcxgzBI5mrHwOddhH1H8NyMFrnLotJdGR6CGal08.bqCsBq9w28yWL150dC3F8RH8nzDcUdXwg3DkSvd1Q-- Received: from [71.61.220.126] by web56802.mail.re3.yahoo.com via HTTP; Fri, 31 Oct 2008 09:36:17 PDT X-Mailer: YahooMailWebService/0.7.260.1 Date: Fri, 31 Oct 2008 09:36:17 -0700 (PDT) From: mdh To: freebsd-questions@freebsd.org In-Reply-To: <200810311725.21619.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <256922.36399.qm@web56802.mail.re3.yahoo.com> Subject: Re: Cannot login to root account on FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 16:36:19 -0000 Right - sorry, my bad on that one. But do substitute -ggdb for your -g, as that'll give us GDB-specific debugging symbols. - mdh --- On Fri, 10/31/08, Mel wrote: > > Build it for debugging. cd to the directory > /usr/src/bin/csh, and run the > > following commands: `CFLAGS='-ggdb' make`, > then run `make install`. > > > No, we don't do that. We run: > make DEBUG_FLAGS=-g clean all install > > because: > a) setting CFLAGS omits CFLAGS from the bsd build system > and that's not > advised > b) setting DEBUG_FLAGS disables strip on install (strip > strips the debug > symbols) > > -- > Mel > > Problem with today's modular software: they start with > the modules > and never get to the software part.