Gnuradio Compilation error


I get the gnuradio from git and make it.
get the following error.

Could anyone please kindly advice. Thanks!

-pthread -pthread -Wl,-soname -Wl, -o
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[5]: *** [] 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, -o
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[5]: *** [] Error 1

I’m assuming you are running Ubuntu 11.04?

I addressed this problem in the build guide (

sudo apt-get -y install libxi-dev


yes, Ubuntu 11.04

then I ignore the error and make install, and get error on

Testing 2MB/sec…
No such file or directory
gr_vmcircbuf_createfilemapping: createfilemapping is not available
= 2M
ntotal = 1000000
nright = 953366
runlength = 37404
delta = 962596
Testing 4MB/sec…
= 4M
ntotal = 2000000
nright = 1907110
runlength = 75805
delta = 1924195
Testing 8MB/sec…
= 8M
ntotal = 4000000
nright = 3883563
runlength = 38818
delta = 3961182

Il 09/05/2011 11:00, HW Wong ha scritto:

gr_vmcircbuf_createfilemapping: createfilemapping is not available
ntotal = 2000000
delta = 3961182
-pthread -pthread -pthread -Wl,-soname

Discuss-gnuradio mailing list
[email protected]
FYI i had the same error long time ago compiling from git on Ubuntu
. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs