package not resolved Topic is solved

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
woodsb
Experienced Member
Posts: 75
Joined: Thu Nov 17, 2016 11:24 pm

package not resolved

Postby woodsb » Mon Oct 29, 2018 12:10 am

Hello:

I am trying to write a custom loader. My understanding from another forum thread (viewtopic.php?t=4643) is that to compile it I need to do something like:

Code: Select all

xcc -c <path to>/loader.xc -o <path to>/loader.o -target=XS1-U16A-128-FB217-C10
.

Since I have my own XN file, which works with other builds, I modified the above to use my XN file:

Code: Select all

 xcc -c <path to>/loader.xc -o <path to>/loader.o --target-file <path to>/myfile.xn


The compiler seems to parse the XN file correctly, but then yields the error:

Code: Select all

Error: XN11099 Package type "XS2-UnA-512-FB236" cannot be resolved to a package file.


I have sourced SetEnv in the current shell, so seem to have done what another thread suggests to solve this issue (viewtopic.php?t=4509), but with no luck.

Anyone have any tips?

I am on Ubuntu 16.04, xTimecomposer 14.3.3.

Thanks.
View Solution
User avatar
mon2
XCore Legend
Posts: 1282
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Mon Oct 29, 2018 11:35 am

Hi. Other developers in this forum are referencing Ubuntu 16.04 as a valid OS (although XMOS does not list this release) so this is appearing to be a compiler bug.

Please document and raise a ticket on the xmos.com website for a proper investigation.
woodsb
Experienced Member
Posts: 75
Joined: Thu Nov 17, 2016 11:24 pm

Postby woodsb » Mon Oct 29, 2018 2:35 pm

Okay, thanks.
woodsb
Experienced Member
Posts: 75
Joined: Thu Nov 17, 2016 11:24 pm

Postby woodsb » Mon Oct 29, 2018 10:46 pm

I seem to be up and running now. I modified the command to explicitly call out the package in use:

xcc -c myloader.xc -o myloader.o -target=XUF216-512-TQ128-C20

This executes without error.

Who is online

Users browsing this forum: No registered users and 31 guests