aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Unable to compile AmuleGUI under MSys (Vista x64)  (Read 2531 times)

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Unable to compile AmuleGUI under MSys (Vista x64)
« on: December 31, 2008, 11:06:45 AM »

HI, I was trying to compile AmuleGUI under MSys running under Vista x64. To get MSys and Mingw32 working under Vista x64 I had to patch MSys and upgrade standard gcc and g++ compiler from 3.4.5 to version 4.xx

The --version output for gcc, g++, c++ and ld is
Code: [Select]
gcc.exe (GCC) 4.2.1-sjlj (mingw32-2)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++ --version
g++.exe (GCC) 4.2.1-sjlj (mingw32-2)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ c++ --version
c++.exe (GCC) 4.2.1-sjlj (mingw32-2)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld version 2.17.50 20060824
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

The configure output is (notice I added also dependency style check)
Command: ./configure --disable-amule-daemon --enable-amule-gui --disable-monolithic

Code: [Select]
checking dependency style of g++... gcc3

Code: [Select]
  Configure script has finished system check.

  Configured aMule 2.2.3 for 'i686-pc-mingw32'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with UPnP support?                disabled
  Should aMule be compiled with IP2country support?          no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           yes
  Crypto++ library/headers style?                            installed

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.9 (msw,shared)
                                       crypto++              5.5.2 (installed, in /mingw)
                                       libintl               included
                                       zlib                  1.2.3


WARNING! UPnP code has been disabled because libupnp >= 1.6.6 not found (pkg-config not found).

The AmuleGUI compiles correctly but fails to link:

Code: [Select]
$ make
Compiling ed2k-version.rc
Linking ed2k.exe
Compiling amule.rc
Linking amulegui.exe
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: more undefined references to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)' follow
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: more undefined references to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()' follow
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: more undefined references to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()' follow
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: more undefined references to `std::__norm::_List_node_base::unhook()' follow
amulegui-amule-remote-gui.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-SearchListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-SearchListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:892: undefined reference to `std::__norm::_List_node_base::swap(std::__norm::_List_node_base&, std::__norm::_List_node_base&)'
amulegui-SearchListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-SearchListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-SearchListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
amulegui-DownloadListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-DownloadListCtrl.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-KnownFile.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-KnownFile.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-Logger.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-Preferences.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-Preferences.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-Preferences.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-Server.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-Server.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-StatTree.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
amulegui-StatTree.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
amulegui-SHAHashSet.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
amulegui-SHAHashSet.o:c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
./libmuleappgui.a(libmuleappgui_a-BarShader.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_sequence.h:131: undefined reference to `__gnu_debug::_Safe_sequence_base::_M_get_mutex()'
./libmuleappcommon.a(libmuleappcommon_a-MagnetURI.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
libs/ec/cpp/libec.a(RemoteConnect.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1162: undefined reference to `std::__norm::_List_node_base::hook(std::__norm::_List_node_base*)'
libs/ec/cpp/libec.a(RemoteConnect.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
libs/ec/cpp/libec.a(RemoteConnect.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/bits/stl_list.h:1169: undefined reference to `std::__norm::_List_node_base::unhook()'
libs/ec/cpp/libec.a(ECTag.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
libs/ec/cpp/libec.a(ECSocket.o):c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/debug/safe_iterator.tcc:113: undefined reference to `__gnu_debug::_Safe_iterator_base::_M_get_mutex()'
c:/mingw/lib/libstdc++.a(eh_throw.o):eh_throw.cc:(.text+0x7b): undefined reference to `__w32_sharedptr_unexpected'
c:/mingw/lib/libstdc++.a(eh_throw.o):eh_throw.cc:(.text+0x8c): undefined reference to `__w32_sharedptr_terminate'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x67): undefined reference to `__w32_sharedptr_terminate'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x97): undefined reference to `__w32_sharedptr_unexpected'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0xb3): undefined reference to `__w32_sharedptr_terminate'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0xd3): undefined reference to `__w32_sharedptr_unexpected'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x4e): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0xb9): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x179): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x186): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x1e3): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x1ef): more undefined references to `__w32_sharedptr' follow
collect2: ld returned 1 exit status
make[3]: *** [amulegui.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The MSys enviroment succesfull compiled an old CVS AmuleGUI (pre 2.2.2, but don't remember which).
Bye
« Last Edit: December 31, 2008, 11:27:48 AM by Menion »
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: Unable to compile AmuleGUI under MSys (Vista x64)
« Reply #1 on: December 31, 2008, 11:27:56 AM »

--edit--

I added --disable-debug option to ./configure script, now the errors are:

Code: [Select]
Linking amulegui.exe
./libmuleappgui.a(libmuleappgui_a-MuleCollection.o):MuleCollection.cpp:(.text$_ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEEES2_T_S7_RKS4_St20forward_iterator_tag[char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > >(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, std::allocator<char> const&, std::forward_iterator_tag)]+0x139): undefined reference to `std::string::_Rep::_M_set_length_and_sharable(unsigned int)'
c:/mingw/lib/libcryptopp.a(integer.o): In function `operator<< <std::char_traits<char> >':
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/ostream:465: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/ostream:465: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/ostream:465: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/ostream:465: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
c:/mingw/lib/libcryptopp.a(gf2n.o): In function `operator<< <std::char_traits<char> >':
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/include/c++/ostream:465: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
c:/mingw/lib/libcryptopp.a(gf2n.o):C:\msys\1.0\home\Menion\cryptopp552/gf2n.cpp:503: more undefined references to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' follow
c:/mingw/lib/libstdc++.a(eh_throw.o):eh_throw.cc:(.text+0x7b): undefined reference to `__w32_sharedptr_unexpected'
c:/mingw/lib/libstdc++.a(eh_throw.o):eh_throw.cc:(.text+0x8c): undefined reference to `__w32_sharedptr_terminate'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x67): undefined reference to `__w32_sharedptr_terminate'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x97): undefined reference to `__w32_sharedptr_unexpected'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0xb3): undefined reference to `__w32_sharedptr_terminate'
c:/mingw/lib/libstdc++.a(eh_terminate.o):eh_terminate.cc:(.text+0xd3): undefined reference to `__w32_sharedptr_unexpected'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x4e): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0xb9): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x179): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x186): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x1e3): undefined reference to `__w32_sharedptr'
c:/mingw/lib/libstdc++.a(eh_globals.o):eh_globals.cc:(.text+0x1ef): more undefined references to `__w32_sharedptr' follow
collect2: ld returned 1 exit status
make[3]: *** [amulegui.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Unable to compile AmuleGUI under MSys (Vista x64)
« Reply #2 on: December 31, 2008, 01:18:05 PM »

I'd say your MingW environment is broken. The undefined references are inside the standard library. Probably you have to recompile the standard library, or get one that fits your environment. Yeah, setting up MinGW is a drag.  >:(

Why do you want to compile it in the first place?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon