From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 09:48:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3756816A4CE for ; Fri, 30 Jul 2004 09:48:47 +0000 (GMT) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6EEC43D5A for ; Fri, 30 Jul 2004 09:48:46 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (unknown [211.96.21.195]) by gddsn.org.cn (Postfix) with ESMTP id 59F0338CBE2 for ; Fri, 30 Jul 2004 17:47:40 +0800 (CST) Message-ID: <410A193A.7030009@gddsn.org.cn> Date: Fri, 30 Jul 2004 17:47:38 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.6) Gecko/20040706 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 30 Jul 2004 11:54:42 +0000 Subject: make zh-xsim ports failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 09:48:47 -0000 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 header for the header for C++ includes, or instead of the deprecated header . 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 >::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] char2db.cpp: In function `int main(int, char**)': char2db.cpp:160: error: no matching function for call to `std::basic_filebuf >::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] *** 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.