Your problem seems to be that a glib header tries to use the GSystemThread typedef and 
it isn't defined
it is defined in /usr/lib/glib-2.0/include/glibconfig.h...
but for some reasons /usr/lib/glib/include is -I'd before /usr/lib/glib-2.0/include, 
and guess what that means, glib-1.x's glibconfig.h is getting used.

I think. :)

Don't know how that would happen.. you will have to investigate yourself, or you can 
hack gdk/Makefile and take out any -I/usr/lib/glib/* stuff. Of course those makefile 
changes will get nuked next time you run configure.

On Thu, Feb 01, 2001 at 08:34:45AM +0000, winterlion wrote:
> doesn't compile..
> Now I -can't- say I'm surprised...  I mean, downloading a CVS is always
> risky.
> 
> I do hope this is enough information :)
> Feel free to email/yell/... at me if not - or if I'm completely out of
> line.
> 
> platform:
>       Mandrake 7.3/x86;  kernel 2.4.1; processor Celeron-366; 64MB ram;
>       ix86/linux platform.
> 
> fwiw:
>       fribidi 0.1.15; (note: fribidi.pc not created for pkg-config)
>       glib; cvs 11pm Jan 31; ./configure --prefix=/usr
>       pango; cvs 11pm Jan 31; ./configure --prefix=/usr --with-fribidi
>       Mandrake 7.3 *g* (glibc-2.2.1; gcc 2.96)
> 
> ./configure --prefix=/usr --with-gdktarget=x11 --with-xinput=xfree \
> --with-gtktarget=linux-fb
> 
> incidentally - is multiple targets okay?  I hope so because I'm not
> wishing to break all targets.  I have need of gtk to run under:
>       linux-fb (so I can program :)
>       XFree86  (obvious, no? :)
>       windows (will explore this later *g*)
>       OpenGL/SDL... this last one I'll explore later once I'm more used
>               to the source.  if possible.  OpenGL alone probably would
>               not be possible...  SDL has a nice I/O layer.
> 
> attached is compiler output; could not figure out how to solve...

> make  all-recursive
> make[1]: Entering directory `/mnt/andrew/src/Gnome/gtk+'
> Making all in po
> make[2]: Entering directory `/mnt/andrew/src/Gnome/gtk+/po'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/po'
> Making all in gdk-pixbuf
> make[2]: Entering directory `/mnt/andrew/src/Gnome/gtk+/gdk-pixbuf'
> Making all in pixops
> make[3]: Entering directory `/mnt/andrew/src/Gnome/gtk+/gdk-pixbuf/pixops'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/gdk-pixbuf/pixops'
> make[3]: Entering directory `/mnt/andrew/src/Gnome/gtk+/gdk-pixbuf'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/gdk-pixbuf'
> make[2]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/gdk-pixbuf'
> Making all in gdk
> make[2]: Entering directory `/mnt/andrew/src/Gnome/gtk+/gdk'
> Making all in linux-fb
> make[3]: Entering directory `/mnt/andrew/src/Gnome/gtk+/gdk/linux-fb'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/gdk/linux-fb'
> make[3]: Entering directory `/mnt/andrew/src/Gnome/gtk+/gdk'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
>-DG_LOG_DOMAIN=\"Gdk\" -I.. -I../gdk -I../gdk-pixbuf -DG_ENABLE_DEBUG 
>-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include 
>-I/usr/lib/glib/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -O2 -g -Wall    
>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -c gdk.c
> rm -f .libs/gdk.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I.. -I../gdk 
>-I../gdk-pixbuf -DG_ENABLE_DEBUG -I/usr/include/pango-1.0 -I/usr/include/freetype2 
>-I/usr/include -I/usr/lib/glib/include -I/usr/include/glib-2.0 
>-I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g 
>-O2 -g -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wp,-MD,.deps/gdk.pp 
>-c gdk.c  -fPIC -DPIC -o .libs/gdk.lo
> In file included from /usr/include/glib-2.0/gasyncqueue.h:31,
>                  from /usr/include/glib-2.0/glib.h:33,
>                  from gdk.c:35:
> /usr/include/glib-2.0/gthread.h:249: parse error before `GSystemThread'
> /usr/include/glib-2.0/gthread.h:249: warning: no semicolon at end of struct or union
> In file included from /usr/include/glib-2.0/glist.h:31,
>                  from /usr/include/glib-2.0/gcache.h:31,
>                  from /usr/include/glib-2.0/glib.h:35,
>                  from gdk.c:35:
> /usr/include/glib-2.0/gmem.h:74: parse error before `n_bytes'
> /usr/include/glib-2.0/gmem.h:76: parse error before `gsize'
> /usr/include/glib-2.0/gmem.h:79: parse error before `n_blocks'
> /usr/include/glib-2.0/gmem.h:81: parse error before `n_bytes'
> /usr/include/glib-2.0/gmem.h:83: parse error before `gsize'
> In file included from /usr/include/glib-2.0/glib.h:40,
>                  from gdk.c:35:
> /usr/include/glib-2.0/gdate.h:216: parse error before `g_date_strftime'
> /usr/include/glib-2.0/gdate.h:217: parse error before `gsize'
> /usr/include/glib-2.0/gdate.h:219: warning: type defaults to `int' in declaration of 
>`g_date_strftime'
> /usr/include/glib-2.0/gdate.h:219: warning: data definition has no type or storage 
>class
> In file included from /usr/include/glib-2.0/glib.h:63,
>                  from gdk.c:35:
> /usr/include/glib-2.0/gstrfuncs.h:57: parse error before `g_strlcpy'
> /usr/include/glib-2.0/gstrfuncs.h:59: parse error before `gsize'
> /usr/include/glib-2.0/gstrfuncs.h:59: warning: type defaults to `int' in declaration 
>of `g_strlcpy'
> /usr/include/glib-2.0/gstrfuncs.h:59: warning: data definition has no type or 
>storage class
> /usr/include/glib-2.0/gstrfuncs.h:60: parse error before `g_strlcat'
> /usr/include/glib-2.0/gstrfuncs.h:62: parse error before `gsize'
> /usr/include/glib-2.0/gstrfuncs.h:62: warning: type defaults to `int' in declaration 
>of `g_strlcat'
> /usr/include/glib-2.0/gstrfuncs.h:62: warning: data definition has no type or 
>storage class
> In file included from ../gdk-pixbuf/gdk-pixbuf.h:288,
>                  from ../gdk/gdkpixbuf.h:7,
>                  from gdk.h:45,
>                  from gdk.c:36:
> ../gdk-pixbuf/gdk-pixbuf-loader.h:74: parse error before `gsize'
> gdk.c: In function `gdk_arg_context_new':
> gdk.c:91: `gsize' undeclared (first use in this function)
> gdk.c:91: (Each undeclared identifier is reported only once
> gdk.c:91: for each function it appears in.)
> gdk.c:91: parse error before `sizeof'
> gdk.c:91: parse error before `)'
> gdk.c: In function `gdk_error_trap_push':
> gdk.c:466: `gsize' undeclared (first use in this function)
> gdk.c:466: parse error before `sizeof'
> gdk.c:466: parse error before `)'
> make[3]: *** [gdk.lo] Error 1
> make[3]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/gdk'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/mnt/andrew/src/Gnome/gtk+/gdk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/andrew/src/Gnome/gtk+'
> make: *** [all-recursive-am] Error 2


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to