[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile errors
From: |
Bruno Haible |
Subject: |
Re: compile errors |
Date: |
Mon, 16 Dec 2002 15:17:13 +0100 (CET) |
Dan Robinson writes:
> I have downloaded, compiled, and installed the gcc-3.2.1 compiler.
> Since then, I can no longer compile gettext-0.11.5, or libtool-1.4.3.
>
> I get the following error:
>
> Undefined first referenced
> symbol in file
> __eprintf basename.lo
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libgettextlib-0.11.5.so
This is a bug in GCC 3.2.1. You had a GCC 2.xx installed at the same
place earlier, and it installed a file assert.h in
$prefix/sparc-sun-solarisx.y/include/assert.h
This file doesn't work anymore with GCC 3.2.1. IMO GCC 3.2.1 ought to
have removed it or moved it to
$prefix/lib/gcc-lib/sparc-sun-solarisx.y/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
- compile errors, Dan Robinson, 2002/12/12
- Re: compile errors,
Bruno Haible <=