Hello, In order to install Nighres, I am trying to install JCC on a VM(centOS7). However, I am currently facing with the following issue:
“c2/java/lang/Class.cpp:22:38: fatal error: java/lang/reflect/Method.h: No such file or directory” Can you help me fix this issue? You can find the whole .txt file of code lines as an attachment to this mail. Best regards, Cem Ege Özalp
[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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org