diff --git a/utils/Makefile b/utils/Makefile
index fcc9b477ca0cb3e884a2f55b21ea717059945fa8..11a2d5be7a9cade536122e4df353441dfb11a185 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -131,8 +131,8 @@ astobj2.o : astobj2.c
 hashtest2.o : hashtest2.c
 	$(CC) -g -O0 -c hashtest2.c -I/usr/include -I../include
 
-hashtest2 : hashtest2.o md5.o utils.o astobj2.o sha1.o
-	$(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o -lpthread
+hashtest2 : hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o
+	$(CC) -g -O0 -o hashtest2 hashtest2.o astobj2.o utils.o md5.o sha1.o strcompat.o -lpthread
 
 extconf.o : extconf.c