Closed patrickelectric closed 5 years ago
rm build direction, and try again.
Same problem here when building with gcc 7.2 (which is contained in Fedora 27). Obviously, a 'const' has been added to the built-in declaration of vnsscanf. After fixing this prototype in modules/PX4NuttX/nuttx/include/stdio.h and removing build dir, everything is fine again.
Hi, I'm having a pretty similar issue on Ubuntu 19.04 with gcc 8.3 and can't seem to solve it. The declaration I have for vsscanf in my modules/PX4NuttX/nuttx/include/stdio.h is as follows:
int vsscanf(char *buf, const char *s, va_list ap);
Removing const from the *s declaration does not have any effect so far.
It seems, by the output that the first error waf gets is related to the absence of gdbtui but I can't seem to figure out why
hello, we don't support Nuttx anymore... but use the official gcc 4.9 or gcc6 toolchain and it will work. Closing this issue as Nuttx isn't support anymore
To repeat @khancyr but with more detail:
NuttX (no longer supported):
./waf configure --board px4-v2
ChibiOS (this is better):
./waf configure --board fmuv2
but really you should probably be using fmuv2
by now (aka px4-v3)
Issue details
using arm-none-eabi-gcc 7.2.0-1
Version
(master) b5bdaa18ac1edbc884ef1c43cd168eb4c90298e1
Platform
Airframe type
vectored
Hardware type
px4-v2
Logs