Audio_portaudio_source error during building gnuradio

Hi, all

My system is Ubuntu 9.04. I use git and install gnuradio from source.
After
install all the package, I run

$ ./bootstrap
$ ./configure
$ make

However, there is error happens

audio_portaudio_source.cc:91: error: no matching function for call to
‘boost::unique_lockboost::mutex::unique_lock()’
/usr/include/boost/thread/locks.hpp:524: note: candidates are:
boost::unique_lock::unique_lock(boost::detail::thread_move_t<boost::upgrade_lock

) [with Mutex = boost::mutex]
/usr/include/boost/thread/locks.hpp:86: note:
boost::unique_lock::unique_lock(boost::detail::thread_move_t<boost::unique_lock
) [with Mutex = boost::mutex]
/usr/include/boost/thread/locks.hpp:81: note:
boost::unique_lock::unique_lock(Mutex&, const
boost::system_time&)
[with Mutex = boost::mutex]
/usr/include/boost/thread/locks.hpp:76: note:
boost::unique_lock::unique_lock(Mutex&, boost::try_to_lock_t)
[with
Mutex = boost::mutex]
/usr/include/boost/thread/locks.hpp:73: note:
boost::unique_lock::unique_lock(Mutex&, boost::defer_lock_t)
[with
Mutex = boost::mutex]
/usr/include/boost/thread/locks.hpp:70: note:
boost::unique_lock::unique_lock(Mutex&, boost::adopt_lock_t)
[with
Mutex = boost::mutex]
/usr/include/boost/thread/locks.hpp:65: note:
boost::unique_lock::unique_lock(Mutex&) [with Mutex =
boost::mutex]
/usr/include/boost/thread/locks.hpp:62: note:
boost::unique_lock::unique_lock(boost::unique_lock&) [with
Mutex = boost::mutex]
audio_portaudio_source.cc:108: warning: ignoring return value of
‘ssize_t
write(int, const void*, size_t)’, declared with attribute
warn_unused_result
make[4]: *** [audio_portaudio_source.lo] Error 1
make[4]: Leaving directory /home/han/gnuradio/gr-audio-portaudio/src' make[3]: *** [all] Error 2 make[3]: Leaving directory /home/han/gnuradio/gr-audio-portaudio/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/han/gnuradio/gr-audio-portaudio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/han/gnuradio’
make: *** [all] Error 2

Did I miss something?

thank you

han


View this message in context:
http://old.nabble.com/audio_portaudio_source---error-during-building-gnuradio-tp28477257p28477257.html
Sent from the GnuRadio mailing list archive at Nabble.com.

The version I downloaded is

Configured GNU Radio release 3.3git-740-ge2222445 for build

I have installed 3.3git-720 successfully without any error. Anyone can
tell
me that where and how can I download 3.3git-720?

thank you
regards,
han

View this message in context:
http://old.nabble.com/audio_portaudio_source---error-during-building-gnuradio-tp28477257p28477796.html
Sent from the GnuRadio mailing list archive at Nabble.com.

han

What version of boots are you using, and have the configure- scripts
found boost, are they in some “special place” (other than
/usr/local/lib)?

The second question (from me) is kind of stupid, I know, since the
configure- script should fail if boost was
not found, or a version number less than … is it 1.37(?) was found.

I know that some UHD functionality requires at least boost-1.38, but I’m
not sure about the trunk in the
current state.

Hope this gives you something to check at least.

On a side note.
Please see mailing- list rules regarding starting new threads. Don’t
start new threads with the same topic. I have seen this from (mostly)
gmail users lately, so I assume there are no problems when using that.
Not everyone want/will/do use gmail, and the messages gets kind of hard
to follow…

Best regards
Mattias K.

I know that some UHD functionality requires at least boost-1.38, but I’m
not sure about the trunk in the
current state.

theres a minimum of boost 3.6 for the uhd FWIW -Josh

Hello Mattias,

Thank you for your help. But I do not understand your answer totally
since I
am beginner. I do not know how to check version of boots and do not get
related information from gnuradio wiki.

However, I think second question is not stupid. The problem was solved
and I
do think it is the problem within GNU Radio release
3.3git-740-ge2222445.

I just copy the gnuradio file I installed in another laptop two weeks
ago to
current laptop. First run sudo make uninstall and git clean bla bla…

And whole install process is fine without any error. The version name is
GNU
Radio release 3.3git-725-g8d3a78da. Hope this information will be useful
to
others.

regards,
han

Mattias K. wrote:

Not everyone want/will/do use gmail, and the messages gets kind of hard


View this message in context:
http://old.nabble.com/audio_portaudio_source---error-during-building-gnuradio-tp28477257p28484047.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hello Mattias,

Thank you for your help. But I do not understand your answer totally since I
am beginner.
We are all beginners in some sense =;c)
I do not know how to check version of boots and do not get
related information from gnuradio wiki.

If you have installed the boost- libraries from apt- get, they should be
in /usr/lib
(or maybe /usr/local/lib)

try something like

$ls /usr/lib/boost

and look at the files. You should see a long list containing loads of
libraries.

My output is:



/usr/lib/libboost_wave-mt.so.1.38.0
/usr/lib/libboost_wserialization-mt.a
/usr/lib/libboost_wserialization-mt.so
/usr/lib/libboost_wserialization-mt.so.1.38.0

Meaning I have boost version 1.38 installed

However, I think second question is not stupid. The problem was solved and I
do think it is the problem within GNU Radio release 3.3git-740-ge2222445.

Might be. If you are curious, you could check the updates and track the
problem down, since you have a relatively short timespan
where the problem appeared.