Dear Sir, I am trying to build *scilab-5.2* from source using : F77="mpifort" CC="mpicc" CFLAGS="-g -O2 -fopenmp" CXX="mpic++" LDFLAGS="-L/root/Downloads/MPICH3/lib" CPPFLAGS="-I/root/Downloads/MPICH3/include" *./configure *--prefix=/opt/user/User_Installed/SCILAB5/SCILAB/ --with-mpi --with-ant=/opt/user/User_Installed/SCILAB5/apache-ant-1.9.4 --disable-static-system-lib
and while *make* i am getting error: libtool: link: ranlib .libs/libscifunctions-algo.a mv -f sci_gateway/c/.deps/libscifunctions_la-sci_exec.Tpo sci_gateway/c/.deps/libscifunctions_la-sci_exec.Plo libtool: link: ( cd ".libs" && rm -f "libscifunctions-algo.la" && ln -s "../ libscifunctions-algo.la" "libscifunctions-algo.la" ) /bin/sh ../../libtool --tag=F77 --mode=link mpifort -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -version-number 5:5:2 -L/root/Downloads/MPICH3/lib -o libscifunctions.la -rpath /opt/onama/Onama_Installed/SCILAB5/SCILAB/lib/scilab sci_gateway/c/libscifunctions_la-gw_functions.lo sci_gateway/c/libscifunctions_la-sci_lib.lo sci_gateway/c/libscifunctions_la-sci_deff.lo sci_gateway/c/libscifunctions_la-sci_execstr.lo sci_gateway/c/libscifunctions_la-sci_exec.lo sci_gateway/c/libscifunctions_la-sci_whereis.lo sci_gateway/c/libscifunctions_la-sci_librarieslist.lo sci_gateway/c/libscifunctions_la-sci_libraryinfo.lo sci_gateway/fortran/intlib.lo sci_gateway/fortran/intdeff.lo sci_gateway/fortran/intexecstr.lo sci_gateway/fortran/intexec.lo libscifunctions-algo.la -ldl -lcurses -lm libtool: link: mpifort -shared -Wl,--no-as-needed sci_gateway/c/.libs/libscifunctions_la-gw_functions.o sci_gateway/c/.libs/libscifunctions_la-sci_lib.o sci_gateway/c/.libs/libscifunctions_la-sci_deff.o sci_gateway/c/.libs/libscifunctions_la-sci_execstr.o sci_gateway/c/.libs/libscifunctions_la-sci_exec.o sci_gateway/c/.libs/libscifunctions_la-sci_whereis.o sci_gateway/c/.libs/libscifunctions_la-sci_librarieslist.o sci_gateway/c/.libs/libscifunctions_la-sci_libraryinfo.o sci_gateway/fortran/.libs/intlib.o sci_gateway/fortran/.libs/intdeff.o sci_gateway/fortran/.libs/intexecstr.o sci_gateway/fortran/.libs/intexec.o --whole-archive ./.libs/libscifunctions-algo.a --no-whole-archive -L/root/Downloads/MPICH3/lib -ldl -lcurses -lm -m64 -soname libscifunctions.so.5 -o .libs/libscifunctions.so.5.5.2 gfortran: libscifunctions.so.5: No such file or directory gfortran: unrecognized option '-soname' make[2]: *** [libscifunctions.la] Error 1 make[2]: Leaving directory ` /opt/user/User_Installed/SCILAB5/scilab-5.5.2/modules/functions' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory ` /opt/user/User_Installed/SCILAB5/scilab-5.5.2/modules' make: *** [all-recursive] Error 1 The -soname is a linker option , but i guess here -soname is treated as a compiler flag. So Is there a way to fix this compilation issue without modifying scilab source code ? Any hint/help in this regard will be very useful to me. *Eagerly awaiting your reply,* Thanks & Regards Puneet Singh
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
