From owner-freebsd-current Fri Oct 31 09:33:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA21881 for current-outgoing; Fri, 31 Oct 1997 09:33:40 -0800 (PST) (envelope-from owner-freebsd-current) Received: from sendero-ppp.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA21873 for ; Fri, 31 Oct 1997 09:33:32 -0800 (PST) (envelope-from shimon@sendero-ppp.i-connect.net) Received: (qmail 15190 invoked by uid 1000); 31 Oct 1997 17:34:02 -0000 Message-ID: X-Mailer: XFMail 1.2-beta-100797 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19971030233846.44353@hydrogen.nike.efn.org> Date: Fri, 31 Oct 1997 09:34:01 -0800 (PST) Organization: Atlas Telecom From: Simon Shapiro To: John-Mark Gurney Subject: Re: More on LINT Kernel Failure to compile Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi John-Mark Gurney; On 31-Oct-97 you wrote: > Simon Shapiro scribbled this message on Oct 30: > > While /usr/src/sys/i386/include/lock.h says: > > > > #if !defined(SIMPLELOCK_DEBUG) && NCPUS > 1 > > /* > > * This set of defines turns on the real functions in > > i386/isa/apic_ipl.s. > > */ > > #define simple_lock_init(alp) s_lock_init(alp) > > #define simple_lock(alp) s_lock(alp) > > #define simple_lock_try(alp) s_lock_try(alp) > > #define simple_unlock(alp) s_unlock(alp) > > > > #endif /* !SIMPLELOCK_DEBUG && NCPUS > 1 */ > > > > So, if we debug simple locks or have only one CPU, what defines these > > symbols? > > I hate to ask you, but could you use grep a bit more?? here is how I > found out where these symbols are defined: ... As usual I completely failed to make my point: Had I had to compile the LINT kernel, I know how to do it. The problem is that I assumed (hate that word :-) that the LINT kernel is sort of standard sanity check for sources and is supposed to compile all by itself, without me ``assisting'' it. As a bystander to this project, when I find failures of this nature, I know of no other course of action than to post a note like I did. > Live in Peace, destroy Micro$oft, support free software, run FreeBSD This I agree with. completely :-) --- If Microsoft Built Cars: Every time they repainted the lines on the road, you'd have to buy a new car. Sincerely Yours, Simon Shapiro Atlas Telecom Senior Architect 14355 SW Allen Blvd., Suite 130 Beaverton OR 97005 Shimon@i-Connect.Net Voice: 503.799.2313