Hi,
I get the gnuradio from git and make it.
get the following error.
Could anyone please kindly advice. Thanks!
/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/crtendS.o
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/…/…/…/crtn.o
-pthread
-pthread -pthread -Wl,-soname -Wl,libgnuradio-qtgui-3.4.0git.so.0 -o
.libs/libgnuradio-qtgui-3.4.0git.so.0.0.0
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[5]: *** [libgnuradio-qtgui.la] Error 1
On Mon, May 9, 2011 at 9:49 AM, HW Wong [email protected] wrote:
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/…/…/…/crtn.o -pthread
-pthread -pthread -Wl,-soname -Wl,libgnuradio-qtgui-3.4.0git.so.0 -o
.libs/libgnuradio-qtgui-3.4.0git.so.0.0.0
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[5]: *** [libgnuradio-qtgui.la] Error 1
I’m assuming you are running Ubuntu 11.04?
I addressed this problem in the build guide (
http://gnuradio.org/redmine/wiki/gnuradio/UbuntuInstall):
sudo apt-get -y install libxi-dev
Tom
yes, Ubuntu 11.04
then I ignore the error and make install, and get error on benchmark.py
HP-Compaq-6535s:~/gnuradio/gnuradio-examples/python/usrp$
./usrp_benchmark_usb.py
Testing 2MB/sec…
/home/howie/.gnuradio/prefs/gr_vmcircbuf_default_factory:
No such file or directory
gr_vmcircbuf_createfilemapping: createfilemapping is not available
uUuOuUuOuUuOuUuOuUuOuUuOuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuOuUuUuUuUuUuUusb_throughput
= 2M
ntotal = 1000000
nright = 953366
runlength = 37404
delta = 962596
FAILED
Testing 4MB/sec…
uOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuUuUuUuUuU^Cusb_throughput
= 4M
ntotal = 2000000
nright = 1907110
runlength = 75805
delta = 1924195
FAILED
Testing 8MB/sec…
uUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuOuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUuUusb_throughput
= 8M
ntotal = 4000000
nright = 3883563
runlength = 38818
delta = 3961182
FAILED
Il 09/05/2011 11:00, HW Wong ha scritto:
gr_vmcircbuf_createfilemapping: createfilemapping is not available
ntotal = 2000000
delta = 3961182
Hi,
-pthread -pthread -pthread -Wl,-soname
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
FYI i had the same error long time ago compiling from git on Ubuntu
10.10. I recently compiled on Ubuntu 11.04 (both the stable and the git
version) like Tom well knows, my step were :
+sudo apt-get build-dep gnuradio
+install all the dependencies on the gnuradio build guide page ( i got
installed other stuff)
+then the usual steps of building from source
no problems experienced :D. Never ignore the errors when building, at
least you disable the modules…
Regards, Arturo