> On Aug 7, 2016, at 11:55 PM, li....@siat.ac.cn wrote:
> 
> Dear developer,
> 
> I re-install libmesh by
> 
> ./configure --enable-blocked-storage --enable-perflog --prefix=$LIBMESH_DIR  
> --with-dof-id-bytes=8
> make
> make install
> 
> However, when I make, it shows the following error, I don't know how to fix 
> it, would you please give me some addresstion?
> Thanks.
> 
> 
> ./include/libmesh/threads.h: In function 'void 
> libMesh::Threads::parallel_for(const Range&, const Body&)':
> ./include/libmesh/threads.h:543: warning: iteration variable 'i' is unsigned
> ./include/libmesh/threads.h: In function 'void 
> libMesh::Threads::parallel_reduce(const Range&, Body&)':
> ./include/libmesh/threads.h:643: warning: iteration variable 'i' is unsigned
>  CXX      src/utils/libmesh_dbg_la-utility.lo
>  CXX      src/utils/libmesh_dbg_la-xdr_cxx.lo
>  CXXLD    libmesh_dbg.la
> /usr/bin/ld: contrib/.libs/libcontrib_dbg.a(libdbg_la-addrwrap.o): relocation 
> R_X86_64_32 against `a local symbol' can not be used when making a shared 
> object; recompile with -fPIC
> contrib/.libs/libcontrib_dbg.a(libdbg_la-addrwrap.o): could not read symbols: 
> Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [libmesh_dbg.la] Error 1
> make[1]: Leaving directory `/home/liluo/lib/libmesh-0.9.3'
> make: *** [all-recursive] Error 1

This is caused when linking a dynamic library with a static library that has 
not been compiled with -fPIC.  In this case I would guess that something in 
contrib wasn't cleaned up properly from an older build...

I would also strongly recommend not using 0.9.3, there have been numerous bugs 
fixed and features added since that version.
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to