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;

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Mon, 30 Jan 2012 23:55:48 +0100
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_at_ -I_at_/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;
                        ^
_at_/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.


Received on Mon Jan 30 2012 - 21:55:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC