|
用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决4 f x7 @# U0 t" j
PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);
3 J t4 }$ Q+ m% b; S
3 j; ~; E$ [3 c报错如下:2 Y* z5 b/ g7 ^* G
'Invoking: C6000 Linker'
8 u: P! O7 d( C"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" & I1 J4 b" p3 X# G8 l3 W
<Linking>
3 O) C& a" b$ l o% g7 A+ p. 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.
- T7 k* Y9 d {) X) V7 R+ C& p7 ]& h
>> Compilation failure
3 Y, P8 g9 j* mwarning #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.7 v* \* ^( c a9 U1 o
1 H1 N9 U: V; }1 s& o undefined first referenced9 R1 W( p( R: I: Q
symbol in file
- X) i* C) }: y. H5 O6 i; y( N --------- ----------------
; O, ?6 Y- }! U/ p: z+ A. ~ _PSCModuleControl ./main.obj |
|