From owner-freebsd-current@FreeBSD.ORG Mon Apr 2 22:10:09 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E3D106566B for ; Mon, 2 Apr 2012 22:10:09 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from lavash.monkeybrains.net (mail.monkeybrains.net [208.69.40.9]) by mx1.freebsd.org (Postfix) with ESMTP id 60E0B8FC18 for ; Mon, 2 Apr 2012 22:10:09 +0000 (UTC) Received: from [199.83.221.122] (199-83-221-122.PUBLIC.monkeybrains.net [199.83.221.122]) (authenticated bits=0) by lavash.monkeybrains.net (8.14.4/8.14.4) with ESMTP id q32LOak5016707 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 2 Apr 2012 14:24:36 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) Message-ID: <4F7A1913.8040005@monkeybrains.net> Date: Mon, 02 Apr 2012 14:24:35 -0700 From: Rudy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.3 at lavash.monkeybrains.net X-Virus-Status: Clean Subject: ixgbe-2.4.4 compile error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2012 22:10:09 -0000 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