On 08/09/2011 01:09 PM, [email protected] wrote:
> Linking rs274
> gcc -L/home/rray/emc2-dev/lib -Wl,-rpath,/home/rray/emc2-dev/lib -o
> ../bin/rs274 objects/emc/sai/saicanon.o objects/emc/sai/driver.o
> objects/emc/rs274ngc/tool_parse.o ../lib/librs274.so.0 -Wall -g -I.
> -I/home/rray/emc2-dev/src/include -DULAPI -D_GNU_SOURCE -Os
> -DLOCALE_DIR=\"/usr/share/locale\" -DPACKAGE=\"emc2\"
> /usr/bin/ld: objects/emc/sai/saicanon.o: undefined reference to symbol
> '__gxx_personality_v0@@CXXABI_1.3'
> /usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO
> /usr/lib/libstdc++.so.6 so try adding it to the linker command line
> /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make: *** [../bin/rs274] Error 1
> make: Leaving directory `/home/rray/emc2-dev/src'
>
> So in src/emc/sai/Submakefile on CC line I added "-lstdc++" and compile
> completed

Looks like you found another bug in our build system.  Would you try 
reverting that Submake file to the original, then change the $(CC) to 
$(GXX) and see if that works?

Some of our C++ code seems to be incorrectly getting linked by gcc 
instead of g++.

What version of gcc are you using?


> And I have emc 2.6.0~pre running on Fedora 13

Great!  And thanks for the bug reports and the testing help!


-- 
Sebastian Kuzminsky


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to