bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTBFS: xorg monolithic xserver


From: Barry deFreese
Subject: Re: FTBFS: xorg monolithic xserver
Date: Thu, 13 May 2004 17:54:33 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

M. Gerards wrote:

Quoting bddebian@comcast.net:

OK, I pulled down the monolithic sources for xserver to take a look at the
gnu.cf file for the modular stuff.

Just for kicks, I tried to build it and recieved the following error:

make[1]: Entering directory `/src/bdefreese/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/src/bdefreese/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR=""
in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include
-I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake`
imake.c
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/src/bdefreese/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f
./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
In file included from config/cf/Imake.tmpl:105,
                from Imakefile.c:14:
config/cf/gnu.cf:108: no macro name given in #ifndef directive
./config/imake/imake: Exit code 1.
 Stop.
make[1]: *** [config/makedepend/Makefile.proto] Error 1
make[1]: Leaving directory `/src/bdefreese/xc'
make: *** [World] Error 2

The problem is in:

#ifndef
#define CppCmd                  /lib/cpp
#endif

This should be changed into:

#ifndef CppCmd
#define CppCmd                  /lib/cpp
#endif

There are some other problems you will encounter.  There is one problem
when using pthreads.  When compiling Xorg, you will get some errors
in the pthread header files of the Hurd.  Robert made a patch for this,
but perhaps this is not the right solution to this problem.

Can you have a close look at gnu.cf, a lot of stuff changed here and I do not know if it all makes sense. I think it does not.

--
Marco

OK. So adding this fix from Marco, and clearing a little room on the old fs, I was able to build X.

The strange thing is, is that I have no startx, X, xinit, etc??? I am going to try to re-make tonight dumping to a log to see if I catch any errors but it ain't making much sense.. :-(


--
Barry deFreese
Debian 3.0r1 "Woody"
GNU/Hurd
Registered Linux "Newbie" #302256 - Hurd H4XX0r wannabe

"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning." Rich Cook.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]