GSoC with Beaglebone BSP and my problem

Alexey Dyachenko alexey.dyachenko at inbox.ru
Tue Mar 7 20:03:08 UTC 2017


  Dear Nikolay,
would you please check, if you create and change your working directory to
build  your BSP, as mentioned in  manual, before running configure?

See example below for erc32:

$ mkdir erc32
$ cd erc32
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/
rtems/4.12
   \--target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix

Regards, Alexey

2017-03-07 21:33 GMT+03:00 Nikolay Komashinskiy <
nikolay.komashinskiy at yandex.ru>:

> Hello, I am a student from Russia and I want to improve RTEMS BeagleBone
> BSP (ethernet, probably)
> during the GSoC.
>
> But as for now, I have some difficulties - I can't build rtems or rtems
> samples.
> I've already built tools.
> I followed these guidelines:
> https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start
> https://docs.rtems.org/branches/master/user/start/index.html
> http://embeddedden.blogspot.ru/2017/02/building-rtems-and-
> first-example.html
>
> This is my configure command:
> $RTEMS_DEV/rtems/kernel/rtems/configure --enable-tests=samples
> --prefix=$RTEMS_DEV/rtems/4.12 \
> --target=arm-rtems4.12 --enable-rtemsbsp=beagleboneblack --enable-posix
>
> and during make process I have the following error:
>
> === configuring in beagle (/home/nikolay/Projects/
> development/rtems/kernel/beagleboneblack/arm-rtems4.12/
> c/beagleboneblack/lib/libbsp/arm/beagle)
> configure: running /bin/bash /home/nikolay/Projects/
> development/rtems/kernel/rtems/c/src/lib/libbsp/arm/beagle/configure
> --disable-option-checking '--prefix=/home/nikolay/
> Projects/development/rtems/4.12'  '--host=arm-rtems4.12'
> '--build=x86_64-pc-linux-gnu' '--target=arm-rtems4.12'
> '--enable-tests=samples' '--enable-posix' '--with-target-subdir=arm-rtems4.12'
> '--exec-prefix=/home/nikolay/Projects/development/rtems/4.12/arm-rtems4.12'
> '--includedir=/home/nikolay/Projects/development/rtems/4.12/arm-rtems4.12/include'
> 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-rtems4.12'
> 'target_alias=arm-rtems4.12' '--with-project-root=../../'
> '--with-project-top=../../' 'RTEMS_BSP=beagleboneblack'
> 'RTEMS_BSP_FAMILY=beagle' 'CFLAGS=-mcpu=cortex-a8 -O2 -g
> -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs'
> --cache-file=/dev/null --srcdir=/home/nikolay/Projects/development/rtems/
> kernel/rtems/c/src/lib/libbsp/arm/beagle
> checking for gmake... no
> checking for make... make
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... arm-unknown-rtems4.12
> checking rtems target cpu... arm
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for arm-rtems4.12-strip... arm-rtems4.12-strip
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> configure: error: source directory already configured; run "make
> distclean" there first
> configure: error: /home/nikolay/Projects/development/rtems/kernel/
> rtems/c/src/lib/libbsp/arm/beagle/configure failed for beagle
> configure: error: /home/nikolay/Projects/development/rtems/kernel/
> rtems/c/src/lib/libbsp/arm/configure failed for lib/libbsp/arm
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170307/dd047104/attachment-0002.html>


More information about the users mailing list