I used the 9.0-RELEASE memstick to install, did a cvsup to STABLE...

When I downloaded Intel's (Jack's) ixgbe driver, I got an error:

Warning: Object directory not changed from original /usr/local/src/ixgbe-2.4.4/src
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
:> opt_bdg.h
cc -O2 -pipe -DSMP -DIXGBE_FDIR -DINET -DINET6 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -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 -c ixgbe.c
In file included from ixgbe_type.h:38,
                 from ixgbe_api.h:38,
                 from ixgbe.h:96,
                 from ixgbe.c:40:
ixgbe_osdep.h:104: error: conflicting types for 'bool'
@/sys/types.h:271: error: previous declaration of 'bool' was here
*** Error code 1

Stop in /usr/local/src/ixgbe-2.4.4/src.



This patch fixed the 'conflict'.
> diff -u @/sys/types.h.orig  @/sys/types.h
--- @/sys/types.h.orig    2012-04-02 14:18:26.000000000 -0700
+++ @/sys/types.h    2012-04-02 14:20:19.000000000 -0700
@@ -268,7 +268,7 @@
#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 && !defined(__INTEL_COMPILER)
 typedef    int    _Bool;
 #endif
-typedef    _Bool    bool;
+// typedef    _Bool    bool;
 #endif /* !__bool_true_false_are_defined && !__cplusplus */


Any advice...
FreeBSD guava 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Mar 30 23:19:22 PDT 2012 root@guava:/usr/obj/usr/src/sys/GUAVA amd64

Rudy
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to