Subject: install/19862: sunlabel doesn't cross build
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-bugs
Date: 01/15/2003 21:38:35
>Number:         19862
>Category:       install
>Synopsis:       sunlabel doesn't cross build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 15 12:39:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lennart Augustsson
>Release:        NetBSD 1.6L
>Organization:
>Environment:
>Description:
	When trying a cross build (on linux to be precise) the sunlabel
	program fails to compile.
>How-To-Repeat:
	cd src
	./build.sh -m pmppc

...
dependall ===> sunlabel
cc -O -DDISTRIB -I/export/home/augustss/NetBSD/src/tools/compat/obj.pmppc -I/export/home/augustss/NetBSD/src/tools/compat/obj.pmppc/include  -I/export/home/augustss/NetBSD/src/tools/sunlabel/../compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -c -o sunlabel.lo.o /export/home/augustss/NetBSD/src/tools/sunlabel/../../usr.sbin/sunlabel/sunlabel.c
/export/home/augustss/NetBSD/src/tools/sunlabel/../../usr.sbin/sunlabel/sunlabel.c:54:27: sys/disklabel.h: No such file or directory

>Fix:
	Well, the cross build setup is a mystery to me. :-)
>Release-Note:
>Audit-Trail:
>Unformatted: