0

I am getting the following error:

error

I am following this tutorial: http://wiki.minix3.org/en/DevelopersGuide/DriverProgramming

This is my makefile: enter image description here

My code is on pastebin:

http://pastebin.com/Jtn2cEsW

http://pastebin.com/YrpKh32m

Edit: Changing LPADD to LDADD changed the errors to: error2

Sorry for the amount of images, I cannot run X11 due to using Virtualbox.

RobotRock
  • 4,211
  • 6
  • 46
  • 86

1 Answers1

2

In your makefile, it should be LDADD, not LPADD

KevinDTimm
  • 14,226
  • 3
  • 42
  • 60
  • I am getting an other result now, seems to indicate a missing reference in libchardriver. I updated my initial post to include the errors. – RobotRock Jun 18 '12 at 13:00
  • Now you have bigger problems. It seems your environment doesn't match the example site and so some other library that should have getprocnr (and others) is not being linked. – KevinDTimm Jun 18 '12 at 13:37