Subject: Re: Compile failure on libc/gen/__fts13.c
To: SUNAGAWA Keiki <kei_sun@ba2.so-net.or.jp>
From: Erik Bertelsen <erik@sockdev.uni-c.dk>
List: current-users
Date: 11/11/1997 09:32:38
On Tue, 11 Nov 1997, SUNAGAWA Keiki wrote:

.. % cd /current/src/lib/libc
.. % make >& log
.. % cat log
.. cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/current/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT -c /current/src/lib/libc/gen/__fts13.c
.. In file included from /current/src/lib/libc/gen/__fts13.c:52:
.. /usr/include/fts.h:138: syntax error before `__fts_children13'
.. /usr/include/fts.h:139: syntax error before `__fts_close13'
.. /usr/include/fts.h:142: syntax error before `__fts_open13'


.. ==> /sys/sys/cdefs.h <==
.. /*      $NetBSD: cdefs.h,v 1.18.8.4 1997/11/05 00:52:01 thorpej Exp $   */
.. 
.. ==> /sys/arch/mac68k/include/cdefs.h <==
.. /*      $NetBSD: cdefs.h,v 1.2 1996/05/05 06:17:34 briggs Exp $ */
.. 

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

- Erik