Hello,

I know this is a FAQ, and perhaps I'll be blamed for asking it again...

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).
# uname -a
OpenBSD edigarov.sa.net.ua 4.7 GENERIC#16 amd64

This happen while i am trying to build from sources. The system is
the latest binary snapshot as found on ftp.openbsd.org.
Upgraded from snapshot, done 
cvs up -Pd in /usr/src; rm -rf /usr/obj/*; make obj; make build
build process stops with above error. 

Just want to learn how to struggle this.

Here's what i tryed:

cd /usr/src/gnu/lib/libiberty
make -f Makefile.bsd-wrapper cleandir 
make -f Makefile.bsd-wrapper depend
make -f Makefile.bsd-wrapper

no success...


-- 
With best regards,
        Gregory Edigarov

Reply via email to