strange Linker errors with NCS on VScode

I am having strange linker problems with NCS and VScode (I really hope im not just dumb and oversee something obvious here..)

I am currently migrating from PIO to NCS, and I have some problems. One of them are the strange linker Errors. I know my code is OK, because it compiles with the PlatformIO toolchain.

suddenly with NCS I get tons of undefined reference errors, and I just don know why.. I guess it has todo with the build/cmake configuration.

I made a small demo that produces only one linker error and attached it. Could somebody tell me how to fix this?

problemDemo.zip

Related