From owner-freebsd-hackers Tue Apr 4 17:18:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spirit.jaded.net (spirit.jaded.net [216.94.113.12]) by hub.freebsd.org (Postfix) with ESMTP id D8C7737B945 for ; Tue, 4 Apr 2000 17:18:32 -0700 (PDT) (envelope-from dan@spirit.jaded.net) Received: (from dan@localhost) by spirit.jaded.net (8.9.3/8.9.3) id UAA08325; Tue, 4 Apr 2000 20:19:41 -0400 (EDT) Date: Tue, 4 Apr 2000 20:19:40 -0400 From: Dan Moschuk To: "Gary T. Corcoran" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Help? Device driver 'make depend' errors from comments Message-ID: <20000404201940.A8265@spirit.jaded.net> References: <38EA75BD.EEA71C22@lucent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38EA75BD.EEA71C22@lucent.com>; from gcorcoran@lucent.com on Tue, Apr 04, 2000 at 07:07:41PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG | First, I made up a makefile and got my driver compiling cleanly | standalone in my directory. So the code is known good with respect | to compiling under FreeBSD with gcc. Then I moved the code under | the /sys hierarchy, fixed up my configuration file, and did a 'config' | for my kernel. So far, so good. | | But then when I moved to the compile directory and did a 'make depend', | all heck broke loose. I'm getting hundreds of errors and/or warnings. | Checking the code, it seems to be complaining (or rather getting | confused) about two major things: [ snip. ] When you compile standalone, do you use the same -W options as the kernel does when it compiles? That may account for the millions of warnings you getting when trying to build your driver with the regular kernel build. Cheers, -- Dan Moschuk (TFreak!dan@freebsd.org) "Waste not fresh tears on old griefs." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message