when I tried to build my existing application with the new SDK provided libraries, I get the followi

I’ve successfully downloaded the SDK. However, when I tried to build my existing application with the new SDK provided libraries, I get the following C++ build/link errors:


/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /hostname/leeja/p4ws/ci1._mdd//MD/MDD/thirdparty/RTSDK-2.2.1.L1/libs/Optimized//librsslVA.a(libxml2_la-nanohttp.o): in function `xmlNanoHTTPConnectAttempt':

nanohttp.c:(.text+0x1613): undefined reference to `fcntl64'

/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: nanohttp.c:(.text+0x163e): undefined reference to `fcntl64'

/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /hostname/leeja/p4ws/ci1._mdd//MD/MDD/thirdparty/RTSDK-2.2.1.L1/libs/Optimized//librsslVA.a(platform_util.c.o): in function `mbedtls_platform_zeroize':

platform_util.c:(.text+0x181): undefined reference to `explicit_bzero'

collect2: error: ld returned 1 exit status


Any Idea how I can resolve this? I am using RTSDK-2.2.1.L1.linux.rrg/Cpp-C/Ema/Libs/RHEL8_64_GCC831 for the libraries and our linux is SUSE Linux (SLES12SP5). Could that the reason possibly causing the build error?

Answers