lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Bastiaenssen <>
Subject JCC compile error on solaris - JArray.cpp
Date Tue, 10 Feb 2009 09:45:57 GMT

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 build

running build
running build_py
copying jcc/ -> 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<U>(_t_jarray<short>*, extern "C" _object*(_object*)) needed in 
"jcc/sources/JArray.cpp", line 596:     Where: While instantiating 
"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

Kind regards,


View raw message