[vtkusers] Compile error on Solaris 2.6

Sachin Bhandare sachinb at cdacindia.com
Fri May 9 06:21:56 EDT 2003


Dear Sir/Madam,

I am getting following error on Solaris 2.6 on Sun Sparc arch.

/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:36:
parse 
   error before `<' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:37:
parse 
   error before `<' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In 
   constructor `vtkDataArraySelection::vtkDataArraySelection()':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:42:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:43:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In 
   destructor `virtual vtkDataArraySelection::~vtkDataArraySelection()':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:49:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:50:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void vtkDataArraySelection::EnableArray(const char*)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:63:
`::
   vector' undeclared (first use here)
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:63:
`::
   string' undeclared (first use here)
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:63:
`::
   iterator' undeclared (first use here)
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:63:
parse 
   error before `=' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:65:
`i' 
   undeclared (first use this function)
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:65:
(Each 
   undeclared identifier is reported only once for each function it
appears 
   in.)
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:65:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:67:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:76:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:77:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void vtkDataArraySelection::DisableArray(const char*)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:85:
parse 
   error before `=' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:87:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:89:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:98:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:99:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `int vtkDataArraySelection::ArrayIsEnabled(const char*)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:108:
parse 
   error before `=' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:110:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:112:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `int vtkDataArraySelection::ArrayExists(const char*)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:123:
parse 
   error before `=' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:125:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void vtkDataArraySelection::EnableAllArrays()':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:132:
parse 
   error before `>' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:133:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void vtkDataArraySelection::DisableAllArrays()':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:151:
parse 
   error before `>' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:152:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `int vtkDataArraySelection::GetNumberOfArrays()':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:169:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `const char* vtkDataArraySelection::GetArrayName(int)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:175:
parse 
   error before `=' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:176:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:176:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `int vtkDataArraySelection::GetArraySetting(int)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:186:
parse 
   error before `>' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:187:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:187:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void vtkDataArraySelection::RemoveAllArrays()':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:199:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:200:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:201:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:202:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `int vtkDataArraySelection::AddArray(const char*)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:217:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:218:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void vtkDataArraySelection::SetArrays(const char* const*,
int)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:231:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:233:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:235:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:236:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:243:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:247:
parse 
   error before `=' token
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:251:
`it' 
   undeclared (first use this function)
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:251:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:253:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:255:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:259:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:260:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx: In
member 
   function `void 
   vtkDataArraySelection::CopySelections(vtkDataArraySelection*)':
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:274:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:275:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:276:
invalid
   use of undefined type `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:31:
forward 
   declaration of `class vtkDataArraySelectionArrayNamesType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:277:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:278:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.cxx:279:
invalid
   use of undefined type `class vtkDataArraySelectionArraySettingsType'
/home/seismic/sachinb/VTK/VTK-4.2.1/Common/vtkDataArraySelection.h:32:
forward 
   declaration of `class vtkDataArraySelectionArraySettingsType'
make[3]: *** [vtkDataArraySelection.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Common] Error 2
make: *** [default_target] Error 2

Kindly help 

Sachin B
-------------------------------------------------------------------------------
Sachin N. Bhandare
Scientific and Engineering Computing Group
Centre for Developement of Advanced Computing                    
NPSF, University of Pune, 
Gaheshkhind, Pune 411 007.              
                                        
Ph (O) : +91-20-569 4080 (Direct)
Ph (O) : +91-20-569 4000/1/2/3    Extn.  : 509
Ph (R) : +91-20-5898255
E-mail : sac_bhandari at hotmail.com
	 sac_bhandari at rediffmail.com
-------------------------------------------------------------------------------




More information about the vtkusers mailing list