[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext 0.11.1 undefined symbol _eprintf
From: |
Bruno Haible |
Subject: |
Re: gettext 0.11.1 undefined symbol _eprintf |
Date: |
Tue, 9 Apr 2002 17:42:44 +0200 (CEST) |
Thurn, Martin (Intranet) writes:
> Now I get the following error during make.
> This is gettext 0.11.1 on Solaris 8 with gcc 3.0.4
> Undefined first referenced
> symbol in file
> __eprintf basename.lo
This is a bug in GCC 3.0.4. You had a GCC 2.xx installed at the same
place earlier, and it installed a file assert.h in
$prefix/sparc-sun-solaris2.8/include/assert.h
This file doesn't work anymore with GCC 3.0.4. IMO GCC 3.0.4 ought to
have removed it or moved it to
$prefix/lib/gcc-lib/sparc-sun-solaris2.8/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