Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compile error in -current
> # compile BCM5301X/uvm_fault.o
> /var/sources/NetBSD-current/src/obj/tooldir.NetBSD-6.0_RC1-i386/bin/arm--netbsdelf-gcc
> -ffreestanding -fno-zero-initialized-in-bss -g -O2 -fno-strict-aliasing
> -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length
> -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
> -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
> -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sign-compare
> --sysroot=/var/sources/NetBSD-current/src/obj/destdir.evbarm -mcpu=cortex-a9
> -I. -I../../../../../common/include -I../../../../arch -I../../../..
> -nostdinc -D__HAVE_FAST_SOFTINTS -D__HAVE_CPU_UAREA_ALLOC_IDLELWP
> -D__HAVE_CPU_COUNTER -DKERNEL_BASE_EXT=0x80000000 -DARM_GENERIC_TODR
> -DBCM5301 -DRNDVERBOSE -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL
> -D_KERNEL_OPT -std=gnu99
> -I../../../../lib/libkern/../../../common/lib/libc/quad
> -I../../../../lib/libkern/../../../common/lib/libc/string
> -I../../../../lib/libkern/../../../common/lib/libc/arch/arm/string -I.
./../..
/../../../../include -c ../..--- uvm_aobj.o ---
> cc1: warnings being treated as errors
> ../../../../uvm/uvm_aobj.c: In function 'uao_reference':
> ../../../../uvm/uvm_aobj.c:521:2: error: implicit declaration of function
> 'atomic_inc_uint'
> ../../../../uvm/uvm_aobj.c: In function 'uao_detach':
> ../../../../uvm/uvm_aobj.c:547:2: error: implicit declaration of function
> 'atomic_dec_uint_nv'
> --- uvm_fault.o ---
> /../../uvm/uvm_fault.c
> --- uvm_aobj.o ---
> *** [uvm_aobj.o] Error code 1
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index