From owner-freebsd-arm@FreeBSD.ORG Wed Jul 10 10:12:26 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 790E1F2F for ; Wed, 10 Jul 2013 10:12:26 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mx1.freebsd.org (Postfix) with ESMTP id 017931112 for ; Wed, 10 Jul 2013 10:12:25 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id l18so5815234wgh.14 for ; Wed, 10 Jul 2013 03:12:24 -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:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=QIBM1LEzhvZr89iu+sEuTWFC8iLC5qVNf3HmE9NbQlk=; b=SFC2kQYufdFdp0dEFgSynuWHZvkFVAgTlsHhmaKyEyy7XC3PEXeP3zKjeUtIqaq8Gh xCF6ARcrV9pY+hBdqvp4ddnBqPU4Qf5Tid/T/Z7SoDzKnAC4ztn7TNPF2DRPEFC2zlMI wUiEqlhuW4Wom4MgUvhIfeaGrCxnWT4qULKX1sVgR9n+Z6ZzMx/FwFVEx1g4p5wiVvSV H0hfmxuRp+kvkq/jMv3/2Y2/O2FGDg/oKHxXbvf2CxeQ0xxWnFGYUFM+HaI/VLQFFcNg h0D9S66H5Z457h1X/fPPZGh6HWgzBx9m9oHHI1qG0J8gVp+YqH/ja/giftKh25/hxC2N Q40g== X-Received: by 10.180.82.196 with SMTP id k4mr19116711wiy.0.1373451144335; Wed, 10 Jul 2013 03:12:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 03:11:44 -0700 (PDT) X-Originating-IP: [124.90.191.174] In-Reply-To: References: From: XiaoQI Ge Date: Wed, 10 Jul 2013 18:11:44 +0800 Message-ID: Subject: Re: if_run compilation fails (Cubieboard) To: hiren panchasara X-Gm-Message-State: ALoCoQkHC1UEg/DBdnB/kvOzeTF4bWAxTzF64lVGbvQO11/IOanamcvlVzVM8td/beM9JMAuCzV4 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm 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 10:12:26 -0000 Thank you, I'll try again -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/10 hiren panchasara > On Wed, Jul 10, 2013 at 1:33 AM, XiaoQI Ge wrote: > > 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=c99 -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=c99 -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=c99 -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=c99 -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=c99 -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=c99 -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=c99 -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=make 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=c99 -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 > > > > === > > My kernel configuration file Riga: > > > > device wlan > > device wlan_wep > > device wlan_ccmp > > device wlan_tkip > > > > device > > > > run > > device wlan_amrr > > device runfw > > You also need "device firmware" here? (guessing from the errors you > are getting: Undefined reference to `firmware_register') > > cheers, > Hiren > > > > Please help me > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >