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;

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Jan 30 22:55:58 UTC 2012


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

objcopy --strip-debug if_ixgb.ko
===> ixgbe (all)
clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3
-fno-strict-aliasing -march=native -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=kernel -mno-red-zone -mno-mmx -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-std=iso9899: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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120130/c38c74ce/signature.pgp


More information about the freebsd-current mailing list