This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[B20] linking gettext-0.10 ?


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]