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.

CSLr for C6748

 

I tried to build the CSLr library for C6748  But received this error:

 

$ gmake libs # Making c674:debug:bios_psp_psc c:/TI/xdctools_3_23_00_32/gmake -C C:/TI/BIOSPSP_03_00_01_00/drivers/psc PLATFORM=c6748-evm CORE=c6xdsp PROFILE_c6xdsp=debug gmake[1]: Entering directory `C:/TI/BIOSPSP_03_00_01_00/drivers/psc' C:/TI/xdctools_3_23_00_32/bin/mkdir -p obj/c6748-evm/674/debug C:/TI/xdctools_3_23_00_32/bin/mkdir -p obj/c6748-evm/674/debug/.deps # Compiling src/Psc.c to obj/c6748-evm/674/debug/Psc.oe674 ... C:/TI/C6000C~1.1/bin/cl6x -ppd=obj/c6748-evm/674/debug/.deps/Psc.P -c -qq -pdsw225 -mv6740 --abi=elfabi -mo -eo.oe674 -ea.se674 --symdebug:dwarf  -Dxd c_target_name__=C674  -Dxdc_bld__profile_debug -D_DEBUG_=1 -Dxdc_target_types__=ti/targets/elf/std.h -Dxdc_bld__vers_1_0_7_2_0_10271 -mi10 -dCHIP_C674 8       -IC:/TI/C6000C~1.1/include -I. -IC:/TI/bios_6_33_01_25/packages -IC:/TI/xdctools_3_23_00_32/packages -IC:/TI/BIOSPSP_03_00_01_00 -IC:/TI/BIOSP SP_03_00_01_00/drivers -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart/src -IC:/TI/BIOSPSP_03_00_01_00/drivers/mcbsp  -IC:/TI/BIOSPSP_03_00_01_00/drivers/mcbsp/src -IC:/TI/BIOSPSP_03_00_01_00/cslr -fr=obj/c6748-evm/674/debug -fs=obj/c6748-evm/674/debug -fc src/Psc.c process_begin: CreateProcess(NULL, C:/TI/C6000C~1.1/bin/cl6x -ppd=obj/c6748-evm/674/debug/.deps/Psc.P -c -qq -pdsw225 -mv6740 --abi=elfabi -mo -eo.oe6 74 -ea.se674 --symdebug:dwarf -Dxdc_target_name__=C674 -Dxdc_bld__profile_debug -D_DEBUG_=1 -Dxdc_target_types__=ti/targets/elf/std.h -Dxdc_bld__vers_ 1_0_7_2_0_10271 -mi10 -dCHIP_C6748 -IC:/TI/C6000C~1.1/include -I. -IC:/TI/bios_6_33_01_25/packages -IC:/TI/xdctools_3_23_00_32/packages -IC:/TI/BIOSPS P_03_00_01_00 -IC:/TI/BIOSPSP_03_00_01_00/drivers -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart/src -IC:/TI/BIOSPS P_03_00_01_00/drivers/mcbsp -IC:/TI/BIOSPSP_03_00_01_00/drivers/mcbsp/src -IC:/TI/BIOSPSP_03_00_01_00/cslr -fr=obj/c6748-evm/674/debug -fs=obj/c6748-e vm/674/debug -fc src/Psc.c, ...) failed. make (e=2): The system cannot find the file specified. gmake[1]: *** [obj/c6748-evm/674/debug/Psc.oe674] Error 2 gmake[1]: Leaving directory `C:/TI/BIOSPSP_03_00_01_00/drivers/psc' gmake: *** [bios_psp_psc] Error 2

 

Which file or files are missing

 

 

  • Hatem,

    Do you have a way to make the formatting look like what you see on the screen? At the worst, you could insert shift-enter at each of the line breaks. I see embedded comments in the long string of characters, and that makes it impossible to know what is being commented out without the line formatting.

    The error message says "The system cannot find the file specified. gmake[1]: *** [obj/c6748-evm/674/debug/Psc.oe674]", so my guess is that is the file that is missing.

    Regards,
    RandyP

  • Hi RandyP

     

    The error message again with individual line separated by blank lines

     

    $ gmake libs # Making c674:debug:bios_psp_psc

    c:/TI/xdctools_3_23_00_32/gmake -C C:/TI/BIOSPSP_03_00_01_00/drivers/psc PLATFORM=c6748-evm CORE=c6xdsp PROFILE_c6xdsp=debug

    gmake[1]: Entering directory `C:/TI/BIOSPSP_03_00_01_00/drivers/psc'

    # Compiling src/Psc.c to obj/c6748-evm/674/debug/Psc.oe674 ...

    C:/TI/C6000C~1.1/bin/cl6x -ppd=obj/c6748-evm/674/debug/.deps/Psc.P -c -qq -pdsw225 -mv6740 --abi=elfabi -mo -eo.oe674 -ea.se674 --symdebug:dwarf  -Dxdc_target_name__=C674  -Dxdc_bld__profile_debug -D_DEBUG_=1 -Dxdc_targe t_types__=ti/targets/elf/std.h -Dxdc_bld__vers_1_0_7_2_0_10271 -mi10 -dCHIP_C6748       -IC:/TI/C6000C~1.1/include -I. -IC:/TI/bios_6_33_01_25/packages -IC:/TI/xdctools_3_23_00_32/packages -IC:/TI/BIOSPSP_03_00_01_00 -IC :/TI/BIOSPSP_03_00_01_00/drivers -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart/src -IC:/TI/BIOSPSP_03_00_01_00/drivers/mcbsp -IC:/TI/BIOSPSP_03_00_01_00/drivers/mcbsp/src -IC:/TI/BIOSP SP_03_00_01_00/cslr -fr=obj/c6748-evm/674/debug -fs=obj/c6748-evm/674/debug -fc src/Psc.c

    process_begin: CreateProcess(NULL, C:/TI/C6000C~1.1/bin/cl6x -ppd=obj/c6748-evm/674/debug/.deps/Psc.P -c -qq -pdsw225 -mv6740 --abi=elfabi -mo -eo.oe674 -ea.se674 --symdebug:dwarf -Dxdc_target_name__=C674 -Dxdc_bld__prof ile_debug -D_DEBUG_=1 -Dxdc_target_types__=ti/targets/elf/std.h -Dxdc_bld__vers_1_0_7_2_0_10271 -mi10 -dCHIP_C6748 -IC:/TI/C6000C~1.1/include -I. -IC:/TI/bios_6_33_01_25/packages -IC:/TI/xdctools_3_23_00_32/packages -IC: /TI/BIOSPSP_03_00_01_00 -IC:/TI/BIOSPSP_03_00_01_00/drivers -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart -IC:/TI/BIOSPSP_03_00_01_00/drivers/uart/src -IC:/TI/BIOSPSP_03_00_01_00/drivers/mcbsp -IC:/TI/BIOSPSP_03_00_01_00/driv ers/mcbsp/src -IC:/TI/BIOSPSP_03_00_01_00/cslr -fr=obj/c6748-evm/674/debug -fs=obj/c6748-evm/674/debug -fc src/Psc.c, ...) failed.

    make (e=2): The system cannot find the file specified.

    gmake[1]: *** [obj/c6748-evm/674/debug/Psc.oe674] Error 2

    gmake[1]: Leaving directory `C:/TI/BIOSPSP_03_00_01_00/drivers/psc'

    gmake: *** [bios_psp_psc] Error 2

     

    Can you tell which file is missing?

    My guess is    src/Psc.c

    This is where the build stopped.

     

    Hatem

     

  • Hi

     

    I am still waiting for help on this issue so that I can rebuild the library.

     

    Hatem

  • Hatem,

    Looking at the cmd line the PATH to the compiler is wrong.
    You need to change the different PATH in env.mk (in \pdk_C6748_2_0_0_0\biospsp_03_00_01_00\makerules) so that the different SW packages needed can be found (Compiler, XDC tools, ..etc).
    See the C6748 PSP user's guide for more info.

    Anthony