Skip to content

Instantly share code, notes, and snippets.

@agibsonccc
Created March 27, 2017 05:46
Show Gist options
  • Save agibsonccc/630f021093349849b4cd57899b4ce226 to your computer and use it in GitHub Desktop.
Save agibsonccc/630f021093349849b4cd57899b4ce226 to your computer and use it in GitHub Desktop.
LF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
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.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.
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.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.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.
setup args = {'ext_modules': [<setuptools.extension.Extension instance at 0x7f5cc803f680>], '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 /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:105813: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:105813: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:157979: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:157979: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, \
^
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