aMule Forum

Spanish => sp_Bugs => Topic started by: bocabits on December 12, 2009, 01:09:26 PM

Title: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 12, 2009, 01:09:26 PM
Hola, buenos días a todos.

Estoy intentando instalar aMule en un NAS LinkStation, que funciona con Debian 3.1 (Sarge), he bajado la versión 2.0.3 de aMule y después de hacer el configure me da este mensaje:

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

  Configured aMule 2.0.3 for 'mipsel-unknown-linux'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/bin/aMule
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule be compiled with taskbar icon support?        yes
  Should aMule be compiled with old GTK taskbar icon?        no
  Should aMule be compiled with UTF-8 taskbar icon support?  no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

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

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes
  Should aMule WebServer GUI be built?                       yes

  **** 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?       yes

  **** 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?                          yes
  Libraries aMule will use to build:
                                       wxWidgets             2.6.1
                                       crypto++              embedded
                                       libpng                1.2.8
                                       zlib                  1.2.2


 WARNING! gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
 amuleweb will be compiled but file download progress bar images will NOT be generated.
 See the above error on gd check for solutions.

Después hago make y make install que no dan mensajes de error y al tratar de arrancar aMule me dice que:

Code: [Select]
paquito@LINKSTATION:~/aMule-2.0.3$ /usr/bin/aMule/bin/amule
/usr/bin/aMule/bin/amule: error while loading shared libraries: libwx_gtk_xrc-2.6.so.0: cannot open shared object file: No such file or directory

Pero las librerías a las que hace referencia se encuentran en /usr/local/lib

La versión de kernel que tengo es:

root@LINKSTATION:/home# uname -a
Linux LINKSTATION 2.4.20_mipsel_linkstation #88 2005ǯ 2·î 25Æü ¶âÍËÆü 20:17:00 JST mips GNU/Linux

Gracias por la atención, un saludo.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 12, 2009, 01:20:01 PM
Hola bocabits,

aMule 2.0.3 es muy viejo y no podemos ayudar más. Por favor, intenta con aMule 2.2.6. Es necesario compilar wxWidgets 2.8.10 para poder usar aMule 2.2.

Saludos
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 12, 2009, 02:48:11 PM
Gracias por responder tan rápido.

aMule 2.2.6 funcionaría en Debian 3.1 o tendría que actualizar a  Debian 4 ó 5?
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 12, 2009, 03:12:20 PM
Será más fácil actualizar a Debian 5, pero creo funcione también con Sarge. Sin embargo haya que actualizar al menos wxWidgets.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 13, 2009, 09:30:26 AM
He compilado wxGTK-2.8.10  con estas opciones:

./configure --with-gtk=1 --disable-odbc

y me da este mensaje:

Code: [Select]
Configured wxWidgets 2.8.10 for `mipsel-unknown-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 GTK+
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             no
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets be compiled in Unicode mode?           no
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.4      no
                                       wxWidgets 2.6      yes
  Which libraries should wxWidgets use?
                                       jpeg               sys
                                       png                sys
                                       regex              sys
                                       tiff               sys
                                       zlib               sys
                                       odbc               no
                                       expat              sys
                                       libmspack          no
                                       sdl                no

y cuando termina de hacer make dice:

The installation of wxWidgets is finished.  On certain
 platforms (e.g. Linux) you'll now have to run ldconfig
 if you installed a shared library and also modify the
 LD_LIBRARY_PATH (or equivalent) environment variable.
Luego, al hacer configure para aMule 2.2.6 :

./configure --prefix=/usr/bin/aMule --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-webservergui --disable-amule-gui --disable-debug --disable-gtk --enable-optimize  --enable-alcc --enable-ccache  --with-language=i18n-es

da el mensaje:

Code: [Select]
configure: error:
    The requested wxWidgets build couldn't be found.

    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --unicode=yes
    but such build is not available.

    To see the wxWidgets builds available on this system, please use
    'wx-config --list' command. To use the default build, returned by
    'wx-config --selected-config', use the options with their 'auto'
    default values.

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 2.8.0 or above.

¿Tengo que compilar wxWidgets de nuevo añadiendo la opción  --unicode=yes? Además, ya tenía instalado el wxWidgets 2.6.1, ¿hay que eliminarlo antes de instalar la versión 2.8.0?

Muchas gracias!
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 13, 2009, 10:07:20 AM
Quote
¿Tengo que compilar wxWidgets de nuevo añadiendo la opción  --unicode=yes?
Sí.
Quote
Además, ya tenía instalado el wxWidgets 2.6.1, ¿hay que eliminarlo antes de instalar la versión 2.8.0?
Mejor eliminarlo, a veces hay problemas con dos instalaciones del wxWidgets.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 13, 2009, 11:07:29 PM
Bueno, lo primero, gracias por tu ayuda.

He compilado  wxGTK-2.8.10

./configure --with-gtk=1 --disable-odbc --enable-unicode

ha dado este mensaje:

Code: [Select]
config.status: executing wx-config commands

Configured wxWidgets 2.8.10 for `mipsel-unknown-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 GTK+
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             no
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets be compiled in Unicode mode?           no
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.4      no
                                       wxWidgets 2.6      yes
  Which libraries should wxWidgets use?
                                       jpeg               sys
                                       png                sys
                                       regex              builtin
                                       tiff               sys
                                       zlib               sys
                                       odbc               no
                                       expat              sys
                                       libmspack          no
                                       sdl                no

Después make y make install que no han dado mensajes de error. Pero al hacer el ./configure para compilar aMule 2.2.6 me vuelve a dar el mismo error que antes.

No he podido desinstalar wxWidgets  2.6, make uninstall no ha funcionado.


Muchas gracias de nuevo.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 13, 2009, 11:45:10 PM
Para desinstalar puedes intentar los comandos del wiki (http://wiki.amule.org/index.php/How_to_uninstall_wxWidgets) (Eso elimina todos ficheros del wxWidgets, instalar el wxWidgets 2.8.10 puede ser necesario después.)

Por favor, ejecuta "which wx-config" y "wx-config --list", probablemente usa el wxWidgets indeseado.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 11:00:25 AM
He desinstalado wxWidgets 2.6 siguiendo el wiki y luego he vuelto a hacer make install en wxGTK-2.8.10

Code: [Select]
paquito@LINKSTATION:~/wxGTK-2.8.10$ which wx-config
/usr/local/bin/wx-config
paquito@LINKSTATION:~/wxGTK-2.8.10$ wx-config --list

    Default config is gtk-ansi-release-2.8

  Default config will be used for output

paquito@LINKSTATION:~/wxGTK-2.8.10$

Despues al hacer el ./configure dentro de aMule-2.2.6 da el mismo error:
Code: [Select]
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... no

Cuando miro las opciones para compilar de nuevo wxGTK-2.8.10, no veo --unicode=yes,  solo veo esto

Code: [Select]
paquito@LINKSTATION:~/wxGTK-2.8.10$ ./configure --help |grep unicode
  --enable-unicode        compile wxString with Unicode support

que ya está incluido al compilar wxGTK-2.8.10


Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 14, 2009, 11:19:05 AM
Mh, la problema es de veras el unicode. No obstante el --enable-unicode dice:
Quote
Should wxWidgets be compiled in Unicode mode?           no
Hasta que eso no sea resuelto, no funcionará.

Una duda: ¿Por qué usas "--with-gtk=1"? L'interfaz gráfica del aMule no funciona con GTK1 y creo que el GTK1 no funcione con unicode. Si no quieres una interfaz gráfica, puedes compilar aMuled y wxWidgets sin interfaz gráfica, pero si lo quieres, hay que usar GTK2.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 11:24:43 AM
Mh, la problema es de veras el unicode. No obstante el --enable-unicode dice:
Quote
Should wxWidgets be compiled in Unicode mode?           no
Hasta que eso no sea resuelto, no funcionará.

Una duda: ¿Por qué usas "--with-gtk=1"? L'interfaz gráfica del aMule no funciona con GTK1 y creo que el GTK1 no funcione con unicode. Si no quieres una interfaz gráfica, puedes compilar aMuled y wxWidgets sin interfaz gráfica, pero si lo quieres, hay que usar GTK2.

Empecé siguiendo estas instrucciones: http://buffalo.nas-central.org/wiki/AMule:_The_all-platform_eMule_client (http://buffalo.nas-central.org/wiki/AMule:_The_all-platform_eMule_client).

aMule va a funcionar en un NAS sin tarjeta gráfica y quiero manejarlo desde mi PC por web.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 14, 2009, 11:34:06 AM
Pues, hay una explicación en http://wiki.amule.org/index.php/HowTo_Compile_aMuled (Inglés):

Puedes usar: ./configure --disable-gui --enable-unicode --without-subdirs --without-expat
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 11:43:46 AM
Pues, hay una explicación en http://wiki.amule.org/index.php/HowTo_Compile_aMuled (Inglés):

Puedes usar: ./configure --disable-gui --enable-unicode --without-subdirs --without-expat

Muchas gracias, voy a probarlo ahora mismo (tarda seis horas en hacer el make)
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 12:43:52 PM
No ha tardado nada!!

Al hacer ./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver

da este error:

Code: [Select]
configure: error:
        Could not find crypto++ header file "cryptlib.h".
        Please try again with --with-crypto-prefix=/my_crypto_prefix
        (replace /my_crypto_prefix with a valid path to your crypto++
        installation directory).

He instalado con aptitude libcrypto++-dev y configure se ejecuta y da este mensaje:


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

  Configured aMule 2.2.6 for 'mipsel-unknown-linux-gnu'.

  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?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            gentoo_debian

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

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** 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.10 (,shared)
                                       crypto++              5.2.1 (gentoo_debian, in /usr)
                                       regex                 system
                                       libintl               system
                                       libpng                1.2.8
                                       zlib                  1.2.2


WARNING! UPnP code has been disabled because libupnp >= 1.6.6 not found (try to use --with-libupnp-prefix=PREFIX).

El make ha terminado con este mensaje:

Code: [Select]
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 14, 2009, 01:11:16 PM
Quote
El make ha terminado con este mensaje:
Necesito las lineas anteriores para saber que va mal.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 02:09:55 PM
Esta es la primera parte de la salida completa al hacer make

Code: [Select]
Linking amuleweb
amuleweb-WebServer.o(.text+0x54):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.h:202: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0x88):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.h:297: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0xbc):/usr/include/c++/3.3/bits/stl_tree.h:1185: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0xf0):/usr/include/c++/3.3/bits/stl_tree.h:851: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0x8b4):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:149: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-WebServer.o(.text+0xed8):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:149: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-WebServer.o(.text+0x11b4):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:155: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0x1264):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:157: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0x12f0):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:158: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amuleweb-WebServer.o(.text+0x176c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:183: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-WebServer.o(.text+0x179c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:184: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x1828):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:185: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x18c0):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:188: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-WebServer.o(.text+0x18fc):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:189: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-WebServer.o(.text+0x1944):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:191: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x1a68):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:196: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x1a90):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:197: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x1b90):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:200: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x2004):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:183: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-WebServer.o(.text+0x2034):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:184: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x20c0):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:185: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x2158):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:188: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-WebServer.o(.text+0x2194):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:189: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-WebServer.o(.text+0x21dc):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:191: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x2300):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:196: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x2328):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:197: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebServer.o(.text+0x2428):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:200: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x4cec):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:333: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x4d18):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:333: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x4ee8):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:339: undefined reference to `operator+(wchar_t, wxString const&)'
amuleweb-WebServer.o(.text+0x7250):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:485: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x7380):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:486: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0xbd0c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:775: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0xbe84):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:782: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0xe050):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:933: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0xe07c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:933: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0xe244):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:938: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0xe270):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:938: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0xe4c8):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:940: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0xe4f4):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:940: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0xe8a8):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:947: undefined reference to `wxFFile::wxFFile[in-charge](wchar_t const*, wchar_t const*)'
amuleweb-WebServer.o(.text+0xecd4):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:961: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0xf088):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:947: undefined reference to `wxFFile::wxFFile[in-charge](wchar_t const*, wchar_t const*)'
amuleweb-WebServer.o(.text+0xf43c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:961: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x1280c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1187: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x12838):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1187: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x12b94):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1187: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x12bc0):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1187: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x150ac):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1381: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-WebServer.o(.text+0x15cdc):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1381: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-WebServer.o(.text+0x19764):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1738: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x19790):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1738: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x1a0bc):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1738: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x1a0e8):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1738: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x1b6a0):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1853: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x1b6cc):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1853: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x1c998):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1907: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebServer.o(.text+0x1c9c4):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1907: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebServer.o(.text+0x1cb50):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1909: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-WebServer.o(.text+0x1cf4c):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1914: undefined reference to `wxString::Find(wchar_t const*) const'
amuleweb-WebServer.o(.text+0x1d060):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1916: undefined reference to `wxString::Find(wchar_t const*) const'
amuleweb-WebServer.o(.text+0x1d178):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1918: undefined reference to `wxString::Find(wchar_t const*) const'
amuleweb-WebServer.o(.text+0x1d3d8):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:1921: undefined reference to `wxString::Find(wchar_t const*) const'
amuleweb-WebServer.o(.gnu.linkonce.t._ZN8wxStringaSEPKw+0x34):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:62: undefined reference to `wxStringBase::operator=(wchar_t const*)'
amuleweb-WebServer.o(.gnu.linkonce.t._ZeqRK8wxStringPKw+0x34):/home/paquito/aMule-2.2.6/src/webserver/src/WebServer.cpp:62: undefined reference to `wxString::Cmp(wchar_t const*) const'
amuleweb-WebServer.o(.gnu.linkonce.t._ZN12wxStringBaseC2EPKw+0x44):/usr/local/include/wx-2.8/wx/datetime.h:1629: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned, unsigned)'
amuleweb-WebServer.o(.gnu.linkonce.t._ZN12wxStringBase10ConcatSelfEjPKw+0x40):../../MD4Hash.h:65: undefined reference to `wxStringBase::ConcatSelf(unsigned, wchar_t const*, unsigned)'
amuleweb-WebInterface.o(.text+0x2874):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:366: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x28a0):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:366: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x2afc):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:370: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x2b28):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:370: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x2da4):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:376: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x2dd0):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:376: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x3280):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:399: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x32ac):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:399: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x33cc):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:445: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x3630):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:475: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x365c):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:475: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x8158):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:743: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x8184):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:743: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x827c):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:746: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x8680):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:756: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x86ac):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:756: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x8b84):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:768: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebInterface.o(.text+0x8bb0):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:768: undefined reference to `operator+(wxString const&, wchar_t const*)'
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 02:11:04 PM
Esta es la segunda parte

Code: [Select]
amuleweb-WebInterface.o(.text+0x9414):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:718: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebInterface.o(.text+0x9438):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:718: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebInterface.o(.text+0x9518):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:720: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-WebInterface.o(.text+0x953c):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:721: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-WebInterface.o(.text+0x9638):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:724: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.text+0x9ba8):/home/paquito/aMule-2.2.6/src/webserver/src/WebInterface.cpp:712: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-WebInterface.o(.gnu.linkonce.d._ZTV12CamulewebApp+0x44):/usr/local/include/wx-2.8/wx/intl.h:582: undefined reference to `wxAppConsole::Initialize(int&, wchar_t**)'
amuleweb-WebSocket.o(.text+0x1040):/home/paquito/aMule-2.2.6/src/webserver/src/WebSocket.cpp:198: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-WebSocket.o(.text+0x13b0):/home/paquito/aMule-2.2.6/src/webserver/src/WebSocket.cpp:219: undefined reference to `wxString::Find(wchar_t, bool) const'
amuleweb-ExternalConnector.o(.text+0x830):../../../src/ExternalConnector.cpp:93: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-ExternalConnector.o(.text+0xa34):../../../src/ExternalConnector.cpp:96: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-ExternalConnector.o(.text+0xd94):../../../src/ExternalConnector.cpp:107: undefined reference to `operator+(wchar_t, wxString const&)'
amuleweb-ExternalConnector.o(.text+0xdb8):../../../src/ExternalConnector.cpp:107: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x1010):../../../src/ExternalConnector.cpp:122: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x11cc):../../../src/ExternalConnector.cpp:132: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-ExternalConnector.o(.text+0x1418):../../../src/ExternalConnector.cpp:136: undefined reference to `wxString::AfterFirst(wchar_t) const'
amuleweb-ExternalConnector.o(.text+0x1928):../../../src/ExternalConnector.cpp:148: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x1990):../../../src/ExternalConnector.cpp:148: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x19bc):../../../src/ExternalConnector.cpp:148: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x25d8):../../../src/ExternalConnector.cpp:181: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x2604):../../../src/ExternalConnector.cpp:181: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x46ec):../../../src/ExternalConnector.cpp:239: undefined reference to `operator+(wchar_t, wxString const&)'
amuleweb-ExternalConnector.o(.text+0x4710):../../../src/ExternalConnector.cpp:239: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x48a8):../../../src/ExternalConnector.cpp:240: undefined reference to `operator+(wchar_t, wxString const&)'
amuleweb-ExternalConnector.o(.text+0x4940):../../../src/ExternalConnector.cpp:240: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x4964):../../../src/ExternalConnector.cpp:240: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x4c48):../../../src/ExternalConnector.cpp:241: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x5060):../../../src/ExternalConnector.cpp:250: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-ExternalConnector.o(.text+0x508c):../../../src/ExternalConnector.cpp:250: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x539c):../../../src/ExternalConnector.cpp:259: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x5868):../../../src/ExternalConnector.cpp:292: undefined reference to `operator+(wxString const&, wchar_t)'
amuleweb-ExternalConnector.o(.text+0x5ce8):../../../src/ExternalConnector.cpp:314: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x6cdc):../../../src/ExternalConnector.cpp:409: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x8950):../../../src/ExternalConnector.cpp:481: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-ExternalConnector.o(.text+0x8c74):../../../src/ExternalConnector.cpp:488: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-ExternalConnector.o(.gnu.linkonce.d._ZTV23CaMuleExternalConnector+0x44):/usr/local/include/wx-2.8/wx/intl.h:582: undefined reference to `wxAppConsole::Initialize(int&, wchar_t**)'
amuleweb-ExternalConnector.o(.gnu.linkonce.t._ZN8wxStringC1Ewj+0x3c):/usr/include/c++/3.3/bits/list.tcc:89: undefined reference to `wxStringBase::wxStringBase[not-in-charge](unsigned, wchar_t)'
amuleweb-ExternalConnector.o(.gnu.linkonce.t._ZN8wxString6appendEjw+0x3c):/usr/include/c++/3.3/bits/list.tcc:89: undefined reference to `wxStringBase::append(unsigned, wchar_t)'
amuleweb-OtherFunctions.o(.text+0x94):/usr/include/c++/3.3/bits/stl_tree.h:162: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x1e0):/usr/include/c++/3.3/bits/stl_tree.h:994: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x3d4):../../../src/OtherFunctions.cpp:112: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x42c):../../../src/OtherFunctions.cpp:112: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x4f8):../../../src/OtherFunctions.cpp:114: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x540):../../../src/OtherFunctions.cpp:114: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x67c):../../../src/OtherFunctions.cpp:116: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x6c4):../../../src/OtherFunctions.cpp:116: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x804):../../../src/OtherFunctions.cpp:118: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x84c):../../../src/OtherFunctions.cpp:118: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x9b8):../../../src/OtherFunctions.cpp:120: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0xa00):../../../src/OtherFunctions.cpp:730: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0xb0c):../../../src/OtherFunctions.cpp:128: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0xbf0):../../../src/OtherFunctions.cpp:130: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0xc38):../../../src/OtherFunctions.cpp:130: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0xd74):../../../src/OtherFunctions.cpp:132: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0xdbc):../../../src/OtherFunctions.cpp:132: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0xf1c):../../../src/OtherFunctions.cpp:134: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0xf64):../../../src/OtherFunctions.cpp:734: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x10d0):../../../src/OtherFunctions.cpp:735: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x1118):../../../src/OtherFunctions.cpp:735: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x1200):../../../src/OtherFunctions.cpp:143: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x1258):../../../src/OtherFunctions.cpp:736: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x1368):../../../src/OtherFunctions.cpp:145: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x13b0):../../../src/OtherFunctions.cpp:737: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x14a8):../../../src/OtherFunctions.cpp:147: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x14f0):../../../src/OtherFunctions.cpp:738: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x162c):../../../src/OtherFunctions.cpp:739: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x1678):../../../src/OtherFunctions.cpp:739: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x1810):../../../src/OtherFunctions.cpp:740: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x185c):../../../src/OtherFunctions.cpp:740: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x1990):../../../src/OtherFunctions.cpp:165: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x19dc):../../../src/OtherFunctions.cpp:165: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x1b38):../../../src/OtherFunctions.cpp:172: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x1b84):../../../src/OtherFunctions.cpp:172: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x1d34):../../../src/OtherFunctions.cpp:744: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x1d80):../../../src/OtherFunctions.cpp:744: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x329c):../../../src/OtherFunctions.cpp:519: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-OtherFunctions.o(.text+0x32c8):../../../src/OtherFunctions.cpp:519: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x3d7c):../../../src/OtherFunctions.cpp:597: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-OtherFunctions.o(.text+0x3da8):../../../src/OtherFunctions.cpp:597: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x4a88):../../../src/OtherFunctions.cpp:778: undefined reference to `operator+(wchar_t const*, wxString const&)'
amuleweb-OtherFunctions.o(.text+0x5250):../../../src/OtherFunctions.cpp:958: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x52b4):../../../src/OtherFunctions.cpp:784: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x53b0):../../../src/OtherFunctions.cpp:961: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x5484):../../../src/OtherFunctions.cpp:964: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x55bc):../../../src/OtherFunctions.cpp:972: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-OtherFunctions.o(.text+0x609c):../../../src/OtherFunctions.cpp:1086: undefined reference to `wxLocale::AddCatalog(wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x6168):../../../src/OtherFunctions.cpp:1090: undefined reference to `wxLocale::AddCatalog(wchar_t const*)'
amuleweb-OtherFunctions.o(.text+0x61d0):../../../src/OtherFunctions.cpp:796: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-OtherFunctions.o(.text+0x61f4):../../../src/OtherFunctions.cpp:796: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amuleweb-OtherFunctions.o(.gnu.linkonce.t._ZN12wxStringBasepLEw+0x38):../../../src/OtherFunctions.h:300: undefined reference to `wxStringBase::append(unsigned, wchar_t)'
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 02:11:39 PM
Y la tercera parte

Code: [Select]
amuleweb-php_amule_lib.o(.text+0x1170): In function `php_native_add_server_cmd(PHP_VALUE_NODE*)':
/home/paquito/aMule-2.2.6/src/webserver/src/php_amule_lib.cpp:173: undefined reference to `wxString::Format(wchar_t const*, ...)'
amuleweb-php_amule_lib.o(.text+0x7718): In function `amule_download_file_prop_get(void*, char*, PHP_VALUE_NODE*)':
/home/paquito/aMule-2.2.6/src/webserver/src/php_amule_lib.cpp:843: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-php_amule_lib.o(.text+0x8768): In function `amule_upload_file_prop_get(void*, char*, PHP_VALUE_NODE*)':
/home/paquito/aMule-2.2.6/src/webserver/src/php_amule_lib.cpp:909: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-php_amule_lib.o(.text+0x9240): In function `amule_shared_file_prop_get(void*, char*, PHP_VALUE_NODE*)':
/home/paquito/aMule-2.2.6/src/webserver/src/php_amule_lib.cpp:973: undefined reference to `operator+(wxString const&, wchar_t const*)'
amuleweb-php_amule_lib.o(.text+0x9b48): In function `amule_search_file_prop_get(void*, char*, PHP_VALUE_NODE*)':
/home/paquito/aMule-2.2.6/src/webserver/src/php_amule_lib.cpp:1025: undefined reference to `operator+(wxString const&, wchar_t const*)'
../../libs/ec/cpp/libec.a(RemoteConnect.o)(.text+0x18c0):/home/paquito/aMule-2.2.6/src/libs/ec/cpp/RemoteConnect.cpp:194: undefined reference to `operator+(wxString const&, wchar_t const*)'
../../libs/ec/cpp/libec.a(RemoteConnect.o)(.text+0x1bbc):/home/paquito/aMule-2.2.6/src/libs/ec/cpp/RemoteConnect.cpp:205: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/ec/cpp/libec.a(ECSpecialTags.o)(.text+0xdc0): In function `FormatValue(CFormat&, CECTag const*)':
/home/paquito/aMule-2.2.6/src/libs/ec/cpp/ECSpecialTags.cpp:103: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/ec/cpp/libec.a(ECSpecialTags.o)(.text+0xdec):/home/paquito/aMule-2.2.6/src/libs/ec/cpp/ECSpecialTags.cpp:103: undefined reference to `operator+(wxString const&, wchar_t const*)'
../../libs/ec/cpp/libec.a(ECSpecialTags.o)(.text+0x11a0):/home/paquito/aMule-2.2.6/src/libs/ec/cpp/ECSpecialTags.cpp:115: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/ec/cpp/libec.a(ECSpecialTags.o)(.text+0x18b8):/home/paquito/aMule-2.2.6/src/libs/ec/cpp/ECSpecialTags.cpp:130: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/ec/cpp/libec.a(ECSpecialTags.o)(.text+0x1ccc):/home/paquito/aMule-2.2.6/src/libs/ec/cpp/ECSpecialTags.cpp:147: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/ec/cpp/libec.a(ECMuleSocket.o)(.gnu.linkonce.t._Z16Uint32toStringIPj+0x80):/usr/local/include/wx-2.8/wx/thread.h:666: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/common/libmulecommon.a(Format.o)(.text+0x1844):/home/paquito/aMule-2.2.6/src/libs/common/Format.cpp:343: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/common/libmulecommon.a(Format.o)(.text+0x1a5c):/home/paquito/aMule-2.2.6/src/libs/common/Format.cpp:365: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/common/libmulecommon.a(Format.o)(.text+0x1c10):/home/paquito/aMule-2.2.6/src/libs/common/Format.cpp:376: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/common/libmulecommon.a(Format.o)(.text+0x1dc4):/home/paquito/aMule-2.2.6/src/libs/common/Format.cpp:387: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/common/libmulecommon.a(Format.o)(.text+0x23a4):/home/paquito/aMule-2.2.6/src/libs/common/Format.cpp:446: more undefined references to `wxString::Format(wchar_t const*, ...)' follow
../../libs/common/libmulecommon.a(Format.o)(.gnu.linkonce.t._ZneRK8wxStringPKw+0x34):/usr/local/include/wx-2.8/wx/string.h:445: undefined reference to `wxString::Cmp(wchar_t const*) const'
../../libs/common/libmulecommon.a(MD5Sum.o)(.text+0x680):/home/paquito/aMule-2.2.6/src/libs/common/MD5Sum.cpp:72: undefined reference to `wxString::Format(wchar_t const*, ...)'
../../libs/common/libmulecommon.a(StringFunctions.o)(.text+0x5ec): In function `TruncateFilename(CPath const&, unsigned, bool)':
/home/paquito/aMule-2.2.6/src/libs/common/StringFunctions.cpp:84: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/common/libmulecommon.a(StringFunctions.o)(.text+0x880):/home/paquito/aMule-2.2.6/src/libs/common/StringFunctions.cpp:95: undefined reference to `operator+(wxString const&, wchar_t const*)'
../../libs/common/libmulecommon.a(StringFunctions.o)(.text+0xd6c): In function `JoinPaths(wxString const&, wxString const&)':
/home/paquito/aMule-2.2.6/src/libs/common/StringFunctions.cpp:134: undefined reference to `operator+(wxString const&, wchar_t)'
../../libs/common/libmulecommon.a(StringFunctions.o)(.gnu.linkonce.t._ZNK8wxString8ContainsERKS_+0x4c):/home/paquito/aMule-2.2.6/src/libs/common/StringFunctions.h:133: undefined reference to `wxString::Find(wchar_t const*) const'
../../libs/common/libmulecommon.a(Path.o)(.text+0x188):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:50: undefined reference to `wxConvBrokenFileNames::wxConvBrokenFileNames[in-charge](wchar_t const*)'
../../libs/common/libmulecommon.a(Path.o)(.text+0x978): In function `DoAddPostfix(wxString const&, wxString const&)':
/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:177: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/common/libmulecommon.a(Path.o)(.text+0xae0):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:182: undefined reference to `operator+(wxString const&, wchar_t)'
../../libs/common/libmulecommon.a(Path.o)(.text+0x3380):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:442: undefined reference to `wxFile::wxFile[in-charge](wchar_t const*, wxFile::OpenMode)'
../../libs/common/libmulecommon.a(Path.o)(.text+0x4664):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:568: undefined reference to `operator+(wxString const&, wchar_t)'
../../libs/common/libmulecommon.a(Path.o)(.text+0x47c4):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:569: undefined reference to `operator+(wxString const&, wchar_t)'
../../libs/common/libmulecommon.a(Path.o)(.text+0x4db8):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:620: undefined reference to `wxFile::Open(wchar_t const*, wxFile::OpenMode, int)'
../../libs/common/libmulecommon.a(Path.o)(.gnu.linkonce.t._Z11DoSplitPathRK8wxStringPS_S2_+0x140):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:123: undefined reference to `operator+(wchar_t const*, wxString const&)'
../../libs/common/libmulecommon.a(Path.o)(.gnu.linkonce.t._ZN12wxStringBaseC2EPKwj+0x40):/home/paquito/aMule-2.2.6/src/libs/common/Path.cpp:115: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned, unsigned)'
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Gracias de nuevo por tu ayuda
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 14, 2009, 03:16:49 PM
Parece que no se puede evitar la compilación completa del wxWidgets (no encuentra las librerías del unicode). Por favor, ejecuta "make clean; make && make install" en el directorio del wxWidgets una vez más.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 03:44:24 PM
Parece que no se puede evitar la compilación completa del wxWidgets (no encuentra las librerías del unicode). Por favor, ejecuta "make clean; make && make install" en el directorio del wxWidgets una vez más.

Ok, estoy en ello, ahora se está ejecutando el make y parece que va a tardar bastante.

Gracias de nuevo.
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 10:03:14 PM
Hola de nuevo,

he hecho make clean para reinstalar wxWidgets, y ha ido bien aparentemente. Luego he vuelto a hacer para aMule

./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver

make

make install y al ejecutar amuled da este error

Code: [Select]
/usr/local/bin$ amuled --ec-config
amuled: error while loading shared libraries: libwx_baseu_net-2.8.so.0: cannot open shared object file: No such file or directory

Este error se soluciona así: http://forum.amule.org/index.php?topic=14687.0 (http://forum.amule.org/index.php?topic=14687.0)
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: wuischke on December 14, 2009, 10:17:02 PM
Me alegro oír que todo está solucionado ahora. :-)
Title: Re: Error compilando aMule en una máquina Debian 3.1
Post by: bocabits on December 14, 2009, 10:37:45 PM
(http://i.imagehost.org/0514/amule.jpg)

Ya está funcionando, sólo queda el script de arranque y pasar los ficheros de configuración de windows a debian.

Muchísimas gracias por toda tu ayuda y tu paciencia.