Subject: Re: Build problems with 1.6.1
To: Jarkko Teppo <jarkko.teppo@er-grp.com>
From: Frederick Bruckman <fredb@immanent.net>
List: port-mac68k
Date: 08/20/2003 10:07:39
On Wed, 20 Aug 2003, Jarkko Teppo wrote:

> 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#

Those are all inlined functions in ncr5380.c,v1.47, so either
your sources are corrupt, or there's something really wrong with
the alpha-built cross toolchain.

For what it's worth, I build current-mac68k from a 1.6.1/i386 host
from time to time, and the 1.6.1 release was probably built on an i386
host, so the i386 host would seem to have the best chance of succeeding.

Frederick