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





Rodrigo Moya wrote:

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

Hi again.

Well, after checking the include paths to bu sure that only the cygwin32
headers
are included, I believe that I need an extra library to link with. Any one
knows on where
library  __mb_cur_max resides ?

Thanks,

    David

PD. Hola Rodrigo, yo estoy en Barcelona :)




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