Can't compile any gtk apps
- From: Tom Bielicki <tbielick coe neu edu>
- To: gtk-list redhat com
- Subject: Can't compile any gtk apps
- Date: Thu, 4 Nov 1999 00:40:29 -0500 (EST)
I get this (or something like it) when I try to compile any gtk app, any ideas?
This is from glib and gtk ver 1.2.6, I got the same with 1.2.5 (after I fixed
the idle thing)
I have gcc version 2.7.2.3 and a recent slackware distro, the output of ldconfig
-v is at the very bottom. (I thought it might be helpful)
Thanks
-tom
root@fubar/home/tom/geg-1.0.1/>make
make all-recursive
make[1]: Entering directory `/home/tom/geg-1.0.1'
Making all in src
make[2]: Entering directory `/home/tom/geg-1.0.1/src'
Making all in pixmaps
make[3]: Entering directory `/home/tom/geg-1.0.1/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tom/geg-1.0.1/src/pixmaps'
make[3]: Entering directory `/home/tom/geg-1.0.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall -c about.c
In file included from /usr/local/include/gtk/gtkmisc.h:32,
from /usr/local/include/gtk/gtklabel.h:31,
from /usr/local/include/gtk/gtkaccellabel.h:34,
from /usr/local/include/gtk/gtk.h:33,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkwidget.h:355: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:357: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:359: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:364: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:368: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:371: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:376: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkwidget.h:381: parse error before `GdkDragContext'
In file included from /usr/local/include/gtk/gtkaccellabel.h:34,
from /usr/local/include/gtk/gtk.h:33,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtklabel.h:56: parse error before `GdkWChar'
/usr/local/include/gtk/gtklabel.h:56: warning: no semicolon at end of struct or
union
/usr/local/include/gtk/gtklabel.h:61: parse error before `:'
/usr/local/include/gtk/gtklabel.h:62: parse error before `:'
/usr/local/include/gtk/gtklabel.h:64: parse error before `}'
In file included from /usr/local/include/gtk/gtk.h:33,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkaccellabel.h:54: field `label' has incomplete type
In file included from /usr/local/include/gtk/gtkcolorsel.h:30,
from /usr/local/include/gtk/gtk.h:48,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkwindow.h:115: parse error before `GdkGeometry'
In file included from /usr/local/include/gtk/gtkcolorsel.h:33,
from /usr/local/include/gtk/gtk.h:48,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkpreview.h:62: parse error before `GdkRgbDither'
/usr/local/include/gtk/gtkpreview.h:62: warning: no semicolon at end of struct
or union
/usr/local/include/gtk/gtkpreview.h:64: parse error before `:'
/usr/local/include/gtk/gtkpreview.h:65: parse error before `:'
/usr/local/include/gtk/gtkpreview.h:124: parse error before `GdkRgbDither'
In file included from /usr/local/include/gtk/gtkentry.h:32,
from /usr/local/include/gtk/gtkcolorsel.h:35,
from /usr/local/include/gtk/gtk.h:48,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkeditable.h:67: parse error before `GdkICAttr'
/usr/local/include/gtk/gtkeditable.h:67: warning: no semicolon at end of struct
or union
/usr/local/include/gtk/gtkeditable.h:70: parse error before `}'
In file included from /usr/local/include/gtk/gtkcolorsel.h:35,
from /usr/local/include/gtk/gtk.h:48,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkentry.h:52: field `editable' has incomplete type
/usr/local/include/gtk/gtkentry.h:57: parse error before `GdkWChar'
/usr/local/include/gtk/gtkentry.h:57: warning: no semicolon at end of struct or
union
/usr/local/include/gtk/gtkentry.h:63: parse error before `:'
/usr/local/include/gtk/gtkentry.h:74: parse error before `:'
/usr/local/include/gtk/gtkentry.h:77: parse error before `:'
In file included from /usr/local/include/gtk/gtk.h:56,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkdnd.h:56: parse error before `GdkDragContext'
/usr/local/include/gtk/gtkdnd.h:59: parse error before `*'
/usr/local/include/gtk/gtkdnd.h:64: parse error before `*'
/usr/local/include/gtk/gtkdnd.h:73: parse error before `GdkDragAction'
/usr/local/include/gtk/gtkdnd.h:77: parse error before `GdkDragProtocol'
/usr/local/include/gtk/gtkdnd.h:92: parse error before `GdkDragAction'
/usr/local/include/gtk/gtkdnd.h:105: parse error before `*'
/usr/local/include/gtk/gtkdnd.h:107: parse error before `GdkDragAction'
/usr/local/include/gtk/gtkdnd.h:109: warning: data definition has no type or
storage class
/usr/local/include/gtk/gtkdnd.h:113: parse error before `*'
/usr/local/include/gtk/gtkdnd.h:118: parse error before `*'
/usr/local/include/gtk/gtkdnd.h:125: parse error before `*'
In file included from /usr/local/include/gtk/gtk.h:114,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtkspinbutton.h:75: field `entry' has incomplete type
In file included from /usr/local/include/gtk/gtk.h:119,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtktext.h:65: field `editable' has incomplete type
/usr/local/include/gtk/gtktext.h:81: parse error before `GdkWChar'
/usr/local/include/gtk/gtktext.h:81: warning: no semicolon at end of struct or
union
/usr/local/include/gtk/gtktext.h:81: warning: no semicolon at end of struct or
union
/usr/local/include/gtk/gtktext.h:81: parse error before `}'
/usr/local/include/gtk/gtktext.h:81: warning: data definition has no type or
storage class
/usr/local/include/gtk/gtktext.h:111: parse error before `:'
/usr/local/include/gtk/gtktext.h:112: parse error before `:'
/usr/local/include/gtk/gtktext.h:115: parse error before `:'
/usr/local/include/gtk/gtktext.h:133: parse error before `GdkWChar'
/usr/local/include/gtk/gtktext.h:133: warning: no semicolon at end of struct or
union
/usr/local/include/gtk/gtktext.h:133: parse error before `}'
/usr/local/include/gtk/gtktext.h:133: warning: data definition has no type or
storage class
/usr/local/include/gtk/gtktext.h:145: parse error before `cursor_char'
/usr/local/include/gtk/gtktext.h:145: warning: data definition has no type or
storage class
/usr/local/include/gtk/gtktext.h:162: conflicting types for `timer'
/usr/local/include/gtk/gtkentry.h:64: previous declaration of `timer'
/usr/local/include/gtk/gtktext.h:166: parse error before `}'
In file included from /usr/local/include/gtk/gtk.h:121,
from about.h:4,
from about.c:10:
/usr/local/include/gtk/gtktipsquery.h:58: field `label' has incomplete type
make[3]: *** [about.o] Error 1
make[3]: Leaving directory `/home/tom/geg-1.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tom/geg-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/geg-1.0.1'
make: *** [all-recursive-am] Error 2
-----------------------------------------------------------------------------------------
root@fubar/home/tom/geg-1.0.1/>gtk-config
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl-lXext -lX11 -lm
root@fubar/home/tom/geg-1.0.1/>glib-config --libs
-L/usr/local/lib -lglib
_________________________________________________________________________________________
ldconfig -v
ldconfig: version 1.9.9
/usr/local/lib:
libgtk-1.2.so.0 => libgtk-1.2.so.0.5.1
libgdk-1.2.so.0 => libgdk-1.2.so.0.5.1
libgthread-1.2.so.0 => libgthread-1.2.so.0.0.6
libgmodule-1.2.so.0 => libgmodule-1.2.so.0.0.6
libglib-1.2.so.0 => libglib-1.2.so.0.0.6
libpng.so.2 => libpng.so.2.1.0.2
/usr/X11R6/lib:
libXaw3d.so.6 => libXaw3d.so.6.1
libgimpui.so.1 => libgimpui.so.1.0.2
libgimp.so.1 => libgimp.so.1.0.2
libgdk.so.1 => libgdk.so.1.0.6
libgck.so.1 => libgck.so.1.0.0
libXpm.so.4 => libXpm.so.4.11
libXtst.so.6 => libXtst.so.6.1
libXt.so.6 => libXt.so.6.0
libXp.so.6 => libXp.so.6.2
libXmu.so.6 => libXmu.so.6.0
libXi.so.6 => libXi.so.6.0
libXext.so.6 => libXext.so.6.3
libXaw.so.6 => libXaw.so.6.1
libXIE.so.6 => libXIE.so.6.0
libX11.so.6 => libX11.so.6.1
libSM.so.6 => libSM.so.6.0
libPEX5.so.6 => libPEX5.so.6.0
libICE.so.6 => libICE.so.6.3
libXm.so.1 => libXm.so.1.2.0
libMrm.so.1 => libMrm.so.1.2.0
/usr/ix86-linux/lib:
/usr/ix86-linuxaout/lib:
libPEX5.so.6 => libPEX5.so.6.0
libXpm.so.4 => libXpm.so.4.3
libXt.so.6 => libXt.so.6.0
libXaw.so.6 => libXaw.so.6.0
libXIE.so.6 => libXIE.so.6.0
libX11.so.6 => libX11.so.6.0
libXt.so.3 => libXt.so.3.1.0
libXaw.so.3 => libXaw.so.3.1.0
libX11.so.3 => libX11.so.3.1.0
libdb.so.1 => libdb.so.1.85.1
libvga.so.1 => libvga.so.1.2.9
/usr/openwin/lib:
/usr/lib:
libasound.so.0 => libasound.so.0.3.0
libjpeg.so.62 => libjpeg.so.62.0.0
libz.so.1 => libz.so.1.0.4
libpng.so.1 => libpng.so.1.0.96
libtiff.so.3 => libtiff.so.3.4
libpng.so.2 => libpng.so.2.1.0.2
libfbm.so.1 => libfbm.so.1.0.0
librle.so.1 => librle.so.1.0.0
libpbm.so.1 => libpbm.so.1.0.0
libppm.so.1 => libppm.so.1.0.0
libpnm.so.1 => libpnm.so.1.0.0
libpgm.so.1 => libpgm.so.1.0.0
libpanel.so.3.4 => libpanel.so.1.9.9g
libmenu.so.3.4 => libmenu.so.1.9.9g
libform.so.3.4 => libform.so.1.9.9g
libbfd-2.8.1.0.23.so.0 => libbfd-2.8.1.0.23.so.0.0.0
libopcodes-2.8.1.0.23.so.0 => libopcodes-2.8.1.0.23.so.0.0.0
libstdc++.so.2.8 => libstdc++.so.2.8.0
libdb.so.1 => libdb.so.1.85.4
/lib:
libvgagl.so.1 => libvgagl.so.1.3.0
libvga.so.1 => libvga.so.1.3.0
libdl.so.1 => libdl.so.1.9.9
ld-linux.so.1 => ld-linux.so.1.9.9
libutil.so.1 => libutil-2.0.7.so
libresolv.so.2 => libresolv-2.0.7.so
libpthread.so.0 => libpthread-0.7.so
libnss_nis.so.1 => libnss_nis-2.0.7.so
libnss_files.so.1 => libnss_files-2.0.7.so
libnss_dns.so.1 => libnss_dns-2.0.7.so
libnss_db.so.1 => libnss_db-2.0.7.so
libnss_compat.so.1 => libnss_compat-2.0.7.so
libnsl.so.1 => libnsl-2.0.7.so
libm.so.6 => libm-2.0.7.so
libdl.so.2 => libdl-2.0.7.so
libdb.so.2 => libdb-2.0.7.so
libcrypt.so.1 => libcrypt-2.0.7.so
libc.so.6 => libc-2.0.7.so
libBrokenLocale.so.1 => libBrokenLocale-2.0.7.so
ld-linux.so.2 => ld-2.0.7.so
libtermcap.so.2 => libtermcap.so.2.0.8
libm.so.5 => libm.so.5.0.9
libcurses.so.1 => libcurses.so.1.0.0
libc.so.5 => libc.so.5.4.46
libgdbm.so.1 => libgdbm.so.1.7.3
libncurses.so.3.4 => libncurses.so.1.9.9g
libext2fs.so.2 => libext2fs.so.2.4
libe2p.so.2 => libe2p.so.2.3
libss.so.2 => libss.so.2.0
libuuid.so.1 => libuuid.so.1.1
libcom_err.so.2 => libcom_err.so.2.0
libc.so.4 => libc.so.4.7.6
libm.so.4 => libm.so.4.6.27
libcurses.so.0 => libcurses.so.0.1.2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]