Subject: solaris cross-build fails
To: None <>
From: Andrew Brown <>
List: current-users
Date: 07/24/2003 02:05:41
to start with:

	# uname -a
	SunOS samedi 5.8 Generic sun4m sparc sun4m
	# ls /etc/mk.conf
	/etc/mk.conf: No such file or directory
	# DESTDIR=/netbsd/dest
	# export DESTDIR
	# RELEASEDIR=/netbsd/release
	# export RELEASEDIR
	# TOOLDIR=/netbsd/tools
	# export TOOLDIR
	# cd /netbsd/src
	# cat .updated
	# /bin/ksh ./ -B Solaris -D $DESTDIR -M /netbsd/obj \
		-m sparc -R $RELEASEDIR -r -T $TOOLDIR tools

and it ends (after seventeen minutes of slow compilation on this poor
little sparc-like machine), with this:

	/usr/local/bin/gcc -O  -I. -I./include -I/netbsd/src/tools/compat \
		-D__DBINTERFACE_PRIVATE -c -o gettemp.lo.o \
	/netbsd/src/tools/compat/../../lib/libc/stdio/gettemp.c:62: \
		reentrant.h: No such file or directory

wrapping added by me so that this is readable.  of course.

anyone got any helpful hints?  reentrant.h is clearly in
/netbsd/src/tools/compat/../../lib/libc/stdio, but the compiler is
also clearly not looking there...

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."