[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Network card installation
Alex Hudson wrote:
> > > What hung when?
> >
> > it hung after typeing the following into the command prompt
> > gcc -DMODULE -D__KERNAL__ -I/usr/src/linux/net/inet
> > -Wall -Wstrict -prototypes -O6 -c tulip.c
> > ' [-f /usr/include/linux/modversions.h] && echo -DMODVERSIONS
> >
> >
> > > How far did you get compiling the module?
> >
> > at first i got >
> > after typing it in then i took the ' out and got
>
> No, I see the problem!! You're not typing it correctly, also, you probably
> have the wrong single quotes. Firstly, the single quotes should be forward:
> i.e. `, not '. It makes the different between quoting a string (backward
> quotes) and running a command (forward quotes). To show the example, try:
> echo 'ls -l'
> echo `ls -l`
> .. with the two different quote types.
>
> What you WANT to type in, is this:
>
> gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototype
> s -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] &&
> echo -DMODVERSIONS`
>
> Cut & paste that in, if possible, otherwise copy every letter EXACTLY.
Did that but keep getting
tulip.c:161:pci-scan.h no such file or directory
tulip.c:162:kern_compat.h: No such file or directory
i am using the 2.2.14 kernal
is this a problem?
and tulip.c is the lastest stable version
Sammy
>
>
> Don't bother with the SF download just yet: Get the original working, and
> then play with the upgrades, otherwise you'll likely confuse something..
>
> Hope this helps,
>
> Alex.
>
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word
> "unsubscribe" in the body of the message.
>
> GNU the choice of a complete generation.
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.