Dear Guys,

This is Jianbin Fang from the Netherlands. When making pocl (version 0.7) on my 
linux(64bit) machine, I encountered the following compiling errors. Do you have 
any idea what the problem is ? I have installed LLVM and Clang v3.2 on my local 
machine.

Jianbin

----------------------------------------------------------------------------------------------------------------------------------

Making all in lib
make[2]: Entering directory `/home/cambine/Depository/llvm/pocl/lib'
Making all in llvmopencl
make[3]: Entering directory `/home/cambine/Depository/llvm/pocl/lib/llvmopencl'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..    -I../../fix-include -I../../include 
`/home/cambine/Depository/polly/llvm_build/bin/llvm-config --cxxflags` -g -O2 
-MT BarrierBlock.lo -MD -MP -MF .deps/BarrierBlock.Tpo -c -o BarrierBlock.lo 
BarrierBlock.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../fix-include 
-I../../include -I/home/cambine/Depository/polly/llvm_build/include -fPIC 
-fvisibility-inlines-hidden -D_GNU_SOURCE -Wall -W -Wno-unused-parameter 
-Wwrite-strings -pedantic -Wno-long-long -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -MT BarrierBlock.lo -MD -MP 
-MF .deps/BarrierBlock.Tpo -c BarrierBlock.cc  -fPIC -DPIC -o 
.libs/BarrierBlock.o
In file included from BarrierBlock.cc:23:
BarrierBlock.h:25:29: error: llvm/BasicBlock.h: No such file or directory
In file included from BarrierBlock.cc:24:
Barrier.h:25:31: error: llvm/Instructions.h: No such file or directory
Barrier.h:26:27: error: llvm/Function.h: No such file or directory
Barrier.h:27:25: error: llvm/Module.h: No such file or directory
Barrier.h:34:34: error: llvm/Support/Casting.h: No such file or directory
In file included from BarrierBlock.cc:23:
BarrierBlock.h:35: error: 'llvm' has not been declared
BarrierBlock.h:35: error: expected '{' before 'BasicBlock'
BarrierBlock.h:35: error: invalid type in declaration before '{' token
BarrierBlock.h:35: warning: extended initializer lists only available with 
-std=c++0x or -std=gnu++0x
BarrierBlock.h:37: error: expected primary-expression before 'public'
BarrierBlock.h:37: error: expected '}' before 'public'
BarrierBlock.h:37: error: expected ',' or ';' before 'public'
BarrierBlock.h:39: error: ISO C++ forbids declaration of 'llvm' with no type
BarrierBlock.h:39: error: expected ',' or '...' before '::' token
BarrierBlock.h:40: warning: extra ';'
BarrierBlock.h:42: error: expected declaration before '}' token
BarrierBlock.h:39: warning: 'bool pocl::classof(int)' declared 'static' but 
never defined
make[3]: *** [BarrierBlock.lo] Error 1
make[3]: Leaving directory `/home/cambine/Depository/llvm/pocl/lib/llvmopencl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cambine/Depository/llvm/pocl/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cambine/Depository/llvm/pocl'
make: *** [all] Error 2



----------------------------------------------------------------------------------
Jianbin Fang, PhD student from
Parallel and Distributed Systems Group,
Delft University of Technology
Mekelweg 4, 2628 CD  Delft, Delft, the Netherlands
tel: +31.15.2782606
e-mail: [email protected]
www: http://www.pds.ewi.tudelft.nl/fang/
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to