Hi everyone, I seem to be having the same problem as Alex. It's my first time trying to do a local build. I'm using an up-to-date Ubuntu 16.04 virtual machine.
Eric ... make[4]: Leaving directory '/home/erictheise/Repos/erictheise/gnucash/build/src/import-export/log-replay' Making all in test make[4]: Entering directory '/home/erictheise/Repos/erictheise/gnucash/build/src/import-export/test' /bin/bash ../../../libtool --tag=CC --mode=link gcc -I../../../../src -I../../../../src/gnc-module -I../../../../src/test-core -I../../../../src/engine -I../../../../src/app-utils -I../../../../src/import-export -I../../../../src/libqof/qof -I../../../../src/engine/test-core -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/guile/2.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -std=gnu11 -g -g -o test-import-pending-matches test_import_pending_matches-test-import-pending-matches.o ../../../src/libqof/qof/libgnc-qof.la ../../../src/engine/ libgncmod-engine.la ../libgncmod-generic-import.la ../../../src/engine/test-core/libgncmod-test-engine.la ../../../src/test-core/libtest-core.la -lgio-2.0 -lgthread-2.0 -pthread -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm libtool: link: gcc -I../../../../src -I../../../../src/gnc-module -I../../../../src/test-core -I../../../../src/engine -I../../../../src/app-utils -I../../../../src/import-export -I../../../../src/libqof/qof -I../../../../src/engine/test-core -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/guile/2.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -std=gnu11 -g -g -o .libs/test-import-pending-matches test_import_pending_matches-test-import-pending-matches.o -pthread -Wl,--export-dynamic -pthread ../../../src/libqof/qof/.libs/libgnc-qof.so ../../../src/engine/.libs/libgncmod-engine.so ../.libs/libgncmod-generic-import.so ../../../src/engine/test-core/.libs/libgncmod-test-engine.a /home/erictheise/Repos/erictheise/gnucash/build/src/engine/.libs/libgncmod-engine.so /home/erictheise/Repos/erictheise/gnucash/build/src/gnc-module/.libs/libgnc-module.so /home/erictheise/Repos/erictheise/gnucash/build/src/core-utils/.libs/libgnc-core-utils.so -lpthread -lguile-2.0 -lgc /home/erictheise/Repos/erictheise/gnucash/build/src/libqof/qof/.libs/libgnc-qof.so -lboost_regex ../../../src/test-core/.libs/libtest-core.so -lgio-2.0 -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lm -pthread -Wl,-rpath -Wl,/home/erictheise/Repos/erictheise/gnucash/build/lib -Wl,-rpath -Wl,/home/erictheise/Repos/erictheise/gnucash/build/lib/gnucash /usr/bin/ld: ../../../src/engine/test-core/.libs/libgncmod-test-engine.a(test-engine-stuff.o): undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3' //usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:838: recipe for target 'test-import-pending-matches' failed make[4]: *** [test-import-pending-matches] Error 1 make[4]: Leaving directory '/home/erictheise/Repos/erictheise/gnucash/build/src/import-export/test' Makefile:777: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/erictheise/Repos/erictheise/gnucash/build/src/import-export' Makefile:597: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/erictheise/Repos/erictheise/gnucash/build/src' Makefile:826: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/erictheise/Repos/erictheise/gnucash/build' Makefile:680: recipe for target 'all' failed make: *** [all] Error 2 erictheise@erictheise-VirtualBox:~/Repos/erictheise/gnucash/build$ On Tue, Jul 11, 2017 at 10:49 AM, Alex Aycinena <alex.aycin...@gmail.com> wrote: > Geert, > > > > Odd I don't get this on my system (Fedora 25 as well). > > > > The linker is having issues resolving "__gxx_personality_v0". The > internet > > cites two common issues for this: > > - either a library is missing > > - or the sequence of libraries on the command line is wrong (a symbol to > > resolve should appear after the source in which it's being imported). > > > > For the first I option I don't have many clues. The symbol is defined in > > libstdc++. You could check whether it's installed on your system, > including > > the devel package. > > > > > Both libstdc++ and libstdc++-devel are installed > > > > > If it's a case of out of order mentioning of link libraries, we could use > > my > > system as a reference as I don't have the issue. > > > > Below is the full command issued to build test-import-pending-matches: > > > > > The two differences I found are > > > > -g -O2 -std=gnu11 > > > > mine says: > > -g -std=gnull -g -g > > Mine doesn't have: > > > -lsecret-1 > > > > > > > > > > > Do you see any differences with yours ? > > > > I don't know if the two items above have any bearing or why they would be > different. > > > > > > Others may be able to give you more direct help. I'm not very fluent in > > linker > > stuff I'm afraid... > > > > Geert > > > > Neither am I but thanks for your help. > > Alex > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel