Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: Link Errors for NDK GCC Build targeting ARM Cortex-A8

$
0
0

Per <http://e2e.ti.com/support/embedded/tirtos/f/355/p/310677/1080850.aspx#1080850>, NDK 2.23.00.00 supports GCC for the ARM Cortex-A8.  I created a simple project that includes SYSBIOS and NDK, and I am getting lots of undefined references from NDK objects at link time.  Most of them are undefined references to memory allocation functions--mmInit, mmAlloc, mmFree, etc.  Are these functions should defined in NDK?  If so, why wouldn't the linker be able to find them?  Or are they part of SYSBIOS?  If so, which module (I couldn't find them in the SYSBIOS API documentation). 

I believe everything necessary is being included, as the generated linker.cmd file has the following:

INPUT(
    "C:\Users\jwarr\workspace_v5_5\ecat_master\Debug\configPkg\package\cfg\app_pa8fg.oa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\hal\timer_bios\lib\hal_timer_bios.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\os\lib\os.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\hal\userled_stub\lib\hal_userled_stub.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\hal\eth_stub\lib\hal_eth_stub.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\tools\cgi\lib\cgi.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\tools\hdlc\lib\hdlc.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\tools\console\lib\console_min.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\netctrl\lib\netctrl_min.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\nettools\lib\nettool.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\hal\ser_stub\lib\hal_ser_stub.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\tools\servers\lib\servers_min.aa8fg"
    "C:\ti\ndk_2_23_00_00\packages\ti\ndk\stack\lib\stk6.aa8fg"
    "C:\Users\jwarr\workspace_v5_5\ecat_master\src\sysbios\sysbios.aa8fg"
    "C:\ti\xdctools_3_25_04_88\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg"
    "C:\ti\xdctools_3_25_04_88\packages\gnu\targets\arm\rtsv7A\lib\boot.aa8fg"
    "C:\ti\xdctools_3_25_04_88\packages\gnu\targets\arm\rtsv7A\lib\syscalls.aa8fg"
)

I am using the tool set as required per the NDK 2.23.00.00:

CC Studio 5.5

XDC 3.25.04.88

SYSBIOS 6.37.00.20

Any help would be much appreciated.

Thanks

--Josh Warr


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>