SVN Compiling Error

“Making all in swig
make[3]: *** No rule to make target ../../../../gnuradio-core/src/ lib/runtime/gr_simple_flowgraph.i', needed bygnuradio_swig_py_runtime.cc’. Stop.”

There is indeed no “gr_simple_flowgraph.i”, and this is referenced in
the file:
gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.d

While I can temporarily work around this by removing that line from
the file, it would be better if someone corrected the issue. - MLD

On Mon, Apr 30, 2007 at 11:15:41AM -0400, Michael D. wrote:

the file, it would be better if someone corrected the issue. - MLD
This is a problem with how we compute swig dependencies. It’s got
some bugs; patches are welcome. The file in question isn’t required,
it’s just that the dependency file is out of date.

I believe that this will fix it:

$ cd

$ find . -name ‘*.d’ -print0 | xargs -0 -L 1 cp /dev/null

$ (./bootstrap && ./configure; make && make check && make install) 2>&1
| tee make.log

Eric

Eric B. wrote:

While I can temporarily work around this by removing that line from
the file, it would be better if someone corrected the issue. - MLD

Actually, removing the line in the (5) files that contain that is the
right thing to do. It’s a generated file, created locally on your
machine, not in the repository. You can also replace it with a zero
length file of the same name (but don’t just delete it); it will then
get regenerated.

Unfortunately, this issue crops up from time to time when we make
changes that remove .i files from the repository. Our swig dependency
handling is broken here. A fresh check-out into a new directory doesn’t
have the problem.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

On Apr 30, 2007, at 12:45 PM, Robert McGwier wrote:

At Jonathan’s suggestion, I did a make distclean. THAT brick bat
through the window did the trick. It now compiles and completes
and make check works.

“make distclean” did indeed do the trick; should have tried that one
up front. Must be the cold (sniff, achooo) & medications.

Now that it’s getting further along (a clean checkout this time),
another issue:

should the file: gnuradio-core/src/lib/io/io.i
include (as written now, but doesn’t compile on OSX):

#include <gr_udp_sink.cc>
#include <gr_udp_source.cc>

or (as compiles on OSX):

#include <gr_udp_sink.h>
#include <gr_udp_source.h>

Here’s the “svn diff”

Index: io.i

— io.i (revision 5192)
+++ io.i (working copy)
@@ -35,8 +35,8 @@
#include <gr_message_source.h>
#include <gr_message_sink.h>
#include <gr_message_vector_source.h>
-#include <gr_udp_sink.cc>
-#include <gr_udp_source.cc>
+#include <gr_udp_sink.h>
+#include <gr_udp_source.h>
%}

At Jonathan’s suggestion, I did a make distclean. THAT brick bat
through the window did the trick. It now compiles and completes and
make check works.

Bob

Eric B. wrote:

While I can temporarily work around this by removing that line from
$ cd
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL,
TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair
“If you’re going to be crazy, you have to get paid for it or
else you’re going to be locked up.” Hunter S. Thompson

Michael D. wrote:


#include <gr_udp_sink.h>
#include <gr_udp_source.h>

Fixed in the trunk, thanks…


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

Great! SVN trunk is working again on OSX 10.4.9 (both PPC and
Intel) … either clean or with “make distclean” if a bit old. - MLD