On Mon, Oct 28, 2013 at 04:53:10PM -0400, Michael Butler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > That is .. > > - --- busdma_bounce.o --- > cc1: warnings being treated as errors > In file included from /usr/src/sys/x86/x86/busdma_bounce.c:54: > /usr/src/sys/x86/include/busdma_impl.h:85: warning: redundant > redeclaration of 'busdma_lock_mutex' [-Wredundant-decls] > /usr/src/sys/sys/bus_dma.h:150: warning: previous declaration of > 'busdma_lock_mutex' was here > *** [busdma_bounce.o] Error code 1 Does the following patch allow you to successfully build the kernel with gcc, or is there more issues left ? diff --git a/sys/x86/include/busdma_impl.h b/sys/x86/include/busdma_impl.h index 70c9a6f..b851e7a 100644 --- a/sys/x86/include/busdma_impl.h +++ b/sys/x86/include/busdma_impl.h _at__at_ -82,7 +82,6 _at__at_ struct bus_dma_impl { bus_dmasync_op_t op); }; -void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op); void bus_dma_dflt_lock(void *arg, bus_dma_lock_op_t op); int bus_dma_run_filter(struct bus_dma_tag_common *dmat, bus_addr_t paddr); int common_bus_dma_tag_create(struct bus_dma_tag_common *parent,
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC