X-6.9 SORTED, DRI Modules error, magic numbers?

brucem128 at comcast.net brucem128 at comcast.net
Thu Jan 19 06:20:57 PST 2006



> -bash-3.00# modprobe drm
> drm: version magic '2.6.14.3-grsec-05 K7 GRSECURITY gcc-3.4'
> should be '2.6.14.3-grsec-05 K7 GRSECURITY gcc-3.3'
> FATAL: Error inserting drm
> (/lib/modules/2.6.14.3-grsec-05/kernel/drivers/char/drm/drm.ko):
> Invalid module format

When you compile kernel modules you need to use the same CC="..." that
you used to build your kernel. If you followed the book for linux then try to
use make CC="gcc -no-pie -fno-stack-protector-all".

Bruce



More information about the hlfs-dev mailing list