[haiku-development] Re: sqrt, floor, ceil for kernel drivers?

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 03 Sep 2008 16:50:05 +0200 CEST

> Hi,
>
> I try to link a kernel driver which use functions from math.h but the
> linker can't find the symbols. Is it possible to use floor, sqrt,
> ceil...
> in a kernel driver? I can't find any example in the haiku sources. If
> yes,
> which jamfile entry makes the linker happy?

Those are to be reused from libroot sources, see
src/system/kernel/lib/Jamfile

Seems BeOS had those, so we should probably have them too.

François.

Other related posts: