[mpich-discuss] cross comiling MPICH

Doha Ehab dohaehab at gmail.com
Thu Dec 10 08:29:30 CST 2015


Hello ,
I'm trying to use Android toolchain to cross compile mpi using the
following commands:

export
PATH="$NDK_ROOT/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:$PATH"
export SYS_ROOT="$NDK_ROOT/platforms/android-8/arch-arm/"
export CC="arm-linux-androideabi-gcc --sysroot=$SYS_ROOT"
export LD="arm-linux-androideabi-ld"
export AR="arm-linux-androideabi-ar"


./configure --host=arm-linux-androideabi
 --prefix=/Crosscompile2/jni/mpich/ LIBS="-lc -lgcc " --disable-shared
--disable-fortran --disable-cxx

but I got the following error

checking for pthread_key_create in -lpthread... no
checking checkpointing library... configure: error: pthreads is required
for checkpointing, but was not found
configure: error: src/pm/hydra configure failed

I also have attached the config.log but I don't know what is the problem.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151210/609f5d47/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 782682 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151210/609f5d47/attachment.bin>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list