[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] FYI: svn-current build problem
From: |
Greg Troxel |
Subject: |
Re: [Discuss-gnuradio] FYI: svn-current build problem |
Date: |
Mon, 29 Jan 2007 12:01:11 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix) |
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.