Hi,
I encountered an error when I manually compile the pro64
1. I enter the directory ~/osprey1.0/targia32_ia64_nodebug
2. run make
3. after some time, it responds with following error messages
"
g++ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS -funsigned-char
-D__GNU_BUG_WORKAROUND -D_NOTHREADS -c -D_LEGO_CLONER
-DBACK_END -Dlonglong -DSTD_MONGOOSE_LOC='"/usr/lib32/cmplrs"'
-DMONGOOSE_BE -D_LONGLONG -D_SVR4_SOURCE -D_NEW_SYMTAB
-D__MIPS_AND_IA64_ELF_H -I../../be/com -I../../be/com/ia64
-I../../be/region -I../../be/vho -I../../be/lno -I../../common/com
-I../../common/com/ia64 -I../../common/targ_info/access
-I../../common/util -I../../common/util/ia64 -I../../be/be
-I../../be/be/ia64 -I../../common/instrument
-I../../common/targ_info/access -I../targ_info -I../../common/util
-I. -I../../be -I../../be/com/ia64 -I../../be/cg -I../../be/opt
-I../../be/lno -I../../be/region -I../../be/whirl2c -I../../be/whirl2f
-I../../be/purple2 -I../../be/prompf_anl -I../../be/vho -I../../ipa/local
-I../../ipa/main/analyze -I../../ipa/common -I../../common/instrument
-I../include/libelf -fwritable-strings -fPIC -DTARG_IA64 -I../include
-O0 -D_MIPSEL -D_LONGLONG -D_MIPS_SZINT=32 -D_MIPS_SZPTR=32
-D_MIPS_SZLONG=32 -MD ../../be/be/driver.cxx -o driver.o
In file included from ../../common/com/symtab.h:70,
from ../../common/com/wn_core.h:40,
from ../../common/com/wn.h:49,
from ../../be/com/be_util.h:62,
from ../../be/be/driver.cxx:66:
../../common/com/strtab.h:156: warning: ANSI C++ forbids typedef which
does not specify a type
../../common/com/strtab.h:156: cannot declare member `hash_map<unsigned
int,unsigned int,hash<unsigned int>,equal_to<unsigned
int>,mempool_allocator<pair<const unsigned int,unsigned int> >
>::allocator_type' within `STR_IDX_MAP'
../../common/com/strtab.h:156: parse error before `;'
../../common/com/strtab.h:161: type specifier omitted for parameter
../../common/com/strtab.h:161: parse error before `='
../../common/com/strtab.h:163: missing ';' before right brace
../../common/com/strtab.h:152: warning: declaration of identifier `rep' as
`class hash_map<unsigned int,unsigned int,hash<unsigned
int>,equal_to<unsigned int>,mempool_allocator<pair<const unsigned
int,unsigned int> > > rep'
/usr/include/g++-2/stl_hash_map.h:54: warning: conflicts with other use in
class as `class hashtable<pair<const unsigned int,unsigned int>,unsigned
int,hash<unsigned int>,select1st<pair<const unsigned int,unsigned int>
>,equal_to<unsigned int>,mempool_allocator<pair<const unsigned
int,unsigned int> > > hash_map<unsigned int,unsigned int,hash<unsigned
int>,equal_to<unsigned int>,mempool_allocator<pair<const unsigned
int,unsigned int> > >::rep'
../../common/com/strtab.h:165: destructor `STR_IDX_MAP' must match class
name `hash_map'
../../common/com/strtab.h:165: template-id `hash_map<>' for
`hash_map<unsigned int,unsigned int,hash<unsigned int>,equal_to<unsigned
int>,mempool_allocator<pair<const unsigned int,unsigned int> >
>::~hash_map<>()' does not match any template declaration
../../common/com/strtab.h:165: syntax error before `&'
../../common/com/strtab.h:166: non-member function `operator [](STR_IDX)'
cannot have `const' method qualifier
../../common/com/strtab.h:166: `operator [](STR_IDX)' must be a nonstatic
member function
../../common/com/strtab.h:166: `operator [](STR_IDX)' must take exactly
two arguments
../../common/com/strtab.h: In function `STR_IDX operator [](STR_IDX)':
../../common/com/strtab.h:167: `rep_type' undeclared (first use this
function)
../../common/com/strtab.h:167: (Each undeclared identifier is reported
only once
../../common/com/strtab.h:167: for each function it appears in.)
../../common/com/strtab.h:167: parse error before `::'
../../common/com/strtab.h:168: `i' undeclared (first use this function)
../../common/com/strtab.h:168: `rep' undeclared (first use this function)
../../common/com/strtab.h:168: confused by earlier errors, bailing out
make[1]: *** [driver.o] Error 1
make[1]: Leaving directory
`/compsci/brule9/grad/pengzhao/osprey1.0/targia32_ia64_nodebug/be_driver'
"
can you give me some idea? thanks
Peng
--
Peng Zhao pengzhao@xxxxxxxxxxxxxx Office Hours:
http://www.cs.ualberta.ca/~pengzhao Edmonton (CA): 17:00-19:00
TEL (Office): (780)492-5919 Beijing (CH): 08:00-10:00
Office: CAB 430
|