Subject: sys/sys/bootblock.h rev 1.25 problem?
To: None <current-users@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: current-users
Date: 04/23/2004 15:35:08
--Signature=_Fri__23_Apr_2004_15_35_08_+0200_q9XeUX/TtnpuN44n
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Now that I fixed the problem with the missing "SYS_statfs" symbol in the
libc, there is another one:
# compile biosboot/boot2.o
cc -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Os -mcpu=i386
-ffreestanding -Werror -I /usr/src/sys/arch/i386/stand/boot/biosboot/.. -I
/usr/src/sys/arch/i386/stand/boot/biosboot/../../lib -I
/usr/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libsa -I
/usr/src/sys/arch/i386/stand/boot/biosboot -nostdinc -D_STANDALONE
-I/usr/src/sys/arch/i386/stand/boot/biosboot/../../../../../ -DSUPPORT_PS2
-DDIRECT_SERIAL -DSUPPORT_SERIAL=boot_params.bp_consdev
-DCONSPEED=boot_params.bp_conspeed -DCONSOLE_KEYMAP=boot_params.bp_keymap
-DSUPPORT_USTARFS -DSUPPORT_DOSFS -DPASS_BIOSGEOM -DPASS_MEMMAP -c
/usr/src/sys/arch/i386/stand/boot/biosboot/../boot2.c In file included from
/usr/src/sys/arch/i386/stand/boot/boot2.c:45:/usr/src/sys/sys/bootblock.h:292:
error: conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:267: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:326: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:292: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:336: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:326: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:352: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:336: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:384: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:352: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:476: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:384: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:693: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:476: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:730: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:693: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:774: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:730: error:
previous declaration of `__packed'/usr/src/sys/sys/bootblock.h:850: error:
conflicting types for `__packed'/usr/src/sys/sys/bootblock.h:774: error:
previous declaration of `__packed'*** Error code 1
/usr/src/sys/sys/bootblock.h:
$NetBSD: bootblock.h,v 1.25 2004/04/23 04:14:41 matt Exp $
Could you please tell me what am I doing wrong?
Thanks.
--
Juan RP <juan@xtraeme.unixbsd.org>
--Signature=_Fri__23_Apr_2004_15_35_08_+0200_q9XeUX/TtnpuN44n
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAiRuMypkLYVDran0RAnIWAJ9bGmzbv0NdvICbezyUOcROXisoCgCgvXeA
qQXX5Mq18A8pefkDL8lv6Gg=
=F9Fh
-----END PGP SIGNATURE-----
--Signature=_Fri__23_Apr_2004_15_35_08_+0200_q9XeUX/TtnpuN44n--