This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issues in Porting RVCT library to gcc toolchain(arm-none-gnueabi-gcc)

Note: This was originally posted on 18th May 2010 at http://forums.arm.com

Hi,
I am currently porting RVCT generated static library into arm gcc toolchain(arm-none-gnueabi-gcc). I am currently getting the following errors.

1. Undefined reference to all Math Functions(sin,cos,pow,exp etc), I have included math.h header file & also the path to libm.so.6 but still I am getting undefined reference error.

2. Undefined reference to __aeabi_memmove4 __aeabi_memcpy4 __aeabi_memclr4.

Can anyone help me in getting out of this problem? :mellow:
Parents
  • Note: This was originally posted on 25th November 2010 at http://forums.arm.com

    HI

    I am also trying to port RVCT2.2 static library to gcc tool chain.
    I have added the compiler option -Ono_memcpy & --no_hide_all.

    All undefined memcpy & strlen errors have gone.
    But I am still getting one error: unresolvable R_ARM_PLT32 relocation against symbol `memcpy@@VERS_1.17'

    Does anyone know the reason for it?

    Thanks
    Shashanka
Reply
  • Note: This was originally posted on 25th November 2010 at http://forums.arm.com

    HI

    I am also trying to port RVCT2.2 static library to gcc tool chain.
    I have added the compiler option -Ono_memcpy & --no_hide_all.

    All undefined memcpy & strlen errors have gone.
    But I am still getting one error: unresolvable R_ARM_PLT32 relocation against symbol `memcpy@@VERS_1.17'

    Does anyone know the reason for it?

    Thanks
    Shashanka
Children
No data