Re: [gtk-list] GTK 1.2.5 compile error
- From: Erik Mouw <J A K Mouw its tudelft nl>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GTK 1.2.5 compile error
- Date: Fri, 8 Oct 99 11:08:08 +0200
On Thu, 07 Oct 1999 15:56:57 -0700 (PDT), Linux User wrote:
> I compiled Glib with --disable-threads and it compiled.
> After that I am trying to compile GTK+1.2.5 it is giving
> a recursive error..
>
> -------------gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
> -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr\" -DGTK_DATA_PREFIX=\"/usr\"
> -DGTK_SYSCONFDIR=\"/usr/etc\" -DGTK_LOCALEDIR=\"/usr//locale\" -I..
> -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include
> -I/usr/local/include -I/usr/X11R6/include -g -O2 -Wall -c testgtk.c
> testgtk.c:7771: `idle' redeclared as different kind of symbol
> /usr/include/unistd.h:669: previous declaration of `idle'
> testgtk.c:7771: warning: `idle' was declared `extern' and later `static'
> make[2]: *** [testgtk.o] Error 1
> make[2]: Leaving directory `/tmp/gtk+-1.2.5/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/gtk+-1.2.5'
> make: *** [all-recursive-am] Error 2
> -----------------------------------
This is a known bug in gtk+ 1.2.5. Rename time to local_time in the GTK
files and it will compile fine. It will be fixed in the next version.
(Please check the GTK mailinglist archives before you ask something; it
was discussed a week ago)
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]