In the highly unlikely event you actually want to know why static -option doesnąt work, see http://blogs.sun.com/rie/date/20041206 Dave On 31/3/08 13:51, "Michela Pievani" <[log in to unmask]> wrote: > Hi, > thanks for the suggestion. I solved the problem by removing the "static" > option when compiling (don't know why but it worked...). > After that I compiled FSL without errors. > Now I have problems with FSLview: > > http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0803&L=fsl&T=0&F=&S=&P=60465 > <http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0803&L=fsl&T=0&F > =&S=&P=60465> > > Anyway thanks for your help, > Michela > > > > > On 3/31/08, Matthew Webster <[log in to unmask]> wrote: >> >> >> >> >> Hi, >> Can you try changing the Makefile in >> $FSLDIR/src/meshclass >> from >> LIBS=-lnewimage -lmiscmaths -lprob -lfslio -lniftiio -lznz -lnewmat -lutils >> -lz >> to >> LIBS=-lnewimage -lmiscmaths -lprob -lfslio -lniftiio -lznz -lnewmat -lutils >> -lz -lm >> >> >> and then try rebuilding meshclass? >> >> >> Regards >> >> >> Matthew >> >> >> >>> From: Michela Pievani <[log in to unmask]> >>> Date: 20 March 2008 16:10:33 GMT >>> To: [log in to unmask] >>> Subject: [FSL] Build on SOLARIS 10 >>> Reply-To: FSL - FMRIB's Software Library <[log in to unmask]> >>> >>> >>> Hi, >>> when i try to install FSL4 on Solaris10 I can build successfully these >>> projects: >>> >>> >>> extras utils znzlib niftiio fslio miscmaths newimage libhfunc libss libvis >>> meshclass misc_tcl bint >>> >>> >>> But when it comes to meshclass I get this error: >>> >>> >>> >>> /usr/sfw/bin/c++ -Wall -ansi -pedantic -g -mv8 -ffast-math >>> -fomit-frame-pointe >>> r -O6 -fexpensive-optimizations -mv8 -ffast-math -fomit-frame-pointer >>> -I/home/lo >>> cal/FSL4/fsl/extras/include/newmat -I/home/local/FSL4/fsl/extras/include -I. >>> -I/ >>> home/local/FSL4/fsl/include -I/home/local/FSL4/fsl/include -static >>> -L/home/local >>> /FSL4/fsl/extras/lib -L/home/local/FSL4/fsl/extras/lib -L/lib -L. >>> -L/home/local >>> /FSL4/fsl/lib -L/home/local/FSL4/fsl/lib -o drawmesh drawmesh.o mpoint.o >>> triangl >>> e.o mesh.o point.o pt_special.o -lnewimage -lmiscmaths -lprob -lfslio >>> -lniftiio >>> -lznz -lnewmat -lutils -lz >>> /usr/ccs/bin/ld: cannot find -lm >>> collect2: ld returned 1 exit status >>> make: *** [drawmesh] Error 1 >>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>> >>> >>> The compiler is c++ (GCC) 3.4.3. >>> Any help will be greatly appreciated! >>> Thanks, >>> Michela >>> >>> >>> >> >> >> >> >> >