[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] building gnuradio on UltraSparc II / Solaris 10
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] building gnuradio on UltraSparc II / Solaris 10 |
Date: |
Thu, 15 Dec 2005 18:26:28 -0800 |
User-agent: |
Mutt/1.5.6i |
On Thu, Dec 15, 2005 at 03:33:47PM -0500, cswiger wrote:
> FWIW, once you get gcc and the build environment setup right
> gnuradio 2.6 builds cleanly on Solaris, except for ONE item:
>
> gr_math.cc:98
>
> int
> gr_signbit (double x)
> {
> //return std::signbit (x);
> return (x);
> }
>
>
> std::signbit (x) creates an error, does not exist in std or something,
> the above 'fix' gets it to compile but I have no idea what problems
> it would create down the road.
>
>
> --Chuck
This is a better fix:
int
gr_signbit (double x)
{
if (x < 0.0)
return 1;
return 0;
}
Does signbit exist in the default (non-std) namespace?
Is there a man page for it?
This probably needs a bit of autoconf hacking.
Eric