I am trying to build the PX4Flow firmware for Arducopter from the following git:
I am using the PX4 toolchain as advised in the (broken) links in the readme, but I am getting the following error:
In file included from src/main.c:49:0:
inc/utils.h: At top level:
inc/utils.h:45:6: error: conflicting types for ‘itoa’
void itoa(char *buf, unsigned int i, int base);
^~~~
In file included from /home/stephan/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/stdlib.h:11:0,
from src/main.c:38:
/home/stephan/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/stdlib.h:224:8: note: previous declaration of ‘itoa’ was here
char * _EXFUN(itoa,(int, char *, int));
^
@priseborough any hints what I am doing wrong here?
Edit: I am running the PX4 toolchain on Ubuntu 16.4. Thanks for any help!