compiles but won't link