Subject: Compiling the kernel
To: NetBSD Mailing List <port-amiga@NetBSD.ORG>
From: Net BSD Support <bsd@blkhole.resun.com>
List: port-amiga
Date: 07/02/1997 11:38:27
Hi, all:

I'm now to the point that I'm trying to generate a custome kernel for my
machine.  I've taken GENERIC and commented out any of the devices that
don't exist on my system.  I've done the 'config' command, gone to the
resulting directory and am trying to do a 'make' in that directory.
Things go well, until the following is tried:

-----
cc  -O2 -Werror -Wall -Wstrict-prototypes -m68020 -msoft-float  -I.
-I../../../../arch -I../../../.. -DTIMEZONE="0x12c" -DDST="1" -DM68030 -DFPCOPROC -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DINET -DFFS -DQUOTA -DMFS -DNFSSERVER -DNFSCLIENT -DADOSFS -DCD9660 
-DMSDOSFS -DFDESC -DFIFO -DKERNFS -DNULLFS -DPROCFS -DUMAPFS -DUNION -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_43 -DCOMPAT_SUNOS -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSYSVSHM -DSYSVMSG -DSYSVSEM -DUCONSOLE -DGENERIC -DLKM -DNKMEMCLUSTERS=256 -DDDB -DDIAGNOSTIC -DKTRACE

 -DMACHINE_NONCONTIG -DGRF_ECS -DGRF_NTSC -DGRF_AGA -D_KERNEL -Dmc68020 -Damiga  -c ../../../../kern/subr_prf.c
cc1: warnings being treated as errors
../../../../kern/subr_prf.c: In function `panic':
../../../../kern/subr_prf.c:117: warning: unknown conversion type character `:' in format
../../../../kern/subr_prf.c:117: warning: too many arguments for format
*** Error code 1

Stop.
-----

I've checked line 117 of 'subr_prf' and sure enough, it has a format that
specifies "... %:".  It appears that it is trying to append a format to an
existing string, so I'm sure that I can make the warning disappear.  My
question is 'Has anybody else seen this, and what did you do about it?'

Thanks,
-- 
  Don Phillips         bsd%blkhole.resun.com@foxtail.com
  Research Unlimited
  Escondido, Calif.    My opinions are just that, and no more.