debugging linking error