Subject: Re: netbsd-1-5 build failures
To: None <current-users@netbsd.org>
From: Dwight Tuinstra <tuinstra@clarkson.edu>
List: current-users
Date: 08/21/2000 14:30:39
The advice from Ehara Keijiro and itojun has helped, I'm now able to
do a cvs update successfully.

However, I'm still having problems compiling.  Running just
"make" while in /usr/src gives:

  lint -chapbxzF -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT   
  -I/usr/src/lib/libc/include -DINET6 -D__DBINTERFACE_PRIVATE  
  -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DRESOLVSORT 
  -I. -DPOSIX_MISTAKE -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.

This was one of the problems reported earlier.  James Chacon
suggested updating the share/mk/* files to solve this.  Perhaps
the cvs updating steps (listed below) haven't picked up the
update to this.  If not, what's the right way to do it?

CVS Updating Steps
==================
1.  su
2.  cd /usr/src
3.  make cleandir
4.  cvs update -d -P -r netbsd-1-5 [a-z]*
5.  foreach i ([a-z]*)
      (cd $i; cvs update -d -P -r netbsd-1-5)
    end

[ this still ran into the problems with "don't know how to
  make cleandir", so ... ]

6.  in /usr/share/CVS/Repository, changed 
      "/cvsroot/basesrc/share" to "/cvsroot/sharesrc/share"
    and ran the following from /usr/src:
      cvs update -d -P -r netbsd-1-5

[ this time, the cvs update succeeded. ]


  --Dwight Tuinstra
    tuinstra@clarkson.edu