help wanted: get minimal xserver built

Enrico Weigelt weigelt at metux.de
Fri Feb 17 06:34:32 PST 2006


* Daniel Stone <daniel at freedesktop.org> wrote:

<snip>
> 
> 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.

<snip>

> 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) ? 

<snip>

> > 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 ...)

<snip>

> > > > diff -ruN xorg-server-1.0.1.orig/hw/xfree86/exa/exa.h xorg-server-1.0.1/hw/xfree86/exa/exa.h
> > > > --- xorg-server-1.0.1.orig/hw/xfree86/exa/exa.h	Thu Feb 16 17:12:26 2006
> > > > +++ xorg-server-1.0.1/hw/xfree86/exa/exa.h	Thu Feb 16 19:04:02 2006
> > > > @@ -30,7 +30,12 @@
> > > >  #include "pixmapstr.h"
> > > >  #include "windowstr.h"
> > > >  #include "gcstruct.h"
> > > > +
> > > > +#ifdef RENDER
> > > >  #include "picturestr.h"
> > > > +#else
> > > > +#include "../render/picturestr.h"
> > > > +#endif
> > > >  
> > > >  #define EXA_VERSION_MAJOR   0
> > > >  #define EXA_VERSION_MINOR   2
> > > 
> > > No -- see comment on fbpict.c (which I'd imagine has no business being
> > > built in the non-Render case).
> > 
> > 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) ? 


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------


More information about the xorg-modular mailing list