Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 6331 invoked from network); 11 Feb 2009 09:23:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 09:23:16 -0000 Received: (qmail 29863 invoked by uid 500); 11 Feb 2009 09:23:16 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 29839 invoked by uid 500); 11 Feb 2009 09:23:16 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 29827 invoked by uid 99); 11 Feb 2009 09:23:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 01:23:16 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of luc.bastiaenssen@ua.ac.be designates 143.169.239.19 as permitted sender) Received: from [143.169.239.19] (HELO anet.ua.ac.be) (143.169.239.19) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 09:23:08 +0000 Received: from [146.175.30.14] (pcanet005.cst.ua.ac.be [146.175.30.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anet.ua.ac.be (Anet mail server) with ESMTPSA id 6B4581D1A47 for ; Wed, 11 Feb 2009 10:22:36 +0100 (CET) Message-ID: <499298DD.8050704@ua.ac.be> Date: Wed, 11 Feb 2009 10:22:37 +0100 From: Luc Bastiaenssen User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: pylucene-dev@lucene.apache.org Subject: Re: JCC compile error on solaris - JArray.cpp References: <49914CD5.6080003@ua.ac.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UA-Library-MailScanner-Information: Please contact the ISP for more information X-UA-Library-MailScanner-ID: 6B4581D1A47.025C7 X-UA-Library-MailScanner: Found to be clean X-UA-Library-MailScanner-From: luc.bastiaenssen@ua.ac.be X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Thanks, it works ! Luc Andi Vajda wrote: > > On Tue, 10 Feb 2009, Luc Bastiaenssen wrote: > >> I can't compile JCC anymore on Solaris since the introduction of JCC 2.x >> >> Platform: Solaris 10 on Intel with Sun Studio C++ 12, Java 1.6 and >> Python 2.5. >> >> Command: CC=CC /usr/bin/python2.5 setup.py build >> >> running build >> running build_py >> copying jcc/config.py -> build/lib.solaris-2.10-i86pc-2.5/jcc >> running build_ext >> building 'jcc._jcc' extension >> /usr/lib/python2.5/pycc -DNDEBUG >> -I/usr/jdk/instances/jdk1.6.0/include >> -I/usr/jdk/instances/jdk1.6.0/include/solaris -I_jcc -Ijcc/sources >> -I/usr/include/python2.5 -c jcc/sources/JArray.cpp -o >> build/temp.solaris-2.10-i86pc-2.5/jcc/sources/JArray.o -DPYTHON >> -features=iddollar -erroff=badargtypel2w,wbadinitl,wvarhidemem >> "jcc/sources/JArray.cpp", line 1044: Warning: String literal >> converted to char* in assignment. >> "jcc/sources/JArray.cpp", line 165: Error: Could not find a match for >> _format(_t_jarray*, extern "C" _object*(_object*)) needed >> in repr<_t_jarray>(_t_jarray*). >> "jcc/sources/JArray.cpp", line 596: Where: While instantiating >> "repr<_t_jarray>(_t_jarray*)". >> "jcc/sources/JArray.cpp", line 596: Where: Instantiated from >> non-template code. >> 1 Error(s) and 1 Warning(s) detected. >> error: command '/usr/lib/python2.5/pycc' failed with exit status 1 > > The Solaris compiler needed an extra cast. > Fixed in rev 743062. > > Andi.. --