Date: Tue, 12 Mar 2013 09:15:17 +0800 From: Alie Tan <alie@affle.com> To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Unable to compile VCHIQ Message-ID: <CANuCnH9p%2BaY89wy%2BT6BDdo--URGXP5BZK8KBp6-UQRfdHLgUyg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Cloning into '/usr/src/vc/vchiq-freebsd'... remote: Counting objects: 324, done. remote: Compressing objects: 100% (167/167), done. remote: Total 324 (delta 170), reused 306 (delta 152) Receiving objects: 100% (324/324), 276.83 KiB | 103 KiB/s, done. Resolving deltas: 100% (170/170), done. Cloning into '/usr/src/vc/userland'... remote: Counting objects: 890, done. remote: Compressing objects: 100% (510/510), done. remote: Total 890 (delta 383), reused 837 (delta 337) Receiving objects: 100% (890/890), 31.00 MiB | 214 KiB/s, done. Resolving deltas: 100% (383/383), done. Checking out files: 100% (468/468), done. rm -f export_syms vchiq.ko vchiq.kld vchiq_core.o vchiq_shim.o vchiq_util.o vchiq_kern_lib.o vchiq_2835_arm.o vchiq_arm.o vchiq_connected.o vchi_bsd.o vchiq_kmod.o ofw_bus_if.h bus_if.h device_if.h Warning: Object directory not changed from original /usr/src/vc/vchiq-freebsd @ -> /usr/src/sys machine -> /usr/src/sys/arm/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/ofw/ofw_bus_if.m -h cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_core.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_shim.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_util.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_kern_lib.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_2835_arm.c In file included from /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_2835_arm.c:65: @/vm/vm_pager.h: In function 'vm_pager_get_pages': @/vm/vm_pager.h:127: warning: implicit declaration of function 'rw_assert' @/vm/vm_pager.h:127: error: 'RA_WLOCKED' undeclared (first use in this function) @/vm/vm_pager.h:127: error: (Each undeclared identifier is reported only once @/vm/vm_pager.h:127: error: for each function it appears in.) @/vm/vm_pager.h: In function 'vm_pager_put_pages': @/vm/vm_pager.h:144: error: 'RA_WLOCKED' undeclared (first use in this function) @/vm/vm_pager.h: In function 'vm_pager_has_page': @/vm/vm_pager.h:168: error: 'RA_WLOCKED' undeclared (first use in this function) @/vm/vm_pager.h: In function 'vm_pager_page_unswapped': @/vm/vm_pager.h:191: error: 'RA_WLOCKED' undeclared (first use in this function) *** [vchiq_2835_arm.o] Error code 1 Stop in /usr/src/vc/vchiq-freebsd. Anyone got idea how to solve the issue?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANuCnH9p%2BaY89wy%2BT6BDdo--URGXP5BZK8KBp6-UQRfdHLgUyg>