C++ Link error: undefined reference to `adl_main'

I want to write my code in C++. When using c, I do not get any linker errors while using the adl libraries, but when using C++ I get the above linker error. I played around with the ARM ELF GCC C++ Linker settings, but do not seem to get it working. Can one call the adl libs from C++? What linker settings must be set to accomplish this?

Some people tried it before.





Great, that got it working. Thanks.

Ok! great news.
It could be nice that you post a code example in Code sharing area: https://forum.sierrawireless.com/viewforum.php?f=122
to help new users