Subject: Re: -current/macppc build error
To: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
From: Michael Lorenz <macallan@netbsd.org>
List: current-users
Date: 09/23/2005 13:52:43
--Signature_Fri__23_Sep_2005_13_52_43_-0400_yE81gfxuF3_tEl4+
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> -current/macppc fails to build due to changes in revision 1.42 of
> sys/arch/macppc/dev/ofb.c.
>=20
> cc -mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -O2 -Wretu=
rn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wm=
issing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcas=
t-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Dmac=
ppc=3Dmacppc -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOS=
TIC -DZS_CONSOLE_ABORT -DMAXUSERS=3D32 -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 nam=
ed `sc_memt'
> ../../../../arch/macppc/dev/ofb.c:151: error: structure has no member nam=
ed `sc_iot'
> ../../../../arch/macppc/dev/ofb.c: In function `ofb_mmap':
> ../../../../arch/macppc/dev/ofb.c:427: warning: implicit declaration of f=
unction `bus_space_mmap'
> ../../../../arch/macppc/dev/ofb.c:427: error: structure has no member nam=
ed `sc_iot'
> ../../../../arch/macppc/dev/ofb.c:435: error: structure has no member nam=
ed `sc_memt'
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/src/sys/arch/macppc/compile/GENERIC
> #

Sorry, forgot to commit one file - updating  src/sys/arch/macppc/dev/ofbvar=
.h=20
should fix this.

have fun
Michael

--Signature_Fri__23_Sep_2005_13_52_43_-0400_yE81gfxuF3_tEl4+
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQzRA8MpnzkX8Yg2nAQIjigf+OMDGYWCEURpPAlnQK65NCs/JaiLjcgjd
+IQUpclqw1xIXR10gz6rIUg+FqL36+ihI154KUeBU9bQTsoyhHJrHpwMlKPt4RB6
e+fGMWXsNFEznZJ/bLBxbCh7PK3c0UGx89Jx0tJtltGs6zRVh/q5wPLYtJuNJFtP
NFmBISsggLsCQh0B8EHqB7MRAGOpRB2S8+DhXTTKu4SuOdSRDk/xI13P3L82eiNE
CS151me3O4S2P0XkECmEe9WXF6Nn3Zd8/Fel9nxPFbRYCuvUZbo9CtwAeh8sZ34o
fEiXcIQD1DAzwlCifX4hMtCe2zkG21pU5J2vBrj5AmoiV9f/yWb+qw==
=Ohpz
-----END PGP SIGNATURE-----

--Signature_Fri__23_Sep_2005_13_52_43_-0400_yE81gfxuF3_tEl4+--