Home » Archived » DSDP - Real-Time Software Components (RTSC) » Incompatibility xdc.corevers warning when building application
Incompatibility xdc.corevers warning when building application [message #941] |
Fri, 06 February 2009 20:31 |
Arnie Reynoso Messages: 1 Registered: July 2009 |
Junior Member |
|
|
An issue has been reported when building an application using XDCTOOLS.
The following error/warning is issued:
------------------------------------------
Warning: incompatible use of package 'xdc.corevers': imported xdc.corevers
[16,0,0,1,1203621227324], ti.rtdx was built with xdc.corevers [16, 0, 1,
0]; incompatible use of package 'xdc': imported xdc
[1,1,0,0,1203621209308], ti.rtdx was built with xdc [1, 1, 1, 0]
Adding the following line to your configuration script:
environment['xdc.cfg.check.fatal'] = 'false';
converts this incompatibility error into a warning. Please, check the
documentation for the package xdc.cfg for more information.
-----------------------------------------------
Is this issue due to the fact that XDCTools used to build the application
are incompatible with the version of XDCTOOLS used to build the ti.rtdx
package. I'm still trying to determine what version of XDCTOOLS the
ti.rtdx package was built with.
The application seems to successfully build. Are there any implication
expected due to error/warning?
Is there a way to get rid of this error/warning message, short of having
to (I suspect) re-build (or request a re-build of) the ti.rdtx package
with the same XDCTOOLS?
|
|
|
Re: Incompatibility xdc.corevers warning when building application [message #1001 is a reply to message #941] |
Tue, 10 February 2009 15:31 |
Dave Russo Messages: 172 Registered: July 2009 |
Senior Member |
|
|
Arnie Reynoso wrote:
> An issue has been reported when building an application using XDCTOOLS.
> The following error/warning is issued:
>
> ------------------------------------------
> Warning: incompatible use of package 'xdc.corevers': imported
> xdc.corevers [16,0,0,1,1203621227324], ti.rtdx was built with
> xdc.corevers [16, 0, 1, 0]; incompatible use of package 'xdc': imported
> xdc [1,1,0,0,1203621209308], ti.rtdx was built with xdc [1, 1, 1, 0]
>
> Adding the following line to your configuration script:
>
> environment['xdc.cfg.check.fatal'] = 'false';
>
> converts this incompatibility error into a warning. Please, check the
> documentation for the package xdc.cfg for more information.
> -----------------------------------------------
>
> Is this issue due to the fact that XDCTools used to build the
> application are incompatible with the version of XDCTOOLS used to build
> the ti.rtdx package. I'm still trying to determine what version of
> XDCTOOLS the ti.rtdx package was built with.
>
> The application seems to successfully build. Are there any implication
> expected due to error/warning?
>
> Is there a way to get rid of this error/warning message, short of having
> to (I suspect) re-build (or request a re-build of) the ti.rdtx package
> with the same XDCTOOLS?
>
>
The original message is only a warning, not an error. So, setting
environment['xdc.cfg.check.fatal'] = 'false';
is unnecessary; the check is already not fatal.
The warning indicates that the package ti.rtdx was built using a newer
version of the xdc tools which have new APIs (the change third digit in
the compatibility key indicates that new functions available when
ti.rtxd was built are not available with the tools you are using).
This type of warning can usually be safely ignored. If ti.rtdx really
needs the new functionality you'll likely get errors when it is used.
So why warn at all? Because later failures are often very cryptic. By
emitting a warning you have a clue in the event of later errors.
You can disable _all_ checks for specific packages. In your case, you
can disable checks for the ti.rtdx package. See
http://rtsc.eclipse.org/docs-tip/Compatibility_Keys#Controll ing_Compatibility_Key_Checks
for how to do this.
|
|
|
Goto Forum:
Current Time: Wed Apr 24 18:09:53 GMT 2024
Powered by FUDForum. Page generated in 0.03416 seconds
|