make fails on master
Alex Aycinena
alex.aycinena at gmail.com
Wed Jun 17 19:03:56 EDT 2015
John,
I just noticed that in the configure.ac file, line 332 says
'ac_cv_cstd=gnu99' but line 336 says 'ac_cv_cstd=c11'. If I change line 336
locally to also say 'ac_cv_cstd=gnu99', then autogen.sh does regenerate
configure with CFLAGS set to gnu99 and make, make-check and make-install
all work on the F22 machine. Should that be changed on master, and, if so,
will you do it? Or would you like me to do it?
Thanks,
Alex
On Wed, Jun 17, 2015 at 3:22 PM, Alex Aycinena <alex.aycinena at gmail.com>
wrote:
> John,
>
> The config.log for the F21 system that builds properly does show CFLAGS
> as -std=gnu99, but the config.log for the F22 system that doesn't build,
> shows CFLAGS as -std=c11. I checked to make sure the configure.ac file on
> the F22 does have the 'ac_cv_cstd=gnu99' line that you had previously
> pushed and, as expected, it does. When I re-run './autogen.sh', then switch
> to the build directory and run 'configure', at the end it shows 'CFLAGS
> ............... : -g -std=c11 -g'. I do not understand what causes the
> difference. Doesn't autogen.sh use configure.ac to regenerate configure?
> And wouldn't your change cause the CFLAGS to be set as on the F21 system?
> Any guidance?
>
> Thanks,
>
> Alex
>
> On Mon, Jun 15, 2015 at 2:04 PM, John Ralls <jralls at ceridwen.us> wrote:
>
>>
>> > On Jun 15, 2015, at 1:58 PM, Christian Stimming <christian at cstimming.de>
>> wrote:
>> >
>> > Aren't you just missing an #include <string.h> which is needed for
>> strdup()
>> > ... ?
>> >
>>
>> Nope, line 10.
>>
>> Regards,
>> John Ralls
>>
>>
>
More information about the gnucash-devel
mailing list