Error after converting cube project to C++
To anser my own questions:
Answer to Question 1
I got a syscalls.c from SW4STM by creating a new project, and using the generated "syscalls.c" file.
Answer to Question 2:
The problem was that after converting to C++ file, the linker file is removed from project properties. Have to go to section and give in the linker file again.