Menu

#15 compile problem on mandrake 10.1

open
nobody
None
5
2005-04-21
2005-04-21
No

source='rebuild.cc' object='rebuild.o' libtool=no \
depfile='.deps/rebuild.Po' tmpdepfile='.deps/rebuild.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -O2 -Wall -c -o
rebuild.o `test -f 'rebuild.cc' || echo './'`rebuild.cc
rebuild.cc: In member function `void RebuildFile::init_stream()':
rebuild.cc:1006: error: no matching function for call to
`__gnu_cxx::stdio_filebuf<char, std::char_traits<char>
>::stdio_filebuf(int, const std::_Ios_Openmode&, bool, const int&)'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/ext/stdio_filebuf.h:54:
note: candidates are: __gnu_cxx::stdio_filebuf<char,
std::char_traits<char> >::stdio_filebuf(const
__gnu_cxx::stdio_filebuf<char, std::char_traits<char> >&)
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/ext/stdio_filebuf.h:148:
note: __gnu_cxx::stdio_filebuf<_CharT,
_Traits>::stdio_filebuf(std::__c_file*, std::_Ios_Openmode, size_t)
[with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/ext/stdio_filebuf.h:131:
note: __gnu_cxx::stdio_filebuf<_CharT,
_Traits>::stdio_filebuf(int, std::_Ios_Openmode, size_t) [with
_CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/ext/stdio_filebuf.h:68:
note: __gnu_cxx::stdio_filebuf<_CharT,
_Traits>::stdio_filebuf() [with _CharT = char, _Traits =
std::char_traits<char>]
make[4]: *** [rebuild.o] Error 1
make[4]: Leaving directory `/home/vjoel/src/prcs-1.3.3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vjoel/src/prcs-1.3.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vjoel/src/prcs-1.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vjoel/src/prcs-1.3.3'
make: *** [all] Error 2

Discussion

  • Daniel Macks

    Daniel Macks - 2006-02-21

    Logged In: YES
    user_id=535292

    Looks like a problem with gcc3.4 (and beyond). Confirmed on Mac OS X: okay on gcc3.3, same error as above on gcc4

     
  • Joel VanderWerf

    Joel VanderWerf - 2006-02-21

    Logged In: YES
    user_id=314554

    For the record, I've since switched to ubuntu breezy and
    gcc4.0.2, which builds prcs-1.3 just fine.

     

Log in to post a comment.