What commands are you using to compile and link your code? Can you give a more precise description of what you did, what you expected to happen, and what happened?
So far I gather that you think the compiler or linker didn't see a new version of your file, which of course it should, but I don't think there's enough information to debug your problem