Uttered "Randy.Dunlap" <[EMAIL PROTECTED]>, spake thus: > compile/build is wrong. > a minimum 2.4 kernel build needs at least: > > gcc -c -D__KERNEL__ -DMODULE -O2 -nostdinc proc.c
Don't forget the kernel headers! # gcc -c -D__KERNEL__ -DMODULE -O2 -I/usr/src/linux/include -nostdinc proc.c and, if you have module symbol versioning turned on, you'll need still more!
pgpnSdGN3yMBd.pgp
Description: PGP signature