aMule Forum
English => Compilation problems => Topic started by: zichichi on March 17, 2007, 03:18:01 PM
-
You could indicate to me like compiling amuled for nslu2? they are little practical…
Sorry for my english... :(
THX!!!
-
http://en.wikipedia.org/wiki/NSLU2
There it says it is possible to run Debian or Gentoo on such devices. It is then no different from compiling aMule in any linux system. Please check our wiki:
http://www.amule.org/wiki/index.php/Main_Page
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Gentoo
-
I have tried to compile amuled but they give this error to me:
Configure script has finished system check.
Configured aMule CVS for 'armv5tel-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? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with UPnP support? yes
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? embedded
**** aMule TextClient ****
Should aMule Command Line Client be built? no
**** 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.6.3
crypto++ embedded
libpng 1.2.15beta5
libgd Not detected
zlib 1.2.3
debian:~/cvsa/amule-cvs# make
make all-recursive
make[1]: Entering directory `/root/cvsa/amule-cvs'
Making all in m4
make[2]: Entering directory `/root/cvsa/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvsa/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/root/cvsa/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/root/cvsa/amule-cvs/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cvsa/amule-cvs/docs/man'
make[3]: Entering directory `/root/cvsa/amule-cvs/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/cvsa/amule-cvs/docs'
make[2]: Leaving directory `/root/cvsa/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/root/cvsa/amule-cvs/src'
Making all in libs
make[3]: Entering directory `/root/cvsa/amule-cvs/src/libs'
Making all in ec
make[4]: Entering directory `/root/cvsa/amule-cvs/src/libs/ec'
make all-recursive
make[5]: Entering directory `/root/cvsa/amule-cvs/src/libs/ec'
Making all in cpp
make[6]: Entering directory `/root/cvsa/amule-cvs/src/libs/ec/cpp'
make all-am
make[7]: Entering directory `/root/cvsa/amule-cvs/src/libs/ec/cpp'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I../../../../src -I../../../../src/libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -DUSE_WX_EXTENSIONS -MT libec_a-ECTag.o -MD -MP -MF ".deps/libec_a-ECTag.Tpo" -c -o libec_a-ECTag.o `test -f 'ECTag.cpp' || echo './'`ECTag.cpp; \
then mv -f ".deps/libec_a-ECTag.Tpo" ".deps/libec_a-ECTag.Po"; else rm -f ".deps/libec_a-ECTag.Tpo"; exit 1; fi
ECTag.cpp:676: warning: unused parameter 'name'
ECTag.cpp:687: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccV9ojVi.out file, please attach this to your bugreport.
make[7]: *** [libec_a-ECTag.o] Error 1
make[7]: Leaving directory `/root/cvsa/amule-cvs/src/libs/ec/cpp'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/root/cvsa/amule-cvs/src/libs/ec/cpp'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/cvsa/amule-cvs/src/libs/ec'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/cvsa/amule-cvs/src/libs/ec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/cvsa/amule-cvs/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cvsa/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cvsa/amule-cvs'
make: *** [all] Error 2
debian:~/cvsa/amule-cvs#
Heeelllppp.. :(
-
ECTag.cpp:687: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
As you can see - your compiler crashed. This most probably have nothing to do with amule, but memory or hardware problems as well as bugs in gcc.
-
thanks for this reply. Increasing the swap I can resolve the problem? When will exit version 2.20?
-
Increasing the swap I can resolve the problem?
How can I know?
BTW: why don't you using cross-compilation? You may get far better results when compiler is running on regular PC.
-
I have resolved, the problem was to an error in the GCC installation. You could indicate like making a cross-compiling to me? Thanks.
-
You could indicate like making a cross-compiling to me?
What ?
-
You could indicate like making a cross-compiling to me?
What ?
C'mon, use your language-fu. He means "Would you please tell me how to do a cross-compiling?" :)
-
sorry for my english.......im italian... :-[
-
Hey, no one here speaks english. That's why I understand you :D I am brazilian!
-
C'mon, use your language-fu. He means "Would you please tell me how to do a cross-compiling?" Smiley
Unfortunately I have no clear idea. google?
-
google?
http://www.nslu2-linux.org/wiki/DebianSlug/CrossCompiling
Hope this helps.