On Tue, Mar 30, 2010 at 08:38:08AM +0200, Stefan Fehrle wrote: > > I wanted to build the USRP2 firmware to enable the testclk at J503, but I > have some errors. I download the source with the command "git clone > git://gnuradio.org/gnuradio > " and the mb-gcc from http://gnuradio.org/tools/ > > Then I execute the commands "./bootstrap" and "./configure.gnu > MB_GCC=/usr/local/bin/microblaze/bin/mb-gcc". I have no errors or > warnings. Then I execute the command "make" and I have the following errors:
If you're building from the firmware directory you must use: # If in firmware directory ./boostrap && ./configure.gnu This will get you the correct compiler. If you build the host code and the firmware from the top of the build, you only need to do # If at top of build tree ./bootstrap && ./configure > r...@thinkpad-kubuntu:/usr/local/src/gnuradio/usrp2/firmware# make > make all-recursive > make[1]: Entering directory `/usr/local/src/gnuradio/usrp2/firmware' > Making all in config > make[2]: Entering directory `/usr/local/src/gnuradio/usrp2/firmware/config' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/src/gnuradio/usrp2/firmware/config' > Making all in include > make[2]: Entering directory `/usr/local/src/gnuradio/usrp2/firmware/include' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/src/gnuradio/usrp2/firmware/include' > Making all in lib > make[2]: Entering directory `/usr/local/src/gnuradio/usrp2/firmware/lib' > gcc -DHAVE_CONFIG_H -I. -I.. -DHAL_IO_USES_UART -I../include -I../lib > --std=gnu99 -Wall -Werror-implicit-function-declaration -mxl-soft-div > -msoft-float -mxl-soft-mul -mxl-barrel-shift -O2 -MT abort.o -MD -MP -MF > .deps/abort.Tpo -c -o abort.o abort.c > cc1: error: unrecognized command line option "-mxl-soft-div" > cc1: error: unrecognized command line option "-mxl-soft-mul" > cc1: error: unrecognized command line option "-mxl-barrel-shift" > make[2]: *** [abort.o] Error 1 > make[2]: Leaving directory `/usr/local/src/gnuradio/usrp2/firmware/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/gnuradio/usrp2/firmware' > make: *** [all] Error 2 > r...@thinkpad-kubuntu:/usr/local/src/gnuradio/usrp2/firmware# > > > I use Kubuntu 9.04 > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio