building master

John Ralls jralls at ceridwen.us
Fri Apr 21 14:21:39 EDT 2017


> On Apr 21, 2017, at 10:00 AM, Alex Aycinena <alex.aycinena at gmail.com> wrote:
> 
> Hi,
> 
> I have been unable to spend any time on gnucash for several weeks but am
> about to get started again. I checked out master anew but when I tried to
> build it, I get:
> 
> /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/lib64/libstdc++.so.6: error adding symbols: DSO missing from command
> line
> collect2: error: ld returned 1 exit status
> Makefile:839: recipe for target 'test-import-pending-matches' failed
> make[4]: *** [test-import-pending-matches] Error 1
> make[4]: Leaving directory
> '/home/gnucash-dev/gitcheckouts/gnucash-clean-new-build/src/import-export/test'
> 
> This is on Fedora 25 and I know Geert does his development on Fedora. Is
> anybody else seeing this? Is there a new dependency that has been added
> that I missed?

Alex,


Looks like autotools picked the wrong compiler for a C++ object. See http://stackoverflow.com/questions/6045809/link-error-undefined-reference-to-gxx-personality-v0-and-g. Geert and I have both switched to cmake & ninja-build; there's no issue there so it might be a typo in that directory's Makefile.am.

On the other hand Geert just merged his C++ rewrite of src/import-export/imp-csv, so if you have installed libs that are getting linked in that could cause the error too.

Regards,
John Ralls



More information about the gnucash-devel mailing list