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

Robin C amisbievre at posteo.net
Mon Apr 20 08:52:03 UTC 2020


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,
                                  ^~~~~~~~~~~~
Makefile:13870: recipe for target 'src/basic/libbasic_la-errno-list.lo' failed
make[2]: *** [src/basic/libbasic_la-errno-list.lo] Error 1
make[2]: *** Attente des tâches non terminées....
In file included from ../src/basic/af-list.c:31:0:
./src/basic/af-from-name.h:140:1: error: conflicting types for ‘lookup_af’
  lookup_af (register const char *str, register size_t len)
  ^~~~~~~~~
../src/basic/af-list.c:28:30: note: previous declaration of ‘lookup_af’ was here
  static const struct af_name* lookup_af(register const char *str, register unsigned int len);
                               ^~~~~~~~~
Makefile:13877: recipe for target 'src/basic/libbasic_la-af-list.lo' failed
make[2]: *** [src/basic/libbasic_la-af-list.lo] Error 1
In file included from ../src/basic/arphrd-list.c:31:0:
./src/basic/arphrd-from-name.h:125:1: error: conflicting types for ‘lookup_arphrd’
  lookup_arphrd (register const char *str, register size_t len)
  ^~~~~~~~~~~~~
../src/basic/arphrd-list.c:28:34: note: previous declaration of ‘lookup_arphrd’ was here
  static const struct arphrd_name* lookup_arphrd(register const char *str, register unsigned int len);
                                   ^~~~~~~~~~~~~
Makefile:13884: recipe for target 'src/basic/libbasic_la-arphrd-list.lo' failed
make[2]: *** [src/basic/libbasic_la-arphrd-list.lo] Error 1
Makefile:18041: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:8926: recipe for target 'all' failed
make: *** [all] Error 2

How can I handle with this? Is there a way to have prebuild images?

Best regardes and thanks for your help

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200420/47cf55c6/attachment.htm>


More information about the systemd-devel mailing list