[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] using the sin function in rtlinux
> Wayne Dunkel wrote:
> >
> > I have included math.h in my source file, but gcc says that the reference to sin is undefined. what should I do?
>
> Read a book on programing for the kernel. Functions like sin are not
> available in kernel space. I would suggest using a lookup table of some
> sort.
>
if you statically link libc/libm in ,there is no problem with using math
functions - besids that it produces gigantic kernel modules ..
hofrat