Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Build fails on MacOS: ERROR collect2: ld returned 1 exit status #314

Closed
vitaly-krugl opened this issue Oct 22, 2013 · 3 comments
Closed

Comments

@vitaly-krugl
Copy link
Member

@oxtopus?

I am using python 2.7.2. I just synced up to the latest (at b978877) and attempted to build nupic several times, but get this build error almost immediately:

Last login: Mon Oct 21 18:28:33 on ttys001
vkruglikov@vkruglikovs-MacBook-Pro:~$ cd nta
vkruglikov@vkruglikovs-MacBook-Pro:~/nta$ source nupic-darwin64/bin/activate
NuPIC environment
=================
BUILDDIR=/tmp/ntabuild
DYLD_LIBRARY_PATH=/Users/vkruglikov/nta/nupic-darwin64/nta/eng/lib:/Users/vkruglikov/nta/nupic-darwin64/lib64:/Users/vkruglikov/nta/nupic-darwin64/lib:/Users/vkruglikov/nta/nupic-darwin64/lib64:/Users/vkruglikov/nta/nupic-darwin64/lib:/Users/vkruglikov/nta/nupic-darwin64/nta/eng/lib:/Users/vkruglikov/nta/nupic-darwin64/lib64:/Users/vkruglikov/nta/nupic-darwin64/lib:
LD_LIBRARY_PATH=/Users/vkruglikov/nta/nupic-darwin64/nta/eng/lib:/Users/vkruglikov/nta/nupic-darwin64/lib64:/Users/vkruglikov/nta/nupic-darwin64/lib:/Users/vkruglikov/nta/nupic-darwin64/nta/eng/lib:/Users/vkruglikov/nta/nupic-darwin64/lib64:/Users/vkruglikov/nta/nupic-darwin64/lib:
MK_JOBS=
NUPIC=/Users/vkruglikov/nta/nupic
NTA=/Users/vkruglikov/nta/nupic-darwin64/nta/eng
PATH=/Users/vkruglikov/nta/nupic-darwin64/nta/eng/bin:/Users/vkruglikov/nta/nupic-darwin64/bin:/System/Library/Frameworks/Python.framework/Versions/Current/bin:/Users/vkruglikov/Library/Python/2.7/bin:/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
PYTHONPATH=/Users/vkruglikov/nta/nupic-darwin64/nta/eng/lib/python2.7/site-packages:/Users/vkruglikov/nta/nupic-darwin64/lib64/python2.7/site-packages:/Users/vkruglikov/nta/nupic-darwin64/lib/python2.7/site-packages:/Users/vkruglikov/Packages/Cython-0.15.1:/Users/vkruglikov/nta/nupic-darwin64/nta/eng/lib/python2.7/site-packages:/Users/vkruglikov/nta/nupic-darwin64/lib64/python2.7/site-packages:/Users/vkruglikov/nta/nupic-darwin64/lib/python2.7/site-packages:

vkruglikov@vkruglikovs-MacBook-Pro:~/nta$ $NUPIC/build.sh
Undefined symbols for architecture x86_64:
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned long, unsigned long) const", referenced from:
      nta::Path::getBasename(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libos.a(libos_a-Path.o)
      nta::Path::makeAbsolute(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libos.a(libos_a-Path.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
      nta::Path::makeAbsolute(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libos.a(libos_a-Path.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char, unsigned long) const", referenced from:
      YAML::ScanScalar(YAML::Stream&, YAML::ScanScalarParams&)  in libyaml.a(scanscalar.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::end() const", referenced from:
      YAML::Utils::WriteComment(YAML::ostream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)in libyaml.a(emitterutils.o)
      YAML::Utils::WriteLiteralString(YAML::ostream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)in libyaml.a(emitterutils.o)
      YAML::Utils::WriteDoubleQuotedString(YAML::ostream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)in libyaml.a(emitterutils.o)
      YAML::Utils::WriteSingleQuotedString(YAML::ostream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libyaml.a(emitterutils.o)
      YAML::Utils::(anonymous namespace)::WriteAliasName(YAML::ostream&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libyaml.a(emitterutils.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const", referenced from:
      nta::StringUtils::startsWith(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, 

...

  "std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf()", referenced from:
      nta::Path::copy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libos.a(libos_a-Path.o)
      nta::IFStream::~IFStream()in libos.a(libos_a-Path.o)
      nta::IFStream::~IFStream()in libntypes.a(libntypes_a-BundleIO.o)
  "std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      _main in htmtest-htmtest.o
      nta::StringUtils::toIntList(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >&, bool, bool)in libutils.a(libutils_a-StringUtils.o)
      YAML::Node::Clone() constin libyaml.a(node.o)
      nta::YAMLUtils::toValueMap(char const*, nta::Collection<nta::ParameterSpec>&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-YAMLUtils.o)
      nta::VectorFile::appendFloat32File(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, bool)in libregions.a(libregions_a-VectorFile.o)
      nta::VectorFile::appendIDXFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)in libregions.a(libregions_a-VectorFile.o)
      nta::VectorFile::saveVectors(std::basic_ostream<char, std::char_traits<char> >&, unsigned long, unsigned int, long, long, char const*)in libregions.a(libregions_a-VectorFile.o)
      ...
  "std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in htmtest-htmtest.o
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in libntypes.a(libntypes_a-Dimensions.o)
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in libos.a(libos_a-OS.o)
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in libengine.a(libengine_a-NuPIC.o)
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in libengine.a(libengine_a-Region_io.o)
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in libengine.a(libengine_a-Region.o)
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in libengine.a(libengine_a-Region_parameters.o)
      ...
  "std::runtime_error::~runtime_error()", referenced from:
      _main in htmtest-htmtest.o
      nta::StringUtils::toIntList(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >&, bool, bool)in libutils.a(libutils_a-StringUtils.o)
      YAML::Node::Clone() constin libyaml.a(node.o)
      nta::YAMLUtils::toValueMap(char const*, nta::Collection<nta::ParameterSpec>&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-YAMLUtils.o)
      nta::VectorFile::appendFloat32File(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, bool)in libregions.a(libregions_a-VectorFile.o)
      nta::VectorFile::appendIDXFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)in libregions.a(libregions_a-VectorFile.o)
      nta::VectorFile::saveVectors(std::basic_ostream<char, std::char_traits<char> >&, unsigned long, unsigned int, long, long, char const*)in libregions.a(libregions_a-VectorFile.o)
      ...
  "std::runtime_error::~runtime_error()", referenced from:
      nta::Exception::~Exception()in htmtest-htmtest.o
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in htmtest-htmtest.o
      nta::Exception::~Exception()in htmtest-htmtest.o
      nta::LoggingException::LoggingException(nta::LoggingException const&)in htmtest-htmtest.o
      nta::Dimensions::promote(unsigned long)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getIndex(std::vector<unsigned long, std::allocator<unsigned long> > const&) constin libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getDimension(unsigned long) constin libntypes.a(libntypes_a-Dimensions.o)
      ...
  "std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()", referenced from:
      construction vtable for std::basic_ifstream<char, std::char_traits<char> >-in-nta::IFStreamin libos.a(libos_a-Path.o)
      construction vtable for std::basic_ifstream<char, std::char_traits<char> >-in-nta::IFStreamin libntypes.a(libntypes_a-BundleIO.o)
      construction vtable for std::basic_ifstream<char, std::char_traits<char> >-in-nta::IFStreamin libregions.a(libregions_a-VectorFile.o)
  "std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()", referenced from:
      construction vtable for std::basic_ifstream<char, std::char_traits<char> >-in-nta::IFStreamin libos.a(libos_a-Path.o)
      construction vtable for std::basic_ifstream<char, std::char_traits<char> >-in-nta::IFStreamin libntypes.a(libntypes_a-BundleIO.o)
      construction vtable for std::basic_ifstream<char, std::char_traits<char> >-in-nta::IFStreamin libregions.a(libregions_a-VectorFile.o)
  "std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()", referenced from:
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libengine.a(libengine_a-Network.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libos.a(libos_a-Path.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libntypes.a(libntypes_a-BundleIO.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libregions.a(libregions_a-VectorFileSensor.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libregions.a(libregions_a-VectorFileEffector.o)
  "std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()", referenced from:
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libengine.a(libengine_a-Network.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libos.a(libos_a-Path.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libntypes.a(libntypes_a-BundleIO.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libregions.a(libregions_a-VectorFileSensor.o)
      construction vtable for std::basic_ofstream<char, std::char_traits<char> >-in-nta::OFStreamin libregions.a(libregions_a-VectorFileEffector.o)
  "std::basic_streambuf<char, std::char_traits<char> >::sync()", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::imbue(std::locale const&)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::sgetn(char*, long)", referenced from:
      YAML::Stream::GetNextByte() constin libyaml.a(stream.o)
  "std::basic_streambuf<char, std::char_traits<char> >::uflow()", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::setbuf(char*, long)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::xsgetn(char*, long)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::overflow(int)", referenced from:
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::pbackfail(int)", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::showmanyc()", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_streambuf<char, std::char_traits<char> >::underflow()", referenced from:
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libregions.a(libregions_a-SpatialPoolerNode.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libengine.a(libengine_a-RegionImpl.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libalgorithms.a(libalgorithms_a-SparsePooler.o)
      vtable for nta::BasicIMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
      vtable for nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)", referenced from:
      nta::VectorFile::appendFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned int)in libregions.a(libregions_a-VectorFile.o)
  "std::invalid_argument::invalid_argument(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      nta::ZLib::fopen(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)in libos.a(libos_a-FStream.o)
  "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)", referenced from:
      _main in htmtest-htmtest.o
      nta::LoggingException::LoggingException(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)in htmtest-htmtest.o
      nta::LoggingException::LoggingException(nta::LoggingException const&)in htmtest-htmtest.o
      nta::Dimensions::promote(unsigned long)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getIndex(std::vector<unsigned long, std::allocator<unsigned long> > const&) constin libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getDimension(unsigned long) constin libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getCount() constin libntypes.a(libntypes_a-Dimensions.o)
      ...
  "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)", referenced from:
      nta::Network::saveToBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      nta::Network::initialize()     in libengine.a(libengine_a-Network.o)
      nta::Network::loadFromBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      void YAML::operator>><std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(YAML::Node const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in libengine.a(libengine_a-Network.o)
      YAML::Exception::Exception(YAML::Mark const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libyaml.a(node.o)
      YAML::Exception::Exception(YAML::Mark const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libyaml.a(parser.o)
      YAML::Exception::Exception(YAML::Mark const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libyaml.a(iterator.o)
      ...
  "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()", referenced from:
      nta::Dimensions::getIndex(std::vector<unsigned long, std::allocator<unsigned long> > const&) constin libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getDimension(unsigned long) constin libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getCount() constin libntypes.a(libntypes_a-Dimensions.o)
      nta::LoggingException::~LoggingException()in libutils.a(libutils_a-LoggingException.o)
      nta::LoggingException::~LoggingException()in libutils.a(libutils_a-LoggingException.o)
      nta::Region::getInputCount(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libengine.a(libengine_a-Region_io.o)
      nta::Network::saveToBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      ...
  "std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)", referenced from:
      nta::StringUtils::toInt32(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toUInt64(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toUInt32(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toSizeT(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toReal32(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
  "std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()", referenced from:
      nta::StringUtils::toInt32(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toUInt64(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toUInt32(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
      nta::StringUtils::toReal32(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool*)in libutils.a(libutils_a-StringUtils.o)
  "std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)", referenced from:
      nta::LogItem::LogItem(char const*, int, nta::LogItem::LogLevel)in libutils.a(libutils_a-LogItem.o)
  "std::locale::locale()", referenced from:
      vecToString(std::vector<unsigned long, std::allocator<unsigned long> >)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Region::getLinkErrors() constin libengine.a(libengine_a-Region.o)
      nta::Spec::toString() constin libengine.a(libengine_a-Spec.o)
      nta::Input::evaluateLinks()     in libengine.a(libengine_a-Input.o)
      nta::StringUtils::fromInt(long long)in libutils.a(libutils_a-StringUtils.o)
      nta::Link::toString() constin libengine.a(libengine_a-Link.o)
      nta::Timer::toString() constin libos.a(libos_a-Timer.o)
      ...
  "std::locale::~locale()", referenced from:
      _main in htmtest-htmtest.o
      nta::LoggingException::LoggingException(nta::LoggingException const&)in htmtest-htmtest.o
      vecToString(std::vector<unsigned long, std::allocator<unsigned long> >)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::promote(unsigned long)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getCount() constin libntypes.a(libntypes_a-Dimensions.o)
      nta::OS::getProcessMemoryUsage(unsigned long&, unsigned long&)in libos.a(libos_a-OS.o)
      nta::NuPIC::unregisterNetwork(nta::Network*)    in libengine.a(libengine_a-NuPIC.o)
      ...
  "std::ios_base::Init::Init()", referenced from:
      __static_initialization_and_destruction_0(int, int)in htmtest-htmtest.o
      __static_initialization_and_destruction_0(int, int)in libntypes.a(libntypes_a-Dimensions.o)
      __static_initialization_and_destruction_0(int, int)in libutils.a(libutils_a-LoggingException.o)
      __static_initialization_and_destruction_0(int, int)in libos.a(libos_a-OS.o)
      __static_initialization_and_destruction_0(int, int)in libengine.a(libengine_a-NuPIC.o)
      __static_initialization_and_destruction_0(int, int)in libengine.a(libengine_a-Region_io.o)
      __static_initialization_and_destruction_0(int, int)in libengine.a(libengine_a-Region.o)
      ...
  "std::ios_base::Init::~Init()", referenced from:
      ___tcf_0 in htmtest-htmtest.o
      ___tcf_0 in libntypes.a(libntypes_a-Dimensions.o)
      ___tcf_0 in libutils.a(libutils_a-LoggingException.o)
      ___tcf_0 in libos.a(libos_a-OS.o)
      ___tcf_0 in libengine.a(libengine_a-NuPIC.o)
      ___tcf_0 in libengine.a(libengine_a-Region_io.o)
      ___tcf_0 in libengine.a(libengine_a-Region.o)
      ...
  "std::ios_base::ios_base()", referenced from:
      vecToString(std::vector<unsigned long, std::allocator<unsigned long> >)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Region::getLinkErrors() constin libengine.a(libengine_a-Region.o)
      nta::Network::saveToBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      nta::Network::loadFromBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      nta::Spec::toString() constin libengine.a(libengine_a-Spec.o)
      nta::Input::evaluateLinks()     in libengine.a(libengine_a-Input.o)
      nta::StringUtils::fromInt(long long)in libutils.a(libutils_a-StringUtils.o)
      ...
  "std::ios_base::~ios_base()", referenced from:
      _main in htmtest-htmtest.o
      nta::LoggingException::LoggingException(nta::LoggingException const&)in htmtest-htmtest.o
      vecToString(std::vector<unsigned long, std::allocator<unsigned long> >)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::promote(unsigned long)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Dimensions::getCount() constin libntypes.a(libntypes_a-Dimensions.o)
      nta::OS::getProcessMemoryUsage(unsigned long&, unsigned long&)in libos.a(libos_a-OS.o)
      nta::NuPIC::unregisterNetwork(nta::Network*)    in libengine.a(libengine_a-NuPIC.o)
      ...
  "std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)", referenced from:
      vecToString(std::vector<unsigned long, std::allocator<unsigned long> >)in libntypes.a(libntypes_a-Dimensions.o)
      nta::Region::getLinkErrors() constin libengine.a(libengine_a-Region.o)
      nta::Network::saveToBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      nta::Network::loadFromBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      nta::Spec::toString() constin libengine.a(libengine_a-Spec.o)
      nta::Input::evaluateLinks()     in libengine.a(libengine_a-Input.o)
      nta::StringUtils::fromInt(long long)in libutils.a(libutils_a-StringUtils.o)
      ...
  "std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)", referenced from:
      testExceptionBug()     in htmtest-htmtest.o
      nta::LoggingException::~LoggingException()in libutils.a(libutils_a-LoggingException.o)
      nta::LoggingException::~LoggingException()in libutils.a(libutils_a-LoggingException.o)
      nta::Region::getNodeOutputElementCount(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Region.o)
      nta::Region::initOutputs()     in libengine.a(libengine_a-Region.o)
      nta::LogItem::~LogItem()in libutils.a(libutils_a-LogItem.o)
      nta::LogItem::~LogItem()in libutils.a(libutils_a-LogItem.o)
      ...
  "std::basic_ios<char, std::char_traits<char> >::rdbuf(std::basic_streambuf<char, std::char_traits<char> >*)", referenced from:
      nta::BasicOMemStream<char, std::char_traits<char>, std::allocator<char> >::BasicOMemStream()in libregions.a(libregions_a-SpatialPoolerNode.o)
      nta::SparseMatrix<unsigned int, float, int, double, nta::DistanceToZero<float> >::toCSR(std::basic_ostream<char, std::char_traits<char> >&) constin libalgorithms.a(libalgorithms_a-SparsePooler.o)
      nta::ReadBuffer::ReadBuffer(nta::ReadBuffer const&)in libntypes.a(libntypes_a-Buffer.o)
      nta::ReadBuffer::ReadBuffer(char const*, unsigned long, bool)in libntypes.a(libntypes_a-Buffer.o)
      nta::WriteBuffer::WriteBuffer()in libntypes.a(libntypes_a-Buffer.o)
      nta::WriteBuffer::WriteBuffer()in libntypes.a(libntypes_a-Buffer.o)
  "std::basic_ios<char, std::char_traits<char> >::setstate(std::_Ios_Iostate)", referenced from:
      YAML::Stream::GetNextByte() constin libyaml.a(stream.o)
  "std::basic_ios<char, std::char_traits<char> >::~basic_ios()", referenced from:
      nta::RegionImpl::getParameterInt64(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long)in libengine.a(libengine_a-RegionImpl.o)
      nta::BasicOMemStreamBuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int)in libengine.a(libengine_a-RegionImpl.o)

...

      realmain(bool)in htmtest-htmtest.o
      _main in htmtest-htmtest.o
      ...
  "___cxa_free_exception", referenced from:
      _main in htmtest-htmtest.o
      nta::Network::loadFromBundle(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libengine.a(libengine_a-Network.o)
      void YAML::operator>><std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(YAML::Node const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in libengine.a(libengine_a-Network.o)
      nta::StringUtils::toIntList(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >&, bool, bool)in libutils.a(libutils_a-StringUtils.o)
      nta::deserializePyNode(nta::DynamicPythonLibrary*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nta::BundleIO&, nta::Region*)in libengine.a(libengine_a-RegionImplFactory.o)
      nta::createPyNode(nta::DynamicPythonLibrary*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nta::ValueMap*, nta::Region*)in libengine.a(libengine_a-RegionImplFactory.o)
      nta::ZLib::fopen(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)in libos.a(libos_a-FStream.o)
      ...
  "___cxa_guard_abort", referenced from:
      YAML::Emitter::Write(bool)in libyaml.a(emitter.o)
      YAML::Exp::Space()    in libyaml.a(emitterutils.o)
      YAML::Exp::Tab()    in libyaml.a(emitterutils.o)
      YAML::Exp::Blank()    in libyaml.a(emitterutils.o)
      YAML::Exp::Utf8_ByteOrderMark()     in libyaml.a(emitterutils.o)
      YAML::Exp::Digit()    in libyaml.a(emitterutils.o)
      YAML::Exp::Hex()    in libyaml.a(emitterutils.o)
      ...
  "___cxa_guard_acquire", referenced from:
      nta::RegionImplFactory::getInstance()      in libengine.a(libengine_a-RegionImplFactory.o)
      YAML::Emitter::Write(bool)in libyaml.a(emitter.o)
      YAML::Exp::Space()    in libyaml.a(emitterutils.o)
      YAML::Exp::Tab()    in libyaml.a(emitterutils.o)
      YAML::Exp::Blank()    in libyaml.a(emitterutils.o)
      YAML::Exp::Utf8_ByteOrderMark()     in libyaml.a(emitterutils.o)
      YAML::Exp::Digit()    in libyaml.a(emitterutils.o)
      ...
  "___cxa_guard_release", referenced from:
      nta::RegionImplFactory::getInstance()      in libengine.a(libengine_a-RegionImplFactory.o)
      YAML::Emitter::Write(bool)in libyaml.a(emitter.o)
      YAML::Exp::Space()    in libyaml.a(emitterutils.o)
      YAML::Exp::Tab()    in libyaml.a(emitterutils.o)
      YAML::Exp::Blank()    in libyaml.a(emitterutils.o)
      YAML::Exp::Utf8_ByteOrderMark()     in libyaml.a(emitterutils.o)
      YAML::Exp::Digit()    in libyaml.a(emitterutils.o)
      ...
  "___cxa_pure_virtual", referenced from:
      vtable for boost::detail::sp_counted_basein libutils.a(libutils_a-StringUtils.o)
      vtable for boost::detail::sp_counted_basein libengine.a(libengine_a-RegionImplFactory.o)
      vtable for boost::detail::sp_counted_basein libengine.a(libengine_a-YAMLUtils.o)
      vtable for YAML::Contentin libyaml.a(aliascontent.o)
      vtable for YAML::SettingChangeBasein libyaml.a(emitterstate.o)
      vtable for YAML::Contentin libyaml.a(map.o)
      vtable for YAML::Contentin libyaml.a(scalar.o)
      ...
  "___cxa_rethrow", referenced from:
      std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*)in libengine.a(libengine_a-Region.o)
      std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Input*>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Input*> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Input*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Input*> const&)in libengine.a(libengine_a-Region.o)
      std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Output*>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Output*> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Output*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, nta::Output*> const&)in libengine.a(libengine_a-Region.o)
      std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*)in libengine.a(libengine_a-Network.o)
      std::_Rb_tree<nta::Region*, nta::Region*, std::_Identity<nta::Region*>, std::less<nta::Region*>, std::allocator<nta::Region*> >::_M_copy(std::_Rb_tree_node<nta::Region*> const*, std::_Rb_tree_node<nta::Region*>*)in libengine.a(libengine_a-Network.o)
      void std::__uninitialized_fill_n_aux<std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> >*, unsigned long, std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> > >(std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> >*, unsigned long, std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> > const&, std::__false_type)in libengine.a(libengine_a-Network.o)
      std::vector<std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> >, std::allocator<std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> >*, std::vector<std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> >, std::allocator<std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> > > > >, unsigned long, std::set<nta::Region*, std::less<nta::Region*>, std::allocator<nta::Region*> > const&)in libengine.a(libengine_a-Network.o)
      ...
  "___cxa_throw", referenced from:
      testCppInputOutputAccess(nta::Region*)      in htmtest-htmtest.o
      testExceptionBug()     in htmtest-htmtest.o
      testPynodeInputOutputAccess(nta::Region*)      in htmtest-htmtest.o
      testYAML()    in htmtest-htmtest.o
      testPynodeLinking()     in htmtest-htmtest.o
      testCppLinking(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in htmtest-htmtest.o
      realmain(bool)in htmtest-htmtest.o
      ...
  "___gxx_personality_v0", referenced from:
      Dwarf Exception Unwind Info (__eh_frame) in htmtest-htmtest.o
      Dwarf Exception Unwind Info (__eh_frame) in libntypes.a(libntypes_a-Dimensions.o)
      Dwarf Exception Unwind Info (__eh_frame) in libutils.a(libutils_a-LoggingException.o)
      Dwarf Exception Unwind Info (__eh_frame) in libos.a(libos_a-OS.o)
      Dwarf Exception Unwind Info (__eh_frame) in libengine.a(libengine_a-NuPIC.o)
      Dwarf Exception Unwind Info (__eh_frame) in libengine.a(libengine_a-Region_io.o)
      Dwarf Exception Unwind Info (__eh_frame) in libengine.a(libengine_a-Region.o)
      ...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [htmtest] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

STDOUT redirected to: /tmp/ntabuild/stdout.txt
Build failed!!!

vkruglikov@vkruglikovs-MacBook-Pro:~/nta$ 


@vitaly-krugl
Copy link
Member Author

@breznak: any idea how to fix this? Thx

@oxtopus
Copy link
Contributor

oxtopus commented Oct 22, 2013

...
Stdout redirected to: /tmp/ntabuild/stdout.txt
Build successful.
Austins-MacBook-Pro-3:nupic-darwin64 amarshall$ python --version
Python 2.7.2
Austins-MacBook-Pro-3:nupic-darwin64 amarshall$ (cd $NUPIC && git log -n 1 --oneline)
b978877 Merge pull request #176 from breznak/linux32-platform-support

This is after re-building nupic-darwin64 and python 2.7.2 from scratch.

@vitaly-krugl
Copy link
Member Author

User error; the following change in my .bashrc fixed it (thanks @scottpurdy for pointing it out). I don't know how it managed to work the first time around, but it did somehow ???

#export CXX=/usr/local/bin/gcc-4.2
export CXX=/usr/local/bin/g++-4.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants