|
Re: Failed to create lesson 5 [message #542766 is a reply to message #542730] |
Fri, 25 June 2010 23:15 |
Dave Russo Messages: 172 Registered: July 2009 |
Senior Member |
|
|
On 6/25/2010 11:09 AM, mans.0987@gmail.com wrote:
> Hello,
> I am new in RTSC and I tried to built lesson 5, but I am getting the
> following error:
>
[snip]
> configuring prog.x86GW from package/cfg/prog_x86GW.cfg ...
> Warning: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target
> 'gnu.targets.Mingw'
> [1,0,3.4,5] is not compatible with targets used to build the following
> packages
> ; package gnu.targets.rts86GW [in C:/ProgramFiles/RTSC/Texas
> Instruments/xdctool
> s_3_20_00_41/packages/gnu/targets/rts86GW/] was built using
> 'gnu.targets.Mingw'
> [1,0,4.4,0]
>
This warning indicates that the package gnu.targets.rts86GW was built
using the 4.4.0 version of mingw gcc but you are using version 3.4.5.
Theere is a good chance that this package's pre-built libraries are
incompatible with your toolchain.
> cl86GW prog.c ...
> cl86GW package/cfg/prog_x86GW.c ...
> lnk86GW prog.x86GW ...
> C:\ProgramFiles\RTSC\Texas
> Instruments\xdctools_3_20_00_41\packages\gnu\targets\
> rts86GW\lib\gnu.targets.rts86GW.a86GW(xdc_init.o86GW):xdc_in
> it.cpp:(.eh_frame+0x
> 11): undefined reference to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> gmake.exe: *** [prog.x86GW] Error 1
>
This is a gcc linker error that results from trying to mix objects built
using different incompatible versions of gcc object files.
> Can you please help me to find the problem?
You can either upgrade your Mingw compiler to 4.4 or rebuild the
gnu.targets.rts86GW package using your existing compiler.
To rebuild the rts86GW package see
http://rtsc.eclipse.org/docs-tip/Working_with_xdc.runtime It may seem
strange that we document rebuilding xdc.runtime when you want to rebuild
gnu.targets.rts86GW, but the gnu.targets.rts86GW package exists simply
to build the source contained in xdc.runtime. This is how we can
support _any_ C compiler while at the same time providing pre-built
libraries that work for (at least some) users.
>
> Regards
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03861 seconds