[systemd-devel] Fwd: systemd for petitboot as linux payload (x230)

Paul Menzel pmenzel+systemd-devel at molgen.mpg.de
Mon Apr 20 10:00:21 UTC 2020


Dear systemd folks,


Am 20.04.20 um 11:47 schrieb Lennart Poettering:
> On Mo, 20.04.20 10:52, Robin C (amisbievre at posteo.net) wrote:
> 
>>
>> Hi everyone,
>>
>> I'm curruntly trying to build petitboot for my lenovo x230 (actualy runs
>> coreboot + tianocore).
>>
>> I use this tutorial to build it:
>> https://www.raptorengineering.com/content/kb/1.html
>>
>> I think it is not up to date, can anyone confirme or not? I'm stuck on the
>> first part, buildind systemd... I have this errors:
>>
>> In file included from ../src/basic/errno-list.c:31:0:
>> ./src/basic/errno-from-name.h:143:1: error: conflicting types for ‘lookup_errno’
>>   lookup_errno (register const char *str, register size_t len)
>>   ^~~~~~~~~~~~
>> ../src/basic/errno-list.c:27:33: note: previous declaration of ‘lookup_errno’ was here
>>   static const struct errno_name* lookup_errno(register const char *str,
>>                                   ^~~~~~~~~~~~
> 
> gperf changed its output some time back. You need to have a newer
> gperf (or if you build an older version of systemd, an older one) to
> build systemd.

Maybe the configure script can check the version. I created an issue [1].


Kind regards,

Paul


[1]: https://github.com/systemd/systemd/issues/15492


More information about the systemd-devel mailing list