From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] Build Issue when depending on systemd
Date: Mon, 11 May 2015 13:33:00 +0200 [thread overview]
Message-ID: <87twvjic2b.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <55506021.60705@gmail.com> (Roman Akopov's message of "Mon, 11 May 2015 11:54:09 +0400")
>>>>> "Roman" == Roman Akopov <adontz@gmail.com> writes:
> Hello,
> I have C++/Qt application which does a lot of things, and among them,
> forwards journald logs to web service. I failed to build it correctly
> under buildroot-2015-02.
> Config.in looks like this
> config BR2_PACKAGE_DASHBOARD_CLIENT
> bool "dashboard-client"
> depends on BR2_PACKAGE_HAS_LIBEGL
> depends on BR2_PACKAGE_QT5
> depends on BR2_PACKAGE_QT5_GL_AVAILABLE
> depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> depends on BR2_PACKAGE_QT5BASE_EGLFS
> depends on BR2_PACKAGE_QT5BASE_NETWORK
> depends on BR2_PACKAGE_QT5BASE_PNG
> depends on BR2_PACKAGE_QT5BASE_WIDGETS
> depends on BR2_PACKAGE_QT5GRAPHICALEFFECTS
> depends on BR2_PACKAGE_SYSTEMD
> help
> DASHBOARD client
> and I get the following compilation error on clean build
> fatal error: systemd/sd-journal.h: No such file or directory
> #include <systemd/sd-journal.h>
> ^
> compilation terminated.
> This is because systemd is build after my package, I see this from
> log. If I unselect my package, build system, reselect my package and
> build again everything build just fine. Also,
Did you add systemd to DASHBOARD_CLIENT_DEPENDENCIES? The select/depends
on in Kconfig only ensures that the packages get built, but it doesn't
affect the build order. If you need systemd to be built before your
application you have to add it to the _DEPENDENCIES make variable.
See the manual for further information:
http://buildroot.net/downloads/manual/manual.html#generic-package-reference
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2015-05-11 11:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 7:54 [Buildroot] Build Issue when depending on systemd Roman Akopov
2015-05-11 11:33 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twvjic2b.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox