diff --git a/Makefile b/Makefile
index 6c2be6e8600ba0de552a934c23e8233c1a544ae6..656d93838e6732c566b4250769cf468dfe889a90 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,8 @@
 
 
 SRC  =  src/THcInterface.cxx src/THcParmList.cxx src/THcAnalyzer.cxx \
-	src/THcHodoscopeHit.cxx src/THcRawHit.cxx src/THcRawHitList.cxx
+	src/THcHodoscopeHit.cxx src/THcRawHit.cxx src/THcRawHitList.cxx \
+	src/THcDetectorMap.cxx
 
 # Name of your package. 
 # The shared library that will be built will get the name lib$(PACKAGE).so
diff --git a/src/HallC_LinkDef.h b/src/HallC_LinkDef.h
index 6e9bfe68d42e54c29e37b86e1211e0f778c2973e..cde866435b4e3e2a43d2bca9dc4af980f779a71b 100644
--- a/src/HallC_LinkDef.h
+++ b/src/HallC_LinkDef.h
@@ -12,5 +12,6 @@
 #pragma link C++ class THcRawHit+;
 #pragma link C++ class THcHodoscopeHit+;
 #pragma link C++ class THcRawHitList+;
+#pragma link C++ class THcDetectorMap+;
 
 #endif
diff --git a/src/THcDetectorMap.cxx b/src/THcDetectorMap.cxx
index d0e073bc807aaf46d6099a959d9a2a8771e9899d..2baba7daea328e11dc1fd81c84f79919fd3e4828 100644
--- a/src/THcDetectorMap.cxx
+++ b/src/THcDetectorMap.cxx
@@ -17,7 +17,7 @@ using namespace std;
 
 ClassImp(THcDetectorMap)
 
-THcDetectorMap::Load(const char *fname)
+void THcDetectorMap::Load(const char *fname)
 {
 }