On Oct 6,  9:18pm, [email protected] (Riccardo Mottola) wrote:
-- Subject: Re: build broken -groff and c++ compiler

| Hi Christos,
| 
| Thanks.
| 
| Christos Zoulas wrote:
| > On Oct 6,  2:21pm, [email protected] (Riccardo Mottola) wrote:
| > -- Subject: Re: build broken -groff and c++ compiler
| >
| > | Hi,
| > |
| > | Christos Zoulas wrote:
| > | > 1. cvs update to head
| > | > 2. cd /usr/src/external/gpl3/binutils
| > | > 3. for i in lib usr.bin usr.sbin; do (cd $i && make && make install); 
done
| > | thanks, but it fails with:
| >
| > Add USETOOLS=never to the make lines.
| >
| Hi, that helped quite a bit, however:
| 
| #   compile  addr2line/filemode.o
| gcc -O2 -O2 -fexpensive-optimizations -march=pentium-m -std=gnu99 
| -I/usr/src/external/gpl3/binutils/usr.bin/addr2line/../common/arch/i386 
| -DHAVE_CONFIG_H -I/usr/src/external/gpl3/binutils/lib/libbfd/arch/i386 
| -I/usr/src/external/gpl3/binutils/dist/include 
| -I/usr/src/external/gpl3/binutils/dist/bfd 
| -I/usr/src/external/gpl3/binutils/dist/binutils 
| -DLOCALEDIR=\"/usr/share/locale\"  -c 
| /usr/src/external/gpl3/binutils/dist/binutils/filemode.c
| make[1]: don't know how to make 
| /usr/src/external/gpl3/binutils/lib/libiberty/libiberty.a. Stop

Looks like objdir or incomplete build confusion. Remove any objdirs and
their contents, make cleandir, make obj, make dependall, make install
first in lib and then in the bin directories.

christos

Reply via email to