2010-12-22  Patching Clang for Ubuntu 10.10 Maverick Meerkat

If you're trying to use the Clang C++ compiler on Maverick and you're getting link failures like

 undefined reference to
`std::basic_streambuf<char, std::char_traits<char> >::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode)
you're just going to have to patch it and build it yourself. It's actually pretty easy, it just takes a few minutes.

With any luck Clang will be patched up in pretty short order, thus rendering this a historical curiosity.

Ok, this turns out not be a complete fix, but it's probably good enough. I'm still getting link failures -
undefined reference to `std::basic_streambuf >::pbackfail(int)'
undefined reference to `std::basic_streambuf >::overflow(int)'
in one of my builds. Other things using wide streams are linking ok, so I'm not entirely sure what I'm doing differently in this one. Wide streams are probably a minority interest though so, in lieu of a proper fix, what I've described above is still worth a go.
jez, 22nd Dec 2010
Enter your comment

Name Email
URL
If you have an account, please log in.
No account? Just create one.


Jez Higgins