i am having the same problem as reported below by Victor.
$ git clone https://github.com/RIOT-OS/RIOT.git
$ cd RIOT/examples/hello-world
$ make -B clean all
$ make term
make: *** [term] Segmentation fault (core dumped)
A couple of weeks ago (before the announcement of release 2014.01), i already had a go on RIOT, and i am pretty sure - yet without proof! - that i was able to run the hello world example on the native build. Now i did a git clone again.
My system is:
- Ubuntu 12.04.4 LTS, x86/32bit
- As cross compiler i use the binaries from https://launchpad.net/gcc-arm-embedded, version gcc-arm-none-eabi-4_8-2013q4
For the versions i'm not so sure, so i try to give some hints:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.3 20131129 (release) [ARM/embedded-4_8-branch revision 205641]
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
For the libc, i really don't know(, also not much about it!). When i run as proposed in http://stackoverflow.com/questions/9705660/check-glibc-version-for-a-particular-gcc-compiler to find out the version,
$ gcc glibc-version.c -o glibc-version
GNU libc version: 2.15
But, compiling it with the cross-compiler (above), doesn't work
$ ~/gcc-arm-none-eabi-4_8-2013q4/arm-none-eabi/bin/gcc glibc-version.c -o glibc-version
gcc: error trying to exec 'cc1': execvp: No such file or directory
$ ~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc glibc-version.c -o glibc-version
glibc-version.c:3:30: fatal error: gnu/libc-version.h: No such file or directory
Looks like either
- i don't have libc ready for cross-compiling...?
- Don't know how to use my cross-compiler...
Do you have any suggestions?