Doug Summers wrote:
I needed to rebuild my OpenPKG 2.4 installation on a Solaris 8 machine.
For some reason I'm getting this during the build of binutils:
/usr/local/bin/gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-DOPENPKG_OS_SOLARIS -o size size.o bucomm.o version.o filemode.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
Undefined first referenced
symbol in file
libintl_gettext size.o
libintl_textdomain size.o
libintl_bindtextdomain size.o
libintl_dgettext ../bfd/.libs/libbfd.a(archive.o)
ld: fatal: Symbol referencing errors. No output written to size
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-binutils] Error 2
error: Bad exit status from /syscfg/opkg/RPM/TMP/rpm-tmp.4595 (%build)
I have make, m4, & libiconv already installed.
Doug
Looks like it was a NLS problem, except I don't remember having this
problem last year when I first started using OpenPKG. Like last year I
used Blastwave's PKG-GET version of GCC, which returns this:
/usr/local/bin/gcc -v
Reading specs from /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.4/specs
Configured with: ../sources/gcc-3.4.4/configure --prefix=/opt/csw/gcc3
--with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
--enable-shared --enable-multilib --enable-nls --with-included-gettext
--with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib
--enable-languages=all
Thread model: posix
gcc version 3.4.4
This is the one that failed. The one that worked was one I shared from
another Solaris 8 machine that already had a version of OpenPKG installed:
/openpkg/bin/gcc -v
Reading specs from /openpkg/lib/gcc/sparc-sun-solaris2.8/3.4.4/specs
Configured with: ../configure --cache-file=./config.cache
--srcdir=/openpkg/RPM/TMP/gcc-3.4.4/obj/.. --prefix=/openpkg
--exec-prefix=/openpkg --includedir=/openpkg/include/gcc
--libexecdir=/openpkg/libexec/gcc
--with-gxx-include-dir=/openpkg/include/g++
--with-local-prefix=/openpkg/lib/gcc --enable-languages=c,c++
--enable-threads=posix --disable-maintainer-mode --disable-shared
--disable-nls --with-gnu-ld --with-ld=/openpkg/bin/ld --with-gnu-as
--with-as=/openpkg/bin/as
Thread model: posix
gcc version 3.4.4 (OpenPKG-2.4)
The weird thing is that I used Blastwave's version of GCC to create my
first Solaris 8 (and 9 for that matter) rpm set. Did something change?
I've noticed many other packages use --disable-nls but binutils doesn't.
Did it used to?
Doug
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org