[Paraview] Still more trouble compiling VisitBridge with Paraview 3.10 on RHEL 5
Cook, Rich
cook47 at llnl.gov
Thu Apr 7 19:00:42 EDT 2011
So, our libmili.a, libsiloh5.a and libhdf5.a libraries have dependencies on another library, libsz. I've tried adding -lz /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a to every STRING I can in the CMakeCache.txt file, but I'm stuck on this error. How can I append linker flags to what cmake is doing here? You can see that the -lz and libsz.a are being inserted here, but it needs to come at the end of the link line to resolve the symbols. I might resort to sed and grep if this keeps up, but I hope I don't have to.
Linking CXX executable ../../../../bin/ServerManagerStateLoader
cd /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Servers/ServerManager/Testing/Cxx && /usr/gapps/visit/cmake/2.8.3/linux-x86_64_gcc-4.1/bin/cmake -E cmake_link_script CMakeFiles/ServerManagerStateLoader.dir/link.txt --verbose=1
/usr/local/bin/g++ -I/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/include -I/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/include -Wno-deprecated -g -L/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib -L/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib -lmili /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a -lz /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a CMakeFiles/ServerManagerStateLoader.dir/ServerManagerStateLoader.cxx.o CMakeFiles/ServerManagerStateLoader.dir/vtkTestingProcessModuleGUIHelper.cxx.o CMakeFiles/ServerManagerStateLoader.dir/vtkTestingOptions.cxx.o -o ../../../../bin/ServerManagerStateLoader -rdynamic ../../../../bin/libvtkPVServerManager.a ../../../../bin/libvtkPVFiltersCS.a ../../../../bin/libvtkPVFilters.a ../../../../bin/libvtkPVServerCommonCS.a ../../../../bin/libvtkPVServerCommon.a ../../../../bin/libvtkPVCommandOptions.a ../../../../bin/libvtkChartsCS.a ../../../../bin/libvtkViewsCS.a ../../../../bin/libvtkInfovisCS.a ../../../../bin/libQVTK.a /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtWebKit.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtXmlPatterns.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtNetwork.so ../../../../bin/libIceTMPI.a ../../../../bin/libIceTGL.a ../../../../bin/libIceTCore.a -lGLU ../../../../bin/libvtkVolumeRenderingCS.a ../../../../bin/libvtkVolumeRendering.a ../../../../bin/libvtkWidgetsCS.a ../../../../bin/libKWCommon.a ../../../../bin/libvtkCharts.a ../../../../bin/libvtkViews.a ../../../../bin/libvtkInfovis.a ../../../../bin/libvtkWidgets.a ../../../../bin/libvtkalglib.a ../../../../bin/libvtkXdmfCS.a ../../../../bin/libvtkXdmf.a ../../../../bin/libXdmf.a ../../../../bin/libvtklibxml2.a -lm ../../../../bin/libvtkVisItDatabasesCS.a ../../../../bin/libvtkVisItAVTAlgorithmsCS.a ../../../../bin/libvtkHybridCS.a ../../../../bin/libvtkParallelCS.a ../../../../bin/libvtkHybrid.a ../../../../bin/libvtkParallel.a ../../../../bin/libVPIC.a ../../../../bin/libCosmo.a /usr/local/tools/mvapich-gnu/lib/shared/libmpich.so ../../../../bin/libvtkexoIIc.a ../../../../bin/libvtkRenderingCS.a ../../../../bin/libvtkRendering.a ../../../../bin/libvtkftgl.a /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtGui.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtSql.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtCore.so -lGL ../../../../bin/libvtkfreetype.a -lXt -lSM -lICE -lX11 -lXext ../../../../bin/libvtkGenericFilteringCS.a ../../../../bin/libvtkGenericFiltering.a ../../../../bin/libvtkGraphicsCS.a ../../../../bin/libvtkImagingCS.a ../../../../bin/libvtkIOCS.a ../../../../bin/libvtkFilteringCS.a ../../../../bin/libvtkCommonCS.a ../../../../bin/libvtkClientServer.a ../../../../bin/libvtkVisItDatabases.a ../../../../bin/libvtkVisItAVTAlgorithms.a ../../../../bin/libavtdatabase_par.a ../../../../bin/libavtpipeline_par.a ../../../../bin/libavtdbatts.a ../../../../bin/libavtivp.a ../../../../bin/libvisit_vtk.a ../../../../bin/libvtkGraphics.a ../../../../bin/libvtkverdict.a ../../../../bin/libvtkImaging.a ../../../../bin/liblightweight_visit_vtk.a ../../../../bin/libvtkIO.a ../../../../bin/libvtkDICOMParser.a ../../../../bin/libvtkNetCDF_cxx.a ../../../../bin/libvtkmetaio.a ../../../../bin/libvtksqlite.a ../../../../bin/libvtkpng.a ../../../../bin/libvtktiff.a ../../../../bin/libvtkzlib.a ../../../../bin/libvtkjpeg.a ../../../../bin/libvtkexpat.a ../../../../bin/libvtkFiltering.a ../../../../bin/libavtmath.a ../../../../bin/libvtkCommon.a ../../../../bin/libvtksys.a -lm -lpthread -lz /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a -ldl ../../../../bin/libvisitcommon.a ../../../../bin/libvtkNetCDF.a /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a /usr/gapps/visit/cgns/3.0.8/linux-x86_64_gcc-4.1/lib/libcgns.a /usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib/libmili.a -Wl,-rpath,/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib:/usr/local/tools/mvapich-gnu/lib/shared
/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a(H5Z.o): In function `H5Z_init_interface':
H5Z.c:(.text+0x27d): undefined reference to `SZ_encoder_enabled'
/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a(H5Zszip.o): In function `H5Z_filter_szip':
H5Zszip.c:(.text+0x121): undefined reference to `SZ_BufftoBuffDecompress'
H5Zszip.c:(.text+0x1ce): undefined reference to `SZ_BufftoBuffCompress'
/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a(silo_hdf5.o): In function `db_hdf5_InqMeshName':
silo_hdf5.c:(.text+0x839e): undefined reference to `H5Topen1'
/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a(silo_hdf5.o): In function `db_hdf5_hdrwr':
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
More information about the ParaView
mailing list