[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] USRP2 firmware build error
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] USRP2 firmware build error |
Date: |
Tue, 30 Mar 2010 06:23:33 -0700 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
On Tue, Mar 30, 2010 at 12:05:25PM +0200, Stefan Fehrle wrote:
>
> Eric Blossom schrieb:
> > 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
> >
> >> address@hidden:/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
> >> address@hidden:/usr/local/src/gnuradio/usrp2/firmware#
> >>
> >>
> >> I use Kubuntu 9.04
> >>
> >
> I did this but it dosen't solve the problem of executing the command "make"
Sorry, try this:
$ export PATH=/usr/local/bin/microblaze/bin:$PATH
$ ./bootstrap && ./configure.gnu
$ make
Eric