Subject: __packed
To: None <>
From: Randall Dow <>
List: current-users
Date: 04/24/2004 14:32:16
Can someone give me a tip?

I installed 1.6.2 starting with floppies, then
got the source to -current via anoncvs
then did "./ tools" and got the following.
The first time I didn't do things in perfect order,
since it is a fresh install, I just started all over
with the floppies, but get the same results.  I presume
that the older 2.95.3 cc is not recognizing the "__packed"
appended to structure definitions. But I don't know
what to do, and don't want to wait for 2.0 Release
to get back to current on this machine.

Randall Dow

/usr/src/tooldir.NetBSD-1.6.2-i386/bin/nbhost-mkdep -d -f .depend -s .lo\ .ln alpha.d amiga.d bbinfo.d ffs.d ffs_bswap.d fstypes.d i386.d installboot.d machines.d macppc.d news.d next68k.d pmax.d sparc.d sparc64.d sum.d sun68k.d vax.d x68k.d
#   compile  installboot/installboot.lo
cc -O -I. -I/usr/src/tools/installboot -I/usr/src/tools/installboot/../mips-elf2ecoff -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include  -I/usr/src/tools/installboot/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE  -I/usr/src/tools/installboot/../../usr.sbin/installboot -I. -c -o installboot.lo.o    /usr/src/tools/installboot/../../usr.sbin/installboot/installboot.c
In file included from /usr/src/tools/installboot/../../usr.sbin/installboot/installboot.h:44,
                 from /usr/src/tools/installboot/../../usr.sbin/installboot/installboot.c:56:
/usr/src/tools/installboot/../../usr.sbin/installboot/../../sys/sys/bootblock.h:293: conflicting types for `__packed'
/usr/src/tools/installboot/../../usr.sbin/installboot/../../sys/sys/bootblock.h:268: previous declaration of `__packed'
/usr/src/tools/installboot/../../usr.sbin/installboot/../../sys/sys/bootblock.h:327: conflicting types for `__packed'
. . .

*** Failed target:  installboot.lo
*** Failed command: cc -O -I. -I/usr/src/tools/installboot -I/usr/src/tools/installboot/../mips-elf2ecoff -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/installboot/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -I/usr/src/tools/installboot/../../usr.sbin/installboot -I. -c -o installboot.lo.o /usr/src/tools/installboot/../../usr.sbin/installboot/installboot.c
*** Error code 1