|
|
用CCS编程序 想使用以下函数,库连接报不识别, ELF与TI-COFF 不兼容 如何解决, p: q( s7 N& P1 C
PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON, PSC_MDCTL_NEXT_ENABLE);7 s2 }) E$ m& l& f0 r) \4 l9 d) q3 h
7 \' y \ p8 s N报错如下:
% S1 R% p" w( w; q'Invoking: C6000 Linker'/ [; S2 ?5 T, t* P5 H! P
"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"
4 B. a Y. @( ?$ e0 J<Linking>
@* `7 V7 s @' 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.2 \ j; G) F7 E* M$ [
. N5 ]4 D I$ x>> Compilation failure$ s7 A/ }' Y7 Y& f
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.* _0 f. h/ |9 a$ s
5 ~) Q3 `3 w4 z& ?& ~& Y7 x undefined first referenced! n, O5 V/ M1 A9 n8 Y2 \1 ~, D
symbol in file
' r! N0 }& ^! K --------- ----------------
# L/ ^/ Q6 F; i; @& H5 u _PSCModuleControl ./main.obj |
|