Subject: Solved (Re: Compile failure on libc/gen/__fts13.c)
To: Erik Bertelsen <erik@sockdev.uni-c.dk>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.or.jp>
List: netbsd-bugs
Date: 11/12/1997 01:55:09
Hi,

Erik Bertelsen <erik@sockdev.uni-c.dk> wrote:

Erik> When compiling the libraries, the header files in
Erik> /usr/include are use, so please check that
Erik> /usr/include/sys/cdefs.h is the same as
Erik> /sys/sys/cdefs.h, and also check that
Erik> /usr/include/machine/cdefs.h matches
Erik> /sys/arch/mac68k/cdefs.h and that
Erik> /usr/include/m68k/cdefs.h matches
Erik> /sys/arch/m68k/cdefs.h (the latter has been updated a
Erik> few days ago).

Duh!  I forgat to make includes in /sys.

# cd /sys
# make includes
copies: dev isofs net netatalk netinet netccitt netiso netns netnatm nfs miscfs sys ufs vm
pax -rw -pa -L  `find dev isofs net netatalk netinet netccitt netiso netns netnatm nfs miscfs  sys ufs vm -follow -type f -name '*.h' '!' -path  'netiso/xebec/*' -print` /usr/include
rm -rf /usr/include/machine
install -d -o bin -g bin -m 755  /usr/include/machine
pax -rw -pa -s "|arch/mac68k/include||"  arch/mac68k/include/*.h  /usr/include/machine
rm -rf /usr/include/m68k
if test mac68k != m68k -a  -d arch/m68k/include; then  install -d -o bin -g bin -m 755  /usr/include/m68k;  pax -rw -pa -s "|arch/m68k/include||"  arch/m68k/include/*.h  /usr/include/m68k;  else  ln -s machine /usr/include/m68k;  fi
===> arch/mac68k
===> lkm
===> lkm/compat
===> lkm/netinet
===> lkm/netinet/if_ipl
===> lkm/vfs
===> lkm/vfs/isofs
===> lkm/vfs/isofs/cd9660
===> lkm/vfs/miscfs
===> lkm/vfs/miscfs/fdesc
===> lkm/vfs/miscfs/kernfs
===> lkm/vfs/miscfs/nullfs
===> lkm/vfs/miscfs/portal
===> lkm/vfs/miscfs/procfs
===> lkm/vfs/miscfs/umapfs
===> lkm/vfs/msdosfs
===> lkm/vfs/ufs
===> lkm/vfs/ufs/mfs
installing errno.h fcntl.h md5.h poll.h syslog.h termios.h
installing float.h frame.h stdarg.h varargs.h

Then I can compile libc again!  It's going now without any
problem.

Many thanks to all your help!

--
SUNAGAWA Keiki <kei_sun@ba2.so-net.or.jp>