[systemd-devel] systemd fails to build with static kmod library

Cristian Rodríguez crrodriguez at opensuse.org
Sun Jun 2 11:12:11 PDT 2013


El 02/06/13 13:28, Stephan Raue escribió:
> Am 02.06.2013 18:56, schrieb Cristian Rodríguez:
>> El 02/06/13 11:06, Stephan Raue escribió:
>>> Hi,
>>>
>>> systemd fails to build with using a statically libkmod.a:
>>
>> Sure it does, there is memdup, path_is_absolute and
>> path_make_absolute_cmd symbols defined in systemd and kmod.
>>
>> As static libraries do not have symbol visibility, you will get
>> collisions as expected.
>>
> ok, who is responsible for this? kmod or systemd?

Neither, you are using a non-standard build which is not supported. 
(there is a reason why both systemd and kmod are built with 
disable-static by default)

> i dont agree, i some cases it makes sense.

No, it does not , see http://www.akkadia.org/drepper/no_static_linking.html



More information about the systemd-devel mailing list