Subject: Error compiling 1.4.1 kernel
To: NetBSD/pmax <port-pmax@netbsd.org>
From: Iggy Drougge <optimus@canit.se>
List: port-pmax
Date: 11/02/2001 21:56:00
I tried to make a lighter, 3MAX-specific 1.4.1 kernel on my (surprise) 3MAX.
This is what happened after a while:

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=1024 -DHZ=256 -
DMAXU
SERS=64 -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

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.

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.

--
En ligne avec Thor 2.6a.

Gå med i SUGA, Swedish Usergroup of Amiga!
WWW: http://swedish.usergroup.amiga.tm/
BBS: 08-6582572, telnet sua.ath.cx, port 42512.