Skip to content

failure during "make" of sparsehash on mac osx 10.8.5 #97

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1../configure
2.make
3.

What is the expected output? What do you see instead?

make  all-am
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o 
template_util_unittest template_util_unittest.o   
Undefined symbols for architecture x86_64:
  "std::ios_base::Init::Init()", referenced from:
      __GLOBAL__sub_I_template_util_unittest.cc in template_util_unittest.o
  "std::ios_base::Init::~Init()", referenced from:
      __GLOBAL__sub_I_template_util_unittest.cc in template_util_unittest.o
  "std::cout", referenced from:
      _main in template_util_unittest.o
  "std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)", referenced from:
      _main in template_util_unittest.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [template_util_unittest] Error 1
make: *** [all] Error 2

What version of the product are you using? On what operating system?
I downloaded tar.gz file: 
https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz

extracted the files and ran ./compile and make in os x with the latest version 
of g++.



Please provide any additional information below.


Original issue reported on code.google.com by jgreg...@gmail.com on 31 Jan 2014 at 7:44

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions