Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 23:55:48 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   FreeBSD 10-CURRENT/amd64: revision 230789: usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_osdep.h:109:19: error: typedef redefinition with different types ('boolean_t' (aka 'int') vs '_Bool'),typedef boolean_t       bool;,   ^,@/sys/types.h:271:15: note: previous definition is here,typedef _Bool   bool;
Message-ID:  <4F271FF4.9010103@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig69307480CA2193C2ACBDBBE9
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

The follwoing error occurs hwen trying to compile a kernel (make
buildworld works fine):

objcopy --strip-debug if_ixgb.ko
=3D=3D=3D> ixgbe (all)
clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3
-fno-strict-aliasing -march=3Dnative -DSMP -DIXGBE_FDIR -D_KERNEL
-DKLD_MODULE -nostdinc  -I/usr/src/sys/modules/ixgbe/../../dev/ixgbe
-DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/THOR/opt_global.h -I. -I@ -I@/contrib/altq
-fno-common  -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THOR
-mno-aes -mno-avx -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -c
/usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c
In file included from /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c:=
40:
In file included from /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.h:=
96:
In file included from
/usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_api.h:38:
In file included from
/usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_type.h:38:
/usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_osdep.h:109:19: error:
typedef redefinition with different types ('boolean_t' (aka 'int') vs
'_Bool')
typedef boolean_t       bool;
                        ^
@/sys/types.h:271:15: note: previous definition is here
typedef _Bool   bool;
                ^
1 error generated.
*** Error code 1

Stop in /usr/src/sys/modules/ixgbe.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/THOR.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


--------------enig69307480CA2193C2ACBDBBE9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBAgAGBQJPJx/6AAoJEOgBcD7A/5N8OCwH/i/jlTXxB5MNEr83dv7mTvr1
U0ikpflv/bCaKTSu6B4QM8yhxKYTCxTDhTuw7CezAPaWAwE/D8xhol+trvAVcC0w
+YjFRh8KEtZHf1iL8U1M1A3XFsNUhNBu8XGSLLppuQ+LmybLIcu89+HDZ6mR75VQ
2aReJ7Zr9DuTeJDexUYpFs+okrE5DXwckwWZ+90dCSROjZ7DF8hywSkia2KNlpJo
aTh54Are3oIQv86o2aczdAAN9hyNyr9IxyTnDHoMyKb4eidGPbasBaLGfz4P36o8
y4q1fV3AXXKvqIQFuOX6hgA7CQrEuY5tfQMetjMsobHzhRTy+xqyqx9QxX/HXVk=
=6xvb
-----END PGP SIGNATURE-----

--------------enig69307480CA2193C2ACBDBBE9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F271FF4.9010103>