df8oe / RS41HUP

RS41HUP - Firmware for Vaisala's RS41 for Amateur Radio use
GNU General Public License v2.0
42 stars 15 forks source link

Error during compiling #6

Closed ayasystems closed 6 years ago

ayasystems commented 6 years ago

Hi DF8OE, this is EA4GKQ

Could you help me? I have an error during compiling

root@sdr:/opt/RS41HUP# make clean root@sdr:/opt/RS41HUP# make all [ 4%] Building C object CMakeFiles/RS41HUP.elf.dir/cmsis_boot/startup/startup_stm32f10x_md_vl.c.obj [ 9%] Building C object CMakeFiles/RS41HUP.elf.dir/cmsis_boot/system_stm32f10x.c.obj In file included from /opt/RS41HUP/cmsis/core_cm3.h:120:0, from /opt/RS41HUP/cmsis_boot/stm32f10x.h:478, from /opt/RS41HUP/cmsis_boot/system_stm32f10x.c:65: /usr/lib/gcc/arm-none-eabi/5.4.1/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory compilation terminated. CMakeFiles/RS41HUP.elf.dir/build.make:86: recipe for target 'CMakeFiles/RS41HUP.elf.dir/cmsis_boot/system_stm32f10x.c.obj' failed make[2]: *** [CMakeFiles/RS41HUP.elf.dir/cmsis_boot/system_stm32f10x.c.obj] Error 1

I have installed gcc-arm-none-eabi as you can see root@sdr:/opt/RS41HUP# apt-cache search gcc-arm gcc-arm-none-eabi - GCC cross compiler for ARM Cortex-A/R/M processors gcc-arm-none-eabi-source - GCC cross compiler for ARM Cortex-A/R/M processors (source) root@sdr:/opt/RS41HUP# apt-get install gcc-arm-none-eabi

But i got the error..... Do you know what is happend?

image

73s

ayasystems commented 6 years ago

I have installed libnewlib-arm-none-eabi

sudo apt-get install libnewlib-arm-none-eabi

and i have other error now

image

Solved with more apt....

apt-get install binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-newlib srecord cmake ninja-build python-virtualenv python-dev libffi-dev libssl-dev git

image