Subject: Re: -current build fails on mac68k...
To: None <,>
From: Ben Harris <>
List: current-users
Date: 01/17/2001 12:40:51
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
>../../../../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
>*** Error code 1
>i know the changes were made by jason yesterday.  anyone have a fix yet,
>or have i just screwed something up?

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.

Ben Harris                                                   <>
Portmaster, NetBSD/arm26               <URL:>