|
From: | peter dot kovar at gmail dot com |
Subject: | [Bug gold/10105] gold compilation failure on F11 x86-64 b/c of conflicting basename() declaration |
Date: | 22 Jun 2009 22:09:11 -0000 |
------- Additional Comments From peter dot kovar at gmail dot com 2009-06-22 22:09 ------- make[4]: Entering directory `/usr/src/GNU/binutils/Linux/x86-64/gold' if g++ -DHAVE_CONFIG_H -I. -I../../../gold -I. -I../../../gold -I../../../gold/../include -I../../../gold/../elfcpp -DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\"" -DTOOLBINDIR="\"/usr/local/x86_64-unknown-linux-gnu/bin\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=archive.o -g -O2 -MT archive.o -MD -MP -MF ".deps/archive.Tpo" -c -o archive.o ../../../gold/archive.cc; \ then mv -f ".deps/archive.Tpo" ".deps/archive.Po"; else rm -f ".deps/archive.Tpo"; exit 1; fi In file included from ../../../gold/archive.cc:30: ../../../gold/../include/libiberty.h:105: error: new declaration ‘char* basename(const char*)’ /usr/include/string.h:601: error: ambiguates old declaration ‘const char* basename(const char*)’ make[4]: *** [archive.o] Error 1 -- http://sourceware.org/bugzilla/show_bug.cgi?id=10105 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] | Current Thread | [Next in Thread] |