<div dir="ltr"><div><div>Dear Sir, <br></div>I am trying to build <b>scilab-5.2</b> from source using :<br><br><div style="margin-left:40px">F77="mpifort" CC="mpicc" CFLAGS="-g -O2 -fopenmp" CXX="mpic++" LDFLAGS="-L/root/Downloads/MPICH3/lib" CPPFLAGS="-I/root/Downloads/MPICH3/include" <b>./configure </b>--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<br></div><br><br></div>and while <b>make</b> i am getting error:<br><div><div><div><div><br><div style="margin-left:40px">libtool: link: ranlib .libs/libscifunctions-algo.a<br>mv -f sci_gateway/c/.deps/libscifunctions_la-sci_exec.Tpo sci_gateway/c/.deps/libscifunctions_la-sci_exec.Plo<br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libscifunctions-algo.la" target="_blank">libscifunctions-algo.la</a>" && ln -s "../<a href="http://libscifunctions-algo.la" target="_blank">libscifunctions-algo.la</a>" "<a href="http://libscifunctions-algo.la" target="_blank">libscifunctions-algo.la</a>" )<br>/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 <a href="http://libscifunctions.la" target="_blank">libscifunctions.la</a> -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 <a href="http://libscifunctions-algo.la" target="_blank">libscifunctions-algo.la</a> -ldl -lcurses  -lm<br>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<br><span style="color:rgb(255,0,0)">gfortran: libscifunctions.so.5: No such file or directory</span><br><span style="color:rgb(255,0,0)">gfortran: unrecognized option '-soname'</span><br><span style="color:rgb(255,0,0)">make[2]: *** [<a href="http://libscifunctions.la" target="_blank">libscifunctions.la</a>] Error 1</span><br><span style="color:rgb(255,0,0)">make[2]: Leaving directory `</span><span style="color:rgb(255,0,0)">/opt/user/User_Installed/SCILAB5/scilab-5.5.2/modules/functions'</span><br><span style="color:rgb(255,0,0)">make[1]: *** [all-recursive] Error 1</span><br><span style="color:rgb(255,0,0)">make[1]: Leaving directory `</span><span style="color:rgb(255,0,0)">/opt/user/User_Installed/SCILAB5/scilab-5.5.2/modules'</span><br><span style="color:rgb(255,0,0)">make: *** [all-recursive] Error 1</span><br></div><br></div><div>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.<br><br></div><div><b>Eagerly awaiting your reply,</b><br><br></div><div>Thanks & Regards<br></div><div>Puneet Singh<br><br></div></div></div></div></div>