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.

新手对NDK中helloword调试出现错误的不解

Other Parts Discussed in Thread: CCSTUDIO

我使用的开发板是OMPL137,开发环境是CCS3.3,现在单个的文件能被编译,但是所有文件一起编译就会出现以下问题:

                   

>>   error: linking files for incompatible targets (library

            'C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib/lnkrtdx.a674',

            member 'rtdx.o674')

>>   error: linking files for incompatible targets (library

            'C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib/bios6747.a674',

            member 'clk.o674')

。。。。。。。

>>   error: linking files for incompatible targets (library

            'C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib/bios.a674',

            member 'knl_read.o674')

>>   error: linking files for incompatible targets (library

            'C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib/bios.a674',

            member 'hook_getenv.o674')

>> warning: creating output section $build.attributes without SECTIONS

            specification

>>   error: errors in input - ./bin/helloWorld.out not built

由于bios_5_31_02版本太低,我下了一个bios_5_33_06,将bios_5_33_06覆盖了原有的bios_5_31_02所有文件。

希望您能够帮助我上面的问题。期待您的回复!

谢谢!