[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Error When Installing JCC
From:       Ege Ozalp <ege.ozalp () hotmail ! com>
Date:       2022-01-27 11:25:02
Message-ID: PAXP194MB1502BE621CDE4F1FDE2342F4EE219 () PAXP194MB1502 ! EURP194 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

In order to install Nighres, I am trying to install JCC on a VM(centOS7). H=
owever, I am currently facing with the following issue:

=93c2/java/lang/Class.cpp:22:38: fatal error: java/lang/reflect/Method.h: N=
o such file or directory=94

Can you help me fix this issue? You can find the whole .txt file of code li=
nes as an attachment  to this mail.


Best regards,
Cem Ege =D6zalp




[Attachment #5 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">In order to install Nighres, I am trying to install JCC on a \
VM(centOS7). However, I am currently facing with the following issue:<o:p></o:p></p> \
<p class="MsoNormal"><o:p>&nbsp;</o:p></p> <p \
class="MsoNormal">“c2/java/lang/Class.cpp:22:38: fatal error: \
java/lang/reflect/Method.h: No such file or directory”<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">Can you help me fix this \
issue? You can find the whole .txt file of code lines as an attachment&nbsp; to this \
mail.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Cem Ege Özalp<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>


["New Error JCC.TXT" (text/plain)]

[fsluser@localhost jcc]$ export JCC_JDK=/usr/lib/jvm/java
[fsluser@localhost jcc]$ python setup.py build
running build
running build_py
writing /home/fsluser/svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/jcc2/config.py
 copying jcc2/config.py -> build/lib.linux-x86_64-2.7/jcc
running build_ext
building 'jcc._jcc2' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
jcc2/sources/jcc.cpp -o build/temp.linux-x86_64-2.7/jcc2/sources/jcc.o -DPYTHON \
-fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/jcc.cpp:24:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from jcc2/sources/jcc.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/jcc.cpp:24:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from jcc2/sources/jcc.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
jcc2/sources/JCCEnv.cpp -o build/temp.linux-x86_64-2.7/jcc2/sources/JCCEnv.o -DPYTHON \
-fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from jcc2/sources/JCCEnv.cpp:21:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from \
                /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:0,
                 from \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097,  from \
/usr/include/c++/4.8.2/bits/stl_algobase.h:59,  from \
/usr/include/c++/4.8.2/bits/stl_tree.h:61,  from /usr/include/c++/4.8.2/map:60,
                 from jcc2/sources/JCCEnv.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from jcc2/sources/JCCEnv.cpp:21:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from \
                /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:0,
                 from \
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097,  from \
/usr/include/c++/4.8.2/bits/stl_algobase.h:59,  from \
/usr/include/c++/4.8.2/bits/stl_tree.h:61,  from /usr/include/c++/4.8.2/map:60,
                 from jcc2/sources/JCCEnv.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
jcc2/sources/JObject.cpp -o build/temp.linux-x86_64-2.7/jcc2/sources/JObject.o \
-DPYTHON -fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from jcc2/sources/JObject.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/JObject.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from jcc2/sources/JObject.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/JObject.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
jcc2/sources/JArray.cpp -o build/temp.linux-x86_64-2.7/jcc2/sources/JArray.o -DPYTHON \
-fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JArray.cpp:18:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/JArray.cpp:17:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JArray.cpp:18:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/JArray.cpp:17:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
jcc2/sources/functions.cpp -o build/temp.linux-x86_64-2.7/jcc2/sources/functions.o \
-DPYTHON -fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from _jcc2/java/lang/Object.h:18,
                 from jcc2/sources/functions.cpp:23:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/functions.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from _jcc2/java/lang/Object.h:18,
                 from jcc2/sources/functions.cpp:23:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/functions.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
jcc2/sources/types.cpp -o build/temp.linux-x86_64-2.7/jcc2/sources/types.o -DPYTHON \
-fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/types.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/types.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/types.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from jcc2/sources/types.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/boot.cpp -o build/temp.linux-x86_64-2.7/_jcc2/boot.o -DPYTHON \
-fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from _jcc2/boot.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/boot.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from _jcc2/boot.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/boot.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/io/PrintWriter.cpp -o \
build/temp.linux-x86_64-2.7/_jcc2/java/io/PrintWriter.o -DPYTHON -fno-strict-aliasing \
-Wno-write-strings In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/io/PrintWriter.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/io/PrintWriter.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/io/PrintWriter.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/io/PrintWriter.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/io/StringWriter.cpp -o \
build/temp.linux-x86_64-2.7/_jcc2/java/io/StringWriter.o -DPYTHON \
-fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/io/StringWriter.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/io/StringWriter.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/io/StringWriter.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/io/StringWriter.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/io/Writer.cpp -o build/temp.linux-x86_64-2.7/_jcc2/java/io/Writer.o \
-DPYTHON -fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/io/Writer.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/io/Writer.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/io/Writer.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/io/Writer.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/io/__init__.cpp -o build/temp.linux-x86_64-2.7/_jcc2/java/io/__init__.o \
-DPYTHON -fno-strict-aliasing -Wno-write-strings gcc -pthread -fno-strict-aliasing \
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions \
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 \
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" \
-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources \
-I/usr/include/python2.7 -c _jcc2/java/lang/Boolean.cpp -o \
build/temp.linux-x86_64-2.7/_jcc2/java/lang/Boolean.o -DPYTHON -fno-strict-aliasing \
-Wno-write-strings In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Boolean.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Boolean.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Boolean.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Boolean.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/lang/Byte.cpp -o build/temp.linux-x86_64-2.7/_jcc2/java/lang/Byte.o \
-DPYTHON -fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Byte.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Byte.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Byte.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Byte.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/lang/Character.cpp -o \
build/temp.linux-x86_64-2.7/_jcc2/java/lang/Character.o -DPYTHON -fno-strict-aliasing \
-Wno-write-strings In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Character.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Character.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Character.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Character.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches \
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong \
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE \
-fPIC -fwrapv -fPIC -D_java_generics -DJCC_VER="3.11" -I/usr/lib/jvm/java/include \
-I/usr/lib/jvm/java/include/linux -I_jcc2 -Ijcc2/sources -I/usr/include/python2.7 -c \
_jcc2/java/lang/Class.cpp -o build/temp.linux-x86_64-2.7/_jcc2/java/lang/Class.o \
-DPYTHON -fno-strict-aliasing -Wno-write-strings In file included from \
/usr/include/python2.7/pyconfig.h:6:0,  from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Class.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1191:0: warning: "_POSIX_C_SOURCE" redefined \
[enabled by default]  #define _POSIX_C_SOURCE 200112L
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Class.cpp:15:
/usr/include/features.h:168:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from jcc2/sources/JCCEnv.h:47,
                 from _jcc2/java/lang/Class.cpp:16:
/usr/include/python2.7/pyconfig-64.h:1213:0: warning: "_XOPEN_SOURCE" redefined \
[enabled by default]  #define _XOPEN_SOURCE 600
 ^
In file included from /usr/include/stdio.h:27:0,
                 from /usr/lib/jvm/java/include/jni.h:39,
                 from _jcc2/java/lang/Class.cpp:15:
/usr/include/features.h:170:0: note: this is the location of the previous definition
 # define _XOPEN_SOURCE 700
 ^
_jcc2/java/lang/Class.cpp:22:38: fatal error: java/lang/reflect/Method.h: No such \
file or directory  #include "java/lang/reflect/Method.h"
                                      ^
compilation terminated.
error: command 'gcc' failed with exit status 1



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic