aybassiouny/gpuocelot

Ocelot does not build from source

Closed this issue · 3 comments

What steps will reproduce the problem?
1. ./build.py --install -p /home/zenome/local --no_llvm

What is the expected output? What do you see instead?
Expected: compilation successful
Output: 
Installing ocelot...
config_h_build([".release_build/configure.h"], ["configure.h.in"])
g++ -o .release_build/ocelot/tools/OcelotConfig.o -c -O2 -Wall -Werror 
-std=c++0x -DOCELOT_CXXFLAGS="\"-O2 -Wall -Werror -std=c++0x\"" 
-DPACKAGE="\"ocelot\"" -DVERSION="\"2.1.1624\"" 
-DOCELOT_PREFIX_PATH="\"/home/zenome/local\"" -DOCELOT_LDFLAGS="\"-locelot\"" 
-L"\"/home/zenome/local/lib\"" 
-DOCELOT_INCLUDE_PATH="\"/home/zenome/local/include\"" 
-DOCELOT_LIB_PATH="\"/home/zenome/local/lib\"" 
-DOCELOT_BIN_PATH="\"/home/zenome/local/bin\"" -I. -I.release_build 
-I/home/zenome/local/share/boost_1_46_0_install/include -I/usr/include 
-I/usr/include ocelot/tools/OcelotConfig.cpp
g++ -o .release_build/ocelot/tools/CFG.o -c -O2 -Wall -Werror -std=c++0x -I. 
-I.release_build -I/home/zenome/local/share/boost_1_46_0_install/include 
-I/usr/include -I/usr/include ocelot/tools/CFG.cpp
ocelot/tools/CFG.cpp: In function 'void analyze(const char*)':
ocelot/tools/CFG.cpp:56:11: error: 'class ir::PTXKernel' has no member named 
'dom_tree'
ocelot/tools/CFG.cpp:61:11: error: 'class ir::PTXKernel' has no member named 
'pdom_tree'
ocelot/tools/CFG.cpp:66:11: error: 'class ir::PTXKernel' has no member named 
'ctrl_tree'


What version of the product are you using? On what operating system?
Ocelot: 1649
Ubuntu-11.04
GCC/++ : 4.5.2
Boost: 1.46.0

Please provide any additional information below.

Original issue reported on code.google.com by lokendra...@gmail.com on 10 Jan 2012 at 6:41

This should be fixed in the trunk.

Original comment by gregory....@gatech.edu on 2 Feb 2012 at 5:35

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****
Unfortunately, this problem has not been fixed! I am getting the same error, 
with the current version.

Original comment by vermilio...@gmail.com on 22 Mar 2012 at 2:51

  • Added labels: ****
  • Removed labels: ****
I get the same errors. I use the checkout of today, but no luck. I had to copy 
some headers files (ControlTree.h, DominatorTree.h, PostdominatorTree.h) to the 
ocelot/ir/interface/ directory before I got these errors, but now I'm stuck :(

Original comment by gjvdbr...@gmail.com on 29 Mar 2012 at 3:21

  • Added labels: ****
  • Removed labels: ****