1 line not 4 lines
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c tulip.c -o tulip_cb.o`[ -f
/usr/include/linux/modversions.h ] && echo -DMODVERSIONS` -DCARDBUS
Cheers,
System Administration: It's a dirty job,
but someone told me that I had to do it.
-----Original Message-----
From: Dale Kosan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: [expert] please help...
Trying to compile a module for my Linksys pcmcia nic card and keep getting
the following message:
[root@mandrake /root]# gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet
gcc: No input files
[root@mandrake /root]# -Wall -Wstrict-prototypes -O6 -c tulip.c -o
tulip_cb.o
bash: -Wall: command not found
[root@mandrake /root]# `[ -f /usr/include/linux/modversions.h ] &&
echo -DMODVERSIONS`
bash: -DMODVERSIONS: command not found
[root@mandrake /root]# -DCARDBUS
bash: -DCARDBUS: command not found
mandrake /root]# [root@
The command I was given was :
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet
-Wall -Wstrict-prototypes -O6 -c tulip.c -o tulip_cb.o
`[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
-DCARDBUS
Do I need the kernel headers and source to do this? Maybe the command is
"generic" and Mandrake 7.2 uses other locales or commands.Could someone
please help, I would be deeply indebt to you.Thanks in advance.