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


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

RE: Compile Problems.


The patches you applied from mail archives were fro XFree86 4.0.1 and may
not
apply cleanly to XF86 4.0.2 or CVS version.

My latest patches to XF86 were applied to CVS day before yesterday (Feb
13th).
When did you do a CVS update?  
The following error mean there is a missing #endif in xc/config/cf/Imakefile
or 
or one of the required *.cf *.rules *.tmpl files.

> In file included from config/cf/Imake.tmpl:1766,
>                  from Imakefile.c:8:
> /tmp/IIf.615477:87: unterminated `#ifdef' conditional
> ./config/imake/imake: Exit code 1.
>   Stop.

These are a bit time consuming to figure out.  However the XF86 from CVS
at http://www.xfree86.org should compile.  I have checked it. Are you sure
that
you got CVS sources downloaded properly.  You ran cvs update on a directory
which contained XF86 4.0.2 sources from *.tar.gz files?  I am affraid cvs
update my not
have worked.  You need to do a cvs checkout to make sure you get all the
files properly.

Suhaib


> 
> Hi.  I'm new to the cygnus release of Xfree86, and am having problems
> compiling it from source.  If I try to compile the sources 
> available from
> the ftp site (4.0.1), Most of it doesn't compile, leaving me with a
> non-working Xfree86.  I searched the list and found out that 
> this is related
> to problems in one of the .dll files needed by other apps, 
> and had been
> fixed in later versions, so I went ahead and downloaded the 
> 4.0.2 source
> (via CVS).  It barfs with the following errors (yes, this is 
> the entire
> world.log.):
> 
> ========================snip=========================
> Building Release 6.5 of the X Window System.
> 
> I hope you checked the configuration parameters in ./config/cf
> to see if you need to pass BOOTSTRAPCFLAGS.
> 
> Thu Feb 15 20:05:17  2001
> 
> cd ./config/imake && make - --unix -f Makefile.ini BOOTSTRAPCFLAGS=""
> CC="gcc" clean
> make[1]: Entering directory `/home/jimmie/xc/config/imake'
> rm -f ccimake imake.o imake
> rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags 
> TAGS make.log \#*
> rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
> make[1]: Leaving directory `/home/jimmie/xc/config/imake'
> make - --unix Makefile.boot
> make[1]: Entering directory `/home/jimmie/xc'
> cd ./config/imake && make - --unix -w -f Makefile.ini 
> BOOTSTRAPCFLAGS=""
> CC="gcc"
> make[2]: Entering directory `/home/jimmie/xc/config/imake'
> 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 `/home/jimmie/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:94,
>                  from Imakefile.c:8:
> config/cf/cygwin.cf:43: warning: `HasGcc' redefined
> Imakefile.c:2: warning: this is the location of the previous 
> definition
> config/cf/cygwin.cf:44: warning: `HasGcc2' redefined
> Imakefile.c:3: warning: this is the location of the previous 
> definition
> In file included from config/cf/Imake.tmpl:1766,
>                  from Imakefile.c:8:
> /tmp/IIf.615477:87: unterminated `#ifdef' conditional
> ./config/imake/imake: Exit code 1.
>   Stop.
> make[1]: *** [config/makedepend/Makefile.proto] Error 1
> make[1]: Leaving directory `/home/jimmie/xc'
> make: *** [World] Error 2
> ========================snip=========================
> 
> I checked the mailing list again to see if there has been a 
> fix made for
> this, and actually found one (I forget what message...).  So 
> I tried the 2
> patches it contained:  one for cygwin.cf, and one for 
> imake.c.  The patch
> for cygwin.cf worked, but the one for imake.c didn't.  
> Hmmm...So I decided
> to give it one last shot and got the latest CVS code (using 
> cvs update -A
> xc).  Same result as 4.0.2...
> 
> Any ideas about what's going on here?  I'm running WinME on a 
> P2-300 w/128
> megs of ram, and an ATI Rage XC video card with the latest drivers.
> 
> James Potts
> (webmaster@verge-net.com)
> 


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