Subject: -current/macppc build error
To: None <current-users@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 09/24/2005 02:46:59
Hello,

-current/macppc fails to build due to changes in revision 1.42 of
sys/arch/macppc/dev/ofb.c.

cc -mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Dmacppc=macppc -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I../../../../dist/ipf -c ../../../../arch/macppc/dev/ofb.c
../../../../arch/macppc/dev/ofb.c: In function `ofbattach':
../../../../arch/macppc/dev/ofb.c:150: error: structure has no member named `sc_memt'
../../../../arch/macppc/dev/ofb.c:151: error: structure has no member named `sc_iot'
../../../../arch/macppc/dev/ofb.c: In function `ofb_mmap':
../../../../arch/macppc/dev/ofb.c:427: warning: implicit declaration of function `bus_space_mmap'
../../../../arch/macppc/dev/ofb.c:427: error: structure has no member named `sc_iot'
../../../../arch/macppc/dev/ofb.c:435: error: structure has no member named `sc_memt'
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/macppc/compile/GENERIC
#

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp