On Tue, 9 Aug 2011, Sebastian Kuzminsky wrote:
> 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?
Changed src/hal/utils/Submakefile and src/emc/sai/Submakefile to remove
extra "-l*" and $(CC) to $(CXX)
make clean then make completed without error
>
> Some of our C++ code seems to be incorrectly getting linked by gcc
> instead of g++.
>
> What version of gcc are you using?
[rray@rray3 src]$ gcc --version
gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
>> 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
>
------------------------------------------------------------------------------
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