|  | 
 
| 用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决 & e' e) i7 f% T! k" N! O* y6 {  PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);! h+ a8 G$ {5 d7 U  K
 ! A# ]# n5 n3 C7 G7 u! z( F
 报错如下:
 9 s8 K2 c/ t! `  e'Invoking: C6000 Linker'8 w# Q, D* Q/ |2 ~
 "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"
 / u" g4 k" |4 B: X9 M<Linking>
 6 a: d/ Z* R9 L$ |* wwarning #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.
 ! F2 U3 R, N! d; a5 P# J3 K& e! v3 b' i; G# \  u% h% h
 >> Compilation failure1 g" o: j1 P7 W- K" j0 U% w& X
 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.
 * |" z1 |/ w0 |+ x; `' U4 X  S7 h2 f& S# H: _9 X. l
 undefined         first referenced4 C; b. c  }+ e/ z, c% Q% ^
 symbol               in file     ) Q+ R$ a3 `+ q4 W
 ---------         ----------------
 / \* M8 k# S* s* r _PSCModuleControl ./main.obj
 | 
 |