Latest cvs on Solaris 8
Charles Gagnon
charlesg at unixrealm.com
Thu Aug 7 14:58:41 CDT 2003
On Thu, Aug 07, 2003 at 11:48:49AM -0400, Derek Atkins wrote:
> Charles Gagnon <charlesg at unixrealm.com> writes:
>
[...]
> This looks like libintl.a didn't get properly added to
> libgncmod-engine. Check your config.log to make sure it was actually
> able to find libintl.
I have a libintl.a which I checked for no_domain_bindings:
(charlesg at renoir): ~$ nm /usr/local/lib/libintl.a |grep nl_domain_bindings
U libintl_nl_domain_bindings
0000000000000004 C libintl_nl_domain_bindings
So I ran the autogen.sh with:
% env CPPFLAGS=-D_nl_domain_bindings=_nl_domain_bindings__ LD=gcc \
bash ./autogen.sh --disable-error-on-warning
But I still get the same:
../.libs/libgncmod-engine.so: undefined reference to `libintl_gettext'
Here's an extract from my config.log:
configure:6321: checking for GNU gettext in libc
configure:6348: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c >&5
/var/tmp/ccJJx2zG.o: In function `main':
/home/charlesg/src/gnucash/configure:6339: undefined reference to `libintl_bindtextdomain'
/home/charlesg/src/gnucash/configure:6340: undefined reference to `libintl_gettext'
/home/charlesg/src/gnucash/configure:6340: undefined reference to `_nl_domain_bindings'
/home/charlesg/src/gnucash/configure:6340: undefined reference to `_nl_domain_bindings'
/home/charlesg/src/gnucash/configure:6340: undefined reference to `_nl_msg_cat_cntr'
/home/charlesg/src/gnucash/configure:6340: undefined reference to `_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure:6351: $? = 1
configure: failed program was:
#line 6326 "configure"
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
;
return 0;
}
configure:6367: result: no
configure:6750: checking for GNU gettext in libintl
configure:6785: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c /us
r/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -R/usr/local/lib >&5
configure:6788: $? = 0
configure:6791: test -s conftest
configure:6794: $? = 0
configure:6855: result: yes
configure:6906: checking how to link with libintl
configure:6908: result: /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -R/usr/local/lib
--
Charles Gagnon | My views are my views and they
http://unixrealm.com | do not represent those of anybody
charlesg at unixrealm.com | but me.
If a man stands in the middle of the forest speaking and
there is no woman around to hear him....Is he still wrong?
-- Dennis Miller
More information about the gnucash-devel
mailing list