Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 17:47:38 +0800
From:      wsk <wsk@gddsn.org.cn>
To:        current@freebsd.org
Subject:   make zh-xsim ports failed
Message-ID:  <410A193A.7030009@gddsn.org.cn>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?410A193A.7030009>