[10285] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Rodrigo Moya)
Fri Nov 20 06:16:41 1998

From: "Rodrigo Moya" <Moya_Rodrigo/madrid_tecnologia@sinvest.es>
To: <david@tss-bcn.com>, <gtk-list@redhat.com>
Date: Fri, 20 Nov 1998 12:17:36 +0100
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post