[vtkusers] HPUX Build failure

William A. Hoffman billlist at nycap.rr.com
Fri Sep 19 11:33:10 EDT 2003


To use Java, you need shared libraries.  You need to rebuild/reinstall the gnu compiler,
and make sure you build libstdc++ as a shared library.

-Bill


At 05:00 AM 9/19/2003, Shyam Prakash wrote:

>Hello,
>
>            I am trying build VTK 4.2.2 on HP UX 11.0 with java wrapper. I am using CMake 1.6.7. I get the following error during build
>
> 
>
>Building shared library /u/VTK-Build/new-build/bin/libvtkCommon.sl...
>
>/usr/ccs/bin/ld: DP relative code in file /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3/../../../libstdc++.a(fstream-inst.o) - shared library must be position
>
>    independent.  Use +z or +Z to recompile.
>
>collect2: ld returned 1 exit status
>
>*** Error exit code 1
>
> 
>
>Am I not setting any flags properly? Please help
>
> 
>
>Thanks
>
>Shyam
>
> 





More information about the vtkusers mailing list