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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to