Forum: GNU Radio SVN Compiling Error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
821c1adf3f4be2f2aa6fbc89cce4c69a?d=identicon&s=25 Michael Dickens (Guest)
on 2007-04-30 17:16
(Received via mailing list)
"Making all in swig
make[3]: *** No rule to make target `../../../../gnuradio-core/src/
lib/runtime/gr_simple_flowgraph.i', needed by
`gnuradio_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
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-04-30 17:41
(Received via mailing list)
On Mon, Apr 30, 2007 at 11:15:41AM -0400, Michael Dickens 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 <top-of-your-gnuradio-build-tree>

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

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


Eric
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2007-04-30 18:24
(Received via mailing list)
Eric Blossom 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 Corgan
Corgan Enterprises LLC
http://corganenterprises.com
E16be4811324adf8f26be26d77e9d29d?d=identicon&s=25 Robert McGwier (Guest)
on 2007-04-30 18:46
(Received via mailing list)
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 Blossom wrote:
>> While I can temporarily work around this by removing that line from
>  $ cd <top-of-your-gnuradio-build-tree>
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


--
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
821c1adf3f4be2f2aa6fbc89cce4c69a?d=identicon&s=25 Michael Dickens (Guest)
on 2007-04-30 19:58
(Received via mailing list)
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>
%}
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2007-04-30 20:04
(Received via mailing list)
Michael Dickens wrote:

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

Fixed in the trunk, thanks...

--
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com
821c1adf3f4be2f2aa6fbc89cce4c69a?d=identicon&s=25 Michael Dickens (Guest)
on 2007-04-30 21:41
(Received via mailing list)
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
This topic is locked and can not be replied to.