Check what version of library compiler is used to comple ur library to .db format.
If it is older than ur dc_shell version you will get such an ERROR!
If you have .lib file for ur library then first using lc_shell get it complie to .db
and use it. This will solve ur problem.
Please remember while posting such questions you must write what version of
tools ur using and on what platform.