aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compiling CVS for edmini disk  (Read 2164 times)

zokete

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Compiling CVS for edmini disk
« on: April 30, 2007, 02:04:54 PM »

Hi all,
 
I'm a happy user of aMule running on a LaCIE EdMini NAS system http://www.lacie.com/products/product.htm?pid=10843.  Its a ARM based system running add-hoc linux with 64MB of ram and Gigabit interface and host usb support. Pretty cheap for 0.5+TB and nice :)

Well, now I'm able to compile (cross compiling with CodeSourcery arm compilers) and run latest stable amule version successfully (with a total download of 70GB in 30 days). Moreover, I'm suffering connexion shaping from my ISP and I need obfuscation ASAP. Because of that, I'm compiling latest CVS version with wxBase 2.8.3 and it's impossible.... i'm not able to finish it. In previous version comenting HAVE_MALLOC and HAVE_REALLOC defines in config.h was enough. Here is not possible... It should be some problem with cross compiling libraries but i'm lost.

 Some experience with this system? I know... its quite particular hardware configuration, just in case. If some user are interesed in the full process of compiling and hacking EDMini to run aMule I could add a small How-to to the wiki.

This my configure

Quote
./configure --prefix=/opt-cvs/  --with-zlib=/opt  --enable-optimize   --disable-monolithic --enable-amule-daemon --enable-amulecmd  --enable-webserver  --with-wx-config=/opt-cvs//lib/wx/config/arm-linux-base-unicode-release-2.8 --with-wx-prefix=/opt-cvs/ --host=arm-linux --with-libpng-prefix=/opt --enable-static --with-gdlib-prefix=/opt

(gd, libpngm, and wx compiled without problems)

This is my error...


Quote
make[4]: Entering directory `/home/vpuente/emulito/CVS-COMP/amule-cvs/src/webserver/src'
if /home/vpuente/emulito/bin/arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -I/opt/include -I../.. -I../../../src -I../../../src/libs -I/opt-cvs//lib/wx/include/arm-linux-base-unicode-release-2.8 -I/opt-cvs//include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_GUI=0 -pthread -DwxUSE_GUI=0 -I/opt/include/libpng12 -DPNG_NO_MMX_CODE -DWITH_LIBPNG  -DEC_REMOTE -DWEBSERVERDIR="\"/opt-cvs//share/amule/webserver\"" -DAMULE_INSTALL_PREFIX="\"/opt-cvs/\"" -DAMULE_LOCALEDIR="\"/opt-cvs//share/locale\"" -DECSOCKET_USE_EVENTS=0 -DENABLE_UPNP -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2  -DUSE_WX_EXTENSIONS -MT amuleweb-WebServer.o -MD -MP -MF ".deps/amuleweb-WebServer.Tpo" -c -o amuleweb-WebServer.o `test -f 'WebServer.cpp' || echo './'`WebServer.cpp; \
        then mv -f ".deps/amuleweb-WebServer.Tpo" ".deps/amuleweb-WebServer.Po"; else rm -f ".deps/amuleweb-WebServer.Tpo"; exit 1; fi
In file included from WebServer.cpp:38:
../../../src/libs/ec/cpp/ECSpecialTags.h:28:2: warning: #warning Kry - Preferences packet derived from packet, and that's ok, but shouldn't be here because this is a tag file and forces a stupid include
In file included from ../../ExternalConnector.h:38,
                 from WebInterface.h:30,
                 from WebServer.h:34,
                 from WebSocket.h:31,
                 from WebServer.cpp:44:
../../../src/libs/ec/cpp/RemoteConnect.h:45:2: warning: #warning Kry TODO - move to abstract layer.
if /home/vpuente/emulito/bin/arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -I/opt/include -I../.. -I../../../src -I../../../src/libs -I/opt-cvs//lib/wx/include/arm-linux-base-unicode-release-2.8 -I/opt-cvs//include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_GUI=0 -pthread -DwxUSE_GUI=0 -I/opt/include/libpng12 -DPNG_NO_MMX_CODE -DWITH_LIBPNG  -DEC_REMOTE -DWEBSERVERDIR="\"/opt-cvs//share/amule/webserver\"" -DAMULE_INSTALL_PREFIX="\"/opt-cvs/\"" -DAMULE_LOCALEDIR="\"/opt-cvs//share/locale\"" -DECSOCKET_USE_EVENTS=0 -DENABLE_UPNP -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2  -DUSE_WX_EXTENSIONS -MT amuleweb-WebInterface.o -MD -MP -MF ".deps/amuleweb-WebInterface.Tpo" -c -o amuleweb-WebInterface.o `test -f 'WebInterface.cpp' || echo './'`WebInterface.cpp; \
        then mv -f ".deps/amuleweb-WebInterface.Tpo" ".deps/amuleweb-WebInterface.Po"; else rm -f ".deps/amuleweb-WebInterface.Tpo"; exit 1; fi
In file included from /home/vpuente/emulito/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../include/c++/3.4.4/bits/stl_algobase.h:67,
                 from /home/vpuente/emulito/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../include/c++/3.4.4/bits/char_traits.h:46,
                 from /home/vpuente/emulito/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../include/c++/3.4.4/string:47,
                 from /opt-cvs//include/wx-2.8/wx/string.h:176,
                 from /opt-cvs//include/wx-2.8/wx/stdpaths.h:19,
                 from WebInterface.cpp:32:
/home/vpuente/emulito/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../include/c++/3.4.4/cstdlib:110: error: `::malloc' has not been declared
/home/vpuente/emulito/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../include/c++/3.4.4/cstdlib:118: error: `::realloc' has not been declared
In file included from /opt-cvs//include/wx-2.8/wx/clntdata.h:162,
                 from /opt-cvs//include/wx-2.8/wx/event.h:18,
                 from /opt-cvs//include/wx-2.8/wx/socket.h:23,
                 from /opt-cvs//include/wx-2.8/wx/protocol/protocol.h:24,
                 from /opt-cvs//include/wx-2.8/wx/url.h:20,
                 from ../../libs/common/ConvAmule.h:31,
                 from ../../libs/common/StringFunctions.h:35,
                 from ../../MD4Hash.h:36,
                 from ../../../src/libs/ec/cpp/ECFileConfig.h:32,
                 from WebInterface.cpp:41:
/opt-cvs//include/wx-2.8/wx/vector.h: In member function `bool wxVectorBase::Alloc(size_t)':
/opt-cvs//include/wx-2.8/wx/vector.h:35: error: `realloc' undeclared (first use this function)
/opt-cvs//include/wx-2.8/wx/vector.h:35: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from ../../ExternalConnector.h:38,
                 from WebInterface.h:30,
                 from WebServer.h:34,
                 from WebInterface.cpp:44:
../../../src/libs/ec/cpp/RemoteConnect.h:45:2: warning: #warning Kry TODO - move to abstract layer.
make[4]: *** [amuleweb-WebInterface.o] Error 1
Logged