[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Error in building GNU radio core 2.5
From: |
Ahmad Sheikh |
Subject: |
Re: [Discuss-gnuradio] Error in building GNU radio core 2.5 |
Date: |
Thu, 26 May 2005 21:58:11 +0500 |
I am using automake 1.9.5 and autoconf 2.57. Also, does anyone know about these
errors?
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/type_traits.h:196:
error: redefinition of `struct __type_traits<int>'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/type_traits.h:126:
error: previous definition of `struct __type_traits<int>'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/type_traits.h:347:
error: redefinition of `struct _Is_integer<int>'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/type_traits.h:305:
error: previous definition of `struct _Is_integer<int>'
In file included from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/memory:61,
from
/usr/local/include/boost-1_32/boost/detail/shared_count.hpp:34,
from /usr/local/include/boost-1_32/boost/shared_ptr.hpp:26,
from ./gr_types.h:26,
from ./gr_runtime.h:26,
from ./gr_block.h:26,
from gr_block.cc:27:
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/limits:668:
error: redefinition of `struct std::numeric_limits<int>'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/limits:315:
error: previous definition of `struct std::numeric_limits<int>'
In file included from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/complex:49,
from ./gr_complex.h:25,
from ./gr_types.h:30,
from ./gr_runtime.h:26,
from ./gr_block.h:26,
from gr_block.cc:27:
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/cpp_type_traits.h:214:
error: redefinition of `struct std::__is_integer<int>'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/cpp_type_traits.h:149:
error: previous definition of `struct std::__is_integer<int>'
In file included from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/ostream:545,
from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:41,
from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/istream:771,
from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/sstream:45,
from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/complex:51,
from ./gr_complex.h:25,
from ./gr_types.h:30,
from ./gr_runtime.h:26,
from ./gr_block.h:26,
from gr_block.cc:27:
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/ostream.tcc:98:
error: redefinition of `std::basic_ostream<E, T>& std::basic_ostream<_CharT,
_Traits>::operator<<(int)'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/ostream:193:
error: `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(int)' previously declared here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/ostream:
In instantiation of `std::basic_ostream<char, std::char_traits<char> >':
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/ostream.tcc:675:
instantiated from here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/ostream:193:
error: `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(int) [with _CharT = char, _Traits =
std::char_traits<char>]' and `std::basic_ostream<_CharT, _Traits>&
std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char,
_Traits = std::char_traits<char>]' cannot be overloaded
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/ostream:
In instantiation of `std::basic_ostream<wchar_t, std::char_traits<wchar_t>
>':/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/ostream.tcc:687:
instantiated from here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/ostream:193:
error: `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(int) [with _CharT = wchar_t, _Traits =
std::char_traits<wchar_t>]' and `std::basic_ostream<_CharT, _Traits>&
std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = wchar_t,
_Traits = std::char_traits<wchar_t>]' cannot be overloaded
In file included from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/istream:771,
from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/sstream:45,
from
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/complex:51,
from ./gr_complex.h:25,
from ./gr_types.h:30,
from ./gr_runtime.h:26,
from ./gr_block.h:26,
from gr_block.cc:27:
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:186:
error: redefinition of `std::basic_istream<_CharT, _Traits>&
std::basic_istream<_CharT, _Traits>::operator>>(int&)'
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:111:
error: `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::operator>>(int&)' previously declared here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/istream:
In instantiation of `std::basic_istream<char, std::char_traits<char> >':
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:1170:
instantiated from here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:111:
error: `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::operator>>(int&) [with _CharT = char, _Traits =
std::char_traits<char>]' and `std::basic_istream<_CharT, _Traits>&
std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char,
_Traits = std::char_traits<char>]' cannot be overloaded
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/istream:
In instantiation of `std::basic_istream<wchar_t, std::char_traits<wchar_t>
>':/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:1182:
instantiated from here
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../include/c++/3.4.4/bits/istream.tcc:111:
error: `std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT,
_Traits>::operator>>(int&) [with _CharT = wchar_t, _Traits =
std::char_traits<wchar_t>]' and `std::basic_istream<_CharT, _Traits>&
std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = wchar_t,
_Traits = std::char_traits<wchar_t>]' cannot be overloaded
make[4]: *** [gr_block.lo] Error 1
make[4]: Leaving directory `/home/ahmad/gnuradio-core-2.5/src/lib/runtime'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ahmad/gnuradio-core-2.5/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ahmad/gnuradio-core-2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ahmad/gnuradio-core-2.5'
make: *** [all] Error 2
Thanks in advance,
Ahmad
> On Wed, May 25, 2005 at 07:03:46PM -0500, LRK wrote:
> > On Thu, May 26, 2005 at 04:08:01AM +0500, Ahmad Sheikh wrote:
> > > I get the following error when I enter ./bootstrap in building
> > > gnu-radio-core-2.5 on Redhat Linux v3.
> > > > /usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of
> > > PKG_CHECK_MODULES
> > > run info '(automake)Extending aclocal'
> > > or see
> > > http://sources.redhat.com/automake/automake.html#Extending-aclocal
> > > /usr/local/share/aclocal/cppunit.m4:4: warning: underquoted definition of
> > > AM_PATH_CPPUNIT
> >
> > The "underquoted definition" means the name does not have the brackets [..]
> > so it could be misinterpreted. You can add those by editing the pkg.m4 and
> > cppunit.m4 files but they should not be a problem unless they are actually
> > being misinterpreted.
> >
> >
> > > and this error when I enter make.
> >
> > I haven't seen that one.
>
> Looks like it's picking up bad (old) definitions of
> PKG_CHECK_MODULES and AM_PATH_CPPUNIT. I'm not sure why it's not
> using our (working!) definition of AM_PATH_CPPUNIT contained in
> config/cppunit.m4
>
> What version of autoconf and automake are you using?
>
> Eric
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm