[gtkmm] Problems compiling gtkmm-2.0.2 on Mac OS X
- From: Markus Meier <m meier unibas ch>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Problems compiling gtkmm-2.0.2 on Mac OS X
- Date: Thu, 30 Jan 2003 15:42:27 +0100
Dear all
I have problems compiling gtkmm-2.0.2 on Mac OS X 10.2.3.
Compiler: Apple Computer, Inc. GCC version 1161, based on gcc version
3.1 20020420 (prerelease)
I use glib2, gtk+2 and libsigc++ provided by the unstable tree of the
fink distribution:
glib2 2.0.7-1
gtk+2 2.0.9-2
libsigc++ 1.0.4-4
The symbols
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::assign(char const*, unsigned long)
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::insert(unsigned long, char const*, unsigned long)
seem to be multiplely defined during the creation of
libglibmm-2.0.1.1.1.dylib
I am not sure, if this problem is related to gtkmm or libstdc++.
Any suggestions how to fix the problem are appreciated. Was someone
able to compile gtkmm on this platform at all (since gtkmm2 is not
provided by fink)?
Best regards,
Markus
Here is the complete error message:
The symbols
make all-recursive
Making all in tools
Making all in m4
make[3]: Nothing to be done for `all'.
Making all in pm
make[3]: Nothing to be done for `all'.
Making all in extra_defs_gen
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in glib
make all-recursive
Making all in src
make[4]: Nothing to be done for `all'.
Making all in glibmm
Making all in private
make[5]: Nothing to be done for `all'.
/bin/sh ../../libtool --mode=link g++ -g -O2 -Wall -o
libglibmm-2.0.la -rpath /sw/lib -version-info 2:1:1 convert.lo
date.lo fileutils.lo iochannel.lo module.lo shell.lo spawn.lo thread.lo
unicode.lo wrap_init.lo value_basictypes.lo class.lo containers.lo
debug.lo error.lo exception.lo exceptionhandler.lo interface.lo main.lo
miscutils.lo object.lo objectbase.lo pattern.lo property.lo
propertyproxy.lo propertyproxy_base.lo quark.lo random.lo
signalproxy.lo signalproxy_connectionnode.lo streamiochannel.lo
threadpool.lo timer.lo timeval.lo ustring.lo utility.lo value.lo
value_custom.lo wrap.lo dispatcher.lo -L/sw/lib -lsigc-1.2
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
rm -fr .libs/libglibmm-2.0.la .libs/libglibmm-2.0.*
.libs/libglibmm-2.0.*
g++ -dynamiclib -flat_namespace -undefined suppress -o
.libs/libglibmm-2.0.1.1.1.dylib convert.lo date.lo fileutils.lo
iochannel.lo module.lo shell.lo spawn.lo thread.lo unicode.lo
wrap_init.lo value_basictypes.lo class.lo containers.lo debug.lo
error.lo exception.lo exceptionhandler.lo interface.lo main.lo
miscutils.lo object.lo objectbase.lo pattern.lo property.lo
propertyproxy.lo propertyproxy_base.lo quark.lo random.lo
signalproxy.lo signalproxy_connectionnode.lo streamiochannel.lo
threadpool.lo timer.lo timeval.lo ustring.lo utility.lo value.lo
value_custom.lo wrap.lo dispatcher.lo -L/sw/lib -lsigc-1.2
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lc -install_name
/sw/lib/libglibmm-2.0.1.dylib -compatibility_version 3
-current_version 3.1
ld: multiple definitions of symbol std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*,
unsigned long)
ustring.lo definition of std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*,
unsigned long) in section (__TEXT,__text)
/usr/lib/gcc/darwin/3.1/libstdc++.a(string-inst.o) private external
definition of std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::assign(char const*, unsigned long) in section
(__TEXT,__text)
ld: multiple definitions of symbol std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::insert(unsigned long,
char const*, unsigned long)
ustring.lo definition of std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::insert(unsigned long,
char const*, unsigned long) in section (__TEXT,__text)
/usr/lib/gcc/darwin/3.1/libstdc++.a(string-inst.o) private external
definition of std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::insert(unsigned long, char const*, unsigned
long) in section (__TEXT,__text)
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/libtool: internal link edit command failed
make[5]: *** [libglibmm-2.0.la] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
Markus Meier
M. E. Müller Institut
Biozentrum der Universität Basel
Klingelbergstrasse 70
CH-4056 Basel
Tel.: +41 61 267 20 91
Fax: +41 61 267 21 09
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]