|
用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决0 \0 V2 I4 f4 ~
PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);
3 S' B) X+ H6 a2 M8 m; T, \% l+ _ w: W9 U, D' ^' u
报错如下:7 ?$ m$ q6 H3 |4 {2 ^& g% f
'Invoking: C6000 Linker'
1 x( Q1 @$ j* s"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 --abi=coffabi -g --define=omapl138 --display_error_number --diag_warning=225 --diag_wrap=off -z --stack_size=0x800 -m"HelloWorld.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --reread_libs --define=DSP_CORE=1 --warn_sections --display_error_number --diag_wrap=off --xml_link_info="HelloWorld_linkInfo.xml" --rom_model -o "HelloWorld.out" -l"./configPkg/linker.cmd" "./main.obj" "../OMAPL138.cmd" -l"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\c674x\cgt\omapl138\drivers\Debug\drivers.lib" -l"libc.a" 1 y1 R( u, s, @: ~$ p9 x D
<Linking>
9 x! X4 b7 h4 g3 a3 r' Y! R% Xwarning #10373-D: library "C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\c674x\cgt\omapl138\drivers\Debug\drivers.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.2 F/ j& l3 H1 K& A* _+ h
) a& A" i3 E3 K( H% ~
>> Compilation failure T/ {2 A, F" E2 a; q; T( ]/ [% m: Z$ J+ O
warning #10373-D: library "C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\c674x\cgt\omapl138\drivers\Debug\drivers.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.2 w; O- t! K. w! Q
5 d% X( S9 G4 I5 {0 v! \' ~& B
undefined first referenced9 L" A" _1 `& k5 V x. q
symbol in file 9 B- p4 W! r# q9 E0 Z( M- Q
--------- ----------------8 V% \1 m& P; ~8 j7 ?
_PSCModuleControl ./main.obj |
|