Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build failure for evbarm in sys/dev/dmover/dmover_io.c [was Re: Build failure for evbarm ifpga_intr.h]



On Mon, Apr 27, 2009 at 05:19:08PM -0500, David Young wrote:
> The attached patch will fix that, but it does not fix the underlying
> circular dependencies.
> 
> IIUC, Izumi Tsutsui suggests fixing the circular dependency by
> relocating the definition of ipl_cookie_t from <machine/intr.h> to
> (just for example) <machine/types.h> and eliminating the #include
> <machine/intr.h> from <sys/mutex.h>.  Sounds ok to me.

Thank you. This changes the build failure:

#   compile  IQ80321/dmover_io.o
/archive/build/tools/bin/arm--netbsdelf-gcc -ffreestanding 
-fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing -Werror -Wall 
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes 
-Werror -mcpu=xscale -I. -I/archive/cvs/src/sys/../common/include 
-I/archive/cvs/src/sys/arch -I/archive/cvs/src/sys -nostdinc 
-DKERNEL_BASE_EXT=0xc0000000 -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-I/archive/cvs/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/archive/cvs/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/archive/cvs/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c 
/archive/cvs/src/sys/dev/dmover/dmover_io.c
/archive/cvs/src/sys/dev/dmover/dmover_io.c: In function 'dmio_stat':
/archive/cvs/src/sys/dev/dmover/dmover_io.c:584: error: dereferencing pointer 
to incomplete type
/archive/cvs/src/sys/dev/dmover/dmover_io.c:585: error: dereferencing pointer 
to incomplete type
/archive/cvs/src/sys/dev/dmover/dmover_io.c:586: error: dereferencing pointer 
to incomplete type
/archive/cvs/src/sys/dev/dmover/dmover_io.c:587: error: dereferencing pointer 
to incomplete type
/archive/cvs/src/sys/dev/dmover/dmover_io.c:587: error: dereferencing pointer 
to incomplete type
/archive/cvs/src/sys/dev/dmover/dmover_io.c:588: error: dereferencing pointer 
to incomplete type
cc1: warnings being treated as errors
/archive/cvs/src/sys/dev/dmover/dmover_io.c:588: warning: implicit declaration 
of function 'kauth_cred_geteuid'
/archive/cvs/src/sys/dev/dmover/dmover_io.c:589: error: dereferencing pointer 
to incomplete type
/archive/cvs/src/sys/dev/dmover/dmover_io.c:589: warning: implicit declaration 
of function 'kauth_cred_getegid'
/archive/cvs/src/sys/dev/dmover/dmover_io.c:590:20: error: macro 
"KERNEL_UNLOCK" requires 3 arguments, but only 1 given
/archive/cvs/src/sys/dev/dmover/dmover_io.c:590: error: 'KERNEL_UNLOCK' 
undeclared (first use in this function)
/archive/cvs/src/sys/dev/dmover/dmover_io.c:590: error: (Each undeclared 
identifier is reported only once
/archive/cvs/src/sys/dev/dmover/dmover_io.c:590: error: for each function it 
appears in.)

 Thomas


Home | Main Index | Thread Index | Old Index