|
From: Tyler T <ty...@gm...> - 2008-12-31 06:17:12
|
Compiling lirc-0.8.4a on a Via Epia Eden system with an i486
(Slackware 12.2 huge.s) kernel. Uname reports the wrong CPU (i686),
but even after hardcoding lirc's config.guess file
("UNAME_MACHINE=i486") and/or issuing "./configure
--with-driver=mceusb2 --build=i486", the resulting modules still fail
to load with "FATAL: Error inserting lirc_mceusb2
(/lib/modules/2.6.27.7/misc/lirc_mceusb2.ko): Invalid module format".
The syslog shows "kernel: lirc_mceusb2: version magic '2.6.27.7-smp
SMP mod_unload 686 ' should be '2.6.27.7 mod_unload 486 '".
So somewhere lirc thinks I have an multi-processor 686 system, which
is of course not correct (and the Eden CPU cannot run a 686 kernel).
How do you force lirc to compile it's modules for a certain CPU, such as i486?
Thanks,
|