TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320C6678: Rebuild NDK组件报错

Part Number:TMS320C6678Other Parts Discussed in Thread:SYSBIOS

C:\ti\ndk_3_61_01_01>gmake -f ndk.mak
building ndk packages …
making all: Sat Sep 18 09:48:52 2021 …
======== .interfaces [./packages/ti/ndk] ========
======== .interfaces [./packages/ti/ndk/hal/eth_stub] ================ .interfaces [./packages/ti/ndk/config] ========
======== .interfaces [./packages/ti/ndk/hal/ser_stub] ========
======== .interfaces [./packages/ti/ndk/hal/timer_bios] ========
======== .interfaces [./packages/ti/ndk/hal/userled_stub] ========
======== .interfaces [./packages/ti/ndk/netctrl] ========
======== .interfaces [./packages/ti/ndk/nettools] ========
making package.mak (because of package.bld) …
making package.mak (because of package.bld) …making package.mak (because of package.bld) …
making package.mak (because of package.bld) …
making package.mak (because of package.bld) …
making package.mak (because of package.bld) …
making package.mak (because of package.bld) …
making package.mak (because of package.bld) …
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/hal/ser_stub,.interfaces] Error 2
xdctools_3_60_02_34_core\gmake.exe: *** Waiting for unfinished jobs….
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/hal/eth_stub,.interfaces] Error 2
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/netctrl,.interfaces] Error 2
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
C:\ti\ccs930\xdctools_3_60_02_34_core\xs.exe: error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.8.0 or greater); e.g., 'C:\Program Files\Java\jre-1.8.0_66'.
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk,.interfaces] Error 2
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/config,.interfaces] Error 2
gmake[1]: *** No rule to make target 'package.mak', needed by '.interfaces'. Stop.
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/nettools,.interfaces] Error 2
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/hal/timer_bios,.interfaces] Error 2
xdctools_3_60_02_34_core\gmake.exe: *** [C:/ti/ccs930/xdctools_3_60_02_34_core\packages\xdc\bld\xdc_top.mak:389: packages/ti/ndk/hal/userled_stub,.interfaces] Error 2
gmake: *** [ndk.mak:125: all] Error 2

C:\ti\ndk_3_61_01_01>

Nancy Wang:

参考以下链接的解决方案看一下:

https://e2e.ti.com/support/legacy_forums/embedded/tirtos/f/ti-rtos-forum-read-only-archived/523925/the-environment-variable-xdctools_java_home-is-set-but-does-not-appear-to-be-a-directory-containing-a-64-bit-java-runtime-environment-1-7-or-greater

,

xuyan chang:

我在使用NDK组件报错  这些错误明显是没有include 相应的头文件 但是我在CCS里按F3可以找到对应的头文件 ,请问这和没有Rebuild有关系吗

**** Build of configuration Debug for project NDK ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 12 all -O 已复制 1 个文件。making ../src/sysbios/sysbios.ae66 …gmake[1]: Nothing to be done for 'all'.Building file: "../source/ndk.c"Invoking: C6000 Compiler"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/bin/cl6x" -mv6600 –include_path="C:/ti/ndk_3_61_01_01/packages" –include_path="F:/DSPpjt/NDK" –include_path="C:/ti/bios_6_76_03_01/packages/ti/posix/ccs" –include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/include" -g –diag_warning=225 –diag_wrap=off –display_error_number –preproc_with_compile –preproc_dependency="source/ndk.d_raw" –obj_directory="source" –cmd_file="configPkg/compiler.opt" "../source/ndk.c" >> Compilation failuresource/subdir_rules.mk:9: recipe for target 'source/ndk.obj' failed"C:\ti\ndk_3_61_01_01\packages\ti\ndk\inc\netctrl/netctrl.h", line 208: error #93: identifier-list parameters may only be used in a function definition"C:\ti\ndk_3_61_01_01\packages\ti\ndk\inc\netctrl/netctrl.h", line 230: error #20: identifier "uint32_t" is undefined"C:\ti\ndk_3_61_01_01\packages\ti\ndk\inc\netctrl/netctrl.h", line 230: error #20: identifier "uint32_t" is undefined"C:\ti\ndk_3_61_01_01\packages\ti\ndk\inc\netctrl/netctrl.h", line 230: error #20: identifier "uint32_t" is undefined"C:\ti\ndk_3_61_01_01\packages\ti\ndk\inc\netctrl/netsrv.h", line 63: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 119: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 152: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 172: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 188: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 200: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 211: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 228: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 228: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 228: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 237: error #20: identifier "NTPARAM_TELNET" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 248: error #20: identifier "NTPARAM_HTTP" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 256: error #20: identifier "NTPARAM_NAT" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 264: error #20: identifier "NTPARAM_DHCPS" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 272: error #20: identifier "NTPARAM_DHCP" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 297: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 298: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 299: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 318: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 319: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 320: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 353: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 354: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 355: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 358: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 359: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/netcfg.h", line 389: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 229: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 230: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 230: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 259: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 309: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 310: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 310: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 310: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 420: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 420: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 421: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 475: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 475: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 530: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 530: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 531: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 617: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 617: error #20: identifier "uint32_t" is undefined"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/configif.h", line 618: error #20: identifier "uint32_t" is undefined"../source/ndk.c", line 26: warning #225-D: function "NC_Systemopen" declared implicitly"../source/ndk.c", line 26: error #20: identifier "OS_SCHEDULER_LOWPRI" is undefined"../source/ndk.c", line 27: warning #225-D: function "cfgnew" declared implicitly"../source/ndk.c", line 27: warning #145-D: a value of type "int" cannot be used to initialize an entity of type "void *""../source/ndk.c", line 28: warning #225-D: function "Strlen" declared implicitly"../source/ndk.c", line 28: warning #169-D: argument of type "char *" is incompatible with parameter of type "unsigned char *"51 errors detected in the compilation of "../source/ndk.c".gmake: *** [source/ndk.obj] Error 1Building file: "../main.c"Invoking: C6000 Compiler"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/bin/cl6x" -mv6600 –include_path="C:/ti/ndk_3_61_01_01/packages" –include_path="F:/DSPpjt/NDK" –include_path="C:/ti/bios_6_76_03_01/packages/ti/posix/ccs" –include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/include" -g –diag_warning=225 –diag_wrap=off –display_error_number –preproc_with_compile –preproc_dependency="main.d_raw" –cmd_file="configPkg/compiler.opt" "../main.c"Finished building: "../main.c" gmake: Target 'all' not remade because of errors.

**** Build Finished ****

,

Nancy Wang:

该链接中的rebuild NDK的文档参考过了吗?

e2e.ti.com/…/faq-how-do-you-rebuild-the-ndk

错误提示没有找到标识符的定义,您能从代码中找到所在定义的头文件的话,只能建议您重新include头文件再进行编译来解决该错误。

,

xuyan chang:

感谢,重新下载了一个带JRE的XDCTOOLS解决了 

,

Nancy Wang:

感谢分享解决方法!

赞(0)
未经允许不得转载:TI中文支持网 » TMS320C6678: Rebuild NDK组件报错
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1