[Insight-users] ITK make error

Vidya Rajagopalan vidyaraj at vt.edu
Wed Aug 15 22:39:26 EDT 2007


Quoting Vidya Rajagopalan <vidyaraj at vt.edu>:

>
> Hello All,
>
> I am trying to build ITK applications on a RHEL 4 machine,
>
> I have ITK3.2.0, VTK5.0.3 and FLTK 1.1.3 already installed.
>
> I am able to successfully create Makefiles for Insight Applications
> using CMAke but running the make command generates the following error:
>
> /usr/bin/ld: /usr/local/lib/libfltk.a(Fl.o): relocation R_X86_64_32 against
> `a
> local symbol' can not be used when making a shared[ 12%]  object; recompile
> with -fPIC
> /usr/local/lib/libfltk.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [Auxiliary/ITKFlFileWriter/libITKFlFileWriter.so] Error 1
> Built target ConvertBetweenFileFormats
> make[1]: *** [Auxiliary/ITKFlFileWriter/CMakeFiles/ITKFlFileWriter.dir/all]
> Error 2
> make[1]: *** Waiting for unfinished jobs....
> Linking CXX shared library libITKFltkImageViewer.so
> /usr/bin/ld: /usr/local/lib/libfltk.a(Fl.o): relocation R_X86_64_32 against
> `a
> local symbol' can not be used when making a shared object; recompile with
> -fPIC
> /usr/local/lib/libfltk.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [Auxiliary/FltkImageViewer/libITKFltkImageViewer.so] Error 1
> make[1]: ***
> [Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
> Does the error in libfltk have something to do with how FLTK has been
> installed?
> I figured that there is a conflict between a s/w version for 32 but machines
> and
> one for 64 bit machines.
> How do I locate and resolve this conflict?
>
> Is my comprehension of the error message wrong?
>
>
> Vidya Rajagopalan




More information about the Insight-users mailing list