Re: [Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-05 Thread Mike Leferman
Ah, but then I added the outputs to my makefile and now it works. Thanks for the help! On Thu, Mar 5, 2009 at 2:52 PM, Mike Leferman wrote: > I ran those commands and those are the outputs I got. > > > On Thu, Mar 5, 2009 at 1:09 PM, Eric Blossom wrote: > >> On Thu, Mar 05, 2009 at 12:47:24PM -

Re: [Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-05 Thread Eric Blossom
On Thu, Mar 05, 2009 at 02:52:36PM -0500, Mike Leferman wrote: > I ran those commands and those are the outputs I got. It sounds like you're building your own code outside of our framework. Are you passing all of those flags to g++ when you're compiling and linking? Did you do a $ sudo ldcon

Re: [Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-05 Thread Mike Leferman
I ran those commands and those are the outputs I got. On Thu, Mar 5, 2009 at 1:09 PM, Eric Blossom wrote: > On Thu, Mar 05, 2009 at 12:47:24PM -0500, Mike Leferman wrote: > > I'm using Ubuntu 8.10, and /usr/local/lib is in my ld.so.conf. Does > > ldconfig just update ld.so.conf? My program find

Re: [Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-05 Thread Eric Blossom
On Thu, Mar 05, 2009 at 12:47:24PM -0500, Mike Leferman wrote: > I'm using Ubuntu 8.10, and /usr/local/lib is in my ld.so.conf. Does > ldconfig just update ld.so.conf? My program finds libusrp2 in the > /usr/local/lib folder, so it should be able to find libgruel (which I'm > guessing is the probl

Re: [Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-05 Thread Mike Leferman
I'm using Ubuntu 8.10, and /usr/local/lib is in my ld.so.conf. Does ldconfig just update ld.so.conf? My program finds libusrp2 in the /usr/local/lib folder, so it should be able to find libgruel (which I'm guessing is the problem?) Do I have to have my program link libgruel as well? Is this fail

Re: [Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-03 Thread Eric Blossom
On Tue, Mar 03, 2009 at 01:19:15PM -0500, Mike Leferman wrote: > I'm working on a C++ program which directly creates an instance of a USRP2 > object. When the program is being run, the following error is thrown: > /usr/local/lib/libusrp2.so.0: undefined > symbol: _ZN5gruel7sys_pri13usrp2_backendEv

[Discuss-gnuradio] Creating a USRP2 C++ Object

2009-03-03 Thread Mike Leferman
I'm working on a C++ program which directly creates an instance of a USRP2 object. When the program is being run, the following error is thrown: /usr/local/lib/libusrp2.so.0: undefined symbol: _ZN5gruel7sys_pri13usrp2_backendEv Gruel was complied on the system and programs have been run using the