Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gpt fails to compile as tool on amd64



Hi,

with -current source updated some minutes ago:

./build.sh -u -N 1 -U -m amd64 -O /u/NetBSD/arch/amd64/obj -D /u/NetBSD/arch/amd64/dest -R /u/NetBSD/arch/amd64/release -T /u/NetBSD/arch/amd64/TOOLS tools
===> build.sh started:    Fri Oct  3 09:06:01 MEST 2014
===> NetBSD version:      7.99.1
===> MACHINE:             amd64
===> MACHINE_ARCH:        x86_64
===> Build platform:      NetBSD 7.99.1 amd64
===> HOST_SH:             /bin/sh
===> MAKECONF file:       /etc/mk.conf
===> TOOLDIR path:        /u/NetBSD/arch/amd64/TOOLS
===> DESTDIR path:        /u/NetBSD/arch/amd64/dest
===> RELEASEDIR path:     /u/NetBSD/arch/amd64/release
===> Updated makewrapper: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64

...

dependall ===> gpt
    compile  gpt/biosboot.lo
/u/NetBSD/src/tools/gpt/../../sbin/gpt/biosboot.c: In function 'cmd_biosboot':
/u/NetBSD/src/tools/gpt/../../sbin/gpt/biosboot.c:274:22: error: storage size of 'dkw' isn't known
  struct dkwedge_info dkw;
                      ^
In file included from /usr/include/sys/ttycom.h:43:0,
                 from /usr/include/sys/ioctl.h:42,
                 from /u/NetBSD/src/tools/gpt/../../sbin/gpt/biosboot.c:45:
/u/NetBSD/src/tools/gpt/../../sbin/gpt/biosboot.c:326:17: error: invalid application of 'sizeof' to incomplete type 'struct dkwedge_info'
       ioctl(fd, DIOCGWEDGEINFO, &dkw) != -1) {
                 ^

*** Failed target:  biosboot.lo
*** Failed command: cc -O -I/u/NetBSD/src/tools/gpt -I/u/NetBSD/arch/amd64/TOOLS/include -I/u/NetBSD/arch/amd64/TOOLS/include/nbinclude -I/u/NetBSD/arch/amd64/TOOLS/include/compat -I/u/NetBSD/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o biosboot.lo.o /u/NetBSD/src/tools/gpt/../../sbin/gpt/biosboot.c
*** Error code 1

Stop.
nbmake[3]: stopped in /u/NetBSD/src/tools/gpt


Kurt


Home | Main Index | Thread Index | Old Index