Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
by
ataranlen
on 12/05/2011, 07:20:32 UTC
Step "make -j3" ends with error:
Code:
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [all] Error 1
HW: Radeon 5770

Same issue here, HW: 2x Radeon 5870x2

Code:
nathan@TheBeast:~/pyopencl-0.92$ make -j3
ctags -R src || true
/bin/sh: ctags: not found
/usr/bin/python setup.py build
running build
running build_py
running build_ext
building '_cl' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_cl.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl_part_1.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_1.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl_part_1.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_cl_part_2.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_2.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_cl_part_2.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/wrapper/wrap_constants.cpp -o build/temp.linux-i686-2.7/src/wrapper/wrap_constants.o
In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50:0,
                 from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
                 from bpl-subset/bpl_subset/boost/python/slice.hpp:9,
                 from src/wrapper/wrap_cl.hpp:41,
                 from src/wrapper/wrap_constants.cpp:1:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:163:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:165:0: note: this is the location of the previous definition
src/wrapper/wrap_constants.cpp: In function ‘void pyopencl_expose_constants()’:
src/wrapper/wrap_constants.cpp:87:5: warning: deprecated conversion from string constant to ‘char*’
src/wrapper/wrap_constants.cpp:91:5: warning: deprecated conversion from string constant to ‘char*’
src/wrapper/wrap_constants.cpp:92:5: warning: deprecated conversion from string constant to ‘char*’
src/wrapper/wrap_constants.cpp:93:5: warning: deprecated conversion from string constant to ‘char*’
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/function_doc_signature.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function_doc_signature.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/pickle_support.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/pickle_support.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/inheritance.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/inheritance.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/iterator.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/iterator.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/enum.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/enum.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/function.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/class.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/class.o
bpl-subset/bpl_subset/libs/python/src/object/class.cpp: In function ‘int boost::python::property_init(PyObject*, PyObject*, PyObject*)’:
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
bpl-subset/bpl_subset/libs/python/src/object/class.cpp:79:64: warning: deprecated conversion from string constant to ‘char*’
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object/life_support.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/life_support.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/registry.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/registry.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.o
bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.cpp:369:13: warning: ‘boost::python::converter::::py_unicode_as_string_unaryfunc’ defined but not used
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/arg_to_python_base.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/arg_to_python_base.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/from_python.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/from_python.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/converter/type_id.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/type_id.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/smart_ptr/src/sp_collector.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_collector.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/smart_ptr/src/sp_debug_hooks.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_debug_hooks.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/dict.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/dict.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/slice.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/slice.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object_operators.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_operators.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/str.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/str.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/import.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/import.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/tuple.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/tuple.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/exec.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/exec.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/list.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/list.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/numeric.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/numeric.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/long.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/long.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/errors.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/errors.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/module.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/module.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/object_protocol.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_protocol.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/python/src/wrapper.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/wrapper.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/thread/src/pthread/once.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/opt/ati-stream-sdk-v2.1-lnx64/include/ -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c bpl-subset/bpl_subset/libs/thread/src/pthread/thread.cpp -o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/thread.o
g++ -pthread -shared -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/src/wrapper/wrap_cl.o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_1.o build/temp.linux-i686-2.7/src/wrapper/wrap_cl_part_2.o build/temp.linux-i686-2.7/src/wrapper/wrap_constants.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function_doc_signature.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/pickle_support.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/inheritance.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/iterator.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/enum.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/function.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/class.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object/life_support.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/registry.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/builtin_converters.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/arg_to_python_base.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/from_python.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/converter/type_id.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_collector.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src/sp_debug_hooks.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/dict.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/slice.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_operators.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/str.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/import.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/tuple.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/exec.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/list.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/numeric.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/long.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/errors.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/module.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/object_protocol.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/python/src/wrapper.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/once.o build/temp.linux-i686-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread/thread.o -L/opt/ati-stream-sdk-v2.1-lnx64/lib -lOpenCL -o build/lib.linux-i686-2.7/pyopencl/_cl.so
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make: *** [all] Error 1