diff --git a/include/libtorrent/hasher.hpp b/include/libtorrent/hasher.hpp
index a0806b6ed..e76617a40 100644
--- a/include/libtorrent/hasher.hpp
+++ b/include/libtorrent/hasher.hpp
@@ -74,7 +74,7 @@ namespace libtorrent
namespace libtorrent
{
- class hasher
+ class TORRENT_EXTRA_EXPORT hasher
{
public:
diff --git a/tools/parse_test_results.py b/tools/parse_test_results.py
index ec8a5e66e..e2713b849 100755
--- a/tools/parse_test_results.py
+++ b/tools/parse_test_results.py
@@ -51,7 +51,7 @@ def style_output(o):
ret += '%s\n' % l
elif ': error: ' in l or ': fatal error: ' in l or ' : fatal error ' in l or \
'failed to write output file' in l or ') : error C' in l or \
- ') : error LNK' in l:
+ ') : error LNK' in l or ': undefined reference to ' in l:
ret += '%s\n' % l
elif ': warning: ' in l or ') : warning C' in l:
ret += '%s\n' % l