compiles but doesn't link. Need to sort out location of atomic and AMR function table