programming error...Need Help!!

The error messages are pretty clear and explicit, but you haven't posted the code for the library.