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.

Rebuilding Syslib with XDC

Other Parts Discussed in Thread: SYSBIOS

Hello,

I am trying to rebuild syslib_3_00_00_01 using XDC 3_25_00_48 and am getting the following error: "Package name 'syslib' does not match directory name C:\TI\syslib_3_00_00_01.  I see how in other subsystems, such as agent, the package name matches the directory name.  But I don't see how this would be the case here. 

I am avoiding changing the folder name so that I don't destroy any paths to it.  Additionally, I found the package_syslib.c file with has __xdc_PKGNAME syslib in it.  I tried changing this to be the same name as the directory but had no luck there either.

Any advice on how to fix this issue would be greatly appreciated.

Sincerely,

John Demery

 

  • John,
    you have to either the change the name of the directory or change the name of the package in package.xdc file to be syslib_3_00_00_01. The second option is pretty bad because any user of your package would have to keep changing his source code whenever the version of your syslib package changes.

    A common solution for that problem for RTSC products is to encode the version number in the top directory, which does not contain any package. Then, there is a subdirectory 'packages' where RTSC packages are kept. For example, SYS/BIOS 6.35.02.45 is installed in bios_6_35_02_45, and then in its subdirectory 'packages, there is a package ti.sysbios.