Those errors are generally very easy to fix. The undefined symbols often occur because you fail to properly close a brace. Make sure they are all closed properly.
If you still can't figure it out on your own then post the whole code as an attachment.