You must ensure compatible libraries. In this case you may need to re-install lapack as well. Or simply compile it yourself (see http://www.netlib.org/lapack/)
2016-01-15 21:29 GMT+01:00 ticu Cubot <[email protected]>: > On a different machine: > > f95 --version > GNU Fortran (GCC) 4.6.3 > Copyright (C) 2011 Free Software Foundation, Inc. > > make > ... > /usr/bin/ld: warning: libgfortran.so.1, needed by > /usr/lib/../lib64/liblapack.so, may conflict with libgfortran.so.3 > > The warning is not harmless... > > On Fri, Jan 15, 2016 at 8:50 PM, Nick Papior <[email protected]> wrote: > >> That is one ancient compiler. I would advice you to update. >> >> >> 2016-01-15 20:45 GMT+01:00 ticu Cubot <[email protected]>: >> >>> f95 --version >>> >>> GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55) >>> Copyright (C) 2007 Free Software Foundation, Inc. >>> >>> A fast workaround: edit the code. As the code seems to be compiled with >>> all >>> module components private by default one would have to modify only that >>> one module. >>> >>> On Fri, Jan 15, 2016 at 3:52 PM, Nick Papior <[email protected]> >>> wrote: >>> >>>> Try a different compiler. >>>> >>>> Which version of your compiler are you using? >>>> >>>> 2016-01-15 15:42 GMT+01:00 ticu Cubot <[email protected]>: >>>> >>>>> Dear Siesta users, >>>>> >>>>> I had the following problem by installation in the standard manner >>>>> indicated in the manual: >>>>> >>>>> pwd >>>>> >>>>> /home/ticu/siesta-trunk-462/Obj >>>>> ... was ok. >>>>> >>>>> ../Src/configure >>>>> ... was ok >>>>> >>>>> make >>>>> .... >>>>> f95 -c -g -O2 `FoX/FoX-config --fcflags` -DFC_HAVE_FLUSH >>>>> -DFC_HAVE_ABORT /home/ticu/siesta-trunk-462/Src/class_Vector.F90 >>>>> >>>>> In file /home/ticu/siesta-trunk-462/Src/class_Vector.F90:20 >>>>> >>>>> type Vector >>>>> 1 >>>>> Error: The component 'data' is a PRIVATE type and cannot be a >>>>> component of 'vector', which is PUBLIC at (1) >>>>> make: *** [class_Vector.o] Error 1 >>>>> ~ >>>>> >>>>> Full details in the attachment. >>>>> >>>>> Any help most appreciated. >>>>> >>>>> ticu >>>>> >>>> >>>> >>>> >>>> -- >>>> Kind regards Nick >>>> >>> >>> >> >> >> -- >> Kind regards Nick >> > > -- Kind regards Nick
