Subject: Re: -current build fails on mac68k...
To: None <firstname.lastname@example.org,email@example.com>
From: Ben Harris <firstname.lastname@example.org>
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
>../../../../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 <email@example.com>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>