[systemd-devel] systemd-devel Digest, Vol 121, Issue 40

Gavin 670915706 at qq.com
Thu May 28 11:41:04 UTC 2020


thanks for your reply !


my system is ubuntu 18.0.4, and the version of systemd I am compiling is systemd-245.




------------------ Original ------------------
From: "systemd-devel-request"<systemd-devel-request at lists.freedesktop.org>;
Date: Thu, May 28, 2020 07:24 PM
To: "systemd-devel"<systemd-devel at lists.freedesktop.org>;

Subject: systemd-devel Digest, Vol 121, Issue 40



Send systemd-devel mailing list submissions to
	systemd-devel at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.freedesktop.org/mailman/listinfo/systemd-devel
or, via email, send a message with subject or body 'help' to
	systemd-devel-request at lists.freedesktop.org

You can reach the person managing the list at
	systemd-devel-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of systemd-devel digest..."


Today's Topics:

   1. Re:  Some issues about compiling systemd on linux (Dave Howorth)
   2.  Some issues about compiling systemd on linux
      (=?gb18030?B?R2F2aW4=?=)
   3. Re:  Some issues about compiling systemd on linux
      (Fredrik Hugosson)


----------------------------------------------------------------------

Message: 1
Date: Thu, 28 May 2020 11:19:19 +0100
From: Dave Howorth <systemd at howorth.org.uk>
To: systemd-devel at lists.freedesktop.org
Subject: Re: [systemd-devel] Some issues about compiling systemd on
	linux
Message-ID: <20200528111919.2873e84c at acer-suse.lan>
Content-Type: text/plain; charset=UTF-8

On Thu, 28 May 2020 17:35:05 +0800
"???" <670915706 at qq.com> wrote:
> Hello ,
> 
> &nbsp; &nbsp; &nbsp;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.
> 
> &nbsp; &nbsp; &nbsp;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. &nbsp; &nbsp; &nbsp;
> 
> 
> &nbsp; &nbsp;&nbsp;How can I solve this problem?
> 
> &nbsp; &nbsp; 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? &nbsp; &nbsp;
> 
> &nbsp; &nbsp; I look forward to receiving your reply?

You don't say what distro you are using (or where else you got linux)
nor what version of systemd you are using. 

journald and journalctl etc are normally included with systemd. They
are for example with Raspbian, which is an ARM version of Debian.

> Best Regards?


------------------------------

Message: 2
Date: Thu, 28 May 2020 18:42:17 +0800
From: "=?gb18030?B?R2F2aW4=?=" <670915706 at qq.com>
To: "=?gb18030?B?c3lzdGVtZC1kZXZlbA==?="
	<systemd-devel at lists.freedesktop.org>
Subject: [systemd-devel] Some issues about compiling systemd on linux
Message-ID: <tencent_8AD8689E6E87D601C86ACE8B8290EB675508 at qq.com>
Content-Type: text/plain; charset="gb18030"

Hello ,


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.


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.



../src/libsystemd/sd-bus/test-bus-vtable-cc.cc:1:1: error: ?test? does not name a type
&nbsp;test-bus-vtable.c
&nbsp;^~~~
[1272/1466] Compiling C object 'test-dhcp-optio...xe/src_libsystemd-network_test-dhcp-option.c.o'
ninja: build stopped: subcommand failed.
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1


How can I solve this problem?


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?
&nbsp; &nbsp;


I look forward to receiving your reply?


Best Regards?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/7091cde1/attachment-0001.htm>

------------------------------

Message: 3
Date: Thu, 28 May 2020 11:17:03 +0000
From: Fredrik Hugosson <fredrik.hugosson at axis.com>
To: ??? <670915706 at qq.com>, systemd-devel
	<systemd-devel at lists.freedesktop.org>
Subject: Re: [systemd-devel] Some issues about compiling systemd on
	linux
Message-ID: <cc7b2de9296646efb8061813e63d3f23 at XBOX01.axis.com>
Content-Type: text/plain; charset="utf-8"

Hi!

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
/Fredrik

From: systemd-devel <systemd-devel-bounces at lists.freedesktop.org> On Behalf Of ???
Sent: den 28 maj 2020 11:35
To: systemd-devel <systemd-devel at lists.freedesktop.org>
Subject: [systemd-devel] Some issues about compiling systemd on linux

Hello ,

     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.

     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.
     [cid:image001.png at 01D634F2.465C1C60]

    How can I solve this problem?

    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?


    I look forward to receiving your reply?

Best Regards?






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/980286cd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 124955 bytes
Desc: image001.png
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/980286cd/attachment.png>

------------------------------

Subject: Digest Footer

_______________________________________________
systemd-devel mailing list
systemd-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


------------------------------

End of systemd-devel Digest, Vol 121, Issue 40
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200528/87bd5e0f/attachment.htm>


More information about the systemd-devel mailing list