help wanted: get minimal xserver built
Daniel Stone
daniel at freedesktop.org
Fri Feb 17 07:10:27 PST 2006
On Fri, Feb 17, 2006 at 03:34:32PM +0100, Enrico Weigelt wrote:
> * Daniel Stone <daniel at freedesktop.org> wrote:
> > Install the .m4 files from util/macros/ to /usr/share/aclocal, or
> > somewhere else and then pass the -I option to aclocal. See
> > util/modular/build.sh for an example of how to do it.
>
> Which package do they come from ?
> xorg-xserver doesnt have such an subdir, neither has it .m4 files
> defining the missing macro.
/cvs/xorg/util/macros.
> > Yes, but what's happening is this --
> > Build with Render: gcc -I$(top_srcdir)/render fbfoo.c
> > Build without Render: gcc fbfoo.c
> >
> > So, if you're going to disable Render, you'll need to either leave its
> > include path in CFLAGS, or, even better, not include any of its files
> > when not building with it (i.e. remove all uses of Pictures).
>
> How can I find out, which .c files belong to the render stuff
> (an can be left out when render is disabled) ?
If you're using a Picture, that's Render. If you need to include stuff
from render/, then you're almost certainly using Render.
> > > The xserver fails linking because some symbols are missing, which are
> > > found in libfb, but libfb itself also adds further dependencies ...
> > >
> > > I'm really not sure if this is the right way.
> >
> > No, it's not. Which symbols are missing?
>
> many ... for example some from libfb.a
> I'm currently running the build ... I'll post the errors if its finished ...
> (takes very long on an AthlonXP ...)
Probably from Render, I'd imagine (hint: don't enable fbpict.c on a
Render server).
> > > hmm, what is this file for ? how can I come around it ?
> >
> > picturestr.h defines Pictures. exa.h is for the new acceleration
> > architecture. So, I guess you'd need to remove all Exa's knowledge of
> > Render, again.
>
> Or perhaps completely disable exa (at least for now) ?
If you feel like it -- it's your build.
More information about the xorg-modular
mailing list