Subject: errors: build.sh on FreeBSD
To: None <current-users@netbsd.org>
From: David C. Myers <myers@aedifice.net>
List: current-users
Date: 02/24/2004 13:45:54
Has anyone managed to build.sh the netbsd-1-6 branch of CVS from
FreeBSD/i386 recently? This is what I get, immediately after build.sh
cleans and makes directories in the objdir:
In file included from config.h:102,
from /usr/src/NetBSD/src/tools/compat/namespace.h:9,
from
/usr/src/NetBSD/src/tools/compat/../../lib/libc/gen/basename.c:44:
/usr/src/NetBSD/src/tools/compat/compat_defs.h:211: conflicting types
for `user_from_uid'
/usr/include/stdlib.h:184: previous declaration of `user_from_uid'
^^^^^^^^^^^^^^^^^^^^
/usr/src/NetBSD/src/tools/compat/compat_defs.h:215: conflicting types
for `group_from_gid'
/usr/include/stdlib.h:166: previous declaration of `group_from_gid'
^^^^^^^^^^^^^^^^^^^^^
*** Error code 1
Why is build.sh looking at FreeBSD's local copy of stdlib.h?
This was an attempt to build a "-m sparc" netbsd environment from the
FreeBSD host. Freshly checked out tree.
Many thanks.
-David.