sudo ./build.py --install
scons -Q install=true
Build rules for Ocelot....
Glew disabled: not found
Ocelot will be installed at /usr/local
config_h_build([".release_build/configure.h"], ["configure.h.in"])
g++ -o .release_build/ocelot/ir/implementation/ExternalFunctionSet.os -c -O2 -Wall -Werror -std=c++0x -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fPIC -I. -I/usr/include -I/usr/include -I/usr/lib/llvm-2.9/include -I.release_build -I. ocelot/ir/implementation/ExternalFunctionSet.cpp
In file included from ocelot/ir/implementation/ExternalFunctionSet.cpp:30:0:
./llvm/IR/LLVMContext.h:1:1: error: 'ocelot' does not name a type
In file included from ocelot/ir/implementation/ExternalFunctionSet.cpp:32:0:
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:47:5: error: 'SMLoc' does not name a type
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:91:3: error: 'SMLoc' does not name a type
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:98:48: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:109:56: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:113:31: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:117:27: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:125:21: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:135:27: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:141:26: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h: In member function 'unsigned int llvm::SourceMgr::AddNewSourceBuffer(llvm::MemoryBuffer*, int)':
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:101:8: error: 'struct llvm::SourceMgr::SrcBuffer' has no member named 'IncludeLoc'
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h: At global scope:
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:149:3: error: 'SMLoc' does not name a type
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:164:37: error: 'SMLoc' has not been declared
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:172:3: error: 'SMLoc' does not name a type
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(const llvm::SourceMgr&, int, const string&, int, int, const string&, const string&, bool)':
/usr/lib/llvm-2.9/include/llvm/Support/SourceMgr.h:168:16: error: class 'llvm::SMDiagnostic' does not have any field named 'Loc'
ocelot/ir/implementation/ExternalFunctionSet.cpp: In function 'llvm::Function* ir::jitFunction(const ir::ExternalFunctionSet::ExternalFunction&, const ir::PTXKernel::Prototype&, llvm::Module*)':
ocelot/ir/implementation/ExternalFunctionSet.cpp:307:13: error: 'getGlobalContext' is not a member of 'llvm'
ocelot/ir/implementation/ExternalFunctionSet.cpp:319:9: error: 'class llvm::SMDiagnostic' has no member named 'print'
ocelot/ir/implementation/ExternalFunctionSet.cpp:335:31: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp:341:10: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp: In member function 'void ir::ExternalFunctionSet::ExternalFunction::call(void*, const ir::PTXKernel::Prototype&)':
ocelot/ir/implementation/ExternalFunctionSet.cpp:361:37: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp: In constructor 'ir::ExternalFunctionSet::ExternalFunctionSet()':
ocelot/ir/implementation/ExternalFunctionSet.cpp:398:3: error: 'getGlobalContext' is not a member of 'llvm'
ocelot/ir/implementation/ExternalFunctionSet.cpp:398:27: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp: In destructor 'ir::ExternalFunctionSet::~ExternalFunctionSet()':
ocelot/ir/implementation/ExternalFunctionSet.cpp:408:37: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp:418:9: error: possible problem detected in invocation of delete operator: [-Werror]
ocelot/ir/implementation/ExternalFunctionSet.cpp:418:9: error: invalid use of incomplete type 'struct llvm::Module' [-Werror]
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module' [-Werror]
ocelot/ir/implementation/ExternalFunctionSet.cpp:418:9: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
ocelot/ir/implementation/ExternalFunctionSet.cpp: In member function 'void ir::ExternalFunctionSet::remove(const string&)':
ocelot/ir/implementation/ExternalFunctionSet.cpp:447:40: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp:452:15: error: invalid use of incomplete type 'struct llvm::Function'
/usr/lib/llvm-2.9/include/llvm/Pass.h:37:7: error: forward declaration of 'struct llvm::Function'
ocelot/ir/implementation/ExternalFunctionSet.cpp:453:3: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp:455:38: error: invalid use of incomplete type 'struct llvm::Module'
./ocelot/ir/interface/ExternalFunctionSet.h:14:24: error: forward declaration of 'struct llvm::Module'
ocelot/ir/implementation/ExternalFunctionSet.cpp:459:9: error: invalid use of incomplete type 'struct llvm::GlobalValue'
/usr/lib/llvm-2.9/include/llvm/Value.h:29:7: error: forward declaration of 'struct llvm::GlobalValue'
ocelot/ir/implementation/ExternalFunctionSet.cpp: In function 'llvm::Function* ir::jitFunction(const ir::ExternalFunctionSet::ExternalFunction&, const ir::PTXKernel::Prototype&, llvm::Module*)':
ocelot/ir/implementation/ExternalFunctionSet.cpp:342:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: all warnings being treated as errors
scons: *** [.release_build/ocelot/ir/implementation/ExternalFunctionSet.os] Error 1
Build failed...
Build failed
--
You received this message because you are subscribed to the Google Groups "gpuocelot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpuocelot+...@googlegroups.com.
To post to this group, send email to gpuo...@googlegroups.com.
Visit this group at http://groups.google.com/group/gpuocelot?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.