This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

fatal error #16000

Hi there,

For historical reasons, I need a COFF output.

Please indicate ways to solve the following error:  (OS=WinXP SP3,  CCS=v5.1.0, CGT=v4.9.1.0)

<Linking>
fatal error #16000: object files have incompatible formats
   ("C:/ti/ccsv5/tools/compiler/tms470/lib/rtsv5_A_le_eabi.lib<copy_zero_init.o
   bj>" = ELF, "./vrec_vip_util.obj" = TI-COFF)

>> Compilation failure
gmake: *** [debug/shl.out] Error 1
gmake: Target `main-build' not remade because of errors.

Thanks & regards,

Yulin.

  • [TMS470 Compiler]
    -mv5e -g -O2 --define="_DEBUG" --define="__ARCH_DM365__" --define="DVR_SLICE=VS_5" --include_path="C:/ti/ccsv5/tools/compiler/tms470/include" --include_path="d:/prj/mtg/PicOS" --include_path="d:/prj/mtg/sys" --include_path="d:/prj/mtg/app" --include_path="d:/prj/mtg/shl/api" --diag_warning=225 --diag_error=225 --display_error_number -me --abi=ti_arm9_abi --code_state=32

    [TMS470 Linker]
    -mv5e -g -O2 --define="_DEBUG" --define="__ARCH_DM365__" --define="DVR_SLICE=VS_5" --diag_warning=225 --diag_error=225 --display_error_number -me --abi=ti_arm9_abi --code_state=32 -z -m"debug/shl.map" --stack_size=256 --heap_size=256 --warn_sections -i"C:/ti/ccsv5/tools/compiler/tms470/lib" --reread_libs --absolute_exe --rom_model

    If rtsv5_A_le_eabi.lib is removed from [TMS470 Linker]/[File Search Path]/[--library], errors are:
    <Linking>
    warning #10366-D: automatic library build: using library
       "C:\ti\ccsv5\tools\compiler\tms470\lib\rtsv5_A_le_tiarm9.lib" for the first
       time, so it must be built.  This may take a few minutes.
    c:/metade~1/hcarc/bin/gmake.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x7c92100b)
    >> ERROR: mklib: gmake error during rtsv5_A_le_tiarm9.lib build
    fatal error: cannot open input file
       'c:/docume~1/yulin/locals~1/temp/ticaaf~1/obj/wchar.if': No such file or
       directory

    >> Compilation failure
    warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to "C:\ti\ccsv5\tools\compiler\tms470\lib\rtsv5_A_le_tiarm9.lib", but "C:\ti\ccsv5\tools\compiler\tms470\lib\rtsv5_A_le_tiarm9.lib" was not found
    warning #10062-D: entry-point symbol "_c_int00" undefined

     undefined                 first referenced                                              
      symbol                       in file                                                   
     ---------                 ----------------                                              
     C$MEMCPY                  D:/prj/mtg/picos/pos.davinci.lib<dbg.obj>                     
     C_MEMCPY                  ./vrec_vip_icx076.obj                                         
    ...
    error #10234-D: unresolved symbols remain

    >> Compilation failure

    Thanks,
    Yulin.

  • set PATH=C:/ti/ccsv5/utils/bin;C:/ti/ccsv5/utils/cygwin;C:/ti/ccsv5/tools/compiler/tms470/bin
    set TEMP=C:/ti/ccsv5/tools/compiler/tms470/lib/build

    mkdir build

    mklib -v --tmpdir=build --pattern=rtsv5_A_le_tiarm9.lib