On Mon, 7 Jun 2010 12:57:06 +0300 Gregory Edigarov <[email protected]> wrote:
> On Sun, 06 Jun 2010 12:33:24 +0200 > Gabriel Kihlman <[email protected]> wrote: > > > Gabriel Kihlman <[email protected]> writes: > > > > > Gregory Edigarov <[email protected]> writes: > > > > > >> Gabriel, > > >> > > >> The gcc is already the necessary version: > > >> > > > > > > But you missed this part from the faq: > > > > > > [ ... ] > > > rm -rf /usr/include/g++/* > > > cd /usr/src/gnu/lib/libstdc++-v3 > > > make obj && make includes && make depend && make && make install > > > [ ... ] > > > > > > You see? Remove old headers.. > > > > Oh and it even says: > > > > [ ... ] > > For people updating using snapshots, don't forget to: > > > > rm -rf /usr/include/g++/* > > > > before installing newer snapshot. > > [ ... ] > > > > > > So you have no excuse... > > > > /gabriel > > no excuse, you say.... > well... > > # cat /root/build.sh > rm -rf /usr/obj/* > rm -rf /usr/include/g++/* > cd /usr/src && make obj > cd /usr/src/etc && env DESTDIR=/ make distrib-dirs > cd /usr/src && make build > > # sh build this is # sh build.sh of course... but the rest of the question stays :-( > > [skip many strings] > > cc -O2 -pipe -g -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libiberty/src > -I/usr/src/gnu/lib/libiberty/include -I/usr/src/gnu/lib/libiberty/obj > -c /usr/src/gnu/lib/libiberty/src/hex.c -o > hex.o /usr/src/gnu/lib/libiberty/src/hex.c:22: error: conflicting > types for > '_hex_value' /usr/src/gnu/lib/libiberty/include/libiberty.h:338: > error: previous declaration of '_hex_value' was here *** Error code 1 > > Stop in /usr/src/gnu/lib/libiberty (line 92 of /usr/share/mk/sys.mk). > *** Error code 1 > > Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). > *** Error code 1 > > Stop in /usr/src (line 74 of Makefile). > > Now, where am I wrong? > -- With best regards, Gregory Edigarov

