Port-amiga archive

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

Re: How to build amigappc kernel and a minimal system to test?



Ruediger Engel wrote:


The recipe did not work:

I did some more engineering and found out, that ~arch/amigappc/conf/Makefile.amigappc seems to be obsolet. I removed it and restarted build.sh. Now it gets trapped way into the build-process when it comes to compiling machdep.c:

#   compile  NULL/machdep.o
/usr/src/../tools/bin/powerpc--netbsd-gcc -msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Damigappc=amigappc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DPPC604E -DPPC603E -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/amigappc/amigappc/machdep.c /usr/src/sys/arch/amigappc/amigappc/machdep.c:69: error: parse error before '->' token /usr/src/sys/arch/amigappc/amigappc/machdep.c:70: error: parse error before '->' token /usr/src/sys/arch/amigappc/amigappc/machdep.c:101: warning: function declaration isn't a prototype
/usr/src/sys/arch/amigappc/amigappc/machdep.c: In function `initppc':
/usr/src/sys/arch/amigappc/amigappc/machdep.c:104: warning: type defaults to `int' in declaration of`adamint'

[... followed by dozens of other warnings. And finally:]

/usr/src/sys/arch/amigappc/amigappc/machdep.c:775: warning: function declaration isn't a prototype /usr/src/sys/arch/amigappc/amigappc/machdep.c:785: error: conflicting types for `kvtop'
powerpc/cpu.h:294: error: previous declaration of `kvtop'
/usr/src/sys/arch/amigappc/amigappc/machdep.c:561: warning: `si_callbacks' defined but not used

*** Failed target:  machdep.o
*** Failed command: echo '# ' "compile NULL/machdep.o"; echo /usr/src/../tools/bin/powerpc--netbsd-gcc -msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Damigappc=amigappc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DPPC604E -DPPC603E-DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/amigappc/amigappc/machdep.c; /usr/src/../tools/bin/powerpc--netbsd-gcc -msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Damigappc=amigappc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DPPC604E -DPPC603E -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/amigappc/amigappc/machdep.c
*** Error code 1

Stop.
nbmake: stopped in /usr/oap/sys/arch/amigappc/compile/NULL

Is there light at the end of the tunnel or am I trapped in yet more darkness? ;-)

Regards
Ruediger






Home | Main Index | Thread Index | Old Index