This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
[B20] linking gettext-0.10 ?
- To: gnu-win32 at cygnus dot com
- Subject: [B20] linking gettext-0.10 ?
- From: Christine Pourcelot <Christine dot Pourcelot at inria dot fr>
- Date: Thu, 3 Dec 1998 09:49:32 +0100 (MET)
Hi there,
I've now (after my problems while compiling code with SOCKET - thanks for your help -) some problem while linking gettext library :
gcc -o msgfmt msgfmt.o open-po.o po-gram.gen.o po-hash.gen.o po-lex.o po.o str-list.o ../intl/libintl.a ../lib/libnlsut.a ../intl/libintl.a ../lib/libnlsut.a
../lib/libnlsut.a(printf-prs.o): In function `parse_printf_format':
/gettext-0.10/lib/printf-parse.h:138: undefined reference to `__mb_cur_max'
/gettext-0.10/lib/printf-parse.h:138: undefined reference to `__mb_cur_max'
collect2: ld returned 1 exit status
make[1]: *** [msgfmt] Error 1
make: *** [all-recursive] Error 1
so I changed the code in printf-parse like this :
/*#ifndef MB_CUR_MAX*/ <-------------------
# define MB_CUR_MAX (sizeof (long))
/*#endif*/ <-------------------
but, is that the correct solution ?
Thanks for help
Regards
Christine.Pourcelot@inria.fr
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".