From owner-freebsd-arm@FreeBSD.ORG Mon Oct 21 02:05:06 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1972D337 for ; Mon, 21 Oct 2013 02:05:06 +0000 (UTC) (envelope-from johnsstephenelder@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F6EF2105 for ; Mon, 21 Oct 2013 02:05:05 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id ep20so2155807lab.34 for ; Sun, 20 Oct 2013 19:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cGP0EWe+j8azxFKV46M7+bTS1mB/xpEKv+ffb5trV2I=; b=NPuG7QJ7um4XvyPKlhmhrriiDwQeiHL2w3cRxxJLBCdywjEcZPquJ0D347eGTnN6gA j8BVUL2YXc3HYjWuyUJc+VryeyGYqs+/33Fb947Ju5ZnZO04CqEYpy1VEipUdDNibSm9 lQmNyKXjA6MigeiKmAld29pK2vO3Zn/Z5SFjQzWlYzJ1repT7vF2Mf9BGJzwkqoC8qeL LkBJUV8gCcJCypnhcE5NKWkSNKU7p/I0fGPGfxt4L4JWDDgxorktbDxmCHTchWLVymf5 tTqjevXjLWba3yF9BCmrMhLRnKuXEdq2NId/HTCPUtQnb5dcYjjlKfvvIWOVtVsxWxK2 B37g== MIME-Version: 1.0 X-Received: by 10.152.26.72 with SMTP id j8mr11799185lag.19.1382321103567; Sun, 20 Oct 2013 19:05:03 -0700 (PDT) Received: by 10.112.147.102 with HTTP; Sun, 20 Oct 2013 19:05:03 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Oct 2013 10:05:03 +0800 Message-ID: Subject: Re: About Cubieboard buildkernel Error From: John Elder To: freebsd-arm Content-Type: text/plain; charset=UTF-8 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: Mon, 21 Oct 2013 02:05:06 -0000 It shows : -------------------------------------------------------------- >>> stage 2.3: build tools -------------------------------------------------------------- cd /usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD; PATH=/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c aicasm_gram.c cc1: warnings being treated as errors aicasm_gram.c:1539: warning: no previous prototype for 'yyparse' *** Error code 1 Stop in /usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD. On Mon, Oct 21, 2013 at 10:04 AM, John Elder wrote: > Hi, > I have read this https://wiki.freebsd.org/FreeBSD/arm/Cubieboard > > # truncate -s 1024M cubie.img # mdconfig -f cubie.img -u0 # newfs /dev/md0 # mount /dev/md0 /mnt # make TARGET_ARCH=armv6 kernel-toolchain > > But I cant run # make TARGET_ARCH=armv6 KERNCONF=CUBIEBOARD buildkernel > >