|  | 
 
| 用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决# ~( Z( F, n# t PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);( L) M; h5 E2 Q) w  r' O- O7 E
 + Z2 E+ w0 r0 E
 报错如下:
 + l8 L1 c  k9 u8 T( l'Invoking: C6000 Linker'
 ) r+ T- F6 K3 [8 [9 u"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" " B7 P. I1 h4 f2 h1 T
 <Linking>
 7 N# Y3 ^: x6 h2 I' w1 L: e5 Dwarning #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.
 9 L7 }% g- J) y; j/ Z$ p2 N- P4 x
 : |( R1 T. n" `# @5 N$ i>> Compilation failure
 " a" ^9 d% k( T+ C! hwarning #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.
 3 }; Q% a* b5 g8 m9 D1 c6 c6 Q  \/ A# f& `
 undefined         first referenced& b8 x7 D, {1 g) G
 symbol               in file     % O8 v+ o: c  s0 p/ ?8 P" A% W% K
 ---------         ----------------
 5 c* Z: A$ N9 V* r8 j/ U) B _PSCModuleControl ./main.obj
 | 
 |