I installed my GCC using brew install. Do you know where I can find this .la file? I also used GCC to build PETSc, but it didn't have such warnings where I run a PETSc program. The libmesh was built with mpicc/mpicxx in the PETSC_ARCH directory, and it caused such warnings. Thank you very much.
Xujun On Wed, Jul 29, 2015 at 1:50 PM, John Peterson <jwpeter...@gmail.com> wrote: > > > On Wed, Jul 29, 2015 at 12:41 PM, Xujun Zhao <xzha...@gmail.com> wrote: > >> Hi all, >> >> I update the library using git pull, and re-install it on my Macbook. It >> gives rise a lot of warning messages, which show it is trying to link some >> libs/files in a strange directory, see below. >> >> After installation, compiling my previous code still leads to the same >> warning messages. This doesn't affect running the exe, but it looks >> strange. I use gcc 4.9.3, which only gives the warning. >> >> ld: warning: directory not found for option >> >> '-L/Users/admin/Downloads/build/x86_64-apple-darwin14.0.0/libstdc++-v3/src' >> >> > This is only a warning, it is caused by your GCC installation having a .la > file with an incorrect dependency_libs='' line. You can fix it by manually > removing the missing directories, or just ignore it. > > > But if I configure >> it with Apple LLVM v6.1.0 or the most recent gcc 5.2.0, it fails and gives >> the error message! > > > What is the error message? I believe libmesh works with both of these > compilers. > > -- > John > ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users