From owner-freebsd-current@FreeBSD.ORG Tue May 27 09:39:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2779237B401 for ; Tue, 27 May 2003 09:39:00 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C84643F75 for ; Tue, 27 May 2003 09:38:59 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.9/8.12.9) with ESMTP id h4RGcx7v004091; Tue, 27 May 2003 09:38:59 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.9/8.12.9/Submit) id h4RGcwAZ004090; Tue, 27 May 2003 09:38:58 -0700 (PDT) Date: Tue, 27 May 2003 09:38:58 -0700 (PDT) From: David Wolfskill Message-Id: <200305271638.h4RGcwAZ004090@bunrab.catwhisker.org> To: freebsd-current@freebsd.org, kristof@swissmail.org, WillS@housing.ufl.edu In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED8DB2DE4@bragi.housing.ufl.edu> Subject: RE: Buildkernel broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 27 May 2003 16:39:00 -0000 >Date: Tue, 27 May 2003 12:17:18 -0400 >From: "Will Saxon" >> I cvsupped the source this morning and I get: >> [...] >> ===> firewire/firewire >> ... >> In file included from /usr/src/sys/dev/firewire/fwohci.c:72: >> @/dev/firewire/fwdma.h:38: redefinition of `bus_dmasync_op_t' >> machine/bus_dma.h:94: `bus_dmasync_op_t' previously declared here >> *** Error code 1 >> [...] >I have the exact same problem. I think it has something to do with a commit from this morning. >I commented out the offending #define in fwdma.h and the module compiles fine now. I decided to go ahead and hack the code a bit (on my tree); the following patch (relaative to /usr/src) seems to work for me: Index: sys/dev/firewire/fwdma.h =================================================================== RCS file: /cvs/freebsd/src/sys/dev/firewire/fwdma.h,v retrieving revision 1.1 diff -u -r1.1 fwdma.h --- sys/dev/firewire/fwdma.h 17 Apr 2003 03:38:02 -0000 1.1 +++ sys/dev/firewire/fwdma.h 27 May 2003 16:14:57 -0000 @@ -34,7 +34,7 @@ * $FreeBSD: src/sys/dev/firewire/fwdma.h,v 1.1 2003/04/17 03:38:02 simokawa Exp $ */ -#if __FreeBSD_version >= 500111 +#if (__FreeBSD_version >= 500111) && (__FreeBSD_version < 500113) typedef int bus_dmasync_op_t; #endif Peace, david -- David H. Wolfskill david@catwhisker.org Based on what I have seen to date, the use of Microsoft products is not consistent with reliability. I recommend FreeBSD for reliable systems.