problem compiling panel



This has been plaguing me for weeks.  Whenever I try to build the panel
I get the same set of errors.  I'm certain that I've got some minor
thing wrong, but it is driving me crazy trying to find it.  Mico builds
and installs without a hitch.  It passes all of its tests, but whenever
it gets called while building the panel the following happens.


============= 

Making all in panel
make[2]: Entering directory `/root/gnome/gnome-core/panel'

/bin/sh ../libtool --mode=compile mico-c++ -DHAVE_CONFIG_H -I. -I. -I..
-I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I/usr/include
-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include
-I/usr/X11R6/include  -c applet-lib.cc

mico-c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.
-DGNOMELOCALEDIR=\"/usr/share/locale\" -I/usr/include -I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include
-I/usr/X11R6/include -Wp,-MD,.deps/applet-lib.p -c -fPIC -DPIC
applet-lib.cc

/opt/egcs/include/g++/stl_algobase.h: In function `__wchar_t *
copy(const __wchar_t *, const __wchar_t *, __wchar_t *)':

In file included from /opt/egcs/include/g++/vector:30,
                 from /usr/include/CORBA.h:61,
                 from /usr/include/mico/gtkmico.h:28,
                 from applet-lib.cc:2:

/opt/egcs/include/g++/stl_algobase.h:189: declaration of C function
`__wchar_t * copy(const __wchar_t *, const __wchar_t *, __wchar_t *)'
conflicts with

/opt/egcs/include/g++/stl_algobase.h:183: previous declaration `char *
copy(const char *, const char *, char *)' here  


===========


Notice the phrase "declaration of C function" about four lines from the
bottom?  I'm running egcs 1.0.2 and have the appropriate libraries
installed, but something is not set up properly.  The g++ compiler
builds other projects correctly.  This is making me nuts.  

Any (reasonable;-) advice is welcome.

Fred



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