compile errors

Alex Aycinena alex.aycinena at gmail.com
Sat Nov 19 13:26:08 EST 2016


On Sat, Nov 19, 2016 at 10:09 AM, John Ralls <jralls at ceridwen.us> wrote:

>
> > On Nov 19, 2016, at 9:34 AM, Alex Aycinena <alex.aycinena at gmail.com>
> wrote:
> >
> >
> >
> > On Fri, Nov 18, 2016 at 4:50 PM, John Ralls <jralls at ceridwen.us> wrote:
> >
> > > On Nov 18, 2016, at 2:49 PM, John Ralls <jralls at ceridwen.us> wrote:
> > >
> > >
> > >> On Nov 18, 2016, at 12:53 PM, Alex Aycinena <alex.aycinena at gmail.com>
> wrote:
> > >>
> > >>
> > >>
> > >> On Thu, Nov 17, 2016 at 5:10 PM, John Ralls <jralls at ceridwen.us
> <mailto:jralls at ceridwen.us>> wrote:
> > >>
> > >>> On Nov 17, 2016, at 4:54 PM, Alex Aycinena <alex.aycinena at gmail.com<
> mailto:alex.aycinena at gmail.com>> wrote:
> > >>>
> > >>> Hi,
> > >>>
> > >>> I get the following compile errors today:
> > >>>
> > >> <snip>
> > >>>
> > >>> Am I missing a library or something?
> > >>
> > >> Alex,
> > >>
> > >> That didn't take long! ;-)
> > >>
> > >> Only if your compiler doesn't support C++11. More likely your
> libstdc++ doesn't pull in <Algorithms> when <String> is included.
> > >>
> > >> Travis puked test-backend-dbi-basic.c for a similar complaint, this
> one for std::for_each. I've just pushed what I hope will fix that and your
> error.
> > >>
> > >> Regards,
> > >> John Ralls
> > >>
> > >>
> > >> John,
> > >>
> > >> After pulling in your push, I now get:
> > >>
> > >> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/dbi/gnc-dbiproviderimpl.hpp:
> In member function ‘StrVec GncDbiProviderImpl<T>::get_table_list(dbi_conn,
> const string&) [with DbType T = (DbType)0; StrVec =
> std::vector<std::__cxx11::basic_string<char> >; dbi_conn = void*;
> std::__cxx11::string = std::__cxx11::basic_string<char>]’:
> >
> > <snip>
> >
> > >> Makefile:678: recipe for target 'gnc-dbisqlconnection.lo' failed
> > >>
> > >>
> > >> I'm building on Fedora 24, by the way.
> > >
> > > Alex,
> > >
> > > My first guess would be that gnc-dbiproviderimpl.hpp and
> gnc-dbisqlconnection.hpp need the same treatment, to add "#include
> <algorithm> to the other libstdc++ headers. I'll have to set up a fedora24
> VM to duplicate your build environment, so it will take a few hours to be
> sure.
> > >
> >
> > Alex,
> >
> > Done and pushed.
> >
> > Regards,
> > John Ralls
> >
> >
> > John,
> >
> > Thanks, Make now works. But make check failed at:
> >
>
>
<snip>


> >
> > Don't know if you already knew that.
>
> Alex,
>
> Nope, didn't know that because it passes on Travis and all of my VMs
> including Fedora-24, so ISTM you have a local problem.
>
> A clue is that the error about the error about xaccSplitEqualCheckBal
> isn't issued until line 967, yet the test reports that it's failing at line
> 948.
>
> Regards,
> John Ralls
>
>
> John,

I think I got the error because I had done a git pull followed by a make
and make check without redoing autogen, clearing out the build directory
and rerunning configure. My mistake. When I did it that way, it all workied.

Thanks,

Alex


More information about the gnucash-devel mailing list