The mail previous to the one below is there on the mailing list.
Anyway, what I was trying to do was try to get some code that I wrote
using the usrp1_source_c functions to work. I was trying to link with
the gnuradio-core libraries. Later I realised that these files are not
complied in the gnuradio-core library. I saw the _usrp1.so lib file in
.libs directory. But this contains all the swig related symbols in it as
So, I then made a different shared library using the .o files and I was
able to link my code with it.
I was basically trying to find out if there is some shared library for
the gr-usrp code with which I could link my C++ code.
Eric B. [email protected] wrote: On Wed, Mar 22, 2006 at 11:35:04AM
-0800, Ges wrote:
I don’t think I saw the post you’re referencing.
In any event, gr-usrp does get compiled into a shared library. That’s
the mechanism we use to get our code loaded into python.
This fragment from gr-usrp/src/Makefile.am builds the shared lib.
The automake and libtool manuals will be helpful for decoding
ourlib_LTLIBRARIES = _usrp1.la
_usrp1_la_SOURCES = \
_usrp1_la_LIBADD = \
_usrp1_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
Perhaps you can provide a bit more context?