On Thu, Aug 30, 2001 at 12:07:02AM -0400, Michael P. Soulier wrote:
>
> "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet
> -Wall -Wstrict-prototypes -O6 -c tulip.c
> '[ -f /usr/include/linux/modversions.h ] && echo
> -DMODVERSIONS`"
Note btw that the quotes around the last part are backticks.
`[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
In other words, if /usr/include/linux/modversions.h exists, then add
-DMODVERSIONS to the compile command. You can drop that part by just checking
to see if it exists by yourself and adding it if it's there.
Mike
--
Michael P. Soulier <michael.soulier@home.com>
"Pretty soon, massive bloat is the industry standard and everyone is using
huge, buggy programs not even their developers can love."
-Eric S. Raymond, The Art of Unix Programming
Attachment:
pgpZzOWlCkfes.pgp
Description: PGP signature