Hi Andreas,
I found another missing file:

bpl-subset/bpl_subset/pyopenclboost/typeof/incr_registration_group.hpp(11): catastrophic error: could not open source file "boost/preprocessor/slot/counter.hpp"
  #   include <boost/preprocessor/slot/counter.hpp>

I added it + the "detail" subfolder & I made it a bit further.


Now I am stuck here:

icc -pthread -m64 -fPIC -O3 -DNDEBUG (...) -c src/wrapper/wrap_mempool.cpp -o build/temp.linux-x86_64-2.6/src/wrapper/wrap_mempool.o


/usr/include/c++/4.1.2/cstdio(109): error: the global scope has no "fgetpos"
    using ::fgetpos;
            ^

/usr/include/c++/4.1.2/cstdio(111): error: the global scope has no "fopen"
    using ::fopen;
            ^

/usr/include/c++/4.1.2/cstdio(116): error: the global scope has no "freopen"
    using ::freopen;
            ^

/usr/include/c++/4.1.2/cstdio(119): error: the global scope has no "fsetpos"
    using ::fsetpos;
            ^

/usr/include/c++/4.1.2/cstdio(138): error: the global scope has no "tmpfile"
    using ::tmpfile;

...

compilation aborted for src/wrapper/wrap_mempool.cpp (code 2)
error: command 'icc' failed with exit status 2



It looks like icc is including gcc headers (default gcc on this machine is 4.1.2). Seems odd but this may be how icc is installed.

I am not sure if this is a machine issue or if the boost macros have twisted things into this state.

-Cyrus



On 01/31/12 09:51, Andreas Kloeckner wrote:
On Tue, 31 Jan 2012 09:07:29 -0800, Cyrus Harrison<[email protected]>  wrote:
Hi Andreas,
Thanks for the update. I tested it out and hit this issue:

icc -pthread -m64 -fPIC -O3 -DNDEBUG (...) -o
build/temp.linux-x86_64-2.6/src/wrapper/wrap_cl.o
/opt/apps/cuda_SDK/4.0//OpenCL/common/inc/CL/cl_platform.h(340): warning
#1224: #warning directive: Need to implement some method to align data here
       #warning  Need to implement some method to align data here
        ^

bpl-subset/bpl_subset/boost/typeof/modifiers.hpp(11): catastrophic
error: could not open source file
"pyopenclboost/typeof/incr_registration_group.hpp"
    #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
                                                        ^
I've thrown in that file. Can you try again?

Andreas


_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to