Problems with building from SVN

Hi,
It’s my first time trying the new SVN repository. I’m usiing FC4.
First I downloaded and built the swig 1.3.29.
I svn the codes yesterday by:
svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio
So the codes are completely new and svn reported it’s release 3510.
Then I do the usual dance.
./bootstrap
./configure
When I did make, an error came out.
usrp1_source_base.cc:351: error: ‘class usrp_standard_rx’ has no member
named ‘_write_fpga_reg_masked’

I searched this error on the archive and it sugested to build in the
order
of gnuradio-core, usrp, gr-usrp.
So I go into the directories and build in that order but the same error
turned out again when making the gr-usrp.

I guess it may be a problem with the codes.

On Mon, Sep 11, 2006 at 10:38:40AM +0800, hanwen wrote:

usrp1_source_base.cc:351: error: ‘class usrp_standard_rx’ has no member
named ‘_write_fpga_reg_masked’

I just did a fresh checkout at r3518 and everything builds OK for me.

What version of g++ are you using?

$ g++ --version

Do you have more than one version of SWIG installed?

$ swig -version

Do you have a partial or old installation anywhere? It shouldn’t
matter, but you might want to clean out any previously installed GNU
Radio stuff. E.g., in /usr/local/include/gnuradio,
/usr/local/lib/python2./site-packages, /usr/local/lib/libgnuradio,
/usr/local/lib/libusrp*

I searched this error on the archive and it sugested to build in the order
of gnuradio-core, usrp, gr-usrp.
So I go into the directories and build in that order but the same error
turned out again when making the gr-usrp.

With the svn build system, just build it from the top. Those comments
were for the previous build environment.

Eric

SWIG Version 1.3.29

Compiled with g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further
information

g++ (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Copyright (C) 2005 Free Software Foundation, Inc.

I’m using FC4.

I’ll do another checkout later.

2006/9/11, Eric B. [email protected]:

On Mon, Sep 11, 2006 at 12:38:20PM +0800, hanwen wrote:

I’ll do another checkout later.
Be sure to check out into an empty directory.

Eric

Succeed!
The system variable definations for previous installed v2.8 affected my
new
installation.
I use to install all the components into a stand alone directory, eg.
~/gr.
And some definations like $GR, $PKG_CONFIG_PATH are according to that.
So
when I install the new verison without “–prefix=$HOME/gr”, the old
definations make it wrong.
Now, I install the new version into ~/gr and succeed.

Thanks, Eric :slight_smile:

2006/9/11, Eric B. [email protected]: