Subject: /usr/src/build.sh failure on port-alpha Redux
To: None <port-alpha@netbsd.org, current-users@netbsd.org>
From: Michael G. Schabert <mikeride@mac.com>
List: current-users
Date: 01/03/2002 03:31:34
Hi guys,
I still can't quite get the compile to go through on my 
AlphaStation200 4/166. Totally empty /etc/mk.conf, the command line 
was:

script
cd /usr/src
./build.sh -O /usr/obj -D /usr/destdir

wait about a day, & then the tail of the script gives:

=====
rm -f alpha &&  ln -s 
/usr/src/sys/arch/alpha/stand/boot/../../../../arch/alpha/
include alpha
/usr/obj/tools/tools.NetBSD-1.5ZA-alpha/bin/alpha--netbsd-gcc 
-DASSEMBLER  -DSE
CONDARY_BOOTBLOCK  -DHEAP_LIMIT="(0x20000000 + 262144)"  -DBOOT_ECOFF 
-DBOOT_ELF
64  -DBOOT_TYPE_NAME='"Secondary"'  -DBOOTXX_RAID1_SUPPORT 
-DLIBSA_SINGLE_DEVIC
E=blkdev  -D"blkdevioctl(x,y,z)=EINVAL" -nostdinc 
-I/usr/obj/sys/arch/alpha/stan
d/boot -D_STANDALONE -I/usr/src/sys/arch/alpha/stand/boot/../../../.. 
-DNETBSD_V
ERS='"1.5ZA"' -I/usr/src/sys/arch/alpha/stand/boot/../.. -nostdinc 
-isystem /usr
/destdir/usr/include  -c -traditional-cpp 
/usr/src/sys/arch/alpha/stand/boot/../
common/start.S
/usr/obj/tools/tools.NetBSD-1.5ZA-alpha/bin/alpha--netbsd-gcc 
-mno-fp-regs -g -O
s  -Werror  -DSECONDARY_BOOTBLOCK  -DHEAP_LIMIT="(0x20000000 + 
262144)"  -DBOOT_
ECOFF -DBOOT_ELF64  -DBOOT_TYPE_NAME='"Secondary"' 
-DBOOTXX_RAID1_SUPPORT  -DLI
BSA_SINGLE_DEVICE=blkdev  -D"blkdevioctl(x,y,z)=EINVAL" -nostdinc 
-I/usr/obj/sys
/arch/alpha/stand/boot -D_STANDALONE 
-I/usr/src/sys/arch/alpha/stand/boot/../../
../.. -DNETBSD_VERS='"1.5ZA"' 
-I/usr/src/sys/arch/alpha/stand/boot/../.. -nostdi
nc -isystem /usr/destdir/usr/include  -c 
/usr/src/sys/arch/alpha/stand/boot/../c
ommon/boot.c
cc1: warnings being treated as errors
/usr/src/sys/arch/alpha/stand/boot/../common/boot.c: In function `main':
/usr/src/sys/arch/alpha/stand/boot/../common/boot.c:85: warning: return type of
`main' is not `int'
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/alpha/stand/boot
*** Error code 1
(other stops deleted)
=====

I'm cvs'ing again as I type this, but if anyone has any sage advice, 
I'm all ears.

Also, is *anyone* using "pmsi" with Xalphanetbsd? Or does anyone have 
a scroll mouse running with Xalphanetbsd? Is this a known limitation 
(or just never been noticed)? Once I can get my entire tree updated, 
I'll try running X with a pmsi-enabled kernel again, but in the 
meantime, I'm stuck with 2 buttons (sux).

Thanks for your time,
Mike
-- 
Bikers don't *DO* taglines.