Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2015 20:25:49 -0500
From:      Brett Wynkoop <freebsd-arm@wynn.com>
To:        Peter Garshtja <peter.garshtja@ambient-md.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: kernel build fails
Message-ID:  <20150223202549.74fc38ae@ivory.wynn.com>
In-Reply-To: <54EBC6AD.30707@ambient-md.com>
References:  <20150223173731.4902457d@ivory.wynn.com> <CAKtsCdfuqimQs7z1xGc1yPwBT9obSctQgj=uKFCS6dPrKCkZLQ@mail.gmail.com> <54EBC6AD.30707@ambient-md.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greeting-

I yanked the arm7 reference from the Makefile generated by config and
now we have the following:

In file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c:36:
In file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/bus.h:129: In
file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/kobj.h:41:
In file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/vnode.h:41:
In file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/namei.h:37: In
file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/filedesc.h:41: In
file included
from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/seq.h:70: ./machine/cpu.h:22:9:
error: implicit declaration of function 'cp15_pmccntr_get' is invalid
in C99 [-Werror,-Wimplicit-function-declaration] return
cp15_pmccntr_get(); ^ 1 error generated. *** Error code 1

Stop.
make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace
*** Error code 1

Stop.
make[2]: stopped in /usr/src/sys/modules/dtrace
*** Error code 1

Stop.
make[1]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE
root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # 


I think some of the arm kernel folks need to try a native build of the
kernel.  We should be able to native builds of the kernel.

I can provide ssh and root access to my BB if needs be, but I bet there
are lots of them in the hands of arm kernel devs.


-Brett

-- 

wynkoop@wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925

The Second Amendment extends, prima facie, to all instruments that 
constitute bearable arms, even those that were not in existence 
at the time of the founding. ~ Justice Scalia




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150223202549.74fc38ae>