This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Can't build Xfree for Cygwin


Oliver,

--------------------------------------------------
Here's the gist of the error you reported:

making imake with BOOTSTRAPCFLAGS= in config/imake
gcc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake`
imake.c
gcc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory
`/cygdrive/d/Oly/Downloads/cygwin/xfreedev/x-devel/build/std/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:1799,
                 from Imakefile.c:8:
/tmp/IIf.000703:92: unterminated `#ifdef' conditional
./config/imake/imake: Exit code 1.
  Stop.

--------------------------------------------------
Here's what I get after pulling a fresh tree and building:

make[2]: Entering directory
`/home/Administrator/xtest/build/std/config/imake'
making imake with BOOTSTRAPCFLAGS= in config/imake
gcc -o ccimake  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
gcc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake`
imake.c
gcc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory
`/home/Administrator/xtest/build/std/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
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o
bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
make[2]: Entering directory
`/home/Administrator/xtest/build/std/config/makedepend'


In conclusion, there is nothing wrong with the code in CVS.  I see three
things to look at:
1) Update your Cygwin installation.  You may have an old version of
something that is causing problems.
2) Remove any xc/config/cf/host.def and xc/config/cf/site.def, as they
probably contain the unterminated #ifdef conditional.
3) Always start your build completely over in a new directory (using
'lndir') after a failed build, or remove the failed build directory,
recreate it, and relink it.

Good luck, and report your results to the list,

Harold


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]