Subject: Re: cross-compiling on solaris fails...
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/29/2006 15:44:31
On Tue, Aug 29, 2006 at 12:51:03PM +0000, Christos Zoulas wrote:
> [...]
> Fixed...
Yep! Thanks! ...And now on to the next problem:
#   compile  hexdump/parse.lo
/opt/csw/gcc4/bin/gcc -O -I/u/NetBSD/arch/i386/obj/tools/compat -I/u/NetBSD/arch/i386/obj/tools/compat/include  -I/u/NetBSD/src/tools/hexdump/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  -c -o parse.lo.o    /u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c: In function 'add':
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c:96: warning: assignment makes pointer from integer without a cast
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c:112: warning: assignment makes pointer from integer without a cast
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c:149: warning: assignment makes pointer from integer without a cast
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c: In function 'rewrite':
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c:230: warning: assignment makes pointer from integer without a cast
/u/NetBSD/src/tools/hexdump/../../usr.bin/hexdump/parse.c:395: warning: assignment makes pointer from integer without a cast
mv parse.lo.o parse.lo
nbmake: don't know how to make /usr/lib/libutil.a. Stop

nbmake: stopped in /u/NetBSD/src/tools/hexdump

*** Failed target:  dependall
*** Failed command: cd /u/NetBSD/src/tools/hexdump; /u/NetBSD/arch/i386/TOOLS/bin/nbmake realall
*** Error code 2

Stop.
nbmake: stopped in /u/NetBSD/src/tools/hexdump
===============================================================================

Seems to be the same problem as with crunchgen and a quick find/grep
revals libutil beeing used in the following makefiles, too.

src/usr.bin/config/Makefile
src/sbin/disklabel/Makefile
src/sbin/fdisk/Makefile
src/usr.bin/make/Makefile
src/usr.sbin/pwd_mkdb/Makefile
src/usr.sbin/sunlabel/Makefile

Sorry for having bad news again.

Kurt