Maybe don't try the static libcphmd.a archive?