Re: Math module not compiling
Doug Renton <[email protected]>
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
Hi Rathin, I had a math issue earlier in the summer and there were some tricks. Have you read through these two threads? https://mail.rtai.org/pipermail/rtai/2015-September/026912.html https://mail.rtai.org/pipermail/rtai/2014-October/026540.html I've yet to try 5.1 though. So I'm not sure things are still 100% the same. Doug On 01/11/2016 10:06 AM, Rathin Dholakia wrote: > Dear All, > > That problem of math module not getting compiled got solved. I spent few > hours and finally figured that since Ubuntu 12.04 they have changed the > library directory structure. so the "libm.a" location has been changed > to "arch specific directory" and hence the make was not able to find it...!! > > But now I am faced with another challenge that when I try to insert > rtai_math.ko it shows "unknown symbol error." > > My dmesg shows: > > [ 276.359092] rtai_math: Unknown symbol __get_cpu_features (err 0) > [ 276.359104] rtai_math: Unknown symbol gammaf_r (err 0) > [ 276.359112] rtai_math: Unknown symbol errno (err 0) > [ 276.359120] rtai_math: Unknown symbol __fpclassifyd (err 0) > [ 276.359137] rtai_math: Unknown symbol strtod (err 0) > [ 276.359146] rtai_math: Unknown symbol infinity (err 0) > [ 276.359152] rtai_math: Unknown symbol gamma_r (err 0) > [ 276.359162] rtai_math: Unknown symbol strtof (err 0) > [ 276.359170] rtai_math: Unknown symbol infinityf (err 0) > [ 276.359177] rtai_math: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0) > [ 276.359185] rtai_math: Unknown symbol _dl_hwcap (err 0) > [ 276.359186] rtai_math: no symbol version for strlen > [ 276.359187] rtai_math: Unknown symbol strlen (err -22) > [ 276.359195] rtai_math: Unknown symbol __signbitd (err 0) > > > Can anyone suggest what might be going wrong? > > I am updating this thread so that any newbie like me if facing the same > issue , can find it. > > > Thank you, > > Sincerely, > Rathin > > > On Mon, Jan 11, 2016 at 12:16 PM, Rathin Dholakia > <[email protected] <mailto:[email protected]>> wrote: > > Dear Members, > > First of all I am new to RTAI domain and have to admit I am blown by > the efforts of community. My sincerest gratitude for such an amazing > development..! > > Now to my query, I am trying to implement a RTAI system with > RTAI-4.1 on Kernel 3.16.0 using x86 patch. Basically I am trying to > port a old RTAI 3.6 to new rtai-4.1. > > Everything went fine, I ran test and latencies are also good. But I > am not able to build the Math module, as soon as I turn "math > option" ON in "other features" RTAI fails to compile. > > Can someone guide, How to work around it? I saw the archived post of > "Kernel math error" & missing exportlib.h but I couldn't figure out > what to do. > > > Sincerely, > Rathin > > > > > -- > Rathin A. Dholakia > "Dont GO through life, GROW through life" > > > _______________________________________________ > Rtai mailing list > [email protected] > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai