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.

Build pspdrivers for C6747 in CCS4

Other Parts Discussed in Thread: OMAP-L138

Hello

 

I'm trying to build the pspdrivers_01_30_00_05 on CCS 4.1.0.02003, using the "import legacy 3.3 project", however i allways get the error "subdir.mk:76: *** target pattern contains no `%'.  Stop.".

Am i missing some option needed to build the drivers?

 

Thanks in advance.

Sergio Martins

  • Hi Sergio,

    I saw the same problem with the OMAP-L138 BSL examples. The problem is essentially that the conversion wizard creates bad search paths. Here's what I did to fix:

    I attempted to rebuild the test_audio example that comes with the Logic PD OMAP-L138 BSL in CCSv4.1, but when I rebuild I get the following error:

    **** Build of configuration Debug for project test_audio ****

    C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all subdir.mk:35: *** target pattern contains no '%'. Stop. Build complete for project test_audio

    How do I fix this?

    Environment: CCSv4.1, CGTools v6.1.12, OMAP-L138 BSL 1014013A (dated Aug. 21, 2009)


    Steps to fix: The conversion wizard is creating bad paths for the .obj, .out and .map files as well as two bad header include paths. To fix this follow the following steps:

    • Open the Project Properties (right click the project, select Properties)
    • Navigate to Basic Settings->C6000 Compiler->Directory Specifier and make sure the mode is automatic (or specify a valid object file directory)
    • Under Include Options update the last two directories to point to the actual location of the project's include folder and the BSL include folder
    • Navigate to Basic Settings->C6000 Linker->Basic Options and specify a valid output file name (probably project_name.out) and map file name (project_name.map)

    At this point you should not get the strange gmake errors, but you will still get a linker error. To correct the linker error open the linker_dsp.cmd file and update the relative path to the BSL file to an absolute path. You should now be able to completely build the project successfully.

    With that said, I have filed a bug SDSCM00034965 against the conversion wizard.