[aspectc-user] Errors in the compilation process of Puma on Tru64 Unix
Gaetano.Vivo at libero.it
Gaetano.Vivo at libero.it
Mon Mar 29 17:13:09 CEST 2004
Hello, I have tried the compilation of Puma on my system (Tru64 UNIX 5.1A on alpha) in the hope of being able to then compile ac++ on the same machine.
The compilation of puma has happened second the following steps:
1) execution of ' make weave' on linux-machine.
2) copy of sources generates on the machine target (Tru64 UNIX)
3) execution of ' make compile' on the target-machine.
in the course of the last step the following errors have been taken place:
1) The sources generated during the phase of weave have produced one variable of type ' long long' that create ambiguity in the choice of the operator ' < < ' during the operations of I/O. ( I have resolved this problem modifying by hand the code generated from the phase of weave transforming all the variable ones of type long long in the type long. )
2) The sources generated during the phase of weave have produced template functions that generate functions similar to following:
void& foo();
or that they use variable of type void * like pointers to objects as:
void * p;
p->foo();
I do not know as to resolve this problem for which they are completely firm.
I hope you can help me. Thanks in advance and excused my English.
Gaetano.
PS. The compiler i have used is GCC 3.3.2
This is the error list i have obtained in the last compilation step.
Making tools.
find: bad option -maxdepth
make[1]: `all' is up to date.
Making library.
Compiling.
Compiling MatchCollector.cc.
g++ -v -I /usr/include/g++ -I/gispsvil/RV/rv9992/RB/include -I /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc -fno-rtti -fsigned-char -Wno-deprecated -o /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/obj/MatchCollector.o -c /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/src/MatchCollector.cc
Reading specs from /gispsvil/RV/rv9992/RB/bin/../lib/gcc-lib/alphaev56-dec-osf5.1/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --prefix=/gispsvil/RV/rv9993/GNU
Thread model: single
gcc version 3.3.2
/gispsvil/RV/rv9992/RB/bin/../lib/gcc-lib/alphaev56-dec-osf5.1/3.3.2/cc1plus -quiet -v -I /usr/include/g++ -I/gispsvil/RV/rv9992/RB/include -I /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc -iprefix /gispsvil/RV/rv9992/RB/bin/../lib/gcc-lib/alphaev56-dec-osf5.1/3.3.2/ -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/src/MatchCollector.cc -D__GNUG__=3 -quiet -dumpbase MatchCollector.cc -auxbase-strip /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/obj/MatchCollector.o -Wno-deprecated -version -fno-rtti -fsigned-char -o /tmp//ccucYqcX.s
ignoring nonexistent directory "/usr/include/g++"
GNU C++ version 3.3.2 (alphaev56-dec-osf5.1)
compiled by GNU C version 3.3.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/gispsvil/RV/rv9992/RB/alphaev56-dec-osf5.1/include"
ignoring nonexistent directory "/gispsvil/RV/rv9993/GNU/include/c++/3.3.2"
ignoring nonexistent directory "/gispsvil/RV/rv9993/GNU/include/c++/3.3.2/alphaev56-dec-osf5.1"
ignoring nonexistent directory "/gispsvil/RV/rv9993/GNU/include/c++/3.3.2/backward"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/gispsvil/RV/rv9993/GNU/include"
ignoring nonexistent directory "/gispsvil/RV/rv9993/GNU/lib/gcc-lib/alphaev56-dec-osf5.1/3.3.2/include"
ignoring nonexistent directory "/gispsvil/RV/rv9993/GNU/alphaev56-dec-osf5.1/include"
#include "..." search starts here:
#include <...> search starts here:
/gispsvil/RV/rv9992/RB/include
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc
/gispsvil/RV/rv9992/RB/include/c++/3.3.2
/gispsvil/RV/rv9992/RB/include/c++/3.3.2/alphaev56-dec-osf5.1
/gispsvil/RV/rv9992/RB/include/c++/3.3.2/backward
/gispsvil/RV/rv9992/RB/lib/gcc-lib/alphaev56-dec-osf5.1/3.3.2/include
/usr/include
End of search list.
In file included from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/ExtGnu.ah:65,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:3,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Parser.h:27,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/MatchCollector.h:29,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/src/MatchCollector.cc:19:
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CSemVisitor.h:103: error: cannot
declare reference to `void'
In file included from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:29,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Parser.h:27,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/MatchCollector.h:29,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/src/MatchCollector.cc:19:
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Semantic.h:115: error: cannot
declare reference to `void'
In file included from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Parser.h:27,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/MatchCollector.h:29,
from /gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/src/MatchCollector.cc:19:
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:105: error: cannot
declare reference to `void'
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:114: error: cannot
declare reference to `void'
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h: In
static member function `static void
Syntax::Binding_TJP__ZN6Syntax9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before::Arg<0,
DUMMY>::val(Syntax::TJP__ZN6Syntax9configureER6Config*) [with int DUMMY = 0]
':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah:672: instantiated from `void AC::invoke_CMatchSyntax_CMatchSyntax_a24_before(JoinPoint*) [with JoinPoint = Syntax::TJP__ZN6Syntax9configureER6Config, Binding = Syntax::Binding_TJP__ZN6Syntax9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before]'
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:123: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:105: error: `
void*' is not a pointer-to-object type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:105: error: return-statement
with a value, in function declared with a void return type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah: In
function `void AC::invoke_CMatchSyntax_CMatchSyntax_a24_before(JoinPoint*)
[with JoinPoint = Syntax::TJP__ZN6Syntax9configureER6Config, Binding =
Syntax::Binding_TJP__ZN6Syntax9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before]
':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:123: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah:672: error: invalid
use of void expression
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h: In
static member function `static void
Syntax::Binding_TJP__ZN6Syntax9configureER6Config_ExtGnu_ExtGnu_a14_before::Arg<0,
DUMMY>::val(Syntax::TJP__ZN6Syntax9configureER6Config*) [with int DUMMY = 0]
':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/ExtGnu.ah:434: instantiated from `void AC::invoke_ExtGnu_ExtGnu_a14_before(JoinPoint*) [with JoinPoint = Syntax::TJP__ZN6Syntax9configureER6Config, Binding = Syntax::Binding_TJP__ZN6Syntax9configureER6Config_ExtGnu_ExtGnu_a14_before]'
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:124: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:114: error: `
void*' is not a pointer-to-object type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:114: error: return-statement
with a value, in function declared with a void return type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/ExtGnu.ah: In
function `void AC::invoke_ExtGnu_ExtGnu_a14_before(JoinPoint*) [with
JoinPoint = Syntax::TJP__ZN6Syntax9configureER6Config, Binding =
Syntax::Binding_TJP__ZN6Syntax9configureER6Config_ExtGnu_ExtGnu_a14_before]
':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Syntax.h:124: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/ExtGnu.ah:434: error: invalid
use of void expression
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CSemVisitor.h: In
static member function `static void
CSemVisitor::Binding_TJP__ZN11CSemVisitor9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before::Arg<0,
DUMMY>::val(CSemVisitor::TJP__ZN11CSemVisitor9configureER6Config*) [with int
DUMMY = 0]':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah:672: instantiated from `void AC::invoke_CMatchSyntax_CMatchSyntax_a24_before(JoinPoint*) [with JoinPoint = CSemVisitor::TJP__ZN11CSemVisitor9configureER6Config, Binding = CSemVisitor::Binding_TJP__ZN11CSemVisitor9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before]'
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CSemVisitor.h:113: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CSemVisitor.h:103: error: `
void*' is not a pointer-to-object type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CSemVisitor.h:103: error: return-statement
with a value, in function declared with a void return type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah: In
function `void AC::invoke_CMatchSyntax_CMatchSyntax_a24_before(JoinPoint*)
[with JoinPoint = CSemVisitor::TJP__ZN11CSemVisitor9configureER6Config,
Binding =
CSemVisitor::Binding_TJP__ZN11CSemVisitor9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before]
':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CSemVisitor.h:113: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah:672: error: invalid
use of void expression
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Semantic.h: In
static member function `static void
Semantic::Binding_TJP__ZN8Semantic9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before::Arg<0,
DUMMY>::val(Semantic::TJP__ZN8Semantic9configureER6Config*) [with int DUMMY
= 0]':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah:672: instantiated from `void AC::invoke_CMatchSyntax_CMatchSyntax_a24_before(JoinPoint*) [with JoinPoint = Semantic::TJP__ZN8Semantic9configureER6Config, Binding = Semantic::Binding_TJP__ZN8Semantic9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before]'
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Semantic.h:125: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Semantic.h:115: error: `
void*' is not a pointer-to-object type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Semantic.h:115: error: return-statement
with a value, in function declared with a void return type
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah: In
function `void AC::invoke_CMatchSyntax_CMatchSyntax_a24_before(JoinPoint*)
[with JoinPoint = Semantic::TJP__ZN8Semantic9configureER6Config, Binding =
Semantic::Binding_TJP__ZN8Semantic9configureER6Config_CMatchSyntax_CMatchSyntax_a24_before]
':
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/Semantic.h:125: instantiated from here
/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/step2/inc/Puma/CMatchSyntax.ah:672: error: invalid
use of void expression
make[2]: *** [/gispsvil/RV/rv9992/RB/ac-0.8-Sources/Puma/gen/obj/MatchCollector.o] Error 1
make[1]: *** [step3] Error 2
make: *** [src] Error 2
More information about the aspectc-user
mailing list