| 
 | 
 
用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决, |  q4 O6 V4 y  W- @4 N 
  PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE); 
2 A2 J+ E9 l( ]' } 
" g9 w# M/ g2 J$ ~( {" h( `报错如下:! S' Y# p+ U" r, z 
'Invoking: C6000 Linker'$ d) {/ V' }# E& c9 d8 a# L 
"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" 6 s: p' @3 s! K: i3 g+ O7 q 
<Linking>& m; c  q9 S; l4 b2 ^+ 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. 
# v# e0 t/ K1 B- l5 l8 v: O 
4 j  Z) S3 W6 I. [1 F" e3 Y>> Compilation failure 
3 \  w# m6 t* @3 g7 m& N3 t% a+ |7 gwarning #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. 
+ A/ ]/ Y! a1 w+ a 
" h* y: j. b+ I9 I9 C' r1 e undefined         first referenced5 N, c+ c" Q3 }1 B8 l( y; g' o 
  symbol               in file      
4 Z* ?- _" u( {# h2 @# b3 O ---------         ----------------8 L  d+ C" O/ g( d9 ? 
 _PSCModuleControl ./main.obj       |   
 
 
 
 |