Compile Error: No such file

I’m getting a build error while compiling:

Building mbed-lpc1768.mk
make[3]: Entering directory `/home/dancole/3D/SPS_TEST/mbed/src'
Compiling vendor/NXP/capi/analogout_api.c
In file included from ./vendor/NXP/cmsis/LPC1768/core_cm3.h:120:0,
                 from ./vendor/NXP/cmsis/LPC1768/LPC17xx.h:99,
                 from ./vendor/NXP/cmsis/LPC1768/cmsis.h:10,
                 from ./vendor/NXP/capi/LPC1768/objects.h:19,
                 from ./vendor/NXP/capi/LPC1768/device.h:55,
                 from ./capi/analogout_api.h:19,
                 from vendor/NXP/capi/analogout_api.c:16:
/usr/lib64/gcc/arm-none-eabi/4.8.1/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
 # include_next <stdint.h>

I’m running Fedora 20

locate stdint.h gives a long list of files including:

  • /home/dancole/3D/SPS_TEST/gcc-arm-none-eabi/arm-none-eabi/include/stdint.h
  • /home/dancole/3D/SPS_TEST/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/4.8.3/include/stdint.h
  • /usr/include/stdint.h
  • /usr/avr/include/stdint.h
  • /usr/lib/gcc/avr/4.8.2/include/stdint.h

avr-libc-1.8.0-7.fc20.noarch is installed.

Does this have something to do with arm-none-eabi 4.8.1 vs 4.8.3?

What do I need to install or change to get Smoothieware to compile? I’m trying to create a new arm solution.

Imported from wikidot

Hey.

Did you follow the guide ? http://smoothieware.org/compiling-smoothie

Including using the install script, and then running the ./Buildshell script ?

Cheers.

I did a fresh clone of the repo, ran linux_install and ./BuildShell. Then sudo make clean all, but got to the same error.

echo $PATH

/home/dancole/3D/TEST/Smoothieware/gcc-arm-none-eabi/bin:/home/dancole/3D/TEST/Smoothieware/gcc-arm-none-eabi/bin:/home/dancole/3D/TEST/Smoothieware/gcc-arm-none-eabi/bin:/sbin:/bin:/usr/sbin:/usr/bin

Well that’s a new one, not see this before.

I hope someone who knows the build system will see this post …