Issues compiling: stdlib.h missing


#1

I’m having an issue making

....manjaropc Firmware]$ make
mkdir -p build
Middlewares/Third_Party/FreeRTOS/Source/queue.c:70:10: fatal error: stdlib.h: No such file or directory
 #include <stdlib.h>
          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:163: build/queue.o] Error 1

Flash issues on linux
#2

Hm that’s odd, can you please check what version of gcc-none-eabi-gcc you are using? Please run the command:

gcc-none-eabi-gcc --version

#3

for some reason (i don’t know about theses things) gcc-none-eabi-gcc doesn’t appear (command not found) but if i put the following in:-
arm-none-eabi-gcc --version
arm-none-eabi-gcc (Arch Repository) 7.3.0
Copyright © 2017 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.

? to a numpty it looks like the same thing in a different order?


#4

Yeah it’s supposed to be arm-none-eabi-gcc

Looks fine to me. What operating system are you on?


#5

Manjaro - Arch based but already the hard stuff done for you.
I’ll give it a go and let you know how i get on