Dear All, 

after trying to find a workaround for a bug in OS X Mountain Lion, I tried 
switching to the clang compiler (which seems to be Apple's favorite, now). 

I have version 

Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix

The entire library compiles with no problems (except a warning during 
compilation of umfpack: 

clang: warning: argument unused during compilation: '-fast'

) but as soon as linking is attempted, I get a lot of undefined references to 
what seem to be gnu related headers... 

The first one is:

Undefined symbols for architecture x86_64:
  "__gnu_cxx::__verbose_terminate_handler()", referenced from:
      (anonymous namespace)::preload_terminate_dummy::preload_terminate_dummy() 
in base_exceptions.o

And then virtually all boost functions:

  "std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::data() const", referenced from:
      
boost::archive::basic_binary_iprimitive<boost::archive::naked_binary_iarchive, 
char, std::char_traits<char> >::load(std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> >&) in 
base_boost_serialization.o

boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, char, 
std::char_traits<char> >::load(std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> >&) in 
base_boost_serialization.o

etc.

Anybody has had experience with making late versions of clang and deal.II to 
work? 

L.

--
Luca Heltai <[email protected]>
http://people.sissa.it/~heltai/
Scuola Internazionale Superiore di Studi Avanzati
Phone:  +39 040 3787 449, Office: 732
--
There are no answers, only cross references

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to