From owner-freebsd-arm@FreeBSD.ORG Tue Mar 12 01:15:18 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5F1BA1B6 for ; Tue, 12 Mar 2013 01:15:18 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id 0196EDF0 for ; Tue, 12 Mar 2013 01:15:17 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id n41so1808076qco.35 for ; Mon, 11 Mar 2013 18:15:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=xKkEqkpZt4LfAUL7Qbb6HT1gzc0Ls7owd/Ery+BzMH8=; b=i46s5VyLaF5eoNlGEQvm/rGoyrmd9dAo7G+4y32Jd8S/NT3tiqzU0VAbEmiQ9dkSTe jO49yWM4ThtJxCMxHCbbWO0iQFRdBcjdLV03Z8fKWo1P9uGYWuM0aJXba1xaIcOlrtYc a4iaWCo7AVS0tPehQzbK8BANEauzj7QeuqkrIg650Ii141eqH3QLSAepeDZnHcWUIP2H gOel163EvdsH7IialtT+A4/69RUfjY1aTxVajVc7jzUXtojIpE5XMfZkz/wUHcwi7kj9 5NuAdoZw0CN5YV2jrRCb2GR9Dn5hPZeUpdSSAeXjV7E/Q8274dssVww8xErQqi7v1XVF NUuA== MIME-Version: 1.0 X-Received: by 10.224.78.196 with SMTP id m4mr19850320qak.67.1363050917226; Mon, 11 Mar 2013 18:15:17 -0700 (PDT) Received: by 10.49.87.193 with HTTP; Mon, 11 Mar 2013 18:15:17 -0700 (PDT) Date: Tue, 12 Mar 2013 09:15:17 +0800 Message-ID: Subject: Unable to compile VCHIQ From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQksDLLQoKFjNGIFOM0bXiVfpwH5+ih8nff0+oFjQpP/LTItD+7GQ+uvh6AtrW+wQkmNFicM Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 01:15:18 -0000 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?