hi all,
i want to know while installing block in gnuradio , if i didn’t get
error
it’s that means i had linked the library.
actually i am working on comedi-gnuradio. while installing the block(for
comedi) i didn’t get any error.
comedi is collection of drivers for a variety of common data
acquisition
plug-in boards . comedilib is a user-space library that provides a
developer-friendly interface to Comedi devices.
to compile comedi code in C language i used
gcc -filename.c -lcomedi -lm
can any one tell me how include comedi library in gnuradio.
what i did is i made modification in Makefile.common in main folder .
check
for attachment (Makefile.common) . i made changes in line 26
http://old.nabble.com/file/p32270282/Makefile.common Makefile.common
AM_CXXFLAGS = @autoconf_default_CXXFLAGS@
-lcomedi -lm -I/usr/include -L/usr/lib
i am using ubuntu 10.10 and gnuradio 3.3.0
thanks
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32270282.html
Sent from the GnuRadio mailing list archive at Nabble.com.
On Tue, Aug 16, 2011 at 01:57:19AM -0700, patiljagdish154 wrote:
to compile comedi code in C language i used
gcc -filename.c -lcomedi -lm
can any one tell me how include comedi library in gnuradio.
what i did is i made modification in Makefile.common in main folder . check
for attachment (Makefile.common) . i made changes in line 26
http://old.nabble.com/file/p32270282/Makefile.common Makefile.common
AM_CXXFLAGS = @autoconf_default_CXXFLAGS@
-lcomedi -lm -I/usr/include -L/usr/lib
Hi patiljagdish154,
libcomedi support for GNU Radio was deprecated a few versions ago. I
think the last version with comedi support was 3.2.2–you should check
out old versions of GNU Radio to see how this works. There’s no need to
do all the work yourself, much has been done already.
MB
–
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin B.
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu
KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
thanks.
i am close to finished it. in my synaptic manager gnuradio 3.2.2 is not
available.
i had gone through those files also , some files are missing .
Martin B.-4 wrote:
plug-in boards . comedilib is a user-space library that provides a
AM_CXXFLAGS = @autoconf_default_CXXFLAGS@ \
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32270720.html
Sent from the GnuRadio mailing list archive at Nabble.com.
Hi Jagdish Patil,
Archives of old Versions can be found at
http://ftp.gnu.org/gnu/gnuradio/
Since you’ll have to compile things anyway, installing from source won’t
hurt you.
Version 3.2.2 is included in debian sid as well as in Ubuntu since
lucid,
so I guess you either run an outdated system or a rather obscure one,
meaning that installing most libraries from source might be good advice
anyway.
Greetings
Marcus Müller
Am 16.08.2011 13:19, schrieb patiljagdish154:
sorry to ask this question , will you tell me the process to installed
and
compile the gnuradio and blocks .
i had tried , i am not getting.
Marcus Müller-4 wrote:
anyway.
comedi is collection of drivers for a variety of common data
for attachment (Makefile.common) . i made changes in line 26
MB
76131 Karlsruhe
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32277157.html
Sent from the GnuRadio mailing list archive at Nabble.com.
Are we talking about comedi support? That was patched pretty recently to
work with recent versions of libcomedi. See commit:
http://gnuradio.org/cgit/gnuradio.git/commit/?id=8cb0981894000e8239ee2425b4e99ded9841604a
sorry to ask this question , will you tell me the process to installed and
compile the gnuradio and blocks .
i had tried , i am not getting.
http://gnuradio.org/redmine/projects/gnuradio/wiki/BuildGuide
-josh
i had compile the code and installed the block successfully.
but now while running i am getting error.
Traceback (most recent call last):
File “/home/jagdish/top_block.py”, line 13, in
import comedi
File “/usr/local/lib/python2.6/dist-packages/comedi/init.py”, line
40,
in
from comedi_swig import *
File “/usr/local/lib/python2.6/dist-packages/comedi/comedi_swig.py”,
line
24, in
_comedi_swig = swig_import_helper()
File “/usr/local/lib/python2.6/dist-packages/comedi/comedi_swig.py”,
line
20, in swig_import_helper
_mod = imp.load_module(‘_comedi_swig’, fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-comedi-3.3.0.so.0: undefined
symbol:
comedi_open
i am wonder whether comedilib is link to gnuradio or not.
because while installing block i didn’t get any error as far as
comedilib
functions are concern.
i also made change in Makefile.common in main folder.
AM_CXXFLAGS = @autoconf_default_CXXFLAGS@
-lcomedi -lm -I/usr/include -L/usr/lib
Josh B.-2 wrote:
http://gnuradio.org/redmine/projects/gnuradio/wiki/BuildGuide
-josh
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32277415.html
Sent from the GnuRadio mailing list archive at Nabble.com.
sorry to ask this question , will you tell me the process to installed
and
compile the gnuradio and blocks .
i had tried , i am not getting.
Marcus Müller-4 wrote:
anyway.
comedi is collection of drivers for a variety of common data
for attachment (Makefile.common) . i made changes in line 26
MB
76131 Karlsruhe
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32277154.html
Sent from the GnuRadio mailing list archive at Nabble.com.
i had installed gnuradio -3.2.2.tar.gz
and used following command to installed
cd path to gnuradio-3.2.2
./configure
make
make check
sudo make install
after that i am getting error while starting GRC from command line .
will you tell me how to unistalled the gnuradio -3.2.2 or other solution
to
let both version of gnuradio to work on my ubuntu 10.10
patiljagdish154 wrote:
Since you’ll have to compile things anyway, installing from source won’t
Am 16.08.2011 13:19, schrieb patiljagdish154:
error
to compile comedi code in C language i used
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32277469.html
Sent from the GnuRadio mailing list archive at Nabble.com.
hi sir,
i don’t have problem while compiling and installing the comedi block.
i am not getting why this error occur when i run in GRC.
Traceback (most recent call last):
File “/home/jagdish/top_block.py”, line 8, in
from gnuradio import comedi
File “/usr/local/lib/python2.6/dist-packages/gnuradio/comedi.py”, line
24,
in
_comedi = swig_import_helper()
File “/usr/local/lib/python2.6/dist-packages/gnuradio/comedi.py”, line
20,
in swig_import_helper
_mod = imp.load_module(‘_comedi’, fp, pathname, description)
ImportError: /usr/local/lib/python2.6/dist-packages/gnuradio/_comedi.so:
undefined symbol: _Z18comedi_make_sink_siSs
any suggestions.
thanks
jagdish
Are we talking about comedi support? That was patched pretty recently to
work with recent versions of libcomedi. See commit:
http://gnuradio.org/cgit/gnuradio.git/commit/?id=8cb0981894000e8239ee2425b4e99ded9841604a
–
View this message in context:
http://old.nabble.com/doubt-about-linking-library-to-gnuradio-tp32270282p32317867.html
Sent from the GnuRadio mailing list archive at Nabble.com.