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.


Reply via email to