Subject: Re: netbsd-1-5 build failures
To: Dwight Tuinstra <tuinstra@clarkson.edu>
From: James Chacon <jchacon@genuity.net>
List: current-users
Date: 08/18/2000 21:19:35
Have you updated the share/mk/* files?

James

>
>When I try to "make build" from /usr/src, I get the following:
>
>   rm -f .depend /usr/src/usr.sbin/ktutil/tags 
>   cleandir ===> share
>   make: don't know how to make cleandir. Stop
>   *** Error code 2
>   
>   Stop.
>   *** Error code 1
>   
>   Stop.
>
>If I try just "make", I get:
>
>   lint -chapbxzF -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS
>-D_REENTRA
>   NT -I/usr/src/lib/libc/include -DINET6 -D__DBINTERFACE_PRIVATE
>-I/usr/src/lib/li
>   bc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DRESOLVSORT -I.
>-DPOSIX_MI
>   STAKE -DPORTMAP -DFLOATING_POINT -i
>/usr/src/lib/libc/locale/setlocale.c
>   /usr/src/lib/libc/locale/setlocale.c(88): redeclaration of
>__mb_cur_max
>   *** Error code 1
>   
>   Stop.
>   *** Error code 1
>   
>   Stop.
>   *** Error code 1
>   
>   Stop.
>
>Sequence leading up to this problem:
>  1. Installed 1.5_ALPHA (from scratch) yesterday
>  2. Checked out netbsd-1-5 yesterday
>  3. Attempted builds of system and kernel: kernel
>       wouldn't boot, "make" stopped with same error
>       as noted above regarding __mb_cur_max.
>  4. OK, maybe I did something out of order on step (3),
>       so, today, did "cvs update" from /usr/src.
>  5. Rebuilt config utility, then GENERIC. It boots & runs.
>  6. "make build" from /usr/src, and the problems appear.
>
>What am I doing wrong?  What do I need to do to fix it?
>
>Other info:
>
>uname -a:
>  NetBSD <myhostname> 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (SLINKY) #1: Fri Aug
>18 09:52:43 PDT 2000    
>me@myhostname:/usr/src/sys/arch/i386/compile/SLINKY i386
>
>gcc --version:
>  egcs-1.1.
>
>
>Thanks,
>
>  --Dwight Tuinstra
>    tuinstra@clarkson.edu
>
>
>
>