Subject: stat13
To: None <current-users@NetBSD.ORG>
From: Patrick Welche <prlw1@cam.ac.uk>
List: current-users
Date: 10/25/1997 20:34:23
I thought I would try upgrading from current of 3 Oct, but I suppose I
got the order wrong. So far

cd etc; make distrib-dirs
cd share/mk; make install
make includes
make cleandir
cd usr.bin/make; make depend; make
and then I get
dir.o: Undefined symbol `___stat13' referenced from text segment
etc.

which leads to 2 questions:
1) What order should I have done the above (the aim was to build make,
config, and reboot with a new kernel)
2) What does __LIBC12_SOURCE__ do for you in /usr/include/sys/stat.h
and should I define it?

#ifdef __LIBC12_SOURCE__
int     lstat __P((const char *, struct stat12 *));
int     __lstat13 __P((const char *, struct stat *));

looks hopeful...

Cheers,

 Patrick