[ale] Netgear FA311?

Joseph A. Knapka jknapka at earthlink.net
Tue Dec 12 18:48:02 EST 2000


"Dunlap, Randy" wrote:
> 
> You also need to use "-O2" (optimization level 2)
> for kernel/module builds.
> 
> This is all documented.
> 
> ~Randy
> _______________________________________________
> |randy.dunlap_at_intel.com        503-677-5408|
> |NOTE: Any views presented here are mine alone|
> |& may not represent the views of my employer.|
> -----------------------------------------------
> 
> > From: Joseph A. Knapka [mailto:jknapka at earthlink.net]
> >
> > You probably need to add at least -DMODULE and -D__KERNEL__ to the
> > gcc command line. There should be a README on the disk that
> > tells you exactly how to build the driver.

Not to mention "-c".

See what happens with:

gcc -c -o fa311.o -DMODULE -D__KERNEL__ -I/usr/src/linux/include fa311.c

-- Joe Knapka
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list