Error in usrp


#1

I am very new with gnuradio and linux system so if my question may be
sense less
But if possibel help me
when I try to connect usrp board with usb, the LED on USB board do not
flash with 1hz so, when I checked for two files
usrp_firmware.ihx and usrp_fpga.rbf are not present in
/usr/local/share/usrp/rev2

I got the usrp_fpga.rbf from source and I copied over the above
destination.
But I do not find any file for usrp_firmware.ihx, do anybody find it
please help me

I also got the latest gnu tar and try to install the usrp from that.
by following the procedur in ./bootstrap i got the following message

jars@jars-desktop:~/Desktop/usrp$ ./bootstrap

firmware/lib/Makefile.am:60: %'-style pattern rules are a GNU make extension firmware/lib/Makefile.am:63:%’-style pattern rules are a GNU make
extension
firmware/src/usrp2/Makefile.am:90: %'-style pattern rules are a GNU make extension firmware/src/usrp2/Makefile.am:94:%’-style pattern rules are a GNU
make extension

then i run the
jars@jars-desktop:~/Desktop/usrp$ ./configure

its output is

checking sdcc_version “2.7.0”… 2.7.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating usrp.pc
config.status: creating usrp.iss
config.status: creating config/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating doc/other/Makefile
config.status: creating host/Makefile
config.status: creating host/misc/Makefile
config.status: creating host/lib/Makefile
config.status: creating host/lib/std_paths.h
config.status: creating host/swig/Makefile
config.status: creating host/apps/Makefile
config.status: creating firmware/Makefile
config.status: creating firmware/include/Makefile
config.status: creating firmware/lib/Makefile
config.status: creating firmware/src/Makefile
config.status: creating firmware/src/common/Makefile
config.status: creating firmware/src/usrp2/Makefile
config.status: creating fpga/Makefile
config.status: creating fpga/rbf/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

then I give the make

jars@jars-desktop:~/Desktop/usrp$make

it gives the error

make all-recursive
make[1]: Entering directory /home/jars/Desktop/usrp' Making all in config make[2]: Entering directory/home/jars/Desktop/usrp/config’
make[2]: Nothing to be done for all'. make[2]: Leaving directory/home/jars/Desktop/usrp/config’
Making all in host
make[2]: Entering directory /home/jars/Desktop/usrp/host' Making all in misc make[3]: Entering directory/home/jars/Desktop/usrp/host/misc’
make[3]: Nothing to be done for all'. make[3]: Leaving directory/home/jars/Desktop/usrp/host/misc’
Making all in lib
make[3]: Entering directory /home/jars/Desktop/usrp/host/lib' make all-am make[4]: Entering directory/home/jars/Desktop/usrp/host/lib’
/bin/bash …/…/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I…/… -I…/…/host/lib -I…/…/firmware/include -g -O2 -Wall
-Woverloaded-virtual -MT usrp_prims.lo -MD -MP -MF .deps/usrp_prims.Tpo
-c -o usrp_prims.lo usrp_prims.cc
g++ -DHAVE_CONFIG_H -I. -I…/… -I…/…/host/lib
-I…/…/firmware/include -g -O2 -Wall -Woverloaded-virtual -MT
usrp_prims.lo -MD -MP -MF .deps/usrp_prims.Tpo -c usrp_prims.cc -fPIC
-DPIC -o .libs/usrp_prims.o
usrp_prims.cc:61: warning: deprecated conversion from string constant to
‘char’
usrp_prims.cc:62: warning: deprecated conversion from string constant to
‘char
’
In file included from usrp_prims.cc:64:
std_paths.h:27: warning: deprecated conversion from string constant to
‘char’
std_paths.h:27: warning: deprecated conversion from string constant to
‘char
’
g++ -DHAVE_CONFIG_H -I. -I…/… -I…/…/host/lib
-I…/…/firmware/include -g -O2 -Wall -Woverloaded-virtual -MT
usrp_prims.lo -MD -MP -MF .deps/usrp_prims.Tpo -c usrp_prims.cc -o
usrp_prims.o >/dev/null 2>&1
mv -f .deps/usrp_prims.Tpo .deps/usrp_prims.Plo
/bin/bash …/…/libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I…/… -I…/…/host/lib -I…/…/firmware/include -g -O2 -Wall
-Woverloaded-virtual -MT fusb_linux.lo -MD -MP -MF .deps/fusb_linux.Tpo
-c -o fusb_linux.lo fusb_linux.cc
g++ -DHAVE_CONFIG_H -I. -I…/… -I…/…/host/lib
-I…/…/firmware/include -g -O2 -Wall -Woverloaded-virtual -MT
fusb_linux.lo -MD -MP -MF .deps/fusb_linux.Tpo -c fusb_linux.cc -fPIC
-DPIC -o .libs/fusb_linux.o
fusb_linux.cc:30:28: error: linux/compiler.h: No such file or directory
make[4]: *** [fusb_linux.lo] Error 1
make[4]: Leaving directory /home/jars/Desktop/usrp/host/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory/home/jars/Desktop/usrp/host/lib’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/jars/Desktop/usrp/host' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/jars/Desktop/usrp’
make: *** [all] Error 2

then it will make error in make check and make install also

so if anybody have any idea please help me.