I got both of those errors too, in that order, but after building the FreeImage lib and adding it to my project, neither error has come back despite many code changes and "clean all"s. I assume your just changing your app code, right? Not changing OF lib code?
Well, I don’t want to be too optimist but I got it working now.
I have Xcode 3.2.3 + OF 0061 + iOS4.
What I did is keep the original FreeImage.h and the original libFreeImage_iphone_universal.a.
Then I added to my project the two files of the new version of FreeImage (after downloading and compiling it) libfreeimage-iphone.a
by dragging them into the FreeImage library group.
Then, inside Target > myProject > Link Binary with Libraries I just moved the old one to the bottom (to give linking precedence to the other two files) so that this is the order:
Finally I had to apply the color fix (find it in this thread).
With these passages it seems working fine BOTH on Simulator 3.2 and 4.0 and Device 3.2 and 4.0.