[haiku-bugs] [Haiku] #8019: Cannot build driver with makefile-engine

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 Oct 2011 06:21:08 -0000

#8019: Cannot build driver with makefile-engine
------------------------+------------------------------
 Reporter:  jackburton  |        Owner:  nobody
     Type:  bug         |       Status:  new
 Priority:  normal      |    Milestone:  R1
Component:  - General   |      Version:  R1/Development
 Keywords:              |   Blocked By:
 Blocking:              |  Has a Patch:  0
 Platform:  All         |
------------------------+------------------------------
 I'm trying to build a driver on Haiku, using the makefile-engine.
 I set the TYPE correctly to "DRIVER", but linking fails with undefined
 references to main() and dprintf().
 I looked in the makefile-engine and for the type=DRIVER it should already
 link against "_KERNEL_", I also tried to add _KERNEL_ to the list of
 libraries in my makefiles, but it doesn't seem to work.
 The driver is a cpp file.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8019>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: