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.

compile error

Other Parts Discussed in Thread: OMAP3530

http://processors.wiki.ti.com/index.php/GSG:_OMAP35x_DVEVM_Software_Setup#Installing_the_software

GSG: OMAP35x DVEVM Software Setup   

Rebuilding the DVSDK software for the target

7. While in the same directory that contains Rules.make, use the following commands to build the DVSDK demo applications and put the resulting binaries on the target file system specified by EXEC_DIR.

    host $ make clean
    host $ make all
    host $ make install
Note : The make all command builds only the DVSDK demos, its dependent components and DVTB

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I try it make clean & make all.
But I get a error during the compile this.
My error message is

Linking interface from dec.o enc.o encdec.o main.o menu.o start.o tparty.o ../keypad.o ../uibuttons.o interface_config/linker.cmd..

make[3]: Leaving directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvsdk_demos_3_01_00_09/omap3530/interface'

make[2]: Leaving directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvsdk_demos_3_01_00_09/omap3530'

make[1]: Leaving directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvsdk_demos_3_01_00_09'

make -C /home/won/dvsdk/dvsdk_3_01_00_06/dvtb_4_20_04 omap3530 CODECS=TSPA

make[1]: Entering directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvtb_4_20_04'

********************************************

Building DVTB for omap3530...

********************************************

cd packages/ti/sdo/dvtb/omap3530/linux && make

make[2]: Entering directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvtb_4_20_04/packages/ti/sdo/dvtb/omap3530/linux'

XDCPATH="/home/won/dvsdk/dvsdk_3_01_00_06/cs1omap3530_1_01_00 /packages;/home/won/dvsdk/dvsdk_3_01_00_06/framework_components_2_25_01_05/packages;/home/won/dvsdk/dvsdk_3_01_00_06/codec_engine_2_25_01_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/dsplink_linux_1_65_00_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/xdais_6_25_01_08/packages;/home/won/dvsdk/dvsdk_3_01_00_06/linuxutils_2_25_01_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/linuxlibs_3_01/include;/home/won/dvsdk/dvsdk_3_01_00_06/local_power_manager_linux_1_24_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages/ti/bios/include;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages;" /home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/xs xdc.tools.configuro -c /home/won/toolchain/arm-2008q1 -o dvtb_omap3530 -t gnu.targets.arm.GCArmv5T -p ti.platforms.evm3530 -b config.bld dvtb_omap3530.cfg

/home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/packages/xdc/bld/xdc_rules.mak:161: *** The macro XDCPATH must not contain any spaces in pathnames.  stop.

Warning: directory "/home/won/dvsdk/dvsdk_3_01_00_06/cs1omap3530_1_01_00 /packages" on package path does not exist

js: "/home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

make[2]: *** [dvtb_omap3530] error 1

make[2]: Leaving directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvtb_4_20_04/packages/ti/sdo/dvtb/omap3530/linux'

make[1]: *** [OMAP3530_BUILD] error 2

make[1]: Leaving directory `/home/won/dvsdk/dvsdk_3_01_00_06/dvtb_4_20_04'

make: *** [dvtb] error 2

                       


How can I correct this error.
Help me.


  • There is a space character in the first component of XDCPATH, before '/packages'. I don't know in which file XDCPATH is defined, but that character should be removed.

    hyungchul won said:

    XDCPATH="/home/won/dvsdk/dvsdk_3_01_00_06/cs1omap3530_1_01_00 /packages;/home/won/dvsdk/dvsdk_3_01_00_06/framework_components_2_25_01_05/packages;/home/won/dvsdk/dvsdk_3_01_00_06/codec_engine_2_25_01_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/dsplink_linux_1_65_00_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/xdais_6_25_01_08/packages;/home/won/dvsdk/dvsdk_3_01_00_06/linuxutils_2_25_01_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/linuxlibs_3_01/include;/home/won/dvsdk/dvsdk_3_01_00_06/local_power_manager_linux_1_24_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages/ti/bios/include;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages;" /home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/xs xdc.tools.configuro -c /home/won/toolchain/arm-2008q1 -o dvtb_omap3530 -t gnu.targets.arm.GCArmv5T -p ti.platforms.evm3530 -b config.bld dvtb_omap3530.cfg

    /home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/packages/xdc/bld/xdc_rules.mak:161: *** The macro XDCPATH must not contain any spaces in pathnames.  stop.

    Warning: directory "/home/won/dvsdk/dvsdk_3_01_00_06/cs1omap3530_1_01_00 /packages" on package path does not exist

                          

    
    

  • hi

    i had the similar issue. I had installed ccs in /op/ti.

    I fixed it by manually setting the XDCPATH in file /opt/ti/xdctools_3_25_03_72/packages/xdc/bld/xdc_rules.mak line 97 to /opt/ti/xdctools_3_25_03_72/packages

  • Try to set XDCPATH manually

    Warning: directory "/home/won/dvsdk/dvsdk_3_01_00_06/cs1omap3530_1_01_00 /packages" on package path does not exist

    this itself mean that your path may have some extra character in .mk file. try to set it properly.