| 
 | 
 
用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决 
- L4 q9 Q4 e* U. I! _; Q  PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);$ p$ w0 F' F( I+ E; {- N 
 
6 q+ e& }: u7 {报错如下:' b$ ]' w0 w2 H7 r' n0 r) V: e 
'Invoking: C6000 Linker'/ U4 d  p' @2 W" c+ T 
"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"  
! q3 X1 l3 @- u& |4 K% e6 Y<Linking>9 O2 @* d4 [+ ]+ j8 W 
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. 
+ E5 l2 v4 P3 J' R1 Z% y 
. p- p6 F5 ?# ]5 ]" s$ e" F>> Compilation failure 
1 @5 b' E- Y2 owarning #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. 
+ U  V% W5 c. j4 A8 O- o( N+ H( G2 ]) i$ g' s* ]" J# H2 O* \  c 
 undefined         first referenced 
! f$ t, U4 }- I, b/ m: O  symbol               in file      
* {8 \4 b( o# C% p0 D# L ---------         ---------------- 
  N4 ~$ V6 {. t# Q- Y _PSCModuleControl ./main.obj       |   
 
 
 
 |