mico-c++ linking problems (Was: Where are MICO rpms ?)



On Sat, 21 Feb 1998, Mark Galassi wrote:

> In any case, I used the option to ignore dependencies, and I think
> MICO is OK now, but in compiling the panel I get (after fixing the
> ghastly hardcoded MICO version number in Makefile.am):

You need to make sure you don't pass -O2 to the compiler or the files
will not link as shown below.  In the mico-c++ wrapper (it is a very
simple shell script) you will see it adds -O0 to g++.  It seems that 
g++ takes the greater option and ignored the lower; thus, although 
mico-c++ is trying to work around this bug in g++, configure is messing 
up the work around.  At least this is the behavior for g++ 2.7.2.3.

This needs to be fixed at the configure.in and Makefile.am level, and
should not require mico-c++ wrapper at all.  (It duplicates what we can
do with autoconf.)

> 
> make[3]: Leaving directory `/home/rosalia/devo/gnome-core/panel/cdplayer'
> /bin/sh ../libtool --mode=link mico-c++ -g -O2  -o panel  drawer.o gdkextra.o main.o menu.o mico-glue.o panel.o panel_config.o panel_config_global.o panel-widget.o gnome-panel.o -L/packages/lib -lmicocoss2.0.3 -lmicoaux2.0.3 -lmico2.0.3 -lXt -lgnomeui -


lgdk_imlib -lgnome -ldl -lgtk -lgdk -lglib -lm  -L/usr/X11R6/lib  -lSM -lICE -lX11  -lXext ../intl/libintl.a 
> mico-c++ -g -O2 -o panel drawer.o gdkextra.o main.o menu.o mico-glue.o panel.o panel_config.o panel_config_global.o panel-widget.o gnome-panel.o -L/packages/lib -lmicocoss2.0.3 -lmicoaux2.0.3 -lmico2.0.3 -lXt -lgnomeui -lgdk_imlib -lgnome -ldl -lgtk -lg


dk -lglib -lm -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext ../intl/libintl.a
> mico-glue.o: In function `ObjWrapper<CORBA::TypeCode>::duplicate(CORBA::TypeCode *)':
> /usr/include/mico/template_impl.h:50: undefined reference to `L122818'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122819'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122820'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122838'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122839'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122840'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122852'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122853'
> /usr/include/mico/template_impl.h:50: undefined reference to `L122854'
> gnome-panel.o: In function `GNOME::Panel_stub::reparent_window_id(unsigned long, short, short)':
> /usr/include/mico/var.h:118: undefined reference to `L113325'
> /usr/include/mico/var.h:118: undefined reference to `L113326'
> /usr/include/mico/var.h:118: undefined reference to `L113327'
> /usr/include/mico/var.h:118: undefined reference to `L113339'
> /usr/include/mico/var.h:118: undefined reference to `L113340'
> gnome-panel.o: In function `GNOME::Panel_stub::reparent_window_id(unsigned long, short, short)':
> /home/rosalia/devo/gnome-core/panel/gnome-panel.cc:73: undefined reference to `L113341'
> /home/rosalia/devo/gnome-core/panel/gnome-panel.cc:73: undefined reference to `L113353'
> /home/rosalia/devo/gnome-core/panel/gnome-panel.cc:73: undefined reference to `L113354'
> /home/rosalia/devo/gnome-core/panel/gnome-panel.cc:73: undefined reference to `L113355'
> make[2]: *** [panel] Error 1
> make[2]: Leaving directory `/home/rosalia/devo/gnome-core/panel'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rosalia/devo/gnome-core'
> make: *** [all-recursive-am] Error 2
> <39 papageno->gnome-core> 
> 
> 
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

--
Shawn T. Amundson		Complete Internet Solutions
Senior Systems Administrator	Minneapolis, Minnesota, USA
amundson@CompleteIS.com		http://www.CompleteIS.com/~amundson

while (i) { last }
    i, do exist.
    forever;




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