---------- Forwarded message ---------- From: Tushar Patel <pateltusha...@gmail.com> Date: Fri, 23 Jan 2009 21:28:32 -0800 Subject: problem with USRP To: Eric Blossom <e...@comsec.com>
Hi Eric, I used the VM Ware player , on which i run my linux- UBUNTU-8.04 I am able to configure all gnu software packages perfectly, I was able to run "hello world" example. Now when I connect the USRP board with USB cable, the green light will flashing with 2hz freq. but after that I found that there is no such file usrp_firmware.ihx in usr/local/share/usrp/ver2 or ver4, so my hardware does not detected. so from various online help i came to know that my following procedure with latest USRP version, it will created automatically in that destination. ./bootstrap ./configure both are run perfectly but when I run the make command I get the error like fusb_linux.cc:30:28: error: linux/compiler.h: No such file or directory make[3]: *** [fusb_linux.lo] Error 1 I attached full log of ./bootstrap, ./configure and make for your further ref. I really stuck up with this problem, I tried with many version of USRP but it will give the same error. please help me. thanks and regards Tushar patel j...@jars-desktop:~/gnuradio/usrp-0.5$./bootstrap config/usrp_fusb_tech.m4:22: warning: underquoted definition of USRP_SET_FUSB_TECHNIQUE config/usrp_fusb_tech.m4:22: run info '(automake)Extending aclocal' config/usrp_fusb_tech.m4:22: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal firmware/lib/Makefile.am:60<http://sources.redhat.com/automake/automake.html#Extending-aclocalfirmware/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/usrp0/Makefile.am:82: `%'-style pattern rules are a GNU make extension firmware/src/usrp0/Makefile.am:85: `%'-style pattern rules are a GNU make extension firmware/src/usrp1/Makefile.am:80: `%'-style pattern rules are a GNU make extension firmware/src/usrp1/Makefile.am:83: `%'-style pattern rules are a GNU make extension j...@jars-desktop:~/gnuradio/usrp-0.5$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking whether C++ has bool... yes checking whether C++ has buggy scoping in for-loops... no checking whether user wants assertions... yes checking whether C++ has std::isnan... no checking whether user wants warnings... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -Woverloaded-virtual... yes checking whether user wants gprof... no checking whether user wants prof... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for python... /usr/bin/python checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages checking for Python include path... /usr/include/python2.5 checking for swig... /usr/bin/swig checking for SWIG version... 1.3.33 checking for swig... (cached) /usr/bin/swig checking for SWIG version... 1.3.33 checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking whether byte ordering is bigendian... no checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking for library containing usb_bulk_write... -lusb checking linux/usbdevice_fs.h usability... yes checking linux/usbdevice_fs.h presence... yes checking for linux/usbdevice_fs.h... yes checking for fast usb technique to use... linux configure: creating ./config.status config.status: creating Makefile config.status: creating usrp.pc config.status: creating config/Makefile config.status: creating host/Makefile config.status: creating host/lib/Makefile 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/usrp0/Makefile config.status: creating firmware/src/usrp1/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands j...@jars-desktop:~/gnuradio/usrp-0.5$ make make all-recursive make[1]: Entering directory `/home/jars/gnuradio/usrp-0.5' Making all in config make[2]: Entering directory `/home/jars/gnuradio/usrp-0.5/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/jars/gnuradio/usrp-0.5/config' Making all in host make[2]: Entering directory `/home/jars/gnuradio/usrp-0.5/host' Making all in lib make[3]: Entering directory `/home/jars/gnuradio/usrp-0.5/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 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[3]: *** [fusb_linux.lo] Error 1 make[3]: Leaving directory `/home/jars/gnuradio/usrp-0.5/host/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/jars/gnuradio/usrp-0.5/host' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jars/gnuradio/usrp-0.5' make: *** [all] Error 2 j...@jars-desktop:~/gnuradio/usrp-0.5$ I am very new with Linux, so may be this error is trival but i could not get the things. Due to this error I can not able to connet the my hardware to laptop, and do not able to proceed further. I will really appreaciate you guys, if you guys can give me proper direction. thank and regards Tushar patel EE-(Communication) SJSU 408-218-0389 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio