[riot-users] Unable to compile in native

Suvrat Alshi tobaccopipeyoyo at gmail.com
Mon Jan 11 03:06:30 CET 2016


Hi,
First time with RIOT
Trying to make in native but keep getting following error though I
have tried to resolve all build chain dependencies on host

"make" -C /home/riot/RIOT/boards/native
"make" -C /home/riot/RIOT/boards/native/drivers
"make" -C /home/riot/RIOT/core
"make" -C /home/riot/RIOT/cpu/native
cc1: warnings being treated as errors
In file included from /home/riot/RIOT/sys/include/net/ethernet/hdr.h:27,
                 from /home/riot/RIOT/cpu/native/include/netdev2_tap.h:30,
                 from /home/riot/RIOT/cpu/native/native_cpu.c:53:
/home/riot/RIOT/core/include/byteorder.h: In function ‘byteorder_swaps’:
/home/riot/RIOT/core/include/byteorder.h:288: error: implicit
declaration of function ‘__builtin_bswap16’
make[2]: *** [/home/riot/RIOT/examples/default/bin/native/cpu/native_cpu.o]
Error 1
make[1]: *** [ALL--/home/riot/RIOT/cpu/native] Error 2
make: *** [all] Error 2


Please advice where I'm going wrong.

Thanks,
Suvrat


More information about the users mailing list