Re: [gtk-list] NT and gtk 1.1.3 problem



>
>Hi,
>
>I'm trying to compile GTK in a NT 4.0 machine using cygnus (cygwin-b20).
>
>GLIB 1.1.4 compile and run fine, GTK libraries compiles fine too. But,
>when
>the make arrives at the test programs, the linker abort due to the
>unresolved
>symbol "__mb_cur_max". Any clue ? What library I must to include ?
>
>Thanks,
>
>    David

Hi David

There is a line on stdlib.h (in Visual C header files, not cygwin32) which
defines:

    #define MB_CUR_MAX __mb_cur_max

Online help says this is the maximum number of bytes in a multibyte
character for the current locale. There is a MB_CUR_MAX #define on stdlib.h
for the cygwin32 beta 20 I've got on my computer. It looks as if the
compiler is reading VC header files instead of cygwin32's. Check your
include_path. I'm not sure if it is this, but there is no mention of
__mb_cur_max in GTK/GLIB sources, only to MB_CUR_MAX

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]