Re: Panel Bombs (GtkDispatcher)



On Wed, 1 Apr 1998, Craig Small wrote:

> G'day All,
>  OK we're getting there, I've got gnome-libs going now so at least I can
> work on gncal.
> 
> But I'm trying to get gnome-core compiled. I get this problem
> gcc -g -O2 -o .libs/logout_applet logout.o -Wl,-rpath -Wl,/usr/local/lib .libs/libpanel_applet.so -L/usr/local/lib -lmicocoss2.0.5 -lmicoaux2.0.5 -lmico2.0.5 -lXt -lgnomeui -lgnome -lgnomesupport -ldl -lgdk_imlib -ljpeg -lSM -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm
> .libs/libpanel_applet.so: undefined reference to `GtkDispatcher::GtkDispatcher(void)'
> make[2]: *** [logout_applet] Error 1
> make[2]: Leaving directory `/home/csmall/gnome/gnome-core/panel'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/csmall/gnome/gnome-core'
> make: *** [all-recursive-am] Error 2
> 
> It seems GtkDispatcher is nowhere to be found.
> 
> What is really wierd is that the small programs in mico/demo/gtkmico need
> the same function, with similar results.
> c++   -I/usr/X11R6/include -I. -I../../include -I/home/csmall/gnome/mico/./include/ministl -O   -fno-exceptions -fexceptions -O0 -Wl,-rpath,../../auxdir -L../../auxdir  -L../../orb -L/usr/local/lib -rdynamic hello.o client.o -lmicoaux2.0.5 -lgtk -lgdk -lglib -lXt -lX11 -lXext -L/usr/X11R6/lib -lmico2.0.5 -lncurses -lfl -ldl -lnsl -lm  -o client
> client.o: In function `main':
> client.o(.text+0x260): undefined reference to `GtkDispatcher::GtkDispatcher(void)'
> collect2: ld returned 1 exit status
> make: *** [client] Error 1
> 
> What have I done wrong now? This is with the latest and greatest mico and 
> gnome-core.  Doing a grep GtkDisp `find .` in the gtk+ module didn't
> give any results either.


As I know, you must configure mico with "--with-gtk" (or "--enable-gtk")
and it work well.

bye

Gianluca


Member of the Pluto Linux Users Group
  gm518464@silab.dsi.unimi.it (-) gianluca_montecchi@rcm.inet.it 
  Web page: http://www.silab.dsi.unimi.it/~gm518464
  For Linux questions please mail to linux@saturn.media.dsi.unimi.it



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