glib-2.12.9 build failure on solaris 10



Title: glib-2.12.9 build failure on solaris 10

Hello,

I'm unable to get glib-2.12.9 to build on Solaris 10.  Here are my build steps:

        configure --prefix=/sea/local/bin
        make

Build fails with the following error:

/bin/sh ../libtool --mode=link /sea/compilers/native/gcc-3.4.6/bin/gcc  -O2 -I/sea/local/versions/R1/include -Wall  -D_REENTRANT -L/sea/compilers/native/gcc-3.4.6/lib -L/sea/local/versions/R1/libiconv/lib -L/sea/local/versions/R1/lib -o testgthread  testgthread.o ../libglib.la libgthread.la

/sea/compilers/native/gcc-3.4.6/bin/gcc -O2 -I/sea/local/versions/R1/include -Wall -D_REENTRANT -L/sea/compilers/native/gcc-3.4.6/lib -L/sea/local/versions/R1/libiconv/lib -L/sea/local/versions/R1/lib -o .libs/testgthread testgthread.o ../.libs/libglib.so .libs/libgthread.so -lthread -Wl,--rpath -Wl,/sea/local/versions/R1/lib

/sea/compilers/native/gcc-3.4.6/bin/ld: .libs/libgthread.so: mutex_lock: invalid version 2 (max 0).libs/libgthread.so: could not read symbols: Bad value

collect2: ld returned 1 exit status

Build environment:

crossbow:sea> uname -a
SunOS crossbow 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200 Solaris

crossbow:sea> /sea/compilers/native/gcc-3.4.6/bin/gcc --version
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Please advise on how to resolve this issue.

Reid Madsen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]