Subject: Re: -current build fails on mac68k...
To: None <cwood@ichips.intel.com,current-users@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: current-users
Date: 01/17/2001 12:40:51
In article <200101170358.TAA90054@pdxcs266.pdx.intel.com> 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
>-DM68020 -DFPU_EMULATE -DLKM -DDIAGNOSTIC -DGRF_COMPAT -DMAXUSERS=16
>-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
>
>Stop.
>
>
>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                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>