Subject: Re: cobalt, hpcmips r3 won't build
To: Andy Ruhl <acruhl@gmail.com>
From: Matt Thomas <matt@3am-software.com>
List: port-mips
Date: 03/11/2006 16:33:15
Andy Ruhl wrote:
> Sorry if this is a known issue. I copied port-mips and only the ports
> I actually tried building for.
> 
> I just synched release-3 this morning and tried to build, and this is
> what I get for both cobalt and hpcmips:
> 
> #   compile  GENERIC/pmap.o
> /usr/tools-cobalt-r3/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls
> -msoft-float -ffreestanding -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
> -Dcobalt -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3
> -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
> /usr/src/sys/arch/mips/mips/pmap.c
> /usr/src/sys/arch/mips/mips/pmap.c: In function `pmap_zero_page':
> /usr/src/sys/arch/mips/mips/pmap.c:1593: error: parse error before '<<' token
> /usr/src/sys/arch/mips/mips/pmap.c:1604: error: parse error before '==' token
> /usr/src/sys/arch/mips/mips/pmap.c:1606:9: too many decimal points in number
> /usr/src/sys/arch/mips/mips/pmap.c:1613: error: `bank_' undeclared
> (first use in this function)
> /usr/src/sys/arch/mips/mips/pmap.c:1613: error: (Each undeclared
> identifier is reported only once
> /usr/src/sys/arch/mips/mips/pmap.c:1613: error: for each function it
> appears in.)
> /usr/src/sys/arch/mips/mips/pmap.c:1613: error: `pg_' undeclared
> (first use in this function)
> /usr/src/sys/arch/mips/mips/pmap.c: At top level:
> /usr/src/sys/arch/mips/mips/pmap.c:1613: error: parse error before ')' token
> /usr/src/sys/arch/mips/mips/pmap.c:1620: error: parse error before '(' token
> /usr/src/sys/arch/mips/mips/pmap.c:1621:9: too many decimal points in number
> 
> *** Failed target:  pmap.o
> *** Failed command: echo '# ' "compile GENERIC/pmap.o"; echo
> /usr/tools-cobalt-r3/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls
> -msoft-float -ffreestanding -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
> -Dcobalt -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3
> -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
> /usr/src/sys/arch/mips/mips/pmap.c;
> /usr/tools-cobalt-r3/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls
> -msoft-float -ffreestanding -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
> -Dcobalt -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3
> -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
> /usr/src/sys/arch/mips/mips/pmap.c
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/obj-cobalt-r3/sys/arch/cobalt/compile/GENERIC
> 
> ERROR: Failed to make all in /usr/obj-cobalt-r3/sys/arch/cobalt/compile/GENERIC
> *** BUILD ABORTED ***
> 
> (I am not subscribed to port-mips)
> 
> Any ideas?
> 
> I'm going to try current next, then I'm out for the weekend so I'll
> have to continue Monday.
> 
You had a patched pmap.c which got a conflict when cvs updated it.
I'd remove it and re-update it.

-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.