NIC driver compiling errors/problems

Donald Becker becker@cesdis.gsfc.nasa.gov
Mon Nov 29 15:12:44 1999


On Sun, 28 Nov 1999, Tim Brobst wrote:

> my nic card. Here is my problems, I have used both compile commands,
> (the one from the bottom of this driver page, and one that Kingston
> forwarded to me via email) the commands are the same except the one from
> 
> Kingston has an added line. From the page:
> "gcc -DMODULE -D_KERNEL_ -Wall -Wstrict-prototypes -O6 -c rtl8139.c
> rtl8139.c:61:warning: #Warning You must compile this file with the
> correct options!
> rtl8139.c:62:warning: #Warning See the last lines of the source file.

That should be "-D__KERNEL__" in the compile line.

> I get the same information lines and errors when I run the command that
> Kingston sent me, except this "gcc" line comes in before all the rest:
> gcc: [ -f /usr/src/linux/modversions.h ] && echo -DMODVERSIONS: no such
> file or directory.
> 
> I have followed all paths and have everything that's is listed in both
> commands, so I don't understand the "no such file or directory" that the
> 
> second command returns. I have noticed that if I try to go into the

You missed the backquotes, "`".

Donald Becker
Scyld Computing Corporation, and
USRA-CESDIS,   becker@cesdis.gsfc.nasa.gov

 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.