SUMMARY: X11R6.13 with Gcc on Solaris 5.5 can't make some Makefiles

From: Nicky Ayoub (Nicky.Ayoub@Microchip.COM)
Date: Fri Jul 12 1996 - 14:02:05 CDT


Hello once again,

The problem was make itself. blymn@awadi.com.au (Brett Lymn)
suggested I use gnu make and once I set it up and ran make World
it went through like a charm. It's making the Makefiles as I type...
Thanks to all who replied.

ps. Sorry for not mentioning that I was using GCC 2.7.2.

blymn@awadi.com.au (Brett Lymn)
Casper Dik <casper@holland.Sun.COM>
Richard Pieri <ratinox@unilab.dfci.harvard.edu>

... [ ORIGINAL MESSAGE ] ...
> Hello everyone, This is loooong. I hope it's clear :
>
> Help, I'm going grey...
>
> Things I had to do :
> 1) In sun.cf I did this, otherwise VerifyOS says SunOS 4.1.3 :
> #define OSName SunOS 5.5
> #define OSMajorVersion 5
> #define OSMinorVersion 5
> #define OSTeenyVersion 0
> #define CppCmd gcc -E
>
> 2) In site.def:
> #define HasGcc2 YES
> #define HasGcc2ForCplusplus YES
> #define ProjectRoot /pkg/X11R6
>
> 3) Can't use gnu make, so I use /usr/ccs/bin/make.
> 4) ln gcc cc ( For imake )
> 5) -DUSE_CC_E ( I didn't have a /lib/cpp, I have since made a link )
>
> So here is the problem, During make Makefiles part the makefile generation
> for makedepend fails. This is the third makefile to be created, I think.
> xc/Makefile is ok, as are makefiles in xc/config, xc/config/cf, and
> xc/config/imake. In any case, once it hits makedepend I get some strangeness
> pertaining to the Imakefile there...
>
> puck [580] [13:36] [Xsolaris/xc] > make Makefiles
> making Makefiles in config...
> mv Makefile Makefile.bak
> making Makefiles in config/cf...
> mv Makefile Makefile.bak
> making Makefiles in config/imake...
> mv Makefile Makefile.bak
> making Makefiles in config/makedepend...
> mv Makefile Makefile.bak
> In file included from ../../config/cf/Imake.tmpl:1048,
> from Imakefile.c:3:
> Imakefile:11: unterminated string or character constant
> Imakefile:11: possible real start of unterminated constant
> Imakefile:9: unterminated `#if' conditional
> ../../config/imake/imake: Exit code 33. Stop.
> make: Fatal error in reader: Makefile, line 6: Unexpected end of line seen
> Current working directory /src/Xsolaris/xc/config/makedepend
> making Makefiles in config/util...
> mv Makefile Makefile.bak
> making Makefiles in include...
> making Makefiles in include/bitmaps...
> making Makefiles in include/extensions...
> ....
>
> > cat -n ../../config/cf/Imake.tmpl | grep 1048
> 1048 #include INCLUDE_IMAKEFILE
>
> What's more is that the Makefile generated is very strange looking. First,
> It looks like it is not completed or cleaned up. It looks more like cpp
> output than a makefile. That is the XCOMMs are not stripped out. It has lots
> of blank lines. And file inclusion comments.
>
> I don't know what it is doing with Imakefile.c. That has me baffled.
> As anyone else seen this strangeness? I haven't hacked at the setup
> heavily so I can't point to anything I did. Similar minimal setup changes
> work out of the box on 4.1.4.
>
> Other makefiles exhibit this problem always specify :
> In file included from ../../config/cf/Imake.tmpl:1048,
> from Imakefile.c:3:
> and happen on lines with defines of this format, that require a variable
> evaluation :
> XKB_DEFINES = -DXKB_BASE_DIRECTORY=\"$(LIBDIR)/xkb\"
>
> FYI. Here they are:
> making Makefiles in lib/X11...
> making Makefiles in lib/Xt...
> making Makefiles in lib/Xmu...
> making Makefiles in programs/rgb...
> making Makefiles in programs/rstart...
> making Makefiles in programs/xdm...
> making Makefiles in programs/xfs/difs...
> making Makefiles in programs/xinit...
> making Makefiles in programs/Xserver/dix...
> making Makefiles in programs/Xserver/os...
> making Makefiles in programs/Xserver/xkb...
> making Makefiles in programs/Xserver/PEX5/ospex...
>
> Any clues are appreciated. I have gotten some pointers from the FAQ and
> X11R6-on-SUN-FAQ but can't find anything relevant.
>
> Nicky
> = = = = = = = = = = =+= = = = = = = = = = = = = = =+= = = = = = = = = = = =
> Nick Ayoub Nicky.Ayoub@Microchip.com CAD Support Engineer
> Mail Stop 1D Unix Systems Analyst
> http://www.ece.concordia.ca/~nicky/addr.html
> - - - - - - - - - - -+- - - - - - - - - - - - - - -+- - - - - - - - - - - -
> 2355 W. Chandler Blvd. Voice: (602) 786-7551
> Chandler AZ 85224-6199 Fax : (602) 786-7578
> USA Microchip Technology Inc. Pager: (602) 484-2965
> = = = = = = = = = = =+= = = = = = = = = = = = = = =+= = = = = = = = = = = =
>

Nicky
= = = = = = = = = = =+= = = = = = = = = = = = = = =+= = = = = = = = = = = =
Nick Ayoub Nicky.Ayoub@Microchip.com CAD Support Engineer
Mail Stop 1D Unix Systems Analyst
              http://www.ece.concordia.ca/~nicky/addr.html
- - - - - - - - - - -+- - - - - - - - - - - - - - -+- - - - - - - - - - - -
2355 W. Chandler Blvd. Voice: (602) 786-7551
Chandler AZ 85224-6199 Fax : (602) 786-7578
USA Microchip Technology Inc. Pager: (602) 484-2965
= = = = = = = = = = =+= = = = = = = = = = = = = = =+= = = = = = = = = = = =



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:05 CDT