<tt><font size=1>I've been getting a few problems building systemd with
"--enable-resolved". Any help would be very welcomed. I don't
have any problems when compiling with "--disable-resolved".</font></tt>
<br>
<br><tt><font size=1>The first problem I got was this:</font></tt>
<br>
<br><tt><font size=1>  CCLD   libnss_resolve.la</font></tt>
<br><tt><font size=1>libsystemd_internal_la-bus-message.o (symbol from
plugin): warning: memset used with constant zero length parameter; this
could be due to transposed parameters</font></tt>
<br><tt><font size=1>/tmp/cc03x1nN.ltrans6.ltrans.o: In function `bus_error_name_to_errno.4725':</font></tt>
<br><tt><font size=1>cc03x1nN.ltrans6.o:(.text+0x12bb): undefined reference
to `__stop_BUS_ERROR_MAP'</font></tt>
<br><tt><font size=1>cc03x1nN.ltrans6.o:(.text+0x12c2): undefined reference
to `__start_BUS_ERROR_MAP'</font></tt>
<br><tt><font size=1>collect2: ld returned 1 exit status</font></tt>
<br>
<br><tt><font size=1>I got around this be removing "-flto" from
"OUR_CFLAGS" in the Makefile. How is that change going to impact
systemd? Is there a better way to work around this problem?</font></tt>
<br>
<br><tt><font size=1>After I got pass the first error, I now get this:</font></tt>
<br>
<br><tt><font size=1>  CC     src/resolve/resolved-dns-cache.o</font></tt>
<br><tt><font size=1>src/resolve/resolved-dns-scope.c: In function ‘dns_scope_tcp_socket’:</font></tt>
<br><tt><font size=1>src/resolve/resolved-dns-scope.c:260:56: error: ‘IP_UNICAST_IF’
undeclared (first use in this function)</font></tt>
<br><tt><font size=1>src/resolve/resolved-dns-scope.c:260:56: note: each
undeclared identifier is reported only once for each function it appears
in</font></tt>
<br>
<br><tt><font size=1>I'm not sure what to do about this one. Ideas?</font></tt>
<br>
<br><tt><font size=1>Versions (Upgrading is not trivial. Patching is much
easier.):</font></tt>
<br>
<br><tt><font size=1>GNU ld (GNU Binutils for Ubuntu) 2.22</font></tt>
<br><tt><font size=1>gcc-4.6.real (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3</font></tt>