OOPS, must have hit reply instead of Reply All.

I believe that that is my CFLAGS in the configure 27271:  gcc -g ...  line.

It was the -Wunused -Werror that caused the problem.  One warns about the unused variable (p in the test for fdopen).  The other makes warnings into errors.
Mark

Derek Atkins wrote:
Thanks.  Forwarded to the list so others can see.  I'm curious what
you put into CFLAGS..

-derek

Mark Johnson <[EMAIL PROTECTED]> writes:

  
Can you cut-and-paste the portions of config.log about this test?

      
I found the following three lines in config.log, and that solved it for me:
configure:27271: gcc -c -g -march=i486 -mcpu=pentium2 -g -Wall -Wunused 
-Werror -D__USE_POSIX  conftest.c >&5
conftest.c: In function `main':
conftest.c:99: warning: unused variable `p'

The CFLAGS I passed interacted with the unused variable p and fooled 
configure into thinking there was no fdopen.  I changed my CFLAGS and 
configure ran successfully.

Mark


    

  
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to