compilation of kernel 2.2.4 failed on PowerPC
Hi all,
I recently installed Debian/PowerPC in my PowerMac 8500/120
and it works fine with potato system.
So I tried to run sid also and it works too but I encountered
two problems.
First, Xfree 4.0(xserver-xfree8 4.0.3-3 etc.) seems not to
work correctly. I used fbdev but it displaied something
like in reverse video(?) when I did startx.
(X works fine on potato system)
Next, when I tried to compile kernel 2.2.4 in sid environment,
it failed as
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.4/include -Wall -Wstrict-prototyp\
es -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -m\
soft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DEXPORT_\
SYMTAB -c ppc_ksyms.c
ppc_ksyms.c:335: `down_read_failed' undeclared here (not in a function)
ppc_ksyms.c:335: initializer element is not constant
ppc_ksyms.c:335: (near initialization for `__ksymtab_down_read_failed.value')
ppc_ksyms.c:336: `down_write_failed' undeclared here (not in a function)
ppc_ksyms.c:336: initializer element is not constant
ppc_ksyms.c:336: (near initialization for `__ksymtab_down_write_failed.value')
make[2]: *** [ppc_ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.4/arch/ppc/kernel'
make[1]: *** [_dir_arch/ppc/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.4'
I am afraid these might be already reported but I can not
find the solutions anywhere. Does anyone knows what are
problems and how one can fix problems?
Best Regards, 2001.5.14
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
Department of Math., Tokushima Univ.
Reply to: