> -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
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to