On Sat, Jan 9, 2010 at 9:58 AM, Eric Blossom <e...@comsec.com> wrote:

> On Sat, Jan 09, 2010 at 08:16:01AM -0600, John Orlando wrote:
> > Hi all,
> > I'm working with GNUradio 3.2.2 on an Ubuntu 8.04 x86 box.  I'm in the
> > process of making some modifications to the source that builds libusrp,
> and
> > part of these modifications includes adding some new files under
> > usrp/host/lib/legacy, where all the RF daughterboard code lives.  This
> > seemed easy enough: add my files (foo.cc and foo.h) to this directory,
> > update the Makefile.am located in usrp/host/lib/legacy so that the
> > libusrp_la_common_SOURCES included foo.cc, update include_HEADERS so that
> it
> > included foo.h, and re-run a top-level configure.  But I'm still missing
> > something, because the Makefile for the usrp/host/lib/legacy directory
> that
> > gets generated from the configure process doesn't include my new files,
> and
> > thus my new code never get built.
> >
> > I'm a complete noob with autotools, and I'm probably making some silly
> > mistake, but I'm at a loss as to what that could be.  Couldn't find much
> on
> > the mailing list or internet to point me down the right path.  Anybody
> got
> > any ideas?
> >
> > Thanks for the bandwidth.
>
> ./bootstrap && ./configure
>
> Should work
>
Ahh...I didn't think bootstrapping first was necessary if re-building (I had
assumed that configure took care of aggregating the file lists, but this
obviously is wrong).  Indeed, upon first bootstrapping, configure produces a
Makefile with my files included.  Thanks much Eric.

-- 
Regards,
John Orlando
CEO/System Architect
Epiq Solutions
www.epiq-solutions.com
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to