From owner-freebsd-arm@FreeBSD.ORG Wed Jul 10 08:34:44 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 13D9593 for ; Wed, 10 Jul 2013 08:34:44 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 563F11BFA for ; Wed, 10 Jul 2013 08:34:42 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id n11so5652238wgh.33 for ; Wed, 10 Jul 2013 01:34:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=U2dt+tTJ7sneC1IFmLTTwPyI+qEyu0DWmiu2X2sAhus=; b=bNmwbR41JUvh/iYgRs2+qAeiJBpkJGtcyOpIHqnpf0rWSb8t1y1o1duvq+DYlumj3e ABuiwJ3tl2ymCfvRDUx58+gW3utUQzT1wd+/TuSrjSaIJq0VKE8ShBxULTyjXlPjiah8 B6Q9lhBWrWfDYEWi0zvAAfzLf/qFYWmyz2eEN0yiOGahThbOlV1u5qiXQ10x/ffjQbBT txLp8hENsUOMuL2hVbxlaSchPP7N7fN8m15Cl+e1RRDy56vWp5pVEkOOn6SE1V6kKQ2I SfcRfE8PsB1xrnimx+hAHZnOiPr8cEJgozUybDhla1Jx6BR8+M1RlQX9MUc74XzkXEUQ PZiQ== X-Received: by 10.194.91.194 with SMTP id cg2mr17907686wjb.53.1373445275690; Wed, 10 Jul 2013 01:34:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 01:33:55 -0700 (PDT) X-Originating-IP: [204.124.83.131] From: XiaoQI Ge Date: Wed, 10 Jul 2013 16:33:55 +0800 Message-ID: Subject: if_run compilation fails (Cubieboard) To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQml/FBQmwahkxoM7T3ef8/n4M1WgWcfz7uGhdoI9XEfG6B0rHz2oDJfLhJeGJTuRvH/JiyY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 10 Jul 2013 08:34:44 -0000 hello all I tried to if_run compiled into the kernel, but prompt an error, the error message is as follows: TION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/aintc.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/bus_space.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/common.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/a10_machdep.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror config.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror env.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror hints.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x40200000/g| sed s/KERNVIRTADDR/0xc0200000/g > ldscript.arm MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh CUBIEBOARD1G svn: E155036: The working copy at '/usr/src' is too old (format 29) to work with client version '1.8.0 (r1490375)' (expects format 31). You need to upgrade the working copy first. cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror vers.c linking kernel.debug if_run.o: In function `run_load_microcode': /usr/src/sys/dev/usb/wlan/if_run.c:979: undefined reference to `firmware_get' /usr/src/sys/dev/usb/wlan/if_run.c:1059: undefined reference to `firmware_put' runfw.o: In function `runfw_fw_modevent': /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:31: undefined reference to `firmware_unregister' /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:23: undefined reference to `firmware_register' *** Error code 1 Stop. make: stopped in /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G *** Error code 1 Stop. make: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src =3D=3D=3D My kernel configuration file Riga: device wlan device wlan_wep device wlan_ccmp device wlan_tkip device =E2=80=8B=E2=80=8B run device wlan_amrr device runfw Please help me