Re: Trouble Compiling GLib 2.6.2 on Win98



Jeffery To wrote:

Hi,

I'm trying to compile GLib 2.6.2, as a prelude to compiling GTK+, on Windows 98 (I know, not a very good idea), and I'm running into this error:

if /bin/bash ../libtool --mode=compile gcc -mcpu=pentium3 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/local/include -O3 -mms-bitfields -Wall -MT gobject.lo -MD -MP -MF ".deps/gobject.Tpo" \
  -c -o gobject.lo `test -f 'gobject.c' || echo './'`gobject.c; \
then mv -f ".deps/gobject.Tpo" ".deps/gobject.Plo"; \
else rm -f ".deps/gobject.Tpo"; exit 1; \
fi
gcc -mcpu=pentium3 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/local/include -O3 -mms-bitfields -Wall -MT gobject.lo -MD -MP -MF .deps/gobject.Tpo -c gobject.c -DDLL_EXPORT -DPIC -o .libs/gobject.o
gobject.c: In function `g_object_do_class_init':
gobject.c:262: `g_cclosure_marshal_VOID__PARAM' undeclared (first use in this function)
gobject.c:262: (Each undeclared identifier is reported only once
gobject.c:262: for each function it appears in.)
make[3]: *** [gobject.lo] Error 1
make[3]: Leaving directory `/local/src/glib-2.6.2/gobject'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/local/src/glib-2.6.2/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/src/glib-2.6.2'
make: *** [all] Error 2

I'm using gcc from MinGW in a Cygwin environment. Any help will be appreciated.

Thanks,
Jeff
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


some files are generated automaticaly during the build process, i guess you have overwritten the ones that ship with the source-distribution (in this case gmarshal.c and cmarshal.h). one soulution might be to uncomment the related lines in glib/gobject/makefile.xxx and copy the files
from the source-distribution again

the same happens with other files. HINT: search all makefiles for perl and comment out the lines that are intend to generate any code (again: the files
that are generated do allready exist).

please drop me a line if you are successfull.

if you just want to 'use' gtk gdk etc. i strongly suggest to download the binary distributions from http://gladewin32.sf.net! due to some searching via google i even got themes (pixmap themes and others, it was not that easy to find a binary distribution) up and running.
link: http://konap.sourceforge.net/gtk-themes-win32-2003-09-01.tar.gz

the only thing i'm still missing is a WORKING svg pixbuf loader.

mfg Benjamin



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