Port-powerpc archive

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

ppcoea-renovation kernel for macppc does not compile with options MULTIPROCESSOR



I tried to switch a G4 machine running -current to the ppcoea-renovation branch.

This machine has options MULTIPROCESSOR although the second CPU does
not get initialized.

Building the kernel fails in a couple of places:

make -k
making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.a' is up to date.
    compile  ALFAST/cpu.o
cc1: warnings being treated as errors
../../../../arch/macppc/macppc/cpu.c: In function 'cpu_hatch':
../../../../arch/macppc/macppc/cpu.c:442: warning: implicit
declaration of function 'openpic_set_priority'
*** Error code 1 (continuing)


This is in the cpu_hatch function, and I don't have a specific cure here as
there are two copies of openpic_set_priority, one in
powerpc/pic/pic_openpic.c which is declared static and one in
powepc/powerpc/openpic.c.


    compile  ALFAST/intr.o
cc1: warnings being treated as errors
../../../../arch/powerpc/pic/intr.c: In function 'pic_handle_intr':
../../../../arch/powerpc/pic/intr.c:591: warning: declaration of
'realirq' shadows a previous local
../../../../arch/powerpc/pic/intr.c:578: warning: shadowed declaration is here
../../../../arch/powerpc/pic/intr.c:593: error: invalid type argument of '->'
../../../../arch/powerpc/pic/intr.c:594: error: 'IPI_VECTOR'
undeclared (first use in this function)
../../../../arch/powerpc/pic/intr.c:594: error: (Each undeclared
identifier is reported only once
../../../../arch/powerpc/pic/intr.c:594: error: for each function it
appears in.)
../../../../arch/powerpc/pic/intr.c:596: warning: implicit declaration
of function 'cpuintr'
*** Error code 1 (continuing)


    compile  ALFAST/pic_openpic.o
../../../../arch/powerpc/pic/pic_openpic.c: In function 'setup_openpic':
../../../../arch/powerpc/pic/pic_openpic.c:132: error: 'IPI_VECTOR'
undeclared (first use in this function)
../../../../arch/powerpc/pic/pic_openpic.c:132: error: (Each
undeclared identifier is reported only once
../../../../arch/powerpc/pic/pic_openpic.c:132: error: for each
function it appears in.)
*** Error code 1 (continuing)
`all' not remade because of errors.

As I really don't know whether MULTIPROCESSOR is supposed to work on
this branch, I just want to give test result back to the developers.

regards
- Erik



Home | Main Index | Thread Index | Old Index