|
用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决
2 Y- T7 c! q5 a# z- ]/ u5 t1 F9 Z PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);# \ P4 O$ I. K" G- T: e2 ^5 v0 K {
+ \2 ~& T3 ?7 g- y) M3 f7 U0 U报错如下:
' g6 _0 w+ `7 ?5 d1 F$ a: p! H$ z) v6 r'Invoking: C6000 Linker'! L# q1 T0 j7 s1 O4 g/ ?
"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"
* l7 N6 G0 m6 ?* j<Linking>& E2 E8 c5 l9 ^( ?; p
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.
0 x/ u0 d( H; L1 _. V+ {7 {$ |1 k7 y/ q3 y% z! ], w
>> Compilation failure. x" `, ^# e( u- Y; ]9 @( _3 P; ^. P
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 }! u D4 }. r" g. {6 u
& K% M& i; ~. O9 O3 N undefined first referenced- r9 s; v3 o u& i
symbol in file
9 F* ^# M7 K. x4 _6 E- w/ r. [ --------- ----------------) n/ Y; T% t$ |& N
_PSCModuleControl ./main.obj |
|