discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] gnuradio-3.3.0 Build Error On Fedora 14 (x86_64)


From: Arya Santini
Subject: [Discuss-gnuradio] gnuradio-3.3.0 Build Error On Fedora 14 (x86_64)
Date: Sat, 13 Nov 2010 23:33:05 -0800

Hi List,

I'm trying to build gnuradio-3.3.0 on Fedora 14 x86_64. I've installed
all the prerequisites, and I run ./configure and it completes fine,
reporting the modules going to be built. But when I run 'make', it
runs for a while and then exits with the following error(s):

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../..
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/usrp2/host/include
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/usrp2/firmware/include
-I/usr/include -I/usr/include
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/runtime
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/general
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/general
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/gengen
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/gengen
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/filter
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/filter
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/missing
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/reed-solomon
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/viterbi
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/io
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/g72x
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/swig
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/hier
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gnuradio-core/src/lib/swig
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gruel/src/include
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gruel/src/include
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gruel/src/include
-I/home/Maverick/Desktop/Research/gnuradio-3.3.0/gruel/src/include -g
-O2 -Wall -Woverloaded-virtual -pthread -MT usrp2.lo -MD -MP -MF
.deps/usrp2.Tpo -c usrp2.cc  -fPIC -DPIC -o .libs/usrp2.o
usrp2.cc:41:33: error: type/value mismatch at argument 1 in template
parameter list for ‘template<class T> class boost::weak_ptr’
usrp2.cc:41:33: error:   expected a type, got ‘usrp2::usrp2::usrp2’
usrp2.cc:43:75: error: type/value mismatch at argument 1 in template
parameter list for ‘template<class T> class boost::weak_ptr’
usrp2.cc:43:75: error:   expected a type, got ‘usrp2::usrp2::usrp2’
usrp2.cc: In static member function ‘static usrp2::usrp2::sptr
usrp2::usrp2::find_existing_or_make_new(const std::string&,
usrp2::props*, size_t)’:
usrp2.cc:60:20: error: request for member ‘expired’ in
‘p.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator->
[with _Iterator = usrp2::usrp_table_entry*, _Container =
std::vector<usrp2::usrp_table_entry>,
__gnu_cxx::__normal_iterator<_Iterator, _Container>::pointer =
usrp2::usrp_table_entry*]()->usrp2::usrp_table_entry::value’, which is
of non-class type ‘int’
usrp2.cc:64:31: error: no matching function for call to
‘boost::shared_ptr<usrp2::usrp2>::shared_ptr(int&)’
/usr/include/boost/smart_ptr/shared_ptr.hpp:182:5: note: candidates
are: boost::shared_ptr<T>::shared_ptr() [with T = usrp2::usrp2]
/usr/include/boost/smart_ptr/shared_ptr.hpp:169:1: note:
  boost::shared_ptr<usrp2::usrp2>::shared_ptr(const
boost::shared_ptr<usrp2::usrp2>&)
usrp2.cc:73:23: error: expected type-specifier
usrp2.cc:73:23: error: expected ‘)’
usrp2.cc:74:30: error: no matching function for call to
‘usrp2::usrp_table_entry::usrp_table_entry(std::string&,
usrp2::usrp2::sptr&)’
usrp2.cc:43:5: note: candidates are:
usrp2::usrp_table_entry::usrp_table_entry(const std::string&, int)
usrp2.cc:38:27: note:
usrp2::usrp_table_entry::usrp_table_entry(const
usrp2::usrp_table_entry&)
In file included from /usr/include/boost/shared_ptr.hpp:17:0,
                 from
/home/Maverick/Desktop/Research/gnuradio-3.3.0/usrp2/host/include/usrp2/usrp2.h:22,
                 from usrp2.cc:23:
/usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor
‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = int, T =
usrp2::usrp2]’:
usrp2.cc:73:56:   instantiated from here
/usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot
convert ‘int*’ to ‘usrp2::usrp2*’ in initialization
make[4]: *** [usrp2.lo] Error 1
make[4]: Leaving directory
`/home/Maverick/Desktop/Research/gnuradio-3.3.0/usrp2/host/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/Maverick/Desktop/Research/gnuradio-3.3.0/usrp2/host'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/Maverick/Desktop/Research/gnuradio-3.3.0/usrp2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Maverick/Desktop/Research/gnuradio-3.3.0'
make: *** [all] Error 2

I just built gnuradio-3.3.0 successfully on a machine running Fedora
12 in my lab a couple of days ago. What might be going wrong here?
Could it be that Fedora 14 contains updated libraries, like gcc-4.5.1
as opposed to version 4.4.4 on Fedora 12, on which gnuradio-3.3.0
built successfully?

Thanks,
Arya.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]