include path problem

0 views
Skip to first unread message

Maris Engineering

unread,
Apr 26, 2022, 8:42:51 AMApr 26
to embox...@googlegroups.com
Upon building after make confload-project/pjsip/x86-qemu-sip-nuklear, I encounter the following problem:

/home/rob/git/embox/project/pjsip/cmds/sip-nuklear/pjsua.c:44:10: fatal error: lib/loop_file_logger.h: File or directory not found
44 | #include <lib/loop_file_logger.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

At first I thought that the path in pjsua.c had to be extended as follows: lib/loop_file_logger/loop_file_logger.h
That did not work. But that becomes clear as I see that no -I /home/rob/git/embox/src/lib is part of the gcc invocation.
Moreover, all of the header files in /lib/subdir/ appear to be included from elsewhere without this subfolder. Example: #include <lib/fb_draw.h>

What is the point that I may miss at all?

Regards,
Rob

Anton Bondarev

unread,
Apr 26, 2022, 8:51:24 AMApr 26
to embox...@googlegroups.com, Maris Engineering
/home/rob/git/embox/project/pjsip/cmds/sip-nuklear/pjsua.c:44:10: fatal error: lib/loop_file_logger.h: File or directory not found
    44 | #include <lib/loop_file_logger.h>
       |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Yes, thanks. I have fix it in https://github.com/embox/embox/pull/2563
It is enough to add
include embox.lib.loop_file_logger_lib(file_name="/tmp/sip.log", record_size=128, record_quantity=16)
to your current mods.conf (conf/mods.conf)

Regards,
Anton

вт, 26 апр. 2022 г. в 15:42, Maris Engineering <ma...@maris-ee.eu>:
--
You received this message because you are subscribed to the Google Groups "embox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embox-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/embox-devel/op.1k8e81qh7tvdpn%40localhost.

Maris Engineering

unread,
Apr 26, 2022, 9:24:01 AMApr 26
to Anton Bondarev, embox...@googlegroups.com
Thank you, Anton!

I just fetched via git origin & checkout appropriate branch.
Works okay now.

I'll mail separately about some qemu experiences.

Rob
Reply all
Reply to author
Forward
0 new messages