MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
MLDonkey compile problem in Arm 9

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Alternative platforms
View previous topic :: View next topic  
Author Message
zumakid
neophyte


Joined: 07 Aug 2006
Posts: 2

PostPosted: Tue Aug 08, 2006 1:56 am    Post subject: MLDonkey compile problem in Arm 9 Reply with quote

I have downloaded mldonkey-2.7.7.
And compiled in Arm 9.
I have read someone done in other platform. but still not sure how to compile in this hardware . I want to try~~~ Please help me!!

Hardware: Arm 9
# uname -a
Linux 2.6.10_mvl401
armv5tejl GNU/Linux

# gcc -v
Using built-in specs.
Configured with: ../configure --host=armv5tl-montavista-linuxeabi --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --target=armv5tl-montavista-linuxeabi --program-prefix= --enable-__cxa_atexit --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --with-numa-policy=yes --with-float=soft --with-cpu=arm10tdmi --with-interwork --with-arch=armv5t --with-tune=arm10tdmi --libexecdir=/usr/lib
Thread model: posix
gcc version 3.4.3 (MontaVista 3.4.3-25.0.100.0600729 2006-05-25)

# ./configure CC=arm_v5t_le-gcc CPP=arm_v5t_le-g++
Arguments to configure: CC=arm_v5t_le-gcc CPP=arm_v5t_le-g++
checking for gcc... arm_v5t_le-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.



config.log

Code:
....
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1401: checking for gcc
configure:1427: result: arm_v5t_le-gcc
configure:1671: checking for C compiler version
configure:1674: arm_v5t_le-gcc --version </dev>&5
arm_v5t_le-gcc (GCC) 3.4.3 (MontaVista 3.4.3-25.0.100.0600729 2006-05-25)
Copyright (C) 2004 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.

configure:1677: $? = 0
configure:1679: arm_v5t_le-gcc -v </dev>&5
Using built-in specs.
Configured with: ../configure --host=armv5tl-montavista-linuxeabi --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --target=armv5tl-montavista-linuxeabi --program-prefix= --enable-__cxa_atexit --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --with-numa-policy=yes --with-float=soft --with-cpu=arm10tdmi --with-interwork --with-arch=armv5t --with-tune=arm10tdmi --libexecdir=/usr/lib
Thread model: posix
gcc version 3.4.3 (MontaVista 3.4.3-25.0.100.0600729 2006-05-25)
configure:1682: $? = 0
configure:1684: arm_v5t_le-gcc -V </dev>&5
arm_v5t_le-gcc: `-V' option must have argument
configure:1687: $? = 1
configure:1710: checking for C compiler default output file name
configure:1713: arm_v5t_le-gcc    conftest.c  >&5
<unknown> tried to exec cc1 but failed (No such file or directory)
configure:1716: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1755: error: C compiler cannot create executables
See `config.log' for more details.


Code:

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=armarm_v5t_le-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=arm_v5t_le_g++
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=armarm_v5t_le-gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

ARCH=''
BITTORRENT=''
BUILD_SYSTEM=''
BZIP2=''
CAMLP4=''
CC='armarm_v5t_le-gcc'
CC_VERSION=''
CFLAGS=''
CHECKBOUNDS=''
COMPRESS=''
COMPRESS_EXT=''
CONFIGURE_ARGUMENTS='CC=armarm_v5t_le-gcc CPP=arm_v5t_le_g++'
CONFIGURE_RUN='yes'
CONFIG_INCLUDES=''
CPP='arm_v5t_le_g++'
CPPFLAGS=''
CUT=''
CXX=''
CXXFLAGS=''
CXX_VERSION=''
DEFS=''
DIRECT_CONNECT=''
DONKEY=''
DONKEY_SERVER=''
DONKEY_SUI=''
DONKEY_SUI_FILE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FASTTRACK=''
FILETP=''
FIX_BROKEN_CPP=''
GD=''
GDGRAPHICS=''
GDLIBCONFIG=''
GD_CFLAGS=''
GD_JPG=''
GD_LDFLAGS=''
GD_LIBS=''
GD_PNG=''
GLIBC_VERSION=''
GNUTELLA2=''
GNUTELLA=''
GNU_MAKE=''
GREP=''
GTKCFLAGS=''
GTKLFLAGS=''
GTKLLIBS=''
GTK_CONFIG=''
GTOOLBOX_POPUPMENU=''
GUI=''
ICONV=''
LABLGL_CMA=''
LABLGL_CMXA=''
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBOBJS=''
MAGIC=''
MAGICLIB=''
MAJOR_VERSION='2'
MD4ARCH=''
MD4COMP=''
MINOR_VERSION='7'
MLDONKEY_VERSION=''
MORE_SUBDIRS=''
MORE_TARGETS=''
NEWCXX=''
OBJEXT=''
OCAMLC=''
OCAMLDEP=''
OCAMLDEP_OPTIONS=''
OCAMLDOC=''
OCAMLLEX=''
OCAMLLIB=''
OCAMLMKTOP=''
OCAMLOPT=''
OCAMLYACC=''
OPENFT=''
OPEN_NAPSTER=''
OS_FILES2=''
OS_FILES=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PNGLIBCONFIG=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
RELEASENAME=''
REQUIRED_LABLGTK=''
REQUIRED_OCAML=''
RPMBUILD=''
SCM_VERSION=''
SED=''
SHELL='/bin/sh'
SOULSEEK=''
STAT=''
SUB_VERSION='7'
SVNVERSION=''
SYSTEM=''
TARGET_TYPE=''
TMK=''
TYPE_FORMAT=''
WGET=''
ac_ct_CC='armarm_v5t_le-gcc'
ac_ct_CXX=''
ac_ct_NEWCXX=''
ac_ct_OCAMLC=''
ac_ct_RANLIB=''
acx_pthread_config=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77



What tools I need to find?
Should I modify the configure file?[/code]
Back to top
View user's profile Send private message
zumakid
neophyte


Joined: 07 Aug 2006
Posts: 2

PostPosted: Tue Aug 08, 2006 3:43 am    Post subject: Reply with quote

I have New question. What is Unknown build system?

Code:
# ./configure CC=arm_v5t_le-gcc CPP=arm_v5t_le-cpp --host=i686
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
Arguments to configure: CC=arm_v5t_le-gcc CPP=arm_v5t_le-cpp --host=i686
checking for i686-gcc... arm_v5t_le-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm_v5t_le-gcc accepts -g... yes
checking for arm_v5t_le-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... arm_v5t_le-cpp
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-none
Unknown build system, please report to the MLDonkey development team at http://mldonkey.sourceforge.net/forums/


Thanks!!!
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 4001
Location: Germany

PostPosted: Tue Aug 08, 2006 9:38 am    Post subject: Reply with quote

Are you trying to cross-compile or are you compiling on ARM platform?

Did you succeed compiling Ocaml on ARM before compiling MLDonkey?
I saw you used
Quote:
--with-float=soft

this will not work on ARM platform: http://caml.inria.fr/mantis/view.php?id=3746
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Frank-czj
neophyte


Joined: 14 Sep 2010
Posts: 14

PostPosted: Tue Oct 12, 2010 6:05 am    Post subject: Reply with quote

spiralvoice wrote:
Are you trying to cross-compile or are you compiling on ARM platform?

Did you succeed compiling Ocaml on ARM before compiling MLDonkey?
I saw you used
Quote:
--with-float=soft

this will not work on ARM platform: http://caml.inria.fr/mantis/view.php?id=3746


Did you succeed in doing a cross-compile on arm-linux for mldonkey?
I found that there are two methods to make a cross compiler on arm-linux for Ocaml:
a. http://www.cs.cmu.edu/~ecc/software.html (download Scripts for building OCaml cross-compilers )
b. http://brion.inria.fr/gallium/index.php/CrossCompiler

but I didn't succeed in cross-compiling mldonkey,could you give me some suggestions?Thanks a million!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Alternative platforms All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo