RE: Buildkernel broken

From: Will Saxon <WillS_at_housing.ufl.edu>
Date: Tue, 27 May 2003 12:17:18 -0400
> -----Original Message-----
> From: Krzysztof Parzyszek [mailto:kristof_at_swissmail.org]
> Sent: Tuesday, May 27, 2003 11:50 AM
> To: freebsd-current_at_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_at_ -I_at_/dev -I_at_/../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_at_ -I_at_/dev -I_at_/../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:
> _at_/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
Received on Tue May 27 2003 - 07:17:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC