I was able to get around this by replacing... #include with #include #include Also, I had to set a compile-time flag to disable support of recursive mutexes in the Rhapsody framework (-DOM_NO_RECURSIVE_MUTEX_SUPPORT), as PTHREAD_MUTEX_RECURSIVE_NP seems to not be defined in the SDK. Dennis
-----------------------------------------From: "Dennis Trask via USRP-users" To: "usrp-users@lists.ettus.com" Cc: Sent: Monday February 15 2021 10:58:53AM Subject: [USRP-users] E310 3.15 SDK Missing local_lim.h? I use IBM Rational Rhapsody for embedded software development. It includes a framework that must be cross-compiled for the target architecture. When I attempt to cross-compile for the E310 using the 3.15 SDK, the compile fails pretty quickly with this error: make -C oxf -f linuxoxf.mak CFG=oxf LIB_PREFIX=linux CPU=arm-oe-linux-musleabi PATH_SEP=/ DEFAULT_CPP_FLAGS="-g -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -mmusl --sysroot=/home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi" all make[1]: Entering directory '/home/labuser/RhapsodyModels/Share_8_4_linux/LangCpp/oxf' arm-oe-linux-musleabi-gcc -g -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -mmusl --sysroot=/home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi -I.. -I../osconfig/Linux -DUSE_IOSTREAM -c linuxos.cpp linuxos.cpp:50:10: fatal error: bits/local_lim.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. linuxoxf.mak:42: recipe for target 'linuxos.o' failed make[1]: *** [linuxos.o] Error 1 make[1]: Leaving directory '/home/labuser/RhapsodyModels/Share_8_4_linux/LangCpp/oxf' uhdbuild.mak:20: recipe for target 'oxflibs' failed make: *** [oxflibs] Error 2 So, it seems that the SDK is missing local_lim.h, which would normally be in /usr/include/bits/. I have searched through the SDK distribution and can't find it. Any advice on how to resolve this? Dennis
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com