pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Error building m4 on Solaris 10



On 4/25/08, Adam Hoka <adam.hoka%gmail.com@localhost> wrote:
> Sorry, i have overlooked.
>  Changing it wont make sense, so dont do it. :)

No problem :) thanks for your time!

I've found this in config.log:

----------- 8< -----------
configure:22286: checking whether strtod obeys C99
configure:22335: gcc -std=gnu99 -o conftest -O  -Wl,-R/usr/pkg/lib conftest.c  >
&5
conftest.c: In function `main':
conftest.c:180: error: wrong type argument to unary minus
conftest.c:188: error: invalid operands to binary !=
configure:22338: $? = 1
configure: program exited with status 1
configure: failed program was:
----------- >8 -----------

The test fails in this lines:

180:|     if (1 / value != -HUGE_VAL || term != (string + 2))
188:|     if (value != HUGE_VAL || term != (string + 3))


And when the included strtod is built, it fails because of similar reasons.


-- 
Gerardo Santana


Home | Main Index | Thread Index | Old Index