Subject: install/19862: sunlabel doesn't cross build
To: None <>
From: Lennart Augustsson <>
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
>Originator:     Lennart Augustsson
>Release:        NetBSD 1.6L
	When trying a cross build (on linux to be precise) the sunlabel
	program fails to compile.
	cd src
	./ -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

	Well, the cross build setup is a mystery to me. :-)