standard library pow function needed from kext
standard library pow function needed from kext
- Subject: standard library pow function needed from kext
- From: "Sean Morrell" <email@hidden>
- Date: Thu, 26 Sep 2002 20:28:05 -0500
Hello,
I need to use the "double pow(double, double)" standard math function in a
kext. Actually, the code using pow and other floating point operations is
compiled into a separate library, which in turn is linked to the kext. The
problem is that when loading the kext, I get an unknown symbol error for the
pow function. The root cause to this problem appears to be that there is
not a static libm on the system. Is this correct? Are there only dynamic
versions of the math and other libs? And if so, can a dynamic library be
linked to a kext? Is there a linker option to specify code from a dynamic
library be pulled into a generated program/kext as would be done with a
static library? Any other suggestions?
Thanks,
Sean
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.