| Summary: | xorg-server 1.19 fails to compile for glibc with systemd init (x86_64) | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | |
| Component: | Other | Assignee: | Bernd Kuhls <bernd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | buildroot config | ||
Created attachment 6826 [details]
buildroot config
I think this would be fixed by https://patchwork.ozlabs.org/patch/700551/. (In reply to Thomas Petazzoni from comment #2) Confirmed. |
when trying to compile xorg server package for x86_64 with glibc/systemd enabled, I get following build error: ./../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -I../../../../dbe -I../../../../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ACPI -DHAVE_APM -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include/dbus-1.0 -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/dbus-1.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include/pixman-1 -O2 -pthread -c systemd-logind.c -fPIC -DPIC -o .libs/systemd-logind.o systemd-logind.c: In function ‘systemd_logind_vtenter’: systemd-logind.c:248:21: error: ‘xf86_num_platform_devices’ undeclared (first use in this function) for (i = 0; i < xf86_num_platform_devices; i++) { ^~~~~~~~~~~~~~~~~~~~~~~~~ systemd-logind.c:248:21: note: each undeclared identifier is reported only once for each function it appears in systemd-logind.c:249:13: error: ‘xf86_platform_devices’ undeclared (first use in this function) if (xf86_platform_devices[i].flags & XF86_PDEV_PAUSED) ^~~~~~~~~~~~~~~~~~~~~ Makefile:670: recipe for target 'systemd-logind.lo' failed make[6]: *** [systemd-logind.lo] Er Reproducible with git master from today with qemu defconfig qemu_x86_64_defconfig. Afterwards change to glibc and enable systemd as init.