Re: Unknown symbol in rtai_math.ko in rtai-5.0

Paolo Mantegazza <[email protected]> Fri, 9 Feb 2018 14:59:33 +0100
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============2806294585215398572==
Content-Type: multipart/alternative;
 boundary="------------904DFB376136120F2A7B486F"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------904DFB376136120F2A7B486F
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

To configure MUSL care of the README found in the RTAI math subdir.
Paolo

On 02/09/2018 02:28 PM, Guo Yunfei wrote:
> So, I'll try:
> 64-bit Debian 8.
> kernel 3.16.7
> rtai-5.1
> 64-bit MUSL.
>
> Thanks
>
> On Fri, Feb 9, 2018 at 8:47 PM, Paolo Mantegazza=20
> <[email protected] <mailto:[email protected]>> wrote:
>
>     First of you should use the just released RTAI-5.1.
>     It it does not work either, the recall that you can use also
>     NEWLIB, MUSL and uCLIB.
>     On my side I cared most using 64 bits NEWLIB and MUSL.
>     Paolo
>
>
>     On 02/09/2018 11:58 AM, Guo Yunfei wrote:
>>     Dear Paolo:
>>
>>     I had tried the all the glibc and newlib =C2=A0and =C2=A0uclibc =C2=
=A0and musl,
>>     want to build a available libm.a for the rtai_math.ko using.
>>     I struggling on this many days, but never success till now.
>>
>>     I'm using Debian 8. =C2=A0kernel-3.16.7, rtai-5.1.
>>     It is almost same error message pop out with rtai-4.1 or above.
>>
>>     I had try to using Debian 5. but failed to install it into my PC.
>>     it may because of my PC is a little too new.
>>     Or , might I didn't download a suitable Debian 5 cd image .
>>
>>     Could =C2=A0you give me some suggestion for the rtai_math.ko =C2=A0=
bulid
>>     successful on Debian 7 or above version?
>>     Or, Could you share your Debian 5 download address with me?
>>
>>     Many Thanks
>>
>>     Best Regards
>>     Guo Yunfei
>>
>>
>>
>>     On Wed, Feb 7, 2018 at 8:52 PM, Paolo Mantegazza
>>     <[email protected] <mailto:[email protected]>>
>>     wrote:
>>
>>         I retested the math kernel test with the only (old) 32 bits
>>         system I've and it worked for me.
>>         The installation I used is a bit outdated: Debian 5.0, gcc=C2=A0
>>         4.3.2, libxxx 2.7, with libm.a found in /usr/lib/libm.a.
>>         In any case I used Linux 4.1.18.
>>         At the moment I can only suggest to try with newlib or musl.
>>         Alternatively try a more recent RTAI-version.
>>         Paolo
>>
>>
>>
>>         On 02/07/2018 01:24 PM, Guo Yunfei wrote:
>>>         I set =C2=A0the Mathfuns support in Kernel to enable
>>>         using item 3, it is GLIBC.
>>>         then I give the libm.a path to /usr/lib/i386-linux-gnu.
>>>         for I find the libm.a in that path exactly.
>>>
>>>         Many thanks to Paolo.
>>>
>>>         On Wed, Feb 7, 2018 at 7:04 PM, Paolo Mantegazza
>>>         <[email protected]
>>>         <mailto:[email protected]>> wrote:
>>>
>>>             How did you configure the RTAI math lib to use?
>>>             Paolo
>>>
>>>
>>>             On 02/07/2018 11:54 AM, Guo Yunfei wrote:
>>>>
>>>>             Hi. Everybody.
>>>>
>>>>             I get trouble with rtai_math.ko for a long time.
>>>>             I'm using 32bit Debian 8.9.0 with kernel-4.1.18 with
>>>>             rtai-5.0.
>>>>             I setup the math funtion in kernel item enable.
>>>>             The libm.a path was setting to /usr/lib/i386-linux-gnu.
>>>>             set as 3, using glibc-libm.a
>>>>
>>>>
>>>>
>>>>             When I make the rtai-5.0, some warning message always
>>>>             pop out like below:
>>>>
>>>>             //------------------------------------------------------=
---
>>>>             Making all in math
>>>>             make[3]: Entering directory
>>>>             '/media/guoissac/13GDATA/rtai-5.0/base/math'
>>>>             make[4]: Entering directory
>>>>             '/media/guoissac/13GDATA/linux-4.1.18'
>>>>             =C2=A0 CC [M] =C2=A0/media/guoissac/13GDATA/rtai-5.0/bas=
e/math/libm.o
>>>>             =C2=A0 LD [M]
>>>>             =C2=A0/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_ma=
th.o
>>>>             =C2=A0 Building modules, stage 2.
>>>>             =C2=A0 MODPOST 1 modules
>>>>             WARNING: "remquo"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "erfcf"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "ynf"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "erfc"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "frexp"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "logbf"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "y1"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "expm1f"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "__signbitd"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "trunc"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>
>>>>             ....
>>>>             ....
>>>>             ....
>>>>
>>>>
>>>>             WARNING: "exp2f"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "lroundf"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "asinh"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "cosh"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "sqrt"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "log"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "fabs"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "fmodf"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             WARNING: "expm1"
>>>>             [/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_math.ko=
]
>>>>             undefined!
>>>>             =C2=A0 CC
>>>>             =C2=A0/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_ma=
th.mod.o
>>>>             =C2=A0 LD [M]
>>>>             =C2=A0/media/guoissac/13GDATA/rtai-5.0/base/math/rtai_ma=
th.ko
>>>>             make[4]: Leaving directory
>>>>             '/media/guoissac/13GDATA/linux-4.1.18'
>>>>             mv rtai_math.ko rtai_math.ko.tmp
>>>>             ld -r -static -o rtai_math.ko rtai_math.ko.tmp
>>>>             /usr/lib/i386-linux-gnu/libm.a
>>>>             rm -f rtai_math.ko.tmp
>>>>             //------------------------------------------------------=
-------
>>>>
>>>>             If I not care of above warning message. go on insmod
>>>>             rtai_math.ko.
>>>>             the error message pop out like below:
>>>>             //--------------------------------
>>>>
>>>>             insmod: ERROR: could not insert module rtai_math.ko:
>>>>             Unknown symbol in module
>>>>
>>>>
>>>>             //----------------------------
>>>>
>>>>             Then I dmesg, it showing like below:
>>>>
>>>>             //-------------------------------------------
>>>>             [ =C2=A0101.763572] rtai_math: Unknown symbol gammaf_r (=
err 0)
>>>>             [ =C2=A0101.763584] rtai_math: Unknown symbol errno (err=
 0)
>>>>             [ =C2=A0101.763598] rtai_math: Unknown symbol __fpclassi=
fyd
>>>>             (err 0)
>>>>             [ =C2=A0101.763612] rtai_math: Unknown symbol rt_smp_cur=
rent
>>>>             (err 0)
>>>>             [ =C2=A0101.763621] rtai_math: Unknown symbol rtai_cpu_l=
ock
>>>>             (err 0)
>>>>             [ =C2=A0101.763632] rtai_math: Unknown symbol strtod (er=
r 0)
>>>>             [ =C2=A0101.763643] rtai_math: Unknown symbol infinity (=
err 0)
>>>>             [ =C2=A0101.763653] rtai_math: Unknown symbol gamma_r (e=
rr 0)
>>>>             [ =C2=A0101.763665] rtai_math: Unknown symbol strtof (er=
r 0)
>>>>             [ =C2=A0101.763675] rtai_math: Unknown symbol infinityf =
(err 0)
>>>>             [ =C2=A0101.763686] rtai_math: Unknown symbol
>>>>             _GLOBAL_OFFSET_TABLE_ (err 0)
>>>>             [ =C2=A0101.763696] rtai_math: Unknown symbol _dl_hwcap =
(err 0)
>>>>             [ =C2=A0101.763707] rtai_math: Unknown symbol __signbitd=
 (err 0)
>>>>
>>>>             //---------------------------
>>>>
>>>>             I tried many other configuration like:
>>>>             ubuntu 14.04 with kernel-4.1.18 with rtai-5.0
>>>>             ubuntu 14.04 with kernel-3.10.32 with rtai-4.1
>>>>             Debian 8.9 with kernel-3.10.32 with rtai-4.1
>>>>             Debian 7.0.0 with kernel-3.10.32 with rtai-4.1
>>>>
>>>>             But all of it show the same error message.
>>>>
>>>>             Could anyone give me some guid on solve those problem?
>>>>             Or, could you share your successful experience with
>>>>             rtai_math.ko to me?
>>>>
>>>>
>>>>             Best Regards
>>>>             Guo Issac
>>>>             From ShangHang. China.
>>>>
>>>>
>>>>
>>>>             _______________________________________________
>>>>             Rtai mailing list
>>>>             [email protected] <mailto:[email protected]>
>>>>             https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>>>>             <https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai>
>>>
>>>
>>>
>>
>>
>
>


--------------904DFB376136120F2A7B486F
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <div class=3D"moz-cite-prefix">To configure MUSL care of the README
      found in the RTAI math subdir.<br>
      Paolo<br>
      <br>
      On 02/09/2018 02:28 PM, Guo Yunfei wrote:<br>
    </div>
    <blockquote type=3D"cite"
cite=3D"mid:CAN_Un=3DWR=3DqDkEBGSPH8sCrcQuXXxQkrnBpy1+82p5tdqkmu5_w@mail.=
gmail.com">
      <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Du=
tf-8">
      <div dir=3D"ltr">
        <div>So, I'll try:</div>
        <div>64-bit Debian 8.</div>
        <div>kernel 3.16.7</div>
        <div>rtai-5.1</div>
        <div>64-bit MUSL.</div>
        <div><br>
        </div>
        <div>Thanks</div>
      </div>
      <div class=3D"gmail_extra"><br>
        <div class=3D"gmail_quote">On Fri, Feb 9, 2018 at 8:47 PM, Paolo
          Mantegazza <span dir=3D"ltr">&lt;<a
              href=3D"mailto:[email protected]" target=3D"_blank=
"
              moz-do-not-send=3D"true">[email protected]</a>&gt;=
</span>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text=3D"#000000" bgcolor=3D"#FFFFFF">
              <div class=3D"m_-7907367982762922399moz-cite-prefix">First
                of you should use the just released RTAI-5.1.<br>
                It it does not work either, the recall that you can use
                also NEWLIB, MUSL and uCLIB.<br>
                On my side I cared most using 64 bits NEWLIB and MUSL.<sp=
an
                  class=3D"HOEnZb"><font color=3D"#888888"><br>
                    Paolo</font></span>
                <div>
                  <div class=3D"h5"><br>
                    <br>
                    On 02/09/2018 11:58 AM, Guo Yunfei wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class=3D"h5">
                  <blockquote type=3D"cite">
                    <div dir=3D"ltr">
                      <div>Dear Paolo:</div>
                      <div><br>
                      </div>
                      <div>I had tried the all the glibc and newlib =C2=A0=
and
                        =C2=A0uclibc =C2=A0and musl, want to build a avai=
lable
                        libm.a for the rtai_math.ko using.</div>
                      <div>I struggling on this many days, but never
                        success till now.</div>
                      <div><br>
                      </div>
                      <div>I'm using Debian 8. =C2=A0kernel-3.16.7, rtai-=
5.1.</div>
                      <div>It is almost same error message pop out with
                        rtai-4.1 or above.</div>
                      <div><br>
                      </div>
                      <div>I had try to using Debian 5. but failed to
                        install it into my PC. it may because of my PC
                        is a little too new.</div>
                      <div>Or , might I didn't download a suitable
                        Debian 5 cd image .</div>
                      <div><br>
                      </div>
                      <div>Could =C2=A0you give me some suggestion for th=
e
                        rtai_math.ko =C2=A0bulid successful on Debian 7 o=
r
                        above version?</div>
                      <div>Or, Could you share your Debian 5 download
                        address with me?</div>
                      <div><br>
                      </div>
                      <div>Many Thanks</div>
                      <div><br>
                      </div>
                      <div>Best Regards<br>
                        Guo Yunfei</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                    </div>
                    <div class=3D"gmail_extra"><br>
                      <div class=3D"gmail_quote">On Wed, Feb 7, 2018 at
                        8:52 PM, Paolo Mantegazza <span dir=3D"ltr">&lt;<=
a
                            href=3D"mailto:[email protected]"
                            target=3D"_blank" moz-do-not-send=3D"true">pa=
[email protected]</a>&gt;</span>
                        wrote:<br>
                        <blockquote class=3D"gmail_quote" style=3D"margin=
:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text=3D"#000000" bgcolor=3D"#FFFFFF">
                            <div
                              class=3D"m_-7907367982762922399m_8459613757=
452751471moz-cite-prefix">I
                              retested the math kernel test with the
                              only (old) 32 bits system I've and it
                              worked for me.<br>
                              The installation I used is a bit outdated:
                              Debian 5.0, gcc=C2=A0 4.3.2, libxxx 2.7, wi=
th
                              libm.a found in /usr/lib/libm.a. <br>
                              In any case I used Linux 4.1.18. <br>
                              At the moment I can only suggest to try
                              with newlib or musl. Alternatively try a
                              more recent RTAI-version.<span
                                class=3D"m_-7907367982762922399HOEnZb"><f=
ont
                                  color=3D"#888888"><br>
                                  Paolo</font></span>
                              <div>
                                <div class=3D"m_-7907367982762922399h5"><=
br>
                                  <br>
                                  <br>
                                  On 02/07/2018 01:24 PM, Guo Yunfei
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <div>
                              <div class=3D"m_-7907367982762922399h5">
                                <blockquote type=3D"cite">
                                  <div dir=3D"ltr"><span
                                      style=3D"font-size:12.8px">I set
                                      =C2=A0the Mathfuns support in Kerne=
l to
                                      enable</span>
                                    <div style=3D"font-size:12.8px">using
                                      item 3, it is GLIBC.</div>
                                    <div style=3D"font-size:12.8px">then =
I
                                      give the libm.a path to
                                      /usr/lib/i386-linux-gnu.</div>
                                    <div style=3D"font-size:12.8px">for I
                                      find the libm.a in that path
                                      exactly.</div>
                                    <div style=3D"font-size:12.8px"><br>
                                    </div>
                                    <div style=3D"font-size:12.8px">Many
                                      thanks to Paolo.</div>
                                  </div>
                                  <div class=3D"gmail_extra"><br>
                                    <div class=3D"gmail_quote">On Wed, Fe=
b
                                      7, 2018 at 7:04 PM, Paolo
                                      Mantegazza <span dir=3D"ltr">&lt;<a
href=3D"mailto:[email protected]" target=3D"_blank"
                                          moz-do-not-send=3D"true">paolo.=
[email protected]</a>&gt;</span>
                                      wrote:<br>
                                      <blockquote class=3D"gmail_quote"
                                        style=3D"margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex">
                                        <div text=3D"#000000"
                                          bgcolor=3D"#FFFFFF">
                                          <div
class=3D"m_-7907367982762922399m_8459613757452751471m_5574068749004868000=
moz-cite-prefix">How
                                            did you configure the RTAI
                                            math lib to use?<br>
                                            Paolo
                                            <div>
                                              <div
                                                class=3D"m_-7907367982762=
922399m_8459613757452751471h5"><br>
                                                <br>
                                                On 02/07/2018 11:54 AM,
                                                Guo Yunfei wrote:<br>
                                              </div>
                                            </div>
                                          </div>
                                          <blockquote type=3D"cite">
                                            <div>
                                              <div
                                                class=3D"m_-7907367982762=
922399m_8459613757452751471h5">
                                                <div dir=3D"ltr">
                                                  <div><br>
                                                  </div>
                                                  <div>Hi. Everybody.</di=
v>
                                                  <div><br>
                                                  </div>
                                                  <div>I get trouble
                                                    with rtai_math.ko
                                                    for a long time.</div=
>
                                                  <div>I'm using 32bit
                                                    Debian 8.9.0 with
                                                    kernel-4.1.18 with
                                                    rtai-5.0.</div>
                                                  <div>I setup the math
                                                    funtion in kernel
                                                    item enable.</div>
                                                  <div>The libm.a path
                                                    was setting to
                                                    /usr/lib/i386-linux-g=
nu.
                                                    set as 3, using
                                                    glibc-libm.a</div>
                                                  <div><br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div>When I make the
                                                    rtai-5.0, some
                                                    warning message
                                                    always pop out like
                                                    below:</div>
                                                  <div><br>
                                                  </div>
                                                  <div>//----------------=
------------<wbr>-----------------------------</div>
                                                  <div>Making all in
                                                    math</div>
                                                  <div>make[3]: Entering
                                                    directory
                                                    '/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math'</div>
                                                  <div>make[4]: Entering
                                                    directory
                                                    '/media/guoissac/13GD=
ATA/linux<wbr>-4.1.18'</div>
                                                  <div>=C2=A0 CC [M]
                                                    =C2=A0/media/guoissac=
/13GDATA/rtai-<wbr>5.0/base/math/libm.o</div>
                                                  <div>=C2=A0 LD [M]
                                                    =C2=A0/media/guoissac=
/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.o</div>
                                                  <div>=C2=A0 Building
                                                    modules, stage 2.</di=
v>
                                                  <div>=C2=A0 MODPOST 1
                                                    modules</div>
                                                  <div>WARNING: "remquo"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "erfcf"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "ynf"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "erfc"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "frexp"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "logbf"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "y1"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "expm1f"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING:
                                                    "__signbitd"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "trunc"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div><br>
                                                  </div>
                                                  <div>....</div>
                                                  <div>....</div>
                                                  <div>....</div>
                                                  <div><br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div>WARNING: "exp2f"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING:
                                                    "lroundf"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "asinh"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "cosh"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "sqrt"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "log"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "fabs"
                                                    [/media/guoissac/13GD=
ATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "fmodf"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>WARNING: "expm1"
[/media/guoissac/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko]
                                                    undefined!</div>
                                                  <div>=C2=A0 CC =C2=A0 =C2=
=A0
                                                    =C2=A0/media/guoissac=
/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.mod.o</div>
                                                  <div>=C2=A0 LD [M]
                                                    =C2=A0/media/guoissac=
/13GDATA/rtai-<wbr>5.0/base/math/rtai_math.ko</div>
                                                  <div>make[4]: Leaving
                                                    directory
                                                    '/media/guoissac/13GD=
ATA/linux<wbr>-4.1.18'</div>
                                                  <div>mv rtai_math.ko
                                                    rtai_math.ko.tmp</div=
>
                                                  <div>ld -r -static -o
                                                    rtai_math.ko
                                                    rtai_math.ko.tmp
                                                    /usr/lib/i386-linux-g=
nu/libm.a</div>
                                                  <div>rm -f
                                                    rtai_math.ko.tmp</div=
>
                                                  <div>//----------------=
------------<wbr>------------------------------<wbr>---</div>
                                                  <div><br>
                                                  </div>
                                                  <div>If I not care of
                                                    above warning
                                                    message. go on
                                                    insmod rtai_math.ko.<=
/div>
                                                  <div>the error message
                                                    pop out like below:</=
div>
                                                  <div>//----------------=
------------<wbr>----</div>
                                                  <div><br>
                                                  </div>
                                                  <div>insmod: ERROR:
                                                    could not insert
                                                    module rtai_math.ko:
                                                    Unknown symbol in
                                                    module</div>
                                                  <div><br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div>//----------------=
------------</div>
                                                  <div><br>
                                                  </div>
                                                  <div>Then I dmesg, it
                                                    showing like below:</=
div>
                                                  <div><br>
                                                  </div>
                                                  <div>//----------------=
------------<wbr>---------------</div>
                                                  <div>[ =C2=A0101.763572=
]
                                                    rtai_math: Unknown
                                                    symbol gammaf_r (err
                                                    0)</div>
                                                  <div>[ =C2=A0101.763584=
]
                                                    rtai_math: Unknown
                                                    symbol errno (err 0)<=
/div>
                                                  <div>[ =C2=A0101.763598=
]
                                                    rtai_math: Unknown
                                                    symbol __fpclassifyd
                                                    (err 0)</div>
                                                  <div>[ =C2=A0101.763612=
]
                                                    rtai_math: Unknown
                                                    symbol
                                                    rt_smp_current (err
                                                    0)</div>
                                                  <div>[ =C2=A0101.763621=
]
                                                    rtai_math: Unknown
                                                    symbol rtai_cpu_lock
                                                    (err 0)</div>
                                                  <div>[ =C2=A0101.763632=
]
                                                    rtai_math: Unknown
                                                    symbol strtod (err
                                                    0)</div>
                                                  <div>[ =C2=A0101.763643=
]
                                                    rtai_math: Unknown
                                                    symbol infinity (err
                                                    0)</div>
                                                  <div>[ =C2=A0101.763653=
]
                                                    rtai_math: Unknown
                                                    symbol gamma_r (err
                                                    0)</div>
                                                  <div>[ =C2=A0101.763665=
]
                                                    rtai_math: Unknown
                                                    symbol strtof (err
                                                    0)</div>
                                                  <div>[ =C2=A0101.763675=
]
                                                    rtai_math: Unknown
                                                    symbol infinityf
                                                    (err 0)</div>
                                                  <div>[ =C2=A0101.763686=
]
                                                    rtai_math: Unknown
                                                    symbol
                                                    _GLOBAL_OFFSET_TABLE_
                                                    (err 0)</div>
                                                  <div>[ =C2=A0101.763696=
]
                                                    rtai_math: Unknown
                                                    symbol _dl_hwcap
                                                    (err 0)</div>
                                                  <div>[ =C2=A0101.763707=
]
                                                    rtai_math: Unknown
                                                    symbol __signbitd
                                                    (err 0)</div>
                                                  <div><br>
                                                  </div>
                                                  <div>//----------------=
-----------</div>
                                                  <div><br>
                                                  </div>
                                                  <div>I tried many
                                                    other configuration
                                                    like:</div>
                                                  <div>ubuntu 14.04 with
                                                    kernel-4.1.18 with
                                                    rtai-5.0</div>
                                                  <div>ubuntu 14.04 with
                                                    kernel-3.10.32 with
                                                    rtai-4.1</div>
                                                  <div>Debian 8.9 with
                                                    kernel-3.10.32 with
                                                    rtai-4.1</div>
                                                  <div>Debian 7.0.0 with
                                                    kernel-3.10.32 with
                                                    rtai-4.1</div>
                                                  <div><br>
                                                  </div>
                                                  <div>But all of it
                                                    show the same error
                                                    message.</div>
                                                  <div><br>
                                                  </div>
                                                  <div>Could anyone give
                                                    me some guid on
                                                    solve those problem?<=
/div>
                                                  <div>Or, could you
                                                    share your
                                                    successful
                                                    experience with
                                                    rtai_math.ko to me?</=
div>
                                                  <div><br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div>Best Regards</div>
                                                  <div>Guo Issac=C2=A0</d=
iv>
                                                  <div>From ShangHang.
                                                    China.</div>
                                                  <div><br>
                                                  </div>
                                                </div>
                                                <br>
                                                <fieldset
class=3D"m_-7907367982762922399m_8459613757452751471m_5574068749004868000=
mimeAttachmentHeader"></fieldset>
                                                <br>
                                              </div>
                                            </div>
                                            <pre>________________________=
______<wbr>_________________
Rtai mailing list
<a class=3D"m_-7907367982762922399m_8459613757452751471m_5574068749004868=
000moz-txt-link-abbreviated" href=3D"mailto:[email protected]" target=3D"_bla=
nk" moz-do-not-send=3D"true">[email protected]</a>
<a class=3D"m_-7907367982762922399m_8459613757452751471m_5574068749004868=
000moz-txt-link-freetext" href=3D"https://mail.rtai.org/cgi-bin/mailman/l=
istinfo/rtai" target=3D"_blank" moz-do-not-send=3D"true">https://mail.rta=
i.org/cgi-bin/<wbr>mailman/listinfo/rtai</a></pre>
                                          </blockquote>
                                          <p><br>
                                          </p>
                                        </div>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </blockquote>
                                <p><br>
                                </p>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <p><br>
                  </p>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------904DFB376136120F2A7B486F--

--===============2806294585215398572==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
--===============2806294585215398572==--