Page 1 of 1

package not resolved

Posted: Mon Oct 29, 2018 12:10 am
by woodsb
Hello:

I am trying to write a custom loader. My understanding from another forum thread (http://www.xcore.com/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 (http://www.xcore.com/viewtopic.php?t=4509), but with no luck.

Anyone have any tips?

I am on Ubuntu 16.04, xTimecomposer 14.3.3.

Thanks.

Re: package not resolved

Posted: Mon Oct 29, 2018 11:35 am
by mon2
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.

Re: package not resolved

Posted: Mon Oct 29, 2018 2:35 pm
by woodsb
Okay, thanks.

Re: package not resolved

Posted: Mon Oct 29, 2018 10:46 pm
by woodsb
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.