Hi John, Do you mean, --enable-all-static or --enable-static?
My configure is --enable-static --disable-shared. Also, have you build libmesh on BG/Q Vesta before? Thanks, Walter On Thu, Oct 22, 2015 at 1:36 PM, John Peterson <jwpeter...@gmail.com> wrote: > > > On Thu, Oct 22, 2015 at 12:27 PM, walter kou <walter4c...@gmail.com> > wrote: > >> With --enable-static --disable-shared >> I got similar error much later, >> >> /bgsys/drivers/toolchain/V1R2M2_base-efix014/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.7/../../../../powerpc64-bgq-linux/bin/ld: >> attempted static link of dynamic object >> `/bgsys/drivers/V1R2M2/ppc64/comm/lib/libmpichf90-gcc.so' >> collect2: ld returned 1 exit status >> make[1]: *** [output_libmesh_version-opt] Error 1 >> > > Well, either dynamic linking doesn't work, in which case I don't know how > we're supposed to link against the system library libmpichf90-gcc.so, or it > does work and you should not be using --enable-all-static. > > -- > John > ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users