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.

CCS/PROCESSOR-SDK-AM335X: "gmake: *** No rule to make target" error for PDK examples

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Code Composer Studio

Hello,

I'm trying to build the PDK example projects for a Beaglebone Black using CCS Version 8.2.0.00007 on Windows. The PDK is pdk_am335x_1_0_12. When I build any of the example projects I get "gmake: *** No rule to make target" errors. 

As an example here is the output from the GPIO_LedBlink_bbbAM335x_armTestProject. The paths shown in the output don't appear to be valid. The source files actually reside in 'C:/ti/pdk_am335x_1_0_12/packages/ti/drv/gpio/... Any suggestions? Is there a place to correct the path?

**** Build of configuration Debug for project GPIO_LedBlink_bbbAM335x_armTestProject ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

subdir_rules.mk:37: recipe for target 'build-861389649' failed

gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/src/am335x/GPIO_bbbAM335x_board.c', needed by 'GPIO_bbbAM335x_board.o'.

gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/am335x/armv7/bios/am335x_app_bbbam335x.cfg', needed by 'configPkg/linker.cmd'.

gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/src/GPIO_log.c', needed by 'GPIO_log.o'.

gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/soc/am335x/GPIO_soc.c', needed by 'GPIO_soc.o'.

gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/uart/soc/am335x/UART_soc.c', needed by 'UART_soc.o'.

gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/src/main_led_blink.c', needed by 'main_led_blink.o'.

gmake[1]: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/am335x/armv7/bios/am335x_app_bbbam335x.cfg', needed by 'build-861389649-inproc'.

gmake[1]: Target 'build-861389649-inproc' not remade because of errors.

gmake: *** [build-861389649] Error 2

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Thanks,

Kevin R.

.

  • I changed the path of the files to absolute paths in Project ->Properties->Linked Resources->Linked Resources and then I was able to compile OK. I'm not sure why the original paths were wrong but that fixed it and the program runs OK now.

    Kevin R.

  • Kevin,

    The path to the source files don't appear to be correct.

    Kevin Roche said:
    gmake: *** No rule to make target 'C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/src/am335x/GPIO_bbbAM335x_board.c', needed by 'GPIO_bbbAM335x_board.o'.

    The path to the source file here shows C:/ti/ccsv8/eclipse/PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/src/am335x/GPIO_bbbAM335x_board.c, which is incorrect. I would expect it to be something like PDK_INSTALL_PATH/ti/drv/gpio/test/led_blink/src/am335x/GPIO_bbbAM335x_board.c where PDK_INSTALL_PATH resolves to <pdk_install_dir>/packages.

    Please ensure you are carefully following the steps documented here for creating PDK projects.