Skip to content

Instantly share code, notes, and snippets.

@agibsonccc
Created March 27, 2017 05:33
Show Gist options
  • Save agibsonccc/055ba78edd50dcd3abcfd86d52e24c9d to your computer and use it in GitHub Desktop.
Save agibsonccc/055ba78edd50dcd3abcfd86d52e24c9d to your computer and use it in GitHub Desktop.
Warning: renaming static method 'hashCode' on class java.lang.Float to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'isInfinite' on class java.lang.Float to 'isInfinite_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'isNaN' on class java.lang.Float to 'isNaN_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Float to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Boolean to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Boolean to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Short to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Short to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Character to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Character to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Integer to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Integer to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Long to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Long to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Byte to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Byte to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'hashCode' on class java.lang.Double to 'hashCode_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'isInfinite' on class java.lang.Double to 'isInfinite_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'isNaN' on class java.lang.Double to 'isNaN_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'toString' on class java.lang.Double to 'toString_' since it is shadowed by non-static method of same name.
Warning: renaming static method 'offset' on class org.nd4j.linalg.indexing.NDArrayIndex to 'offset_' since it is shadowed by non-static method of same name.
setup args = {'ext_modules': [<setuptools.extension.Extension instance at 0x7f5c9844b3f8>], 'name': 'nd4j', 'package_data': {'nd4j': ['nd4j-api-0.8.1-20170326.014246-18.jar', 'nd4j-native-api-0.8.1-20170326.014208-18.jar']}, 'version': '', 'zip_safe': False, 'script_args': ['build_ext', 'install'], 'packages': ['nd4j'], 'package_dir': {'nd4j': 'build/nd4j'}}
/usr/lib/python2.7/site-packages/setuptools/dist.py:341: UserWarning: The version specified ('') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
running build_ext
building 'nd4j._nd4j' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON -DJCC_VER="2.23" -D_java_generics -I/usr/java/latest//include -I/usr/java/latest//include/linux -Ibuild/_nd4j -I/usr/lib64/python2.7/site-packages/jcc/sources -I/usr/include/python2.7 -c build/_nd4j/JArray.cpp -o build/temp.linux-x86_64-2.7/build/_nd4j/JArray.o -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 build/_nd4j/JArray.cpp:18:
/usr/include/python2.7/pyconfig-64.h:1203:0: warning: "_POSIX_C_SOURCE" redefined
#define _POSIX_C_SOURCE 200112L
^
In file included from /usr/include/stdio.h:27:0,
from /usr/java/latest//include/jni.h:39,
from build/_nd4j/JArray.cpp:17:
/usr/include/features.h:225: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 build/_nd4j/JArray.cpp:18:
/usr/include/python2.7/pyconfig-64.h:1225:0: warning: "_XOPEN_SOURCE" redefined
#define _XOPEN_SOURCE 600
^
In file included from /usr/include/stdio.h:27:0,
from /usr/java/latest//include/jni.h:39,
from build/_nd4j/JArray.cpp:17:
/usr/include/features.h:166:0: note: this is the location of the previous definition
# define _XOPEN_SOURCE 700
^
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON -DJCC_VER="2.23" -D_java_generics -I/usr/java/latest//include -I/usr/java/latest//include/linux -Ibuild/_nd4j -I/usr/lib64/python2.7/site-packages/jcc/sources -I/usr/include/python2.7 -c build/_nd4j/__wrap__.cpp -o build/temp.linux-x86_64-2.7/build/_nd4j/__wrap__.o -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 /usr/lib64/python2.7/site-packages/jcc/sources/JCCEnv.h:47,
from build/_nd4j/__wrap__.cpp:2:
/usr/include/python2.7/pyconfig-64.h:1203:0: warning: "_POSIX_C_SOURCE" redefined
#define _POSIX_C_SOURCE 200112L
^
In file included from /usr/include/stdio.h:27:0,
from /usr/java/latest//include/jni.h:39,
from build/_nd4j/__wrap__.cpp:1:
/usr/include/features.h:225: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 /usr/lib64/python2.7/site-packages/jcc/sources/JCCEnv.h:47,
from build/_nd4j/__wrap__.cpp:2:
/usr/include/python2.7/pyconfig-64.h:1225:0: warning: "_XOPEN_SOURCE" redefined
#define _XOPEN_SOURCE 600
^
In file included from /usr/include/stdio.h:27:0,
from /usr/java/latest//include/jni.h:39,
from build/_nd4j/__wrap__.cpp:1:
/usr/include/features.h:166:0: note: this is the location of the previous definition
# define _XOPEN_SOURCE 700
^
In file included from build/_nd4j/__wrap__.cpp:1849:0:
build/_nd4j/org/bytedeco/javacpp/Pointer.h:102:51: error: macro "offsetof" requires 2 arguments, but only 1 given
jint offsetof(const ::java::lang::String &) const;
^
build/_nd4j/__wrap__.cpp:174210:61: error: macro "offsetof" requires 2 arguments, but only 1 given
jint Pointer::offsetof(const ::java::lang::String & a0) const
^
build/_nd4j/__wrap__.cpp:174705:54: error: macro "offsetof" requires 2 arguments, but only 1 given
OBJ_CALL(result = self->object.offsetof(a0));
^
In file included from build/_nd4j/__wrap__.cpp:1849:0:
build/_nd4j/org/bytedeco/javacpp/Pointer.h:102:14: error: expected ‘;’ at end of member declaration
jint offsetof(const ::java::lang::String &) const;
^
build/_nd4j/org/bytedeco/javacpp/Pointer.h:102:53: error: declaration does not declare anything [-fpermissive]
jint offsetof(const ::java::lang::String &) const;
^
build/_nd4j/org/bytedeco/javacpp/Pointer.h:109:14: error: expected unqualified-id before ‘sizeof’
jint sizeof() const;
^
In file included from /usr/lib64/python2.7/site-packages/jcc/sources/JObject.h:94:0,
from build/_nd4j/java/lang/Object.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseTransformOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/impl/transforms/comparison/CompareAndReplace.h:4,
from build/_nd4j/__wrap__.cpp:3:
build/_nd4j/__wrap__.cpp:166106:242: error: wrong number of template arguments (1, should be 2)
tIterator_init_, PyObject_SelfIter, ((PyObject *(*)(::java::util::t_Iterator *)) get_iterator_next< ::java::util::t_Iterator,t_JArrayWrapper< jint > >), 0, 0,
^
/usr/lib64/python2.7/site-packages/jcc/sources/macros.h:98:47: note: in definition of macro ‘DECLARE_TYPE’
/* tp_iternext */ (iternextfunc) iternext, \
^
In file included from build/_nd4j/__wrap__.cpp:9:0:
/usr/lib64/python2.7/site-packages/jcc/sources/JArray.h:1772:40: note: provided for ‘template<class T, class U> class t_JArrayWrapper’
template<typename T, typename U> class t_JArrayWrapper {
^
In file included from /usr/lib64/python2.7/site-packages/jcc/sources/JObject.h:94:0,
from build/_nd4j/java/lang/Object.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseTransformOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/impl/transforms/comparison/CompareAndReplace.h:4,
from build/_nd4j/__wrap__.cpp:3:
build/_nd4j/__wrap__.cpp:166106:176: error: insufficient contextual information to determine type
terator, t_FlatIterator, ::java::lang::Object, FlatIterator, t_FlatIterator_init_, PyObject_SelfIter, ((PyObject *(*)(::java::util::t_Iterator *)) get_iterato
^
/usr/lib64/python2.7/site-packages/jcc/sources/macros.h:98:47: note: in definition of macro ‘DECLARE_TYPE’
/* tp_iternext */ (iternextfunc) iternext, \
^
build/_nd4j/__wrap__.cpp:170572:254: error: wrong number of template arguments (1, should be 2)
xIterator_init_, PyObject_SelfIter, ((PyObject *(*)(::java::util::t_Iterator *)) get_iterator_next< ::java::util::t_Iterator,t_JArrayWrapper< jint > >), 0, 0,
^
/usr/lib64/python2.7/site-packages/jcc/sources/macros.h:98:47: note: in definition of macro ‘DECLARE_TYPE’
/* tp_iternext */ (iternextfunc) iternext, \
^
In file included from build/_nd4j/__wrap__.cpp:9:0:
/usr/lib64/python2.7/site-packages/jcc/sources/JArray.h:1772:40: note: provided for ‘template<class T, class U> class t_JArrayWrapper’
template<typename T, typename U> class t_JArrayWrapper {
^
In file included from /usr/lib64/python2.7/site-packages/jcc/sources/JObject.h:94:0,
from build/_nd4j/java/lang/Object.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseTransformOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/impl/transforms/comparison/CompareAndReplace.h:4,
from build/_nd4j/__wrap__.cpp:3:
build/_nd4j/__wrap__.cpp:170572:188: error: insufficient contextual information to determine type
t_NdIndexIterator, ::java::lang::Object, NdIndexIterator, t_NdIndexIterator_init_, PyObject_SelfIter, ((PyObject *(*)(::java::util::t_Iterator *)) get_iterato
^
/usr/lib64/python2.7/site-packages/jcc/sources/macros.h:98:47: note: in definition of macro ‘DECLARE_TYPE’
/* tp_iternext */ (iternextfunc) iternext, \
^
build/_nd4j/__wrap__.cpp:174210:63: error: expected initializer before ‘const’
jint Pointer::offsetof(const ::java::lang::String & a0) const
^
build/_nd4j/__wrap__.cpp:174247:21: error: expected unqualified-id before ‘sizeof’
jint Pointer::sizeof() const
^
In file included from /usr/lib64/python2.7/site-packages/jcc/sources/JObject.h:94:0,
from build/_nd4j/java/lang/Object.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/BaseTransformOp.h:4,
from build/_nd4j/org/nd4j/linalg/api/ops/impl/transforms/comparison/CompareAndReplace.h:4,
from build/_nd4j/__wrap__.cpp:3:
build/_nd4j/__wrap__.cpp: In function ‘PyObject* org::bytedeco::javacpp::t_Pointer_sizeof(org::bytedeco::javacpp::t_Pointer*)’:
build/_nd4j/__wrap__.cpp:174787:40: error: expected unqualified-id before ‘sizeof’
OBJ_CALL(result = self->object.sizeof());
^
/usr/lib64/python2.7/site-packages/jcc/sources/macros.h:22:13: note: in definition of macro ‘OBJ_CALL’
action; \
^
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment