Subject: Re: -current kernel build fails (unofficial patches)c
To: dixie <dixieml@imap.cc>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 08/01/2005 20:35:30
--Signature_Mon__1_Aug_2005_20_35_30_-0400_sRQa9M2Ar/Jhh=bZ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
> I was trying to build a 3.99.7 kernel after having applied the patch=20
> supplied by Michael on December 2004 concerning hw sensors (see=20
> http://mail-index.netbsd.org/port-macppc/2004/12/15/0014.html)
> I've been using that patch since 3.99.5 and all worked fine, now the=20
> build process terminate with some warnings on adt7467.c:
> horus# make
> # compile HORUS/adt7467.o
> cc -mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -O2=20
> -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length=20
> -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type=20
> -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare=20
> -fno-zero-initialized-in-bss -Dmacppc=3Dmacppc -I. -I../../../../arch=20
> -I../../../.. -nostdinc -DDIAGNOSTIC -DZS_CONSOLE_ABORT=20
> -DOFB_ENABLE_CACHE -DMAXUSERS=3D10 -D_KERNEL -D_KERNEL_OPT=20
> -I../../../../dist/ipf -c ../../../../arch/macppc/dev/adt7467.c
> ../../../../arch/macppc/dev/adt7467.c: In function `sysctl_adt7467_temp':
> ../../../../arch/macppc/dev/adt7467.c:202: warning: cast discards=20
> qualifiers from pointer target type
> ../../../../arch/macppc/dev/adt7467.c: In function `adt7467c_setup':
> ../../../../arch/macppc/dev/adt7467.c:255: warning: passing arg 4 of=20
> `sysctl_createv' from incompatible pointer type
> ../../../../arch/macppc/dev/adt7467.c:290: warning: passing arg 4 of=20
> `sysctl_createv' from incompatible pointer type
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/src/sys/arch/macppc/compile/HORUS
Yeah, in the meantime gcc's paranoiac level was considerably increased, I h=
ave updated versions that compile, at least here.=20
I'll upload them to ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/macppc/ i=
n the next few minutes.
have fun
Michael
--Signature_Mon__1_Aug_2005_20_35_30_-0400_sRQa9M2Ar/Jhh=bZ
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQu6/0spnzkX8Yg2nAQJVVgf+JByGe3weuK4nqrfqK5l4NqlSgDZpYsTB
VgW2Zmaha6Xfia/Viwv5+0YS8bYq59Ct53cjFgu9EBy9f1mzpEia1xi1iDMDTZt0
kxNdmwi3kkRMt8qzY9A22gWUMjGv8nEP1CCVh+4N/clX+4Eq8gj6FEBm+6+PAFpQ
ixc6W7zD8+NQsruDtlkF8oRP2pruY66Phpgu6qaleLrdq+ojjCOILo4Jb0ipxR+O
eg4M4ebvRCWss1kld8lIFqVaQ7G79lOQBW40s0n6Vmy3hbrYIRrnbQ3te8Bi18kC
YeVM4Tm7x9YU8txvENGlgRIQTFx3FcWcRW62XtpVPXTQGoiCGlCpVg==
=LI1L
-----END PGP SIGNATURE-----
--Signature_Mon__1_Aug_2005_20_35_30_-0400_sRQa9M2Ar/Jhh=bZ--