Summary: | modular build of Xprt | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Drew Parsons <dparsons> | ||||
Component: | Build/Modular | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | high | ||||||
Version: | git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Drew Parsons
2006-01-07 03:38:31 UTC
Created attachment 4261 [details] [review] patch to build working modular Xprt Xprint/pcl-mono also needs to be added. It contains a single Makefile.am: xserver/xorg/Xprint/pcl-mono/Makefile.am: ################################################# noinst_LTLIBRARIES = libpcl.la PCL_DRIVER = -DXP_PCL_MONO include ../pcl/Makefile.am.inc ##################################################### (cf. the new xserver/xorg/Xprint/pcl/Makefile.am) why does Xprint need LBX? that's totally nonintuitive. applied, going to chase down the LBX thing though. thanks! It may well be that Xprint doesn't "need" LBX (I don't know what LBX is myself). While trying to get a working Xprt binary, one of the problems I came up against was that client->devPrivates was NULL but was being dereferenced in xext/xprint.c::XpContextOfClient, leading to a segfault. I learnt that it was set to NULL in dix/main.c because "totalClientSize == sizeof(ClientRec)". The definition of ClientRec is in include/dixstruct.h, #included in dix/dispatch.c and has various optional parts conditional #if LBX, XCSECURITY, XAPPGROUP etc. At the same time I was using the old Xprint build (from xprint.mozdev.org) to check which -Ddefines were missing. The old build of dispatch.c used "-DLBX -DXAPPGROUP -DXCSECURITY", and put it into libdix.a, which was later linked into Xprt. My old Xprt build actually compiled dispatch.c twice (both with -DLBX), once for libdix.a, and later in xc/programs/Xserver/GL/mesa for libGLcore.a. libGLcore.a was also linked into Xprt (I haven't tested Xprint with GL in the modular build yet). So I can't say that Xprint "needs" LBX, I was just keeping the build environment as consistent as possible to what it was in the monolithic build. *** Bug 4174 has been marked as a duplicate of this bug. *** Apparently I filed 4174 but I don't remember, so I'm removing myself from CC. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.