package not resolved Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
woodsb
Experienced Member
Posts: 79
Joined: Thu Nov 17, 2016 11:24 pm

package not resolved

Post 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.


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

Post 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.
woodsb
Experienced Member
Posts: 79
Joined: Thu Nov 17, 2016 11:24 pm

Post by woodsb »

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

Post 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.
Post Reply