Cannot build driver with makefile-engine
|Reported by:||jackburton||Owned by:||siarzhuk|
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.