<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><br></div><div>thanks for your reply !</div><div><br></div><div>my system is ubuntu 18.0.4£¬ and the version of systemd I am compiling is systemd-245.</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "systemd-devel-request"<systemd-devel-request@lists.freedesktop.org>;</div><div><b>Date:</b> Thu, May 28, 2020 07:24 PM</div><div><b>To:</b> "systemd-devel"<systemd-devel@lists.freedesktop.org>;<wbr></div><div></div><div><b>Subject:</b> systemd-devel Digest, Vol 121, Issue 40</div></div><div><br></div>Send systemd-devel mailing list submissions to<br>      systemd-devel@lists.freedesktop.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>      https://lists.freedesktop.org/mailman/listinfo/systemd-devel<br>or, via email, send a message with subject or body 'help' to<br>    systemd-devel-request@lists.freedesktop.org<br><br>You can reach the person managing the list at<br>  systemd-devel-owner@lists.freedesktop.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of systemd-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re:  Some issues about compiling systemd on linux (Dave Howorth)<br>   2.  Some issues about compiling systemd on linux<br>      (=?gb18030?B?R2F2aW4=?=)<br>   3. Re:  Some issues about compiling systemd on linux<br>      (Fredrik Hugosson)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 28 May 2020 11:19:19 +0100<br>From: Dave Howorth <systemd@howorth.org.uk><br>To: systemd-devel@lists.freedesktop.org<br>Subject: Re: [systemd-devel] Some issues about compiling systemd on<br>    linux<br>Message-ID: <20200528111919.2873e84c@acer-suse.lan><br>Content-Type: text/plain; charset=UTF-8<br><br>On Thu, 28 May 2020 17:35:05 +0800<br>"???" <670915706@qq.com> wrote:<br>> Hello ,<br>> <br>> &nbsp; &nbsp; &nbsp;I have a project that needs to use the journald<br>> module in systemd. My initial idea was to compile journald<br>> separately, but then I found that this would not work.<br>> <br>> &nbsp; &nbsp; &nbsp;So I started to try to compile systemd, but I<br>> encountered many problems during the compilation process, and now I<br>> have been unable to solve this problem. &nbsp; &nbsp; &nbsp;<br>> <br>> <br>> &nbsp; &nbsp;&nbsp;How can I solve this problem?<br>> <br>> &nbsp; &nbsp; My ultimate goal is to run the journald module on ARM.<br>> I can transplant the systemd. Of course, it is better to be able to<br>> compile the journald separately. But I don't know how to<br>> cross-compile systemd yet, can you give me some help? &nbsp; &nbsp;<br>> <br>> &nbsp; &nbsp; I look forward to receiving your reply?<br><br>You don't say what distro you are using (or where else you got linux)<br>nor what version of systemd you are using. <br><br>journald and journalctl etc are normally included with systemd. They<br>are for example with Raspbian, which is an ARM version of Debian.<br><br>> Best Regards?<br><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 28 May 2020 18:42:17 +0800<br>From: "=?gb18030?B?R2F2aW4=?=" <670915706@qq.com><br>To: "=?gb18030?B?c3lzdGVtZC1kZXZlbA==?="<br> <systemd-devel@lists.freedesktop.org><br>Subject: [systemd-devel] Some issues about compiling systemd on linux<br>Message-ID: <tencent_8AD8689E6E87D601C86ACE8B8290EB675508@qq.com><br>Content-Type: text/plain; charset="gb18030"<br><br>Hello ,<br><br><br>I have a project that needs to use the journald module in systemd. My initial idea was to compile journald separately, but then I found that this would not work.<br><br><br>So I started to try to compile systemd, but I encountered many problems during the compilation process, and now I have been unable to solve this problem.<br><br><br><br>../src/libsystemd/sd-bus/test-bus-vtable-cc.cc:1:1: error: ?test? does not name a type<br>&nbsp;test-bus-vtable.c<br>&nbsp;^~~~<br>[1272/1466] Compiling C object 'test-dhcp-optio...xe/src_libsystemd-network_test-dhcp-option.c.o'<br>ninja: build stopped: subcommand failed.<br>Makefile:2: recipe for target 'all' failed<br>make: *** [all] Error 1<br><br><br>How can I solve this problem?<br><br><br>My ultimate goal is to run the journald module on ARM. I can transplant the systemd. Of course, it is better to be able to compile the journald separately.&nbsp;But I don't know how to cross-compile systemd yet, can you give me some help?<br>&nbsp; &nbsp;<br><br><br>I look forward to receiving your reply?<br><br><br>Best Regards?<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/7091cde1/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 28 May 2020 11:17:03 +0000<br>From: Fredrik Hugosson <fredrik.hugosson@axis.com><br>To: ??? <670915706@qq.com>, systemd-devel<br>        <systemd-devel@lists.freedesktop.org><br>Subject: Re: [systemd-devel] Some issues about compiling systemd on<br>      linux<br>Message-ID: <cc7b2de9296646efb8061813e63d3f23@XBOX01.axis.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi!<br><br>The Yocto and OpenEmbedded distributions and tool-chains have excellent support for cross-compiling for ARM. Used in production systems since many years by a lot of companies. They can compile systemd and journald for you.  It will be difficult to separate journald from systemd though.<br><br>BR<br>/Fredrik<br><br>From: systemd-devel <systemd-devel-bounces@lists.freedesktop.org> On Behalf Of ???<br>Sent: den 28 maj 2020 11:35<br>To: systemd-devel <systemd-devel@lists.freedesktop.org><br>Subject: [systemd-devel] Some issues about compiling systemd on linux<br><br>Hello ,<br><br>     I have a project that needs to use the journald module in systemd. My initial idea was to compile journald separately, but then I found that this would not work.<br><br>     So I started to try to compile systemd, but I encountered many problems during the compilation process, and now I have been unable to solve this problem.<br>     [cid:image001.png@01D634F2.465C1C60]<br><br>    How can I solve this problem?<br><br>    My ultimate goal is to run the journald module on ARM. I can transplant the systemd. Of course, it is better to be able to compile the journald separately. But I don't know how to cross-compile systemd yet, can you give me some help?<br><br><br>    I look forward to receiving your reply?<br><br>Best Regards?<br><br><br><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/980286cd/attachment.htm><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: image001.png<br>Type: image/png<br>Size: 124955 bytes<br>Desc: image001.png<br>URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/980286cd/attachment.png><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>systemd-devel mailing list<br>systemd-devel@lists.freedesktop.org<br>https://lists.freedesktop.org/mailman/listinfo/systemd-devel<br><br><br>------------------------------<br><br>End of systemd-devel Digest, Vol 121, Issue 40<br>**********************************************<br></div>