[systemd-devel] Compilation error on Debian
Maciej Wereski
m.wereski at partner.samsung.com
Thu Feb 20 01:21:35 PST 2014
20.02.2014 on 09:59 Holger Schurig <holgerschurig at gmail.com> wrote:
> I'm on Debian 7.4 (the current stable one), gcc is "gcc (Debian
> 4.7.2-5) 4.7.2". I get lots of warnings, but also a compilation error.
>
> I also get one warning at autogen time and one warning at configure time.
>
>
> For the compilation error: I have libc6-dev in version 2.13-38+deb7u1.
> Doesn't that one define setns? The libc6-dev *.deb provides
> /usr/include/i386-linux-gnu/bits/syscall.h, which at least defines
> SYS_setns.
>
> [cut]
You need glibc >= 2.14
> ...
> CCLD pam_systemd.la
> libsystemd_internal_la-bus-message.o (symbol from plugin): warning:
> memset used with constant zero length parameter; this could be due to
> transposed parameters
> /tmp/ccSsUdbL.ltrans11.ltrans.o: In function `namespace_enter':
> ccSsUdbL.ltrans11.o:(.text+0xf94): undefined reference to `setns'
> ccSsUdbL.ltrans11.o:(.text+0xfa8): undefined reference to `setns'
> collect2: error: ld returned 1 exit status
> make[2]: *** [pam_systemd.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
for details please see commit 4ec181a0065102ccb0a8992ed9f2fa4860e44b43
regards,
--
Maciej Wereski
Samsung R&D Institute Poland
Samsung Electronics
m.wereski at partner.samsung.com
More information about the systemd-devel
mailing list