On Thu, Jan 25, 2007 at 10:51:21PM +0000, Joao Barros wrote: > Hi, > > I was trying to upgrade my Sun Ultra 5 from 6.1R to 6.2R and bumped > into this when doing a make buildword: > > building static binutils library > ranlib libbinutils.a > ===> gnu/usr.bin/binutils/addr2line (all) > cc -O2 -pipe -I. -I/usr/src/gnu/usr.bin/binutils/addr2line > -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbfd -I/usr/obj/u > cc -O2 -pipe -I. -I/usr/src/gnu/usr.bin/binutils/addr2line > -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbfd -I/usr/obj/u > ../libbinutils/libbinutils.a(bucomm.o)(.text+0xb28): In function > `make_tempname': > : warning: warning: mktemp() possibly used unsafely; consider using > mkstemp() > ../libbfd/libbfd.a(libbfd.o)(.text+0xa2c): In function > `_bfd_generic_verify_endian_match': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(libbfd.o)(.text+0xa70): In function > `_bfd_generic_verify_endian_match': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(libbfd.o)(.text+0xaec): In function `warn_deprecated': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(libbfd.o)(.text+0xb30): In function `warn_deprecated': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(bfd.o)(.text+0x74): In function `bfd_errmsg': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(bfd.o)(.text+0x2dc): more undefined references to > `libintl_dgettext' follow > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils/addr2line.
FreeBSD doesn't and never has included libintl, so if your sources are trying to compile against it, then they or your world are probably contaminated somehow. > I poked around binutils in the past trying to get firefox running with > the info from this PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=89486 Ah yes, that could do it ;) > Now I tried cvsuping the src, make clean and rebuilding binutils with no > luck. > Any pointers are most appreciated :) The easiest way to repair your system might be to just do a binary upgrade from new sysinstall media. Kris
pgpc8EkPkfiTj.pgp
Description: PGP signature