Subject: Re: Build problems with 1.6.1
To: Frederick Bruckman <fredb@immanent.net>
From: Jarkko Teppo <jarkko.teppo@er-grp.com>
List: port-mac68k
Date: 08/20/2003 16:48:14
On Wed, Aug 20, 2003 at 08:19:54AM -0500, Frederick Bruckman wrote:
> On Wed, 20 Aug 2003, Jarkko Teppo wrote:
> 
> Use .../nbmake-mac68k. The "-mac68k" is important. By omitting it,
> what you're actually doing, below, is trying to compile this kernel
> with the native toolchain...
> 

My bad. I can't believe I missed that, sorry for the noise.

Anyway, to continue with my (doomed to failure) alpha cross-build attempts:

/home/src/src_16/src/tools/obj/tools.NetBSD-1.6U-alpha/bin/m68k--netbsdelf-gcc  -pipe -msoft-float -ffreestanding  -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dmac68k -I.  -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68030 -DFPU_EMULATE -DGRF_COMPAT -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT   -c /home/src/src_16/src/sys/arch/mac68k/compile/SE30/../../../../arch/mac68k/dev/mac68k5380.c
cc1: warnings being treated as errors
../../../../arch/mac68k/dev/ncr5380.c:122: warning: `wait_req_true' used but never defined
../../../../arch/mac68k/dev/ncr5380.c:135: warning: `wait_req_false' used but never defined
../../../../arch/mac68k/dev/ncr5380.c:144: warning: `ack_message' used but never defined
../../../../arch/mac68k/dev/ncr5380.c:149: warning: `nack_message' used but never defined
../../../../arch/mac68k/dev/ncr5380.c:155: warning: `finish_req' used but never defined
../../../../arch/mac68k/dev/ncr5380.c:97: warning: `command_size' used but never defined
*** Error code 1

At least wait_req_true is defined in mac68k/dev/ncr5380reg.h but:

bash-2.05# grep include ncr5380.c 
 *      This product includes software developed by Leo Weppelman.
bash-2.05# 

Did I miss something again ?

-- 
jht