On Wed, Mar 23, 2011 at 10:36 AM, Roy Stogner <[email protected]> wrote: > > > ---------- Forwarded message ---------- > Date: Wed, 23 Mar 2011 11:31:30 -0500 > From: Ataollah Mesgarnejad <[email protected]> > To: Roy Stogner <[email protected]> > Subject: Re: [Libmesh-users] Mesh is ambiguous > > Dear Roy, > > I tried compiling without MESH but now I get the following error: > > Compiling C++ (in optimized mode) src/utils/xdr_cxx.C... > Linking > /usr/local/packages/libmesh/lib/x86_64-unknown-linux-gnu_opt/libmesh.so > ld: src/base/dof_map.x86_64-unknown-linux-gnu.opt.o: relocation R_X86_64_32S > against > `_ZTV23variant_filter_iteratorIN7libMesh10Predicates15multi_predicateEPNS0_4ElemERS4_PS4_E' > can not be used when making a shared object; recompile with -fPIC > src/base/dof_map.x86_64-unknown-linux-gnu.opt.o: could not read symbols: Bad > value > make: *** > [/usr/local/packages/libmesh/lib/x86_64-unknown-linux-gnu_opt/libmesh.so] > Error 1
Can you check and make sure that -fPIC is set in your Make.common file? Are any of your support libraries (PETSc, MPI) compiled statically without -fPIC? If that's the case, you may need to configure libmesh with --disable-shared. -- John ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
