This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: Unable to include systemd/sd-journal.h library

Part Number: AM3358

Hello everyone,

I am working on Ubuntu 18.04 and using Eclipse IDE.  I'm trying to build an application that will utilize the systemd/sd-journal.h library in C on AM3358 running a custom Linux distribution, but currently this library is not found when passing the cross compilation path for linaro arm-linux-gnueabihf.  When I change the path to /usr/bin which contains a different arm-linux-gnueabihf cross compiler, the IDE recognizes the library; however, when calling sd_journal_send() or similar function, the error undefined reference to 'sd_journal_send_with_location' appears. 

Does anyone know a solution to this issue? or if CCS is capable of compiling projects that use systemd/sd-journal.h library?

I've tried sudo apt-get install libsystemd-dev

Thank you very much for your time.