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.

I build MIDAS v2.0 Deom. make error - execvp : Permission denied.

Other Parts Discussed in Thread: MIDAS

Hi, I'm chul.

I try build MIDAS V2.0 Demo.

I have a problem.

http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo#PSP_and_DVSDK.C2.A0Setup

I try compile MIDAS Ultrasound v2.0 Demo - Contents 11. Build MIDAS step 10.

host $ make midas

I get a error message blow.

won@ubuntu:~/midas$ make midas
make[1]: Entering directory `/home/won/midas/ultrasound/servers/mud'
rm -rf mud.x64P servers_mud.tar *.obj package package.* *DataSheet.html mud *.map
make[1]: Leaving directory `/home/won/midas/ultrasound/servers/mud'
make[1]: Entering directory `/home/won/midas/ultrasound/servers/mud'
XDCPATH="/home/won///midas/ultrasound;/home/won///midas/ultrasound;/home/won/dvsdk/dvsdk_3_01_00_06/codec_engine_2_25_01_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/framework_components_2_25_01_05/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/cs1omap3530_1_01_00/packages;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/biosutils_1_02_02/packages;/packages;/home/won/dvsdk/dvsdk_3_01_00_06/edma3_lld_01_11_00_03/packages;/home/won/dvsdk/dvsdk_3_01_00_06/local_power_manager_linux_1_24_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/codec_engine_2_25_01_06/packages/ti;/home/won/dvsdk/dvsdk_3_01_00_06/xdais_6_25_01_08/packages/ti/xdais;/home/won///midas/ultrasound/algos/scu;/home/won///midas/ultrasound/algos/bpu;/home/won///midas/ultrasound/algos/dpu;/home/won///midas/ultrasound/algos" /home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/xs xdc.tools.configuro -c /home/won/dvsdk/dvsdk_3_01_00_06/cg6x_6_0_16 -o mud \
-t ti.targets.C64P -p ti.platforms.evm3530 -b /home/won///midas/ultrasound/servers/serverconfig.bld \
--tcf mud.cfg
making package.mak (because of package.bld) ...
serverconfig.bld: Running the version from midas/ultrasound/servers
generating interfaces for package mud (because package/package.xdc.inc is older than package.xdc) ...
configuring mud.x64P from package/cfg/mud_x64P.cfg ...
platform = ti.platforms.evm3530
ti.sdo.fc.dskt2: This module no longer supports the .debug or the .trace config params. Set desired profile for all FC modules as follows: xdc.useModule('ti.sdo.fc.global.Settings').profile = "debug" or set profiles for individual packages like this: xdc.loadPackage('ti.sdo.fc.dskt2').profile = "debug"; .
Will default the 'release' profile, if no other set
ti.sdo.ce.ipc.bios.close(): loading dsplink.dsp

NOTE: You can find the complete server data sheet in ./package/info/mud.x64P.DataSheet.html
-------------------------------------------------------------------------------------------

will link with dpu:c64P/dpuCEpkg.lib;c64P/utilCEpkg.lib
will link with bpu:c64P/bpu.l64P;c64P/utilCEpkg.lib
will link with scu:c64P/scu.l64P
will link with ti.sdo.ce.universal:lib/release/universal.a64P
will link with ti.sdo.ce.bioslog:lib/release/bioslog.a64P
will link with ti.sdo.ce:lib/release/ce.a64P
will link with ti.sdo.ce.alg:lib/release/Algorithm_BIOS.a64P
will link with ti.sdo.ce.ipc.bios:lib/release/ipc_bios.a64P
will link with ti.sdo.ce.osal.bios:lib/osal_bios.a64P
will link with ti.sdo.ce.osal.bios:lib/osal_bios_pwrm.a64P
will link with ti.bios.utils:lib/utils.a64P
will link with ti.sdo.fc.acpy3:lib/release/acpy3.a64P
will link with ti.sdo.fc.memutils:lib/release/memutils.a64P
will link with ti.sdo.fc.dman3:lib/release/dman3Cfg.a64P
will link with ti.sdo.fc.dskt2:lib/debug_trace/dskt2.a64P
will link with ti.sdo.ce.utils.xdm:lib/release/XdmUtils.a64P
will link with ti.sdo.ce.node:lib/release/node.a64P
will link with ti.sdo.utils.trace:lib/release/gt.a64P
cl64P package/cfg/mud_x64P.c ...
asm64P package/cfg/mud_x64Pcfg.s62 ...
cl64P package/cfg/mud_x64Pcfg_c.c ...
/home/won/dvsdk/dvsdk_3_01_00_06/cg6x_6_0_16 /bin/cl6x -@ mud/compiler.opt -c main.c
make[1]: execvp: /home/won/dvsdk/dvsdk_3_01_00_06/cg6x_6_0_16: Permission denied
make[1]: *** [main.obj] Error 127
make[1]: Leaving directory `/home/won/midas/ultrasound/servers/mud'
make: *** [midas] Error 2

please, I would like to know the solution to this problem.

Thank you

  • Hello chul,

    This error is specific to your setup environment. Here's a suggestion I found online searching for "execvp permission denied." I quote below from this link.

    "If you see an error like this when you run make, it means make is attempting to execute a directory, not a program. Which means you probably have extra spacing in one of your variables in your config/make files.

    Run the command:

     make -n 

    which will print the commands that would be executed, but does not execute them. This will help you diagnose make file problems"