[vtkusers] Solaris install issue: wchar_iso.h", Error: Multiple declaration for mbstate_t
    David Foster 
    foster at dim.ucsd.edu
       
    Mon Nov  4 16:07:42 EST 2002
    
    
  
Trying to compile VTK 3.2 under Solaris 8 (10/01) using either
Sun Workshop 5.0 or GCC 3.2 compiler, with both I'm getting:
/usr/local/SunWorkshop_5.0/SUNWspro/bin/CC -o targets ./targets.cxx 
./makedepend.cxx
./targets.cxx:
./makedepend.cxx:
"/usr/include/iso/wchar_iso.h", line 100: Error: Multiple declaration for 
mbstate_t.
"/usr/local/SunWorkshop_5.0/SUNWspro/SC5.0/include/CC/./iosfwd", line 51: Error: 
The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/usr/local/SunWorkshop_5.0/SUNWspro/SC5.0/include/CC/./iosfwd", line 78: Error: 
The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/usr/local/SunWorkshop_5.0/SUNWspro/SC5.0/include/CC/rw/iotraits", line 56: 
Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
4 Error(s) detected.
gmake: *** [targets] Error 4
I've searched the archives for this list but didn't find anything
relevant to this problem. Any help greatly appreciated as I am under
the gun to get this installed.
Here's how I'm compiling this:
  setenv CXX /usr/local/SunWorkshop_5.0/SUNWspro/bin/CC
  setenv CC /usr/local/SunWorkshop_5.0/SUNWspro/bin/cc
  set path = ( /usr/local/SunWorkshop_5.0/SUNWspro/bin $path )
  ./configure --sbindir=/usr/local/bin --with-x --with-opengl --with-tcl \
         --with-tkwidget --with-shared --with-java --with-python \
         --with-patented --with-contrib --with-local
Dave Foster
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   David Foster    National Center for Microscopy and Imaging Research
    Programmer/Analyst     University of California, San Diego
    dfoster at ucsd.edu       Department of Neuroscience, Mail 0608
    (858) 534-7968         http://ncmir.ucsd.edu/
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   "The reasonable man adapts himself to the world; the unreasonable one
   persists in trying to adapt the world to himself.  Therefore, all progress
   depends on the unreasonable."   -- George Bernard Shaw
    
    
More information about the vtkusers
mailing list