make zh-xsim ports failed

From: wsk <wsk_at_gddsn.org.cn>
Date: Fri, 30 Jul 2004 17:47:38 +0800
hi,list:
make xsim failled,it maybe related gcc imported???and any ideas?

===> Building for zh-xsim-0.3.9.4
cd dict; make
c++ char2db.cpp -o char2db -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4
-DOS_FREEBSD -L/usr/X11R6/lib -L/usr/local/lib -ldb3_cxx
-I/usr/ports/chinese/xsim/work/xsim-0.3.9.4/xsim -I/usr/local/include/db3
In file included from /usr/include/c++/3.4/backward/iostream.h:31,
from /usr/local/include/db3/db_cxx.h:52,
from char2db.cpp:25:
/usr/include/c++/3.4/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <iostream> instead of the deprecated header
<iostream.h>. To disable this warning use -Wno-deprecated.
char2db.cpp: In function `void build_freq_tab(char*)':
char2db.cpp:80: error: no matching function for call to
`std::basic_filebuf<char, std::char_traits<char> >::open(char*&, const
char[2])'
/usr/include/c++/3.4/bits/fstream.tcc:92: note: candidates are: typename
std::basic_filebuf<_CharT, _Traits>::__filebuf_type*
std::basic_filebuf<_CharT, _Traits>::open(const char*,
std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
char2db.cpp: In function `int main(int, char**)':
char2db.cpp:160: error: no matching function for call to
`std::basic_filebuf<char, std::char_traits<char> >::open(char*&, const
char[2])'
/usr/include/c++/3.4/bits/fstream.tcc:92: note: candidates are: typename
std::basic_filebuf<_CharT, _Traits>::__filebuf_type*
std::basic_filebuf<_CharT, _Traits>::open(const char*,
std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
*** Error code 1

Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins/IMs/jianpin/dict.
*** Error code 1

Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins/IMs/jianpin.
*** Error code 1

Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins/IMs.
*** Error code 1

Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins.
*** Error code 1

Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4.
*** Error code 1

Stop in /usr/ports/chinese/xsim.
*** Error code 1

Stop in /usr/ports/chinese/xsim.
Received on Fri Jul 30 2004 - 07:48:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC