Make error [svn revision 5708]

Hi,

Today I update the gnuradio from svn, and received following error in
make:

make[5]: Entering directory
/home/tarun/gnuradio/gnuradio-core/src/lib/swig' make[5]: *** No rule to make target…/…/…/…/gnuradio-core/src/lib/general/gr_dpll_ff.i’, needed by
`gnuradio_swig_py_general.cc’. Stop.

Then, I edited the Makefile.am in
…/…/…/…/gnuradio-core/src/lib/general/
and added gr_dpll_ff.{cc,h,i} but I got following error :

make[6]: Entering directory
/home/tarun/gnuradio/gnuradio-core/src/lib/general' make[6]: *** No rule to make targetgr_dpll_ff.cc’, needed by
`gr_dpll_ff.lo’. Stop.

Can somebody check the Makefile as I am not able to identify the
problem?

Thanks in advance.

Regards,
Tarun
UT Dallas

2007/6/6, Tarun T. [email protected]:

Then, I edited the Makefile.am in
Thanks in advance.

Regards,
Tarun
UT Dallas

I just pulled a fresh copy from svn (rev.5708), ran ./bootstrap;
./configure; make. No problems so far. I recommend that you run
./bootstrap and ./configure again after pulling from svn. This ensures
that the generated Makefiles are updated according to the svn changes.


Trond D.

Trond D. wrote:

I just pulled a fresh copy from svn (rev.5708), ran ./bootstrap;
./configure; make. No problems so far. I recommend that you run
./bootstrap and ./configure again after pulling from svn. This ensures
that the generated Makefiles are updated according to the svn changes.

The real issue is that there are “stale” .d files in
gnuradio-core/src/lib/swig. These files have lists of dependencies in
them, and one of the .i files listed has been deleted when updating svn.
You can’t just delete the .d files because they themselves are listed as
a dependency in the Makefile.

The most precise way to update your working directory to build again is
to edit these .d files and remove the offending file name. You can also
delete all the .d files in this directory, and let the build repopulate
them, by re-running ./configure. One of the last things ./configure
does is to “touch” these files, and if they don’t exist, they get
created.

The sledgehammer approach is to do a ‘make distclean’ followed by a full
rebuild.

The way the swig dependencies are tracked is broken here, but works well
for everything else, falling over only when the repository is updated
and a .i file that was previously there is removed.

Patches welcome :slight_smile:


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