<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
OOPS, must have hit reply instead of Reply All.<br>
<br>
I believe that that is my CFLAGS in the configure 27271: gcc -g ...
line.<br>
<br>
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.<br>
Mark<br>
<br>
Derek Atkins wrote:
<blockquote cite="midsjmk6d02n3o.fsf@cliodev.pgp.com" type="cite">
<pre wrap="">Thanks. Forwarded to the list so others can see. I'm curious what
you put into CFLAGS..
-derek
Mark Johnson <a class="moz-txt-link-rfc2396E" href="mailto:mrj001@shaw.ca"><mrj001@shaw.ca></a> writes:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Can you cut-and-paste the portions of config.log about this test?
</pre>
</blockquote>
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>