Subject: Re: Ultra1 now fine
To: NetBSD port-sparc64 mailing list <port-sparc64@netbsd.org>
From: Julian Coleman <jdc@coris.demon.co.uk>
List: port-sparc64
Date: 04/24/2002 10:32:13
> What problems do you get if COMPAT_1[02] is left out? (If the kernel build
> breaks, please post the end of the build log with compiler errors; if it
> fails at runtime, please note which syscalls don't work from ktrace(1).)
>
> i just built a small kernel with COMPAT_SUNOS as the only COMPAT_xx
> option and it linked happily. julian, what errors do you see?
Kernel config (oops just noticed COMPAT_43 there too) :
> ULTRAONE:
> options COMPAT_NETBSD32
> options COMPAT_SVR4_32
> ULTRAONE32:
> options COMPAT_43
> options COMPAT_SUNOS
> options COMPAT_SVR4
Build output :
> ld -n -T /usr/src/sys/arch/sparc64/conf/kern.ldscript -Ttext 01000000 -Tdata 01800000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
> sunos32_sysent.o(.data+0x558):/usr/src/sys/compat/sunos32/sunos32_sysent.c: undefined reference to `compat_12_netbsd32_oswapon'
> sunos32_sysent.o(.data+0xa98):/usr/src/sys/compat/sunos32/sunos32_sysent.c: undefined reference to `netbsd32_compat_10_sys_semsys'
> sunos32_sysent.o(.data+0xaa8):/usr/src/sys/compat/sunos32/sunos32_sysent.c: undefined reference to `netbsd32_compat_10_sys_msgsys'
> sunos32_sysent.o(.data+0xab8):/usr/src/sys/compat/sunos32/sunos32_sysent.c: undefined reference to `netbsd32_compat_10_sys_shmsys'
> *** Error code 1
J
--
My other computer also runs NetBSD
http://www.netbsd.org/