Hi,
Anyone ever tried to compile prcs on suse 8.2 ? I got the errors
attached below. I know many things concerning file I/O have changed
in the template library over the last few years, I am not a C++ expert
though. I saw that the patch files for gcc3 were applied correctly
during configure. I also add some version info about the system.
Any ideas ?
Hugo Cornelis
-----------
$ gcc --version
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
$ rpm -qa | grep libc
glibc-html-2.3.2-6
glibc-2.3.2-6
glibc-locale-2.3.2-6
glibc-profile-2.3.2-6
libcap-1.92-278
glibc-info-2.3.2-6
glibc-devel-2.3.2-6
$ rpm -qa | grep c++
libstdc++-3.3-23
libstdc++-devel-3.3-23
gcc-c++-3.3-23
-----------
cd /home/hco/download/prcs-1.3.2/
make -k
make all-recursive
make[1]: Entering directory `/home/hco/download/prcs-1.3.2'
Making all in src
make[2]: Entering directory `/home/hco/download/prcs-1.3.2/src'
make all-recursive
make[3]: Entering directory `/home/hco/download/prcs-1.3.2/src'
Making all in include
make[4]: Entering directory `/home/hco/download/prcs-1.3.2/src/include'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/hco/download/prcs-1.3.2/src/include'
make[4]: Entering directory `/home/hco/download/prcs-1.3.2/src'
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:998: error: no matching function for call to `
std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(FILE*,
const std::_Ios_Openmode&)'
/usr/include/g++/iosfwd:86: error: candidates are: std::basic_filebuf<char,
std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char,
std::char_traits<char> >&)
/usr/include/g++/fstream:145: error: std::basic_filebuf<_CharT,
_Traits>::basic_filebuf() [with _CharT = char, _Traits =
std::char_traits<char>]
make[4]: *** [rebuild.o] Error 1
source='prcserror.cc' object='prcserror.o' libtool=no \
depfile='.deps/prcserror.Po' tmpdepfile='.deps/prcserror.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -O2 -Wall -c -o prcserror.o
`test -f prcserror.cc || echo './'`prcserror.cc
prcserror.cc:55: error: no matching function for call to `
std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(_IO_FILE*&,
const std::_Ios_Openmode&)'
/usr/include/g++/iosfwd:86: error: candidates are: std::basic_filebuf<char,
std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char,
std::char_traits<char> >&)
/usr/include/g++/fstream:145: error: std::basic_filebuf<_CharT,
_Traits>::basic_filebuf() [with _CharT = char, _Traits =
std::char_traits<char>]
prcserror.cc:56: error: no matching function for call to `
std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(_IO_FILE*&,
const std::_Ios_Openmode&)'
/usr/include/g++/iosfwd:86: error: candidates are: std::basic_filebuf<char,
std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char,
std::char_traits<char> >&)
/usr/include/g++/fstream:145: error: std::basic_filebuf<_CharT,
_Traits>::basic_filebuf() [with _CharT = char, _Traits =
std::char_traits<char>]
make[4]: *** [prcserror.o] Error 1
make[4]: Target `all-am' not remade because of errors.
make[4]: Leaving directory `/home/hco/download/prcs-1.3.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hco/download/prcs-1.3.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2/src'
Making all in doc
make[2]: Entering directory `/home/hco/download/prcs-1.3.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2/doc'
Making all in contrib
make[2]: Entering directory `/home/hco/download/prcs-1.3.2/contrib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2/contrib'
Making all in emacs
make[2]: Entering directory `/home/hco/download/prcs-1.3.2/emacs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2/emacs'
Making all in m4
make[2]: Entering directory `/home/hco/download/prcs-1.3.2/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2/m4'
Making all in be
make[2]: Entering directory `/home/hco/download/prcs-1.3.2/be'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2/be'
make[2]: Entering directory `/home/hco/download/prcs-1.3.2'
/bin/sh: line 1: src/prcs: No such file or directory
* Warning: prcs config reports a configuration error, probably
* indicating that one of the programs prcs uses is the wrong
* version. You may set the RCS_PATH environment variable to
* correct this problem.
make[2]: Leaving directory `/home/hco/download/prcs-1.3.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hco/download/prcs-1.3.2'
make: *** [all] Error 2
Compilation exited abnormally with code 2 at Tue Dec 2 17:03:22
|