This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TM4C1292NCPDT: NDK build error

Part Number: TM4C1292NCPDT

Tool/software: TI-RTOS

Hi,

I am using TI RTOS 2.16.01.14, NDK ndk_2_25_00_09, SYS/BIOS bios_6_45_03_32 and XDC tool xdctools_3_32_00_06_core.

I edited ndk.mak file. I tried to build NDK using the command gmake -f ndk.mak. The xdctools_3_32_00_06_core path is set as environment variable and so the gmake in xdctools_3_32_00_06_core is running. While building I am getting as shown below in the console.

"Warning: Target specification 'native' does not match any loaded target module.
No target modules were loaded."

After a clean build only, this warning comes. If it is builded second time, this warning is not coming.NDK_build_files.zip

What may be the reason for this warning?

I am attaching my ndk.mak file, ndk.bld file and console log.

Please help me to resolve this.

Regards

Sandra

  • Hi Sandra,

    Thanks for the details on your set up, as well as for attaching that zip file.

    This warning is usually seen if no compiler has been specified for the target that you're trying to build for.

    I took a look at your ndk.mak file and I think you may have a mistake in there:

    ti.targets.arm.elf.M4 ?==C:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update
    ti.targets.arm.elf.M4F ?=
    ti.targets.arm.elf.R5F ?=

    gnu.targets.arm.M3 ?=
    gnu.targets.arm.M4 ?=

    Can you please try  changing that to be:

    ti.targets.arm.elf.M4 ?==
    ti.targets.arm.elf.M4F ?=
    ti.targets.arm.elf.R5F ?=

    gnu.targets.arm.M3 ?=
    gnu.targets.arm.M4 ?=C:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update

    (Since you're building with the GCC compiler, you would need to specify the compiler path for the GNU M4 target)

    Steve

  • Hi Steve,

    Thank you very much for the support. When I used a higher version of xdc tool instead of what I used, it is compiling.

    Regards
    Sandra