[Paraview] Compilation problem : Bad value

Andy Bauer andy.bauer at kitware.com
Fri Mar 18 12:35:45 EDT 2011


My guess is that some library rodata is getting built without the "-fPIC"
flag.  If you built that yourself then you should rebuild that with that
compile flag.  If not, try adding -fPIC to your CMAKE_CXX_FLAGS and
CMAKE_C_FLAGS during configuration.

Andy

On Fri, Mar 18, 2011 at 12:09 PM, Gil Wertz <gilwertz at hotmail.com> wrote:

>  Hello, I have the following errors when compiling paraview and I don't
> have any ID of what it is ...
>
> :: error: ../../../bin/libvtkStreaming.a(vtkACosmoReader.cxx.o): relocation
> R_X86_64_32 against `.rodata' can not be used when making a shared object;
> recompile with -fPIC
>
> ../../../bin/libvtkStreaming.a:: error: could not read symbols: Bad value
>
>
> I did look on google, but nobody have this problem for the same library
> than me, an nearly all the solution I saw where deprecated ...
>
> thanks for your help ^^.
> ------------------------------
>
> *Wertz Gil*
>
> *gilwertz at hotmail.com*
>
> ------------------------------
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110318/995fa879/attachment.htm>


More information about the ParaView mailing list