[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Version 0.15 compile broke on Solaris 8
From: |
Aaron Williams |
Subject: |
Version 0.15 compile broke on Solaris 8 |
Date: |
Mon, 07 Aug 2006 16:40:11 -0700 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060602) |
gcc -DLOCALEDIR=\"/opt/gcc4/share/locale\" -DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/opt/gcc4/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/opt/gcc4/lib/gettext\"
-DGETTEXTJAR=\"/opt/gcc4/share/gettext/gettext.jar\"
-DLIBDIR=\"/opt/gcc4/lib\" -DGETTEXTDATADIR=\"/opt/gcc4/share/gettext\"
-DPROJECTSDIR=\"/opt/gcc4/share/gettext/projects\" -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I. -I.. -I../libgrep -I../libuniname -I../lib -I../lib
-I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/opt/gcc4/bin\"
-D_REENTRANT -I/opt/gcc4/include -g -O2 -c -o msginit-localealias.o
`test -f '../../gettext-runtime/intl/localealias.c' || echo
'./'`../../gettext-runtime/intl/localealias.c
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o msginit
msginit-msginit.o msginit-lang-table.o msginit-plural-count.o
msginit-localealias.o ../intl/localename.lo libgettextsrc.la
gcc -g -O2 -o .libs/msginit msginit-msginit.o msginit-lang-table.o
msginit-plural-count.o msginit-localealias.o ../intl/.libs/localename.o
./.libs/libgettextsrc.so
/var/tmp/gcc4/gettext-0.15/gettext-tools/lib/.libs/libgettextlib.so
-L/opt/gcc4/lib /opt/gcc4/lib/libiconv.so -lc -Wl,--rpath -Wl,/opt/gcc4/lib
msginit-localealias.o: In function `_nl_expand_alias':
../../gettext-runtime/intl/localealias.c:163: undefined reference to
`libintl_thread_in_use'
../../gettext-runtime/intl/localealias.c:210: undefined reference to
`libintl_thread_in_use'
collect2: ld returned 1 exit status
make[4]: *** [msginit] Error 1
make[4]: Leaving directory `/var/tmp/gcc4/gettext-0.15/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/gcc4/gettext-0.15/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/gcc4/gettext-0.15/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/gcc4/gettext-0.15/gettext-tools'
make: *** [all-recursive] Error 1
I was able to get it to compile by putting #ifdef _LIBC around
__libc_lock_lock and __libc_lock_unlock in _nl_expand_alias in
gettext-runtime/intl/localealias.c
This was compiled on Sparc Solaris 2.8 with GCC 4.1.1.
Version 0.14.5 had the same #ifdef. I am compiling with pthread thread
support, though I saw the same problem if I did not specify the type of
threads.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Version 0.15 compile broke on Solaris 8,
Aaron Williams <=