bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext 0.11 build failed on solaris 2.6


From: Bruno Haible
Subject: Re: gettext 0.11 build failed on solaris 2.6
Date: Fri, 1 Feb 2002 12:54:15 +0100 (CET)

Paul Lew writes:
> Just tried to build gettext 0.11 on Solaris and it failed.
> 
> cns-build2 paullew gettext-0.11> uname -a
> SunOS cns-build2 5.6 Generic_105181-28 sun4u sparc
> cns-build2 paullew gettext-0.11> gcc -v
> Reading specs from
> /auto/insbu-cnstools/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/specs
> Configured with: ../gcc-3.0.3/configure --prefix=/auto/insbu-cnstools
> Thread model: posix
> gcc version 3.0.3
> 
> Failed in linking phase:
> 
> Undefined                       first referenced
>  symbol                             in file
> __eprintf                           basename.lo

This is a bug in GCC 3.0.3. You had a GCC 2.xx installed at the same
place earlier, and it installed a file assert.h in
  /auto/insbu-cnstools/sparc-sun-solaris2.6/include/assert.h
This file doesn't work anymore with GCC 3.0.3. IMO GCC 3.0.3 ought to
have removed it or moved it to
  /auto/insbu-cnstools/lib/gcc-lib/sparc-sun-solaris2.6/2.xxx/include/assert.h
but it didn't do it.

The fix for you is to remove this assert.h file (but not the one in
/usr/include !) and rebuild gettext using "make clean; make".

Bruno



reply via email to

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