kernel build fails

Brett Wynkoop freebsd-arm at wynn.com
Tue Feb 24 01:25:53 UTC 2015


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 at 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 at 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



More information about the freebsd-arm mailing list