Subject: RE: Error compiling 1.4.1 kernel
To: Collin Baillie <sanac@optushome.com.au>
From: One Without Reason <vance@ikickass.org>
List: port-pmax
Date: 11/03/2001 22:09:50
Or, you could find the offending variable declaration and remove that, and
submit a patch.

Peace...  Sridhar

On Sun, 4 Nov 2001, Collin Baillie wrote:

> Aye,
>=20
> I'd say that it's nothing missing. If you look at the error messages, you=
're
> getting a warning. There's a variable called 'cp' that is defined but nev=
er
> used (ie wasting stack (?) space...) and there's a line saying cc has bee=
n
> told to treat warnings as errors (and halt the compile process) I'd say i=
t's
> the -Werror option, but don't quote me.. try removing it or read man cc j=
ust
> to see, and it should not stop on warnings, but errors will. If there's j=
ust
> warnings though, it should compile.
>=20
> Collin
>=20
> -----Original Message-----
> From: port-pmax-owner@netbsd.org [mailto:port-pmax-owner@netbsd.org]On
> Behalf Of Iggy Drougge
> Sent: Saturday, 3 November 2001 07:00
> To: NetBSD/pmax
> Subject: Error compiling 1.4.1 kernel
>=20
>=20
> I tried to make a lighter, 3MAX-specific 1.4.1 kernel on my (surprise) 3M=
AX.
> This is what happened after a while:
>=20
> cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes  -Wno-
> uninitializ
> ed -Wpointer-arith -Wno-main -G 0  -mno-abicalls -mno-half-pic -I. -
> I../../../..
> /arch -I../../../.. -nostdinc -DMIPS1 -DLKM -DNKMEMCLUSTERS=3D1024 -DHZ=
=3D256 -
> DMAXU
> SERS=3D64 -D_KERNEL -Dpmax  -c ../../../../arch/pmax/dev/dc.c
> cc1: warnings being treated as errors
> ../../../../arch/pmax/dev/dc.c: In function `dcrint':
> ../../../../arch/pmax/dev/dc.c:754: warning: unused variable `cp'
> *** Error code 1
>=20
> What could be missing? I downloaded the 1.4.1 version of syssrc, and have
> not
> removed any files from /usr/src as of yet.
>=20
> I first made my own kernel config, based on GENERIC, then did a config on
> it,
> then make depend, and it was during the main make that it failed.
>=20
> --
> En ligne avec Thor 2.6a.
>=20
> G=E5 med i SUGA, Swedish Usergroup of Amiga!
> WWW: http://swedish.usergroup.amiga.tm/
> BBS: 08-6582572, telnet sua.ath.cx, port 42512.
>=20
>=20