FTBFS with selinux enabled
Justin P. mattock
justinmattock at gmail.com
Thu Feb 25 22:04:42 PST 2010
On 02/25/2010 04:40 PM, Eamon Walsh wrote:
> 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.
>
>
>
glad you posted this.. I was building the protocol headers
as I saw this.
Anyways I posted a patch that gets xserver to compile
hopefully It's correct with the info from both of you guys.
let me know if there's more needed.
Justin P. mattock
More information about the xorg
mailing list