[vtkusers] VTK 4.0 CVS: compilation breaks in Hybrid and TCL

Dieter Nützel Dieter.Nuetzel at hamburg.de
Mon Jan 14 15:31:32 EST 2002


Sadly, I get this for several days (Hybrid) and several weeks (TCL), now.

c++ -O -mcpu=k6 -pipe -mpreferred-stack-boundary=2 -malign-functions=4 
-fschedule-insns2 -fexpensive-optimizations -DvtkHybrid_EXPORTS -fPIC 
-I/opt/VTK/V4.0/VTK/Hybrid -I/opt/VTK/V4.0/VTK/Rendering 
-I/opt/VTK/V4.0/VTK/Hybrid -I/opt/VTK/V4.0/VTK/Patented -I/opt/VTK/V4.0/VTK 
-I/opt/VTK/V4.0/VTK/Common -I/opt/VTK/V4.0/VTK/Filtering 
-I/opt/VTK/V4.0/VTK/Imaging -I/opt/VTK/V4.0/VTK/Graphics 
-I/opt/VTK/V4.0/VTK/IO -I/opt/VTK/V4.0/VTK/Utilities/zlib 
-I/opt/VTK/V4.0/VTK/Utilities/png
-I/opt/VTK/V4.0/VTK/Utilities/jpeg -I/opt/VTK/V4.0/VTK/Common/Testing/Cxx 
-I/usr/include/python2.1 -c 
/opt/VTK/V4.0/VTK/Hybrid/vtkHybridInstantiator2.cxx -o 
vtkHybridInstantiator2.o
/opt/VTK/V4.0/VTK/Hybrid/vtkVRMLImporter.cxx: In function `static char * 
vtkVRMLAllocator::StrDup(const char *)':
/opt/VTK/V4.0/VTK/Hybrid/vtkVRMLImporter.cxx:105: no matching function for 
call to `vtkHeap::StrDup (const char *&)'
make[3]: *** [vtkVRMLImporter.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Hybrid] Error 2
make: *** [default_target] Error 2

TCL

c++ -O -mcpu=k6 -pipe -mpreferred-stack-boundary=2 -malign-functions=4 
-fschedule-insns2 -fexpensive-optimizations -DvtkCommonTCL_EXPORTS -fPIC 
-I/opt/VTK/V4.0/VTK/Common -I/opt/VTK/V4.0/VTK/Rendering 
-I/opt/VTK/V4.0/VTK/Patented -I/opt/VTK/V4.0/VTK -I/opt/VTK/V4.0/VTK/Common 
-I/opt/VTK/V4.0/VTK/Filtering -I/opt/VTK/V4.0/VTK/Imaging 
-I/opt/VTK/V4.0/VTK/Graphics -I/opt/VTK/V4.0/VTK/IO 
-I/opt/VTK/V4.0/VTK/Utilities/zlib -I/opt/VTK/V4.0/VTK/Utilities/png 
-I/opt/VTK/V4.0/VTK/Utilities/jpeg -I/opt/VTK/V4.0/VTK/Common/Testing/Cxx 
-I/usr/include/python2.1 -c /opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx 
-o vtkAbstractMapperTcl.o
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx: In function `int 
vtkAbstractMapperCppCommand(vtkAbstractMapper *, Tcl_Interp *, int, char **)':
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapper.h:126: 
`vtkAbstractMapper::~vtkAbstractMapper()' is protected
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:66: within this context
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapper.h:125: 
`vtkAbstractMapper::vtkAbstractMapper()' is protected
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:66: within this context
/opt/VTK/V4.0/VTK/Common/vtkProcessObject.h:157: 
`vtkProcessObject::~vtkProcessObject()' is protected
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:67: within this context
/opt/VTK/V4.0/VTK/Common/vtkProcessObject.h:156: 
`vtkProcessObject::vtkProcessObject()' is protected
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:67: within this context
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: parse error before 
`protected'
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: virtual outside class 
declaration
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: parse error before `{'
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: cannot declare static 
function inside another function
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: parse error before `{'
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: `temp1' undeclared 
(first use this function)
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: (Each undeclared 
identifier is reported only once
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: for each function it 
appears in.)
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: parse error before `::'
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx: At top level:
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: virtual outside class 
declaration
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx: In function `int IsA(const 
char *)':
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: invalid use of `this' 
in non-member function
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: parse error before `::'
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx: At top level:
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:72: syntax error before `*'
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:73: `interp' was not 
declared in this scope
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:73: ANSI C++ forbids 
declaration `Tcl_ResetResult' with no type
[-]
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:229: `int Tcl_AppendResult' 
previously defined here
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:242: initializer list being 
treated as compound expression
/opt/VTK/V4.0/VTK/Common/vtkAbstractMapperTcl.cxx:243: parse error before `}'
make[3]: *** [vtkAbstractMapperTcl.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Common] Error 2
make: *** [default_target] Error 2

Any advice?

Thanks,
	Dieter
-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel at hamburg.de



More information about the vtkusers mailing list