Date: Tue, 4 Apr 2000 20:19:40 -0400 From: Dan Moschuk <dan@FreeBSD.ORG> To: "Gary T. Corcoran" <gcorcoran@lucent.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Help? Device driver 'make depend' errors from comments Message-ID: <20000404201940.A8265@spirit.jaded.net> In-Reply-To: <38EA75BD.EEA71C22@lucent.com>; from gcorcoran@lucent.com on Tue, Apr 04, 2000 at 07:07:41PM -0400 References: <38EA75BD.EEA71C22@lucent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
| 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000404201940.A8265>