I have very strange errors with Xcode 3.2.6 and Xcode 4.
Xcode 3.2.5 does not have the errors in my project.
Symbol hidden by defaults option is set to YES.<
There is an answer here : "bad codegen, pointer diff" linker error with Xcode 4