[Paraview] Building 3.2.1 on AIX

Sean Ziegeler seanzig at users.sourceforge.net
Mon Nov 19 15:30:42 EST 2007


I did try that, but nm seems to list the non-mangled names so I wasn't 
able to tell if it was correct or not.

Anyway, I think I have it.  I did 3 things at once:
1. Added -D_LARGE_FILES to C/CXXFLAGS
2. Removed -DNDEBUG from C/CXXFLAGS
3. Added CMAKE_SHARED_LINKER_FLAGS_RELEASE with the same optimization 
options as the other *_LINKER_FLAGS_RELEASE's.

I know that's bad diagnostic procedure, but it takes _so_ long to build, 
  and I got impatient.  I'll redo the builds with each one at a time to 
see which one fixed it.

Incidentally, I had to change some other things to get this far on AIX, 
including minor changes to ParaViewCommon.cmake.  If you like, once I 
have everything working, I'll send a detailed list of everything I had 
to do.

Thanks,
Sean

Berk Geveci wrote:
> Hi Sean,
> 
> Do you get the same error if you run vtkSMExtractDocumentation on the
> command line? Also, can you look for that symbol in libvtkPVFilters.so
> by using nm and grep?
> 
> -berk
> 
> 
> On 11/19/07, Sean Ziegeler <seanzig at users.sourceforge.net> wrote:
>> Has anyone had luck with building 3.2.1 (or any 3.x for that matter) on
>> AIX?  It is giving me fits.  I'm using the latest cmake (2.4.7); Qt
>> works fine, and I've tried both 32 and 64-bit builds, with and without
>> Python and MPI and even completely turning off the client build.  I
>> pretty much get the same results.  I have some other things I can try,
>> but I'm running out of ideas.
>>
>> Perhaps someone knows of a compiler or linker switch that is required
>> for building on AIX?
>>
>> The following is the error that I get:
>>
>> [ 94%] Creating Documentation for ParaViewSources
>> cd /site/unsupported/paraview/bld/3.2.1-mpi/Servers/ServerManager &&
>> ../../bin/vtkSMExtractDocumentation
>> /site/unsupported/paraview/bld/3.2.1-mpi/Documentation
>> /site/unsupported/paraview/src/3.2.1-zig/Qt/Components/Resources/XML/ParaViewSources.xml
>> Could not load program ../../bin/vtkSMExtractDocumentation:
>> rtld: 0712-001 Symbol
>> GetReader__19vtkSpyPlotReaderMapFRQ3_3std5_TreeXTQ2_3std12
>> _Tmap_traitsXTQ3_3std7_LFS_ON12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9
>> allocatorXTc__TP19vtkSpyPlotUniReaderTQ2_3std4lessXTQ3_3std7_LFS_ON12basic_strin
>> gXTcTQ2_3std11char_traits was referenced
>>        from module
>> /site/unsupported/paraview/bld/3.2.1-mpi/bin/libvtkPVFilters.so(), but a
>> runtime definition
>>              of the symbol was not found.
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
> 



More information about the ParaView mailing list