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.

FastRTS on Linux

Has anyone built the FastRTS library on Linux for the DM6446? 

I've tried and get the following errors but am tols it should be possible.

 Building archive "fastrts62x64x.src" --> "fastrts62x64x.lib"
>> File "adddp.obj" already exists
>> File "addsp.obj" already exists
>> File "divc30.obj" already exists
>> Directory contains files which would be overwritten
   if the archive is built.  Move/delete the files, or
   use the --k option which will overwrite them
designeng2@005267L:~/i2i-3/DM6446/tracker/codecs/myviddec/c6400/mthlib/lib$ mk6x --k fastrts62x64x.src
 Building archive "fastrts62x64x.src" --> "fastrts62x64x.lib"
"divdp.asm", ERROR!   at line 27: [E1000] Include/Copy file not found or opened
        .include divc30.asm    ; \

"divdp.asm", ERROR!   at line 28: [E1000] Include/Copy file not found or opened
        .include mpy62.asm    ;  > all 3 are called by "dpdiv1.asm"

"divdp.asm", ERROR!   at line 29: [E1000] Include/Copy file not found or opened
        .include flt64.asm    ; /

3 Assembly Errors, No Assembly Warnings

Errors in Source - Assembler Aborted

>> Compilation failure
>> Archive "fastrts62x64x.lib" not built

 

  • Micheal,

    There is a known issue with the C62x/C64x fastRTS when you try to rebuild it from its source. The issue is that when the build tries to extract a file <divdp.asm> file that requires <mpy62.asm>, <divc30.asm>,  and <flt64.asm>, and is not able to find them anywhere.

    In order to workaround this issue, extract the above functions using the archiver before rebuilding it:

    ar6x -x fastrts62x64x.src flt64.asm

    ar6x -x fastrts62x64x.src mpy62.asm

    mk6x --k --c fastrts62x64x.src -l fastrts64x.lib (or any other library you want)

    If building for big endian, just add -me:

    mk6x --k --c fastrts62x64x.src -me -l fastrts64xe.lib

    This procedure works for both Code Generation Tools 6.x.x.

    Please let us know if this works for you

    Regards,

    Rahul

  • So the instructions in section 2.4 of the FastRTS Programmer's Reference are incomplete? 

    How to Rebuild the FastRTS Library

    If you want to rebuild the FastRTS library (for example, because you modified

    the source file contained in the archive), you must use the mk6x utility as follows

    for little-endian and big-endian versions:

    mk6x fastrts62x64x.src -l fastrts62x64x.lib

    mk6x -me fastrts62x64x.src -l fastrts62x64xe.lib

     

  • Yes, unfortunately they are incomplete in the existing form. We have filed a known issue for this and will fix this in the next release.

    Regards,

    Rahul