[vtkusers] VtkExodusReader.cxx compile error with Intel Compiler on OS X
Mike Jackson
mike.jackson at imts.us
Thu Oct 5 23:16:51 EDT 2006
I am trying to compile vtk 5.0.2 with the Intel Compiler on OS X. The
compile made it all the way to vtkHybrib where it threw a linker error:
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module option
CMakeFiles/vtkHybrid.dir/vtkExodusReader.o definition of common
__ZGVZN17vtkExodusMetadata16GetPartBlockInfoEiE6blocks (size 16)
CMakeFiles/vtkHybrid.dir/vtkExodusReader.o definition of common
__ZZN17vtkExodusMetadata16GetPartBlockInfoEiE6blocks (size 16)
libtool: internal link edit command failed
Googling for this type of error reveals that the offending line of code is
at line 633 of vtkExodusReader.cxx which is:
static vtkStdString blocks;
Google searches seem to indicate that the line should have some sort of
initialization of blocks. Not sure what to do with this? And not sure if I
should submit a bug report for this?
Removing "static" from the line of code allows the code to compile but I
have no idea what the ramifications of that will be since I am not familiar
with the code. Any help on this would be appreciated.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
More information about the vtkusers
mailing list