<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><div><div>Hello ,</div><div><br></div><div>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.</div><div><br></div><div>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.</div></div><div><br></div><div><div>../src/libsystemd/sd-bus/test-bus-vtable-cc.cc:1:1: error: ¡®test¡¯ does not name a type</div><div> test-bus-vtable.c</div><div> ^~~~</div><div>[1272/1466] Compiling C object '<a href="http://test-dhcp-optio...xe/src_libsystemd-network_test-dhcp-option.c.o" rel="noopener" target="_blank" style="outline: none; cursor: pointer; color: rgb(0, 102, 153);">test-dhcp-op<wbr>tio...xe/src<wbr>_libsystemd-<wbr>network_test<wbr>-dhcp-option<wbr>.c.o</a>'</div><div>ninja: build stopped: subcommand failed.</div><div>Makefile:2: recipe for target 'all' failed</div><div>make: *** [all] Error 1</div><div><span style="color: rgb(255, 0, 0); font-size: large;"><br></span></div><div><span style="color: rgb(255, 0, 0); font-size: large;">How can I solve this problem?</span></div><div><div><br></div><div>My ultimate goal is to <span style="color: rgb(255, 0, 0);">run the journald module on ARM</span>. I can transplant the systemd. Of course, it is better to be able to compile the journald separately.<span style="color: rgb(255, 0, 0); font-size: large;"> But I don't know how to cross-compile systemd yet, can you give me some help?</span></div><div>   </div><div><br></div><div>I look forward to receiving your reply£¡</div><div><br></div><div>Best Regards£¡</div></div><div><br style="  ; ; ;; "></div></div></div>