[vtkusers] Errors when running make on VTK
William A. Hoffman
billlist at nycap.rr.com
Fri Oct 31 13:45:23 EST 2003
Looks like a compiler problem. Perhaps it is using a different compiler to
compile than to link.
-Bill
At 01:16 PM 10/31/2003, Stanton, Eric T wrote:
>I'm receivng the following output when I try to run make on VTK. I've built
>and installed Tcl and Tk first. I ran ccmake in the VTK directory and
>generated the makefile (could there be a setting in the configuration that I
>messed up on?). Then ran make. Any help someone could give me would really
>appreciated.
>
>Eric
>
>
>
>
># make
>.
>.
>.
>Building object file vtkTreeCompositeTcl.o...
>Building object file vtkTreeCompositerTcl.o...
>Building object file vtkSharedMemoryCommunicatorTcl.o...
>Building object file vtkThreadedControllerTcl.o...
>Building static library
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallelTCL.
>a...
>/usr/local/src/paraview-1.0.3/VTK/Wrapping/Tcl: building default_target
>Building dependencies. cmake.depends...
>`cmake.depends' is up to date.
>`cmake.check_depends' is up to date.
>`cmake.depends' is up to date.
>Building object file vtkTkAppInit.o...
>Building executable /usr/local/src/paraview-1.0.3/VTK/bin/vtk...
>Undefined first referenced
> symbol in file
>fstreambase::is_open(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMAppHelper.o)
>cout
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPOPReader.o)
>streambuf::eback(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>istream::gcount(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkBase64InputStream.o)
>streambuf type_info function
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>strstreambase::rdbuf(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommonTCL.a(vtkObjectBaseTcl.o)
>string_char_traits<char>::assign(char &, char const
>&)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader.o
>)
>ostrstream::ostrstream(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommonTCL.a(vtkObjectBaseTcl.o)
>ostream::write(char const *, int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkSocketCommunicator
>.o)
>string_char_traits<char>::compare(char const *, char const *, unsigned
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDICOMImageReader.o)
>streambuf::sys_write(char const *,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrappe
>r.o)
>streambuf::sys_close(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>streambuf::streambuf(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream::ostream(int, streambuf *, ostream
>*)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.
>o)
>ostrstream::~ostrstream(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommonTCL.a(vtkObjectBaseTcl.o)
>streambuf::doallocate(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>streambuf type_info node
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream::operator<<(unsigned char const
>*)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMAppHelper.o
>)
>streambuf::gptr(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>__length_error(char const *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader.o)
>istream::putback(char)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkLargeInteger.o)
>ifstream::ifstream(int, char const *, int,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader
>.o)
>streambuf::epptr(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ifstream::ifstream(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLParser.o)
>ostream::seekp(long)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLPolyDataWriter.o)
>ios::rdstate(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLDataElement.o)
>ostream::operator<<(ostream &(*)(ostream
>&))/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkDepthSortPolyData
>.o)
>istream::operator>>(char *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>ifstream::~ifstream(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLFileReadTester.o)
>streambuf::sputc(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>strstream::str(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLDataElement.o)
>ifstream::open(char const *, int,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLParser.o)
>istream::ignore(int, int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkInteractorEventRe
>corder.o)
>ios::ios(streambuf *, ostream *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>strstreambuf::freeze(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommonTCL.a(vtkObjectBaseTcl.o)
>istream::operator>>(short &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataReader.o)
>ios::operator void *(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkBase64OutputStream.o)
>endl(ostream &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkDepthSortPolyData.o)
>ostream::ios virtual table
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>istream::operator>>(char &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOutputWindow.o)
>istream::operator>>(double &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataReader.o)
>istream::operator>>(float &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>istream::operator>>(int &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>istream::operator>>(long &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataReader.o)
>istream::operator>>(unsigned int &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataReader.o)
>istream::operator>>(unsigned long
>&)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPOPReader.o)
>string_char_traits<char>::eos(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader.o)
>ostream::operator<<(ios &(*)(ios
>&))/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMParser.o)
>istrstream::istrstream(int, char const *,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkInteractorEve
>ntRecorder.o)
>cerr
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkGreedyTerrainDecimat
>ion.o)
>streambuf::uflow(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>streambuf::xsgetn(char *, int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>strstream::strstream(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLDataElement.o)
>streambuf::sys_read(char *, int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>istream::operator>>(unsigned short
>&)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataReader.o)
>ostream type_info function
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>istream::seekg(long)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkInteractorEventRe
>corder.o)
>istrstream::~istrstream(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMFile.o)
>ios::~ios(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>streambuf::sys_stat(void *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream::operator<<(void const *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRenderingTCL.a(vtkXRenderWindowT
>clInteractor.o)
>ofstream::ofstream(int, char const *, int,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetWriter
>.o)
>streambuf::egptr(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream::operator<<(char const *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRenderingTCL.a(vtkXRenderWindowT
>clInteractor.o)
>streambuf::xsputn(char const *,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrappe
>r.o)
>ends(ostream &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkRIBExporter.o)
>istream::getline(char *, int, char)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>streambuf::pbump(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ios::fail(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>ostream::operator<<(bool)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStreamWrapper.o)
>ostream::operator<<(char)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkInteractorObserve
>r.o)
>ostream::operator<<(double)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkDepthSortPolyData.o)
>ostream::operator<<(float)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtk3DWidget.o)
>ostream::operator<<(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkArcPlotter.o)
>ofstream::ofstream(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMParser.o)
>ostream::operator<<(long)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkImaging.a(vtkImageAccumulate.o)
>ios::operator!(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkPushImageReader.o)
>ostream::operator<<(short)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkBMPReader.o)
>ostrstream::str(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommonTCL.a(vtkObjectBaseTcl.o)
>istream::seekg(long, ios::seek_dir)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPipelineSize.o)
>fstreambase::close(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>streambuf::setg(char *, char *, char
>*)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.
>o)
>streambuf::sys_seek(long,
>ios::seek_dir)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrSt
>reamWrapper.o)
>ostream::operator<<(unsigned char)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkImaging.a(vtkBooleanTexture.o)
>ostream::operator<<(unsigned int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkRenderWindow.o)
>ostream::operator<<(unsigned long)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkDuplicatePolyData.
>o)
>ios::eof(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkInteractorEventRe
>corder.o)
>istream::tellg(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkPushImageReader.o)
>streambuf::gbump(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream type_info node
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>string_char_traits<char>::copy(char *, char const *, unsigned
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader
>.o)
>istream::get(char &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLDataElement.o)
>ostream::tellp(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLPolyDataWriter.o)
>ios::width(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPDataSetReader.o)
>ostream::operator<<(unsigned short)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkImaging.a(vtkImageMandelbrotSour
>ce.o)
>ios::sync_with_stdio(void) vtkTkAppInit.o
>ostrstream::pcount(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataWriter.o)
>dec(ios &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMParser.o)
>streambuf::~streambuf(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ios::clear(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkRendering.a(vtkInteractorEventRe
>corder.o)
>streambuf::pptr(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream::put(char)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommonTCL.a(vtkObjectBaseTcl.o)
>istream::read(char *, int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkHybrid.a(vtkPushImageReader.o)
>streambuf::pbase(void) const
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>strstream::~strstream(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkXMLDataElement.o)
>ios::fill(short)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMParser.o)
>cin
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOutputWindow.o)
>string_char_traits<char>::length(char const
>*)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader.o
>)
>streambuf::sync(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>ostream::flush(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkParallel.a(vtkPOPReader.o)
>hex(ios &)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMParser.o)
>streambuf::setp(char *, char *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>string_char_traits<char>::move(char *, char const *, unsigned
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader
>.o)
>ofstream::~ofstream(void)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkDICOMParser.a(DICOMParser.o)
>ostrstream::ostrstream(int, char *, int,
>int)/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkDataWriter.o)
>streambuf::pbackfail(int)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkCommon.a(vtkOStrStreamWrapper.o)
>__out_of_range(char const *)
>/usr/local/src/paraview-1.0.3/VTK/bin/libvtkIO.a(vtkEnSight6BinaryReader.o)
>ld: fatal: Symbol referencing errors. No output written to
>/usr/local/src/paraview-1.0.3/VTK/bin/vtk
>collect2: ld returned 1 exit status
>*** Error code 1
>The following command caused the error:
>g++ -I/usr/openwin/share/include -fPIC vtkTkAppInit.o -o
>/usr/local/src/paraview-1.0.3/VTK/bin/vtk -L.
>-L/usr/local/src/paraview-1.0.3/VTK/bin -L/usr/openwin/lib -L/usr/local/lib
>-lvtkCommonTCL -lvtkFilteringTCL -lvtkGraphicsTCL -lvtkImagingTCL -lvtkIOTCL
>-lvtkRenderingTCL -lvtkHybridTCL -lvtkParallelTCL -lvtkHybrid -lvtkParallel
>-lvtkRenderingTCL -lvtkRendering -lvtkftgl -lvtkfreetype -lGLU -lGL -lSM
>-lICE -lSM -lICE -lX11 -lXext -lsocket -lnsl -lX11 -lXext -lsocket -lnsl
>-lXt -lSM -lICE -lX11 -lXext -lsocket -lnsl -lvtkGraphicsTCL -lvtkGraphics
>-lvtkImagingTCL -lvtkImaging -ltk8.4 -lvtkIOTCL -lvtkIO -lvtkpng -lvtktiff
>-lvtkzlib -lvtkjpeg -lvtkexpat -lvtkDICOMParser -lvtkFilteringTCL
>-lvtkFiltering -lvtkCommonTCL -lvtkCommon -lthread -ldl -lm -ltcl8.4
>-Wl,-R.:/usr/local/src/paraview-1.0.3/VTK/bin:/usr/openwin/lib:/usr/local/li
>b
>make: Fatal error: Command failed for target
>`/usr/local/src/paraview-1.0.3/VTK/bin/vtk'
>Current working directory /usr/local/src/paraview-1.0.3/VTK/Wrapping/Tcl
>*** Error code 1
>The following command caused the error:
>make all
>make: Fatal error: Command failed for target `default_target'
>Current working directory /usr/local/src/paraview-1.0.3/VTK/Wrapping/Tcl
>*** Error code 1
>The following command caused the error:
>cd /usr/local/src/paraview-1.0.3/VTK/Wrapping/Tcl; make default_target
>make: Fatal error: Command failed for target `default_target_Wrapping_Tcl'
>Current working directory /usr/local/src/paraview-1.0.3/VTK
>*** Error code 1
>The following command caused the error:
>make all
>make: Fatal error: Command failed for target `default_target'
>#
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list