cassandra compile error -lmpich

19 views
Skip to first unread message

Albert Jornet Puig

unread,
Jul 10, 2014, 6:02:50 AM7/10/14
to pandor...@googlegroups.com
When I compile cassandra I get the following error:

/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_putenv'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trfree'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_env2str'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trdump'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trspace'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_env2bool'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trinit'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trmalloc'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trlevel'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trDebugLevel'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trid'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_env2int'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_env2range'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trrealloc'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trvalid'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trstrdup'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_TrSetMaxMem'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmpich.so: undefined reference to `MPL_trcalloc'


I solved it deleting -lmpich from cassandra.pro

Xavier Rubio

unread,
Jul 10, 2014, 6:11:54 AM7/10/14
to Albert Jornet Puig, pandor...@googlegroups.com
Hi, thanks for detecting this problem! Some months ago the
dependencies were coupled and cassandra needed to link against mpi but
this is not required anymore so you are right.

I'm currently updating the whole compilation system (check the branch:
https://github.com/xrubio/pandora/tree/install). To summarize the
effort the idea is to have a general system capable of compiling
cassandra and pandora on linux and OSX, and install it (once this is
done I'll push your CMake as an alternate compilation system, if you
are ok).

Xavi
> --
> You received this message because you are subscribed to the Google Groups
> "Pandora users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandora_user...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Albert Jornet Puig

unread,
Jul 10, 2014, 6:42:54 AM7/10/14
to pandor...@googlegroups.com, jur...@gmail.com
Nice.

For sure, that would be great.

Best

El dijous 10 de juliol de 2014 12:11:54 UTC+2, Xavier Rubio va escriure:
Reply all
Reply to author
Forward
0 new messages