Skip to content

Trouble Shooting

Nicolai Mueller edited this page May 28, 2025 · 1 revision

The ARM GCC Toolchain Throws Linker Errors

With newer versions of the ARM toolchain, PROLEAD_SW might throw linker errors when trying to compile your software. If so we recommend to add the --specs=nosys.specs compiler flag in the respective config.set under the compiler_flags setting.

Wrong Linker Script

In order for PROLEAD_SW to detect and distinguish different memory sections in your program, it requires certain symbols to be present within the Linker file and the map file. In particular, the .data section needs to start with the _data = .; symbol and needs to end with the _edata = .; symbol. Additionally, to mark the end of all sections we need to add the _end = .; symbol at the end of our linker script. An specific example can be found here.

Python.h not found

If during compilation of PROLEAD you get the error message Python.h not found please run sudo apt-get install python-dev if you have python 2.x installed or sudo apt-get install python3-dev if you have python 3.x installed and reboot your system. For other package managers we refer to here.

Clone this wiki locally