You may have to link the library second. Sometimes linkers are particular about object order.
Hi Steve,Your suggestion worked! Reversing the order solved the problem. I have another problem that I'm facing, but that is something hardly related to this so I'll open a new thread. Thanks :)