PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Suse 8.2 Kernel kompilieren



yalu
22.09.03, 14:57
Hi ich hab ein Suse 8.2 System und kompiliere gerade den Kernel neu. Die einzige Option die ich von der Installation (war ne Minimalinstallation) geändert hab war das ich in der menuconfig den SMP Support aktiviert habe.

folgende Befehle hab ich verwendet (alle unter /usr/src/linux source war der standard kernel-source der auf der 8.2 CD dabei war)


make clean && make mrproper

make dep && make bzImage && make modules && make modules_install

hab ich noch irgendwas vergessen ?

make bzImage funktioniert noch Problemlos. Nur wenn ich make modules eingebe kommen die untengenannten Fehler

hier die ausgabe




gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-l
imit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -D
MODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=ec -c -o ec.o ec.c
ec.c: In function `omnibook_ec_read':
ec.c:76: error: incompatible type for argument 1 of `spin_lock'
ec.c:90: error: incompatible type for argument 1 of `spin_unlock'
ec.c: In function `omnibook_ec_write':
ec.c:109: error: incompatible type for argument 1 of `spin_lock'
ec.c:123: error: incompatible type for argument 1 of `spin_unlock'
ec.c: In function `omnibook_kbc_write_command':
ec.c:177: error: incompatible type for argument 1 of `spin_lock'
ec.c:184: error: incompatible type for argument 1 of `spin_unlock'
ec.c: In function `omnibook_kbc_write_data':
ec.c:197: error: incompatible type for argument 1 of `spin_lock'
ec.c:204: error: incompatible type for argument 1 of `spin_unlock'
ec.c: In function `omnibook_io_read':
ec.c:231: error: incompatible type for argument 1 of `spin_lock'
ec.c:233: error: incompatible type for argument 1 of `spin_unlock'
ec.c: In function `omnibook_io_write':
ec.c:245: error: incompatible type for argument 1 of `spin_lock'
ec.c:247: error: incompatible type for argument 1 of `spin_unlock'
make[3]: *** [ec.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/omnibook'
make[2]: *** [_modsubdir_omnibook] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
make: *** [_mod_drivers] Error 2



mfg Simon

cyneox
23.09.03, 12:23
ich glaub es kann einige funktionen nicht finden oder du hast einige libraries nicht installiert...

aha...haste vorher make config eingegeben???

yalu
23.09.03, 13:20
ich glaub ich hab die lösung. Hab in der Menuconfig neben SMP noch Laptop Support für HP , Omnibook .. aktiviert. habs jetzt mal deaktiviert. Bin aber noch am compilen


mfg Simon

cyneox
23.09.03, 20:33
naja dann wünsche ich dir viel glück ::)