[riot-users] [riot users] make term fails with segfault

Kaspar Schleiser kaspar at schleiser.de
Tue Nov 27 13:07:51 CET 2018


Hi Felix,

Welcome to the RIOT community! :)

On 11/27/18 10:50 AM, Felix Pfeifer wrote:
> make term
> .../Tutorials/task-01/bin/native/Task01.elf
> .../Tutorials/task-01/../RIOT/Makefile.include:400: recipe for target
> 'term' failed
> make: *** [term] Segmentation fault
> 
> Any ideas how to fix this?

I just tried this locally, it worked fine. What OS are you on?

Please try adding "-g" to CFLAGS in the tasks Makefile, then recompile
with "make clean all". You should then be able to launch
native/Task01.elf through gdb ("gdb native/Task01.elf", enter "run",
wait until it crashes, type "bt" to get backtrace).

Kaspar


More information about the users mailing list