Skip to content

Instantly share code, notes, and snippets.

@matejaputic
Created October 30, 2015 04:46
Show Gist options
  • Save matejaputic/d07c319e33d7e5d91bda to your computer and use it in GitHub Desktop.
Save matejaputic/d07c319e33d7e5d91bda to your computer and use it in GitHub Desktop.
With static capnproto libs
/if21/mp3t/.local/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/if21/mp3t/.local/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/if21/mp3t/.local/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/if21/mp3t/.local/include/nupic/math/SparseBinaryMatrix.hpp:491: Warning 325: Nested struct not currently supported (lexicographic_order ignored)
nupic/bindings/algorithms.i:727: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition.
nupic/bindings/algorithms.i:757: Warning 303: %extend defined for an undeclared class nupic::algorithms::Inhibition2.
/if21/mp3t/.local/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored.
/if21/mp3t/.local/include/nupic/math/Math.hpp:521: Warning 325: Nested struct not currently supported (lexicographic ignored)
/if21/mp3t/.local/include/nupic/math/Math.hpp:533: Warning 325: Nested struct not currently supported (less_value ignored)
/if21/mp3t/.local/include/nupic/math/Math.hpp:545: Warning 325: Nested struct not currently supported (greater_value ignored)
/if21/mp3t/.local/include/nupic/math/SparseBinaryMatrix.hpp:491: Warning 325: Nested struct not currently supported (lexicographic_order ignored)
/if21/mp3t/.local/include/nupic/utils/LoggingException.hpp:36: Warning 401: Nothing known about base class 'Exception'. Ignored.
Python Bindings directory: /net/if21/mp3t/Documents/nupic.core/bindings/py
NUMPY VERSION: 1.9.2
Nupic Core Release Directory: /if21/mp3t/.local
Get SWIG C++ extensions
/net/if21/mp3t/Documents/nupic.core/external/linux64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/net/if21/mp3t/Documents/nupic.core/external/common/share/swig/3.0.2/python -I/net/if21/mp3t/Documents/nupic.core/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include nupic/bindings/algorithms.i
/net/if21/mp3t/Documents/nupic.core/external/linux64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/net/if21/mp3t/Documents/nupic.core/external/common/share/swig/3.0.2/python -I/net/if21/mp3t/Documents/nupic.core/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include nupic/bindings/engine_internal.i
/net/if21/mp3t/Documents/nupic.core/external/linux64/bin/swig -c++ -python -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 -DSWIG_PYTHON_LEGACY_BOOL -I/net/if21/mp3t/Documents/nupic.core/external/common/share/swig/3.0.2/python -I/net/if21/mp3t/Documents/nupic.core/external/common/share/swig/3.0.2 -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include nupic/bindings/math.i
Setup SWIG Python module
running develop
running egg_info
writing requirements to nupic.bindings.egg-info/requires.txt
writing nupic.bindings.egg-info/PKG-INFO
writing namespace_packages to nupic.bindings.egg-info/namespace_packages.txt
writing top-level names to nupic.bindings.egg-info/top_level.txt
writing dependency_links to nupic.bindings.egg-info/dependency_links.txt
reading manifest file 'nupic.bindings.egg-info/SOURCES.txt'
writing manifest file 'nupic.bindings.egg-info/SOURCES.txt'
running build_ext
building 'nupic.bindings._algorithms' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c ../../src/nupic/py_support/NumpyVector.cpp -o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/NumpyVector.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c ../../src/nupic/py_support/PyArray.cpp -o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/PyArray.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c ../../src/nupic/py_support/PyHelpers.cpp -o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/PyHelpers.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c ../../src/nupic/py_support/PythonStream.cpp -o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/PythonStream.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX -DHAVE_UNISTD_H -I/net/if21/mp3t/Documents/nupic.core/external/linux64/include -I/net/if21/mp3t/Documents/nupic.core/external/common/include -I/if21/mp3t/.local/include -I/usr/include/python2.7 -I/net/if21/mp3t/Documents/nupic.core/bindings/py -I/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c nupic/bindings/algorithms_wrap.cxx -o build/temp.linux-x86_64-2.7/nupic/bindings/algorithms_wrap.o -std=c++11 -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused -Wno-unused-parameter -mtune=generic -O2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26:0,
from /if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from nupic/bindings/algorithms_wrap.cxx:4396:
/if21/mp3t/.local/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
_import_array(void)
^
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/../../src/nupic/py_support/NumpyVector.o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/PyArray.o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/PyHelpers.o build/temp.linux-x86_64-2.7/../../src/nupic/py_support/PythonStream.o build/temp.linux-x86_64-2.7/nupic/bindings/algorithms_wrap.o /if21/mp3t/.local/lib/libnupic_core.a -lpython2.7 -ldl -lkj -lcapnp -lcapnpc -lpthread -o build/lib.linux-x86_64-2.7/nupic/bindings/_algorithms.so -m64 -fPIC -L/if21/mp3t/.local/lib -O2
/usr/bin/ld: /if21/mp3t/.local/lib/libkj.a(io.o): relocation R_X86_64_32S against `_ZTVN2kj11InputStreamE' can not be used when making a shared object; recompile with -fPIC
/if21/mp3t/.local/lib/libkj.a: error adding symbols: Bad value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment