[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with netgear card



On Sat, May 19, 2001 at 03:19:07PM -0000, Brian Schramm wrote:
> gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c natsemi.c 
> from the bottom of the natsemi.c file.  My file placement is standard for the
> kernel.  I have a link to the 2.2.19 source directory by the name of linux.  I
> have the drivers stored in the /usr/src/module directory.  

Try adding -I/usr/src/linux/include to the command line.  Something like
this should do it:
gcc -DMODULE -Wall -Wstrict-prototypes -I/usr/src/linux/include \
   -O6 -c natsemi.c

Keep that all on one line.  If modversion.s is there then this will tell
the compiler where to get it.

noah

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgpat4ACG9_td.pgp
Description: PGP signature


Reply to: