Subject: Re: -current build fails on mac68k...
To: Ben Harris <>
From: Colin Wood <>
List: current-users
Date: 01/17/2001 10:22:13
Ben Harris wrote:
> In article <> you write:
> >i get the following on a -current mac68k build:
> >
> >cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> >-Wpointer-arith -Wno-uninitialized -Wno-main -msoft-float -I.
> >-I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DM68030
> >-D_KERNEL -Dmac68k  -c ../../../../arch/mac68k/mac68k/trap.c
> >../../../../arch/mac68k/mac68k/trap.c: In function `trap':
> >../../../../arch/mac68k/mac68k/trap.c:507: conflicting types for
> >`softclock'
> >../../../../sys/systm.h:241: previous declaration of `softclock'
> >cc1: warnings being treated as errors
> >../../../../arch/mac68k/mac68k/trap.c:507: warning: extern declaration of
> >`softclock' doesn't match global one
> >../../../../arch/mac68k/mac68k/trap.c:510: too many arguments to function
> >`softclock'
> >*** Error code 1
> >From reading the error messages (I can't get at my NetBSD system just now),
> it looks like there's a declaration of softclock() on line 507 of
> sys/arch/mac68k/mac68k/trap.c.  Remove it, and things should cheer up.

i went ahead and fixed the declaration instead.  just wondering, anyone
have an idea why the declaration is there at all?  scott?  allen?