[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compilation of kernel 2.2.4 (2.4.4) failed on PowerPC



Regarding the ppc_ksyms.c error: a recent message in the linuxppc list, pointing to
http://lydia.concorde.gr.jp/luke/ , says to just remove those two lines.

-Lucien.

Atsuhito Kohda wrote:

> 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'
>



Reply to: