On Tue, Jul 11, 2017 at 3:29 PM, Eric Theise <ericthe...@gmail.com> wrote:
> 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$ > > As an update on this issue, I have been able to build with autotools and, through a process of elimination, have discovered that the problem occurs when I use the --enable-debug configure switch, but not otherwise. In other words: ../gnucash/configure --srcdir=/home/gnucash-dev/gitcheckouts/gnucash --prefix=/opt/gnucash-git/gnucash --enable-debug --enable-doxygen --enable-error-on-warning --enable-compile-warnings=yes --with-dbi-dbd-dir=/usr/lib64/dbd --enable-ofx --enable-aqbanking --enable-locale-specific-tax --enable-python fails make with the indicated error while: ../gnucash/configure --srcdir=/home/gnucash-dev/gitcheckouts/gnucash --prefix=/opt/gnucash-git/gnucash --enable-doxygen --enable-error-on-warning --enable-compile-warnings=yes --with-dbi-dbd-dir=/usr/lib64/dbd --enable-ofx --enable-aqbanking --enable-locale-specific-tax --enable-python succeeds through make, make check and, as root, make install. I don't know why though. Alex _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel