Date: Tue, 04 Apr 2000 22:41:19 -0400 From: "Gary T. Corcoran" <garycor@home.com> To: Mike Smith <msmith@FreeBSD.ORG> Cc: "Gary T. Corcoran" <gcorcoran@lucent.com>, freebsd-hackers@FreeBSD.ORG Subject: Re: Help? Device driver 'make depend' errors from comments Message-ID: <38EAA7CF.2748A088@home.com> References: <200004050153.SAA00561@mass.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote: > Go back to the module if this is for 4.x; I originally asked about making a network driver module for 3.4. I was hoping for either a "here's how you do it" or at least an "it's not possible with 3.4" response... > > Now this is a common codebase for this driver, which compiles fine > > for Windows and Linux, and, as mentioned above, it compiles fine > > (stand-alone) for FreeBSD. So obviously it is syntactically-good > > C code for gcc, so why am I having all these problems? There are > > over 50,000 lines of code, so please don't tell me to go changing > > all the comments and #if lines! Any (other :) suggestions > > would be appreciated... > > Oh joy. It was probably written for MSVC in that case. How did you guess?... ;-) Yes, originally developed for Windows. Ported to Linux (as a module) without many problems; now I'm the "lone wolf" trying to add support for FreeBSD... > You're going to have to compile as a module in order to get different > compiler warning flags; Okay - that's what I needed to know. It looks like I should definitely be targeting 4.x instead of 3.x. :( I'll install 4.0, see if there are any network driver module examples, and get back to you-all if I have any more problems... Thanks, Gary 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?38EAA7CF.2748A088>