I am getting the following error:

I am following this tutorial:
http://wiki.minix3.org/en/DevelopersGuide/DriverProgramming
This is my makefile:

My code is on pastebin:
Edit:
Changing LPADD to LDADD changed the errors to:

Sorry for the amount of images, I cannot run X11 due to using Virtualbox.
In your makefile, it should be
LDADD, notLPADD