This is the mail archive of the
mailing list for the glibc project.
Re: Xfree86 Fails to compile.
Gaël Quéri wrote:
> On Thu, Apr 06, 2000 at 12:37:25PM -0400, Wolfgang Sourdeau wrote:
> > > The configuration process for Xfree86-4.0 fails to detect one's
> > > system setup properly. In my case I had to make a symlink named
> > > "1-pc-linux-gnu" in /usr/lib/gcc-lib, pointing to my real
> > > compiler location, i686-pc-linux-gnu, then everything went
> > > fine. (This was after noticing that XFree was looking for
> > > headers under 1-pc-linux-gnu -- why, I don't know.)
> > >
> > > Allin Cottrell.
> > >
> > This is a problem I encountered when compiling 3.3.6 too. The problem
> > seems to be with imake or makedepend (don't remember exactly). The short
> > solution I used was to hardcode my architecture in the related
> > Imakefile.
> The actual problem comes from gcc's preprocessor: in your case it #defines
> i686 to 1 and imake uses it to process Imakefiles and thus
> i686-pc-linux-gnu becomes 1-pc-linux-gnu...
> There are many solutions: you can #define CppCmd to /usr/bin/cpp -ansi
> in the imake config stuff or the simplest is to make makedepend
> in xc/config/makedepend with
> $ make POSTINCDIR=`gcc --print-file-name=include`
> and then make the rest with
> $ make depend && make
> in xc and hopefully you will have something working some hours later....
> Regards, gael
Thanks, and this solved the cascade of 'cannot find stddef.h'', etc.. I get
plenty farther than I did before,
but I'm still freezing during the compile... and it's still that darned
makedepend program... Any more suggestions?