Subject: Re: Problems building X11R6 server. (fwd)
To: None <simonb@NetBSD.org>
From: Andy Doran <ad@psn.ie>
List: port-pmax
Date: 04/18/1999 14:38:10
From NetBSD.cf:
/*
* XXX The DynamicModuleTarget macro in xf86.rules does NOT work properly
* XXX on ELF systems. This macro should be moved into bsdLib.rules, since
* XXX it depends on how shlibs are built on that platform.
* XXX
* XXX The following overrides DynamicModuleTarget so it should work on
* XXX ELF and a.out.
*/
The fix below that is only enabled for i386, arm32, and amiga. I've added
the following lines inside MipsArchitecture block (and committed):
#define PexDynamicModule NO
#define XieDynamicModule NO
These should fix it if you 'make clean' in XIE and 'make Makefiles; make
Xpmax' in the top-level Xserver directory. The modules should be linked
into the server, not built as .so's.
Yes, everybody hates Imakefiles I think. Although I hate autoconf/automake
more 8).
Andy.
On Sun, 18 Apr 1999, Simon Burge wrote:
> Andy,
>
> When trying to build the X11R6 server, I get the following error:
>
> mona:xc/programs/Xserver 288# make -k Xpmax
> making all in programs/Xserver/include...
> making all in programs/Xserver/dix...
> making all in programs/Xserver/os...
> making all in programs/Xserver/mi...
> making all in programs/Xserver/Xprint...
> making all in programs/Xserver/Xprint/pcl...
> making all in programs/Xserver/Xprint/ps...
> making all in programs/Xserver/Xext...
> making all in programs/Xserver/xkb...
> making all in programs/Xserver/XIE...
> "Makefile", line 602: Missing dependency operator
> Fatal errors encountered -- cannot continue
> *** Error code 1 (continuing)
> making all in programs/Xserver/lbx...
> making all in programs/Xserver/dbe...
> making all in programs/Xserver/record...
> making all in programs/Xserver/mfb...
> making all in programs/Xserver/cfb...
> making all in programs/Xserver/hw/netbsd/pmax...
> `Xpmax' not remade because of errors.
> mona:xc/programs/Xserver 289# sed -n '600,604p' XIE/Makefile
> clean::
> $(RM) xie.so
> InstallDynamicModule(xie.so,$(MODULEDIR))
>
> $(SUBDIRS): .EXEC
>
> Cut-n-pasting the InstallDynamicModule #define from xf86.rules didn't
> help - "make includes" then fails on Xserver/os when it can't find
> ../lib/xtrans/transport.c. Here's where I again say I really really
> don't like Imakefiles and plead for help :-)
>
> Simon.
>
>