[systemd-devel] [PATCH] build: fix problems with undefined references in tests

Lukasz Skalski l.skalski at partner.samsung.com
Mon Nov 25 05:08:24 PST 2013


On 11/25/2013 02:03 PM, Kay Sievers wrote:
> On Mon, Nov 25, 2013 at 1:56 PM, Lukasz Skalski
> <l.skalski at partner.samsung.com> wrote:
>> Please find patch in attachement for review - it fix problem
>> with undefined references in some test-libsystemd-*-sym.c tests.
>
> It looks a bit weird to add library requirements, theses libs should
> not need the other libraries. What exactly fails on your side?
>
> Kay
>

Hi,

Yes I know, but otherwise:

   CCLD   test-libsystemd-daemon-sym
   CC     test-libsystemd-id128-sym.o
   CCLD   test-libsystemd-id128-sym
./.libs/libsystemd-id128.so: undefined reference to `sd_bus_label_escape'
./.libs/libsystemd-id128.so: undefined reference to `sd_bus_label_unescape'
collect2: ld returned 1 exit status
make[2]: *** [test-libsystemd-id128-sym] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


-- 
Lukasz Skalski
Samsung R&D Institute Poland
Samsung Electronics
l.skalski at partner.samsung.com


More information about the systemd-devel mailing list