Re: Problems compiling gnome-core.



On Mon, Jun 08, 1998 at 04:20:16PM -0600, gabe@beer.stampede.org wrote:
> mico-c++ -L/usr/local/lib -o panel drawer.o gdkextra.o main.o menu.o
> cookie.o swallow.o mico-glue.o mico-parse.o panel.o panel_config.o
> panel_config_global.o panel-widget.o panel-util.o mulapp.o launcher.o
> logout.o gnome-panel.o -L/usr/local/lib -lmicocoss2.0.5 -lmicoaux2.0.5
> -lmico2.0.5 -lXt -lgnomeui -lgnome -lgnomesupport -ldl -lgdk_imlib -ltiff
> -lz -ljpeg -lgif -ljpeg -lpng -lz -lSM -lICE -L/usr/local/lib
> -L/usr/X11R6/lib -lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXext -lX11 -lm
> mico-glue.o: In function `panel_corba_gtk_main':
> mico-glue.o(.text+0x10c): undefined reference to
> `GtkDispatcher::GtkDispatcher(void)'
> make[2]: *** [panel] Error 1
> make[2]: Leaving directory `/root/slps/todo/gnome/gnome-core-0.20/panel'
> 
> Now, I saw this the first time, and I looked at the compiling faq, and
> something similar to it was in there and it said to compile mico 2.0.5
> with the --with-gtk configuration option, and I did so, and reinstalled
> it, and made sure I was using the newly installed mico. I'm still getting
> this message however. Any ideas?

I had similar troubles. If I remember right, I first ran ./configure without
--with-gtk, than ran with --with-gtk, but mico didn't find gtk and so didn't
use it, and finally after telling mico where to find gtk I forgot to make a
make clean and so the micoaux libraries weren't rebuilt. So you should a)
watch the mico's ./configure output if it really finds and uses gtk and b)
make clean (or even make distclean) before a new configure/compile.

Hope this helps.

-- 
Eckehard Berns



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