On Wed, 5 Mar 2008, TCHOUANMO Stephane DOCTORANT wrote: > You're right, but in fact the files Make.common and libmesh_config > didnt change before and after the re-run of configure. It seems > though that I have to use the same compiler for petsc and libmesh. > How do I know which of gcc or g++ is used for each of them, because > the two compilers are possible for both in their Makefile.
By "same compiler" we don't mean "gcc or g++ but not both"; compatibility between C++ and C is pretty simple. No, the incompatibility here probably comes from different versions of the same compiler. If one object file was compiled with a g++ version that linked against one version of the standard C++ library, it might cause problems when a different g++ version tries to link the final library against a different version of the C++ library. From the error message, it sounds like this is what's happening to you. --- Roy ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
