FTBFS with selinux enabled

Eamon Walsh ewalsh at tycho.nsa.gov
Thu Feb 25 16:40:37 PST 2010

On 02/25/2010 06:31 PM, Harald Braumann wrote:
> Hi,
> xserver fails to build, if selinux is enabled (git master as of today). 
> Affected are all the servers, except xfree86 (hw/{dmx,kdrive,vfb,xnest},
> didn't test quartz and xwin). The problem seems to be, that the linker
> flag for selinux is missing. If I add -lselinux to *_LDADD in the 
> Makefiles, it works. xfree86 works, because $SELINUX_LIBS is added
> to XORG_SYS_LIBS in configure.ac, if selinux is enabled.
> Shouldn't the same be done for the other *_SYS_LIBS variables in
> configure.ac? Or amidoinitwrong?

OK, I can reproduce this, thanks for the report.

I think the solution is to add SELINUX_LIBS to XSERVER_SYS_LIBS. 
Everything should pick it up then.


Eamon Walsh 
National Security Agency

More information about the xorg mailing list