From c4ba243885cf912eb940e0442bb2728802eac46b Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Mon, 7 Dec 2020 12:17:02 +0100 Subject: [PATCH] small bugfixes --- osal/host/CMakeLists.txt | 10 +++++++++- serviceinterface/ServiceInterfaceBuffer.cpp | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/osal/host/CMakeLists.txt b/osal/host/CMakeLists.txt index 3efd91d2e..d54cfac8b 100644 --- a/osal/host/CMakeLists.txt +++ b/osal/host/CMakeLists.txt @@ -10,4 +10,12 @@ target_sources(${LIB_FSFW_NAME} QueueMapManager.cpp SemaphoreFactory.cpp TaskFactory.cpp -) \ No newline at end of file +) + +if(UNIX) + target_link_libraries(${LIB_FSFW_NAME} + PRIVATE + pthread + rt + ) +endif() \ No newline at end of file diff --git a/serviceinterface/ServiceInterfaceBuffer.cpp b/serviceinterface/ServiceInterfaceBuffer.cpp index bc360334d..68fc4dec3 100644 --- a/serviceinterface/ServiceInterfaceBuffer.cpp +++ b/serviceinterface/ServiceInterfaceBuffer.cpp @@ -4,7 +4,7 @@ #include // to be implemented by bsp -/*extern "C" */void printChar(const char*, bool errStream); +extern "C" void printChar(const char*, bool errStream); #ifndef UT699