Re: [gtk-list] Can't compile gnome-libs 1.0.1 because of gtk/glib 1.2.0



I got the same thing happening here.
Can't figure out what's going on though...
Glib seems to install-compile  properly  but glib.h generate these
errrors.
Could it have to do with thw definition of gint32 and guint32?
I couldn't find where those where defined or included from?

any help apreciated...

jerome


Christoph Lorenz wrote:
> 
> Hi,
> 
> I wanted to compile the latest gnome-libs (1.0.1) and installed
> glib and gtk+, both version 1.2.0. There are no old header files of
> my previous 1.0-installations laying around.
> 
> When I compile gnome-libs, I get the following bunch of errors:
> 
> 0.08|lorenzc|/usr/local/gnome/src/gnome-libs-1.0.1>make
> make  all-recursive
> make[1]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1'
> Making all in po
> make[2]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1/po'
> make[2]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1/po'
> Making all in intl
> make[2]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1/intl'
> Making all in support
> make[2]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1/support'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1/support'
> Making all in macros
> make[2]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1/macros'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1/macros'
> Making all in tools
> make[2]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1/tools'
> Making all in convertrgb
> make[3]: Entering directory `/usr/local/gnome/src/gnome-libs-1.0.1/tools/convertrgb'
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include  -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include  -g -O2 -Wall -Wno-unused  -c convertrgb.c
> In file included from convertrgb.h:16,
>                  from convertrgb.c:8:
> /usr/local/include/glib.h:491: parse error before `gssize'
> /usr/local/include/glib.h:491: warning: data definition has no type or storage class
> /usr/local/include/glib.h:492: parse error before `gsize'
> /usr/local/include/glib.h:492: warning: data definition has no type or storage class
> /usr/local/include/glib.h:493: parse error before `GQuark'
> /usr/local/include/glib.h:493: warning: data definition has no type or storage class
> /usr/local/include/glib.h:494: parse error before `GTime'
> /usr/local/include/glib.h:494: warning: data definition has no type or storage class
> /usr/local/include/glib.h:751: parse error before `key_id'
> /usr/local/include/glib.h:822: parse error before `guint8'
> /usr/local/include/glib.h:822: warning: no semicolon at end of struct or union
> /usr/local/include/glib.h:824: parse error before `}'
> /usr/local/include/glib.h:1536: parse error before `mask'
> /usr/local/include/glib.h:1554: parse error before `mask'
> /usr/local/include/glib.h:1700: parse error before `*'
> /usr/local/include/glib.h:1703: parse error before `*'
> /usr/local/include/glib.h:1736: parse error before `g_quark_try_string'
> /usr/local/include/glib.h:1736: warning: data definition has no type or storage class
> /usr/local/include/glib.h:1737: parse error before `g_quark_from_static_string'
> /usr/local/include/glib.h:1737: warning: data definition has no type or storage class
> /usr/local/include/glib.h:1738: parse error before `g_quark_from_string'
> /usr/local/include/glib.h:1738: warning: data definition has no type or storage class
> /usr/local/include/glib.h:1739: parse error before `quark'
> /usr/local/include/glib.h:1747: parse error before `GQuark'
> /usr/local/include/glib.h:1749: parse error before `GQuark'
> /usr/local/include/glib.h:1753: parse error before `GQuark'
> /usr/local/include/glib.h:1777: parse error before `GQuark'
> /usr/local/include/glib.h:1779: parse error before `GQuark'
> /usr/local/include/glib.h:1783: parse error before `GQuark'
> /usr/local/include/glib.h:2055: parse error before `GDateYear'
> /usr/local/include/glib.h:2055: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2056: parse error before `GDateDay'
> /usr/local/include/glib.h:2056: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2129: parse error before `day'
> /usr/local/include/glib.h:2132: parse error before `julian_day'
> /usr/local/include/glib.h:2141: parse error before `day'
> /usr/local/include/glib.h:2143: parse error before `year'
> /usr/local/include/glib.h:2145: parse error before `julian_date'
> /usr/local/include/glib.h:2146: parse error before `day'
> /usr/local/include/glib.h:2152: parse error before `g_date_year'
> /usr/local/include/glib.h:2152: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2153: parse error before `g_date_day'
> /usr/local/include/glib.h:2153: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2154: parse error before `g_date_julian'
> /usr/local/include/glib.h:2154: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2180: parse error before `GTime'
> /usr/local/include/glib.h:2184: parse error before `GDateDay'
> /usr/local/include/glib.h:2186: parse error before `GDateYear'
> /usr/local/include/glib.h:2188: parse error before `GDateDay'
> /usr/local/include/glib.h:2192: parse error before `guint32'
> /usr/local/include/glib.h:2213: parse error before `year'
> /usr/local/include/glib.h:2214: parse error before `g_date_days_in_month'
> /usr/local/include/glib.h:2215: parse error before `GDateYear'
> /usr/local/include/glib.h:2215: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2216: parse error before `g_date_monday_weeks_in_year'
> /usr/local/include/glib.h:2216: parse error before `year'
> /usr/local/include/glib.h:2216: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2217: parse error before `g_date_sunday_weeks_in_year'
> /usr/local/include/glib.h:2217: parse error before `year'
> /usr/local/include/glib.h:2217: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2228: parse error before `g_date_strftime'
> /usr/local/include/glib.h:2229: parse error before `gsize'
> /usr/local/include/glib.h:2231: warning: data definition has no type or storage class
> /usr/local/include/glib.h:2315: parse error before `GLIB_SYSDEF_POLLIN'
> make[3]: *** [convertrgb.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
> make[3]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1/tools/convertrgb'
> make[2]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1/tools'
> make[1]: Leaving directory `/usr/local/gnome/src/gnome-libs-1.0.1'
> 
> This error is very strange, since I have installed glib 1.2.0 (and no old
>  header files laying around). Could it be the fact, that I built glib with
>  "--disable-threads"?
> 
> Another error occurs,when I run the test-suite of glib (./testglib):
> 
> "Glib-CRITICAL **: file gmessages.c: line 654 (g_print): assertion
>         `format != NULLī failed"
> 
> No idea, what causes this?
> 
>  I'm running Linux Kernel 2.2.1 and libc 5.4.44, as well as gcc 2.7.2
> 
> Ciao and thank you very much in advance
>   Christoph
> --
> ** 5 years online on http://ourworld.compuserve.com/homepages/ChLorenz/  **
>  ** No Spam ! ** No Adverts ! ** No Junk-Mails ! ** No unwanted Mails ! **
>         ** Stop Paying Microsoft's Bill - Get Linux For FREE **
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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