|Re: Failed to create lesson 5 [message #542766 is a reply to message #542730]
||Fri, 25 June 2010 23:15
| Dave Russo
Registered: July 2009
On 6/25/2010 11:09 AM, firstname.lastname@example.org wrote:|
> I am new in RTSC and I tried to built lesson 5, but I am getting the
> following error:
> configuring prog.x86GW from package/cfg/prog_x86GW.cfg ...
> Warning: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target
> [1,0,3.4,5] is not compatible with targets used to build the following
> ; package gnu.targets.rts86GW [in C:/ProgramFiles/RTSC/Texas
> s_3_20_00_41/packages/gnu/targets/rts86GW/] was built using
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 ...
> 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.
Powered by FUDForum
. Page generated in 0.03070 seconds