#61 1.2.3 fails to build on Linux

closed-out-of-date
nobody
Linux (12)
5
2005-04-07
2004-11-16
John ffitch
No

RedHat 7.x
Just a ./configure
and a make
gives
g++ -g -O2 -I../include -I../generic -I. -I../types
-I../sdif -I../osc -O2 -D_OSWCORE -D_USING_TCL
-march=pentium -march=i586 -DOSW_MAJOR_VERSION=1
-DOSW_MINOR_VERSION=2 -DOSW_SUB_VERSION=3 -D_REENTRANT
-pthread -fstack-check -ftemplate-depth-64
-felide-constructors -Wno-sign-compare -Wno-reorder -c
../generic/osw.cpp
In file included from ../include/osw.h:163,
from ../include/oswTcl.h:70,
from ../generic/osw.cpp:60:
../include/oswTimeDomainTransform.h: In method `bool
osw::TimeDomainTransform::PropagateSampleRate ()':
.......lots and lots of warnings......and then.....
/usr/include/g++-3/stl_deque.h: In method `void
_Deque_base<_Tp,
_Alloc, __bufsiz>::_M_initialize_map (unsigned int)
[with _Tp =
osw::List::ListNode, _Alloc =
allocator<osw::List::ListNode>, unsigned
int __bufsiz = 0]':
/usr/include/g++-3/stl_deque.h:349: instantiated from
`_Deque_base<_Tp, _Alloc, __bufsiz>::_Deque_base
(typename _Deque_alloc_base<_Tp, _Alloc, __bufsiz,
_Alloc_traits<_Tp,
_Allocator>::_S_instanceless>::allocator_type &,
unsigned int) [with _Tp = osw::List::ListNode, _Alloc =
allocator<osw::List::ListNode>, unsigned int __bufsiz = 0]'
/usr/include/g++-3/stl_deque.h:567: instantiated from
`deque<_Tp, _Alloc, __bufsiz>::deque (typename
_Deque_base<_Tp, _Alloc, __bufsiz>::allocator_type &)
[with _Tp = osw::List::ListNode, _Alloc =
allocator<osw::List::ListNode>, unsigned int __bufsiz = 0]'
../include/oswList.h:131: instantiated from here
/usr/include/g++-3/stl_deque.h:435: call of overloaded
`max (size_t,
unsigned int)' is ambiguous
/usr/include/g++-3/stl_algobase.h:96: candidates are:
const _Tp &max
(const _Tp &, const _Tp &) [with _Tp = size_t]
../include/oswCrap.h:104: const T
&osw::max (const T &,
const T &) [with T = size_t]

and so on

Is it just not usable?

Discussion

  • Amar Chaudhary
    Amar Chaudhary
    2004-11-16

    Logged In: YES
    user_id=315707

    This has been working OK for me.
    What versions of gcc and libstdc++ are you using?
    (3.3 or above is recommended, and probably required).

     
  • Amar Chaudhary
    Amar Chaudhary
    2004-11-16

    • labels: --> Linux
    • status: open --> open-works-for-me
     
  • Amar Chaudhary
    Amar Chaudhary
    2005-04-07

    • status: open-works-for-me --> closed-works-for-me
     
  • Amar Chaudhary
    Amar Chaudhary
    2005-04-07

    • status: closed-works-for-me --> closed-out-of-date
     
  • Amar Chaudhary
    Amar Chaudhary
    2005-04-07

    Logged In: YES
    user_id=315707

    With the release of 1.2.5 I am marking this as out of date.
    Hopefully the new version will not cause similar problems
    for people who had difficulty compiling 1.2.3.