[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] trouble with sqrt




Yes. You have to 
   A) tell the linker to statically link math libraries -- dynamic
      libraries do not work in kernel modules.
   B) use a floating point capable scheduler like the one in the 
     2.0.35 experimental release.

On Wed, Aug 12, 1998 at 02:22:10PM +0000, rguzman@isa.upv.es wrote:
> Hi everybody,
> 
> I'm trying to use the function sqrt in a RT-Task, but I get the 
> following error while attempting to insert the module:
> 
> ./rt_process.o: unresolved symbol __getfpucw
> ./rt_process.o: unresolved symbol __errno__location
> ./rt_process.o: unresolved symbol raise
> 
> It works well with other math functions. Does anybody know how to 
> solve this?
> 
> Thanks,
> 
> Roberto
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu

-- 

---------------------------------
Victor Yodaiken
Department of Computer Science
New Mexico Institute of Mining and Technology
Socorro NM 87801
Homepage		http://www.cs.nmt.edu/~yodaiken
PowerPC Linux page	http://linuxppc.cs.nmt.edu
Real-Time Page		http://rtlinux.org

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu