From: Christine DOT Pourcelot AT inria DOT fr (Christine Pourcelot) Subject: [B20] linking gettext-0.10 ? 3 Dec 1998 08:59:27 -0800 Message-ID: <199812030849.JAA11283.cygnus.gnu-win32@baal.inria.fr> To: gnu-win32 AT cygnus DOT com 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 DOT Pourcelot AT inria DOT fr - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".