bug-hurd
[Top][All Lists]
Advanced

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

Re: FTBFS: xorg monolithic xserver


From: M. Gerards
Subject: Re: FTBFS: xorg monolithic xserver
Date: Wed, 12 May 2004 09:10:24 +0200
User-agent: Internet Messaging Program (IMP) 3.1

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




reply via email to

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