From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3BDD6FE5.6060205@eijk.nu> Date: Mon, 29 Oct 2001 23:04:05 +0800 From: Stefan van der Eijk Subject: Re: [CHRPM] kernel-2.4.13-1mdk In-Reply-To: <20011028144853.B00845F313@kenobi.mandrakesoft.com> Hi Juan, I'm trying to get the kernel to compile on the alpha (yet again). Until now I've encountered the following: 2.4.13-1mdk stops compiling: http://cm61-10-20-87.hkcable.com.hk/build/cooker/i586/problem/ksetiwatch-2.2.2-4mdk.src.rpm.txt /usr/bin/gcc -D__KERNEL__ -I/users/cooker/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -c -o ide-disk.o ide-disk.c ide-disk.c: In function `init_idedisk_capacity': ide-disk.c:972: warning: unused variable `set_max_ext' ide-disk.c: At top level: ide-disk.c:833: warning: `idedisk_read_native_max_address_ext' defined but not used ide-disk.c:899: warning: `idedisk_set_max_address_ext' defined but not used /usr/bin/gcc -D__KERNEL__ -I/users/cooker/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -c -o ide-cd.o ide-cd.c rm -f idedriver.o ld -r -o idedriver.o ide-mod.o ide-probe-mod.o ide-disk.o ide-cd.o ide-service.o ld: cannot open ide-service.o: No such file or directory make[3]: *** [idedriver.o] Error 1 make[3]: Leaving directory `/users/cooker/RPM/BUILD/linux/drivers/ide' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/users/cooker/RPM/BUILD/linux/drivers/ide' make[1]: *** [_subdir_ide] Error 2 make[1]: Leaving directory `/users/cooker/RPM/BUILD/linux/drivers' make: *** [_dir_drivers] Error 2 error: Bad exit status from /users/cooker/tmp/rpm-tmp.12544 (%build) I've fixed this by modifying the alpha .config files: # CONFIG_BLK_DEV_SERVICE is not set Now I'm bumping into this: /usr/bin/gcc -D__KERNEL__ -I/users/stefan/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -c -o time.o time.c time.c: In function `validate_cc_value': time.c:213: parse error before `return' make[1]: *** [time.o] Error 1 make[1]: Leaving directory `/users/stefan/RPM/BUILD/linux/arch/alpha/kernel' make: *** [_dir_arch/alpha/kernel] Error 2 error: Bad exit status from /users/stefan/tmp/rpm-tmp.22295 (%build) It's caused by the 2.4.13-ac2 patch. There seems to be an alpha build fix in -ac3. I'll w8 until that one is in the mdk kernel. Stefan