[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] FYI: svn-current build problem
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] FYI: svn-current build problem |
Date: |
Mon, 29 Jan 2007 10:38:30 -0800 |
User-agent: |
Mutt/1.5.9i |
On Mon, Jan 29, 2007 at 12:01:11PM -0500, Greg Troxel wrote:
> The current subversion build is broken on NetBSD, and probably on
> other systems that don't support the non-standard "exp10" function
> (posix defines exp and log and log10, but not exp10).
>
> config.h is trying to provide exp10 when it doesn't exist by defining
> an inline procedure using pow. This is fine, but config.h is not
> protected against multiple inclusion and there's also not a test for
> multiple inclusion.
>
> The file Berndt refers to apparently includes config.h twice. I
> hand-edited in an #ifndef/#define/#endif and then things built.
> I couldn't even figure out how config.h gets included once.
>
> The offending file is
> gnuradio-core/src/lib/swig/gnuradio_swig_py_io.cc
>
> With that change, and having a 'python' symlink (ticket #133), the
> build completes.
Thanks. Will fix both.
Eric