Subject: Re: stat13
To: Patrick Welche <firstname.lastname@example.org>
From: Frank van der Linden <email@example.com>
Date: 10/25/1997 23:27:45
On Sat, Oct 25, 1997 at 08:34:23PM +0100, Patrick Welche wrote:
> 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
First, install a new kernel, making sure you have the COMPAT_12
option present in it. Then, compile a new libc and install it
(normally, this requires make includes and make cleandir to be safe
as well, but you're already done those).
Once you're installed the new libc, you an compile applications
with the new include files.
> 2) What does __LIBC12_SOURCE__ do for you in /usr/include/sys/stat.h
> and should I define it?
That is for internal libc use only, you should never define it. Generally,
symbols with __ should not be defined by the user.