Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 12:17:18 -0400
From:      "Will Saxon" <WillS@housing.ufl.edu>
To:        <kristof@swissmail.org>, <freebsd-current@freebsd.org>
Subject:   RE: Buildkernel broken
Message-ID:  <0E972CEE334BFE4291CD07E056C76ED8DB2DE4@bragi.housing.ufl.edu>

index | next in thread | raw e-mail



> -----Original Message-----
> From: Krzysztof Parzyszek [mailto:kristof@swissmail.org]
> Sent: Tuesday, May 27, 2003 11:50 AM
> To: freebsd-current@freebsd.org
> Subject: Buildkernel broken
> 
> 
> Hello,
> 
> I cvsupped the source this morning and I get:
> 
> [...]
> ===> firewire/firewire
> cc -O -pipe -march=pentium2  -D_KERNEL -Wall 
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
> -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-   -I. 
> -I@ -I@/dev -I@/../include -fno-common -g 
> -mno-align-long-strings -mpreferred-stack-boundary=2 
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -std=c99 -c 
> /usr/src/sys/dev/firewire/firewire.c
> cc -O -pipe -march=pentium2  -D_KERNEL -Wall 
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
> -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-   -I. 
> -I@ -I@/dev -I@/../include -fno-common -g 
> -mno-align-long-strings -mpreferred-stack-boundary=2 
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -std=c99 -c 
> /usr/src/sys/dev/firewire/fwohci.c
> 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.

-Will


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E972CEE334BFE4291CD07E056C76ED8DB2DE4>