On Wed, 8 Jan 2003, Kevin Atkinson wrote: Hi, yes that helped, but I've hit another problem:
make[3]: Entering directory `/usr/local/scratch/aspell-0.50.3/modules/speller/default' source='data.cpp' object='data.lo' libtool=yes \ depfile='.deps/data.Plo' tmpdepfile='.deps/data.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o data.lo `test -f 'data.cpp' || echo './'`data.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD data.cpp -DPIC cxx: Warning: data.hpp, line 318: missing return statement at end of non-void function "aspeller::BasicMultiSet::elements" virtual StringEnumeration * elements() const {abort();} //FIXME ----------------------------------------------------------^ cxx: Warning: data.cpp, line 255: missing return statement at end of non-void function "aspeller::new_position" } --^ cxx: Warning: data.cpp, line 269: missing return statement at end of non-void function "aspeller::CompoundInfo::compatible" } --^ mv -f data.o .libs/data.o source='leditdist.cpp' object='leditdist.lo' libtool=yes \ depfile='.deps/leditdist.Plo' tmpdepfile='.deps/leditdist.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o leditdist.lo `test -f 'leditdist.cpp' || echo './'`leditdist.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD leditdist.cpp -DPIC mv -f leditdist.o .libs/leditdist.o source='primes.cpp' object='primes.lo' libtool=yes \ depfile='.deps/primes.Plo' tmpdepfile='.deps/primes.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o primes.lo `test -f 'primes.cpp' || echo './'`primes.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD primes.cpp -DPIC cxx: Warning: primes.hpp, line 95: statement is unreachable const_reverse_iterator operator-- (int) {return const_iterator::operator++(1); return *this;} -------------------------------------------------------------------------------------^ mv -f primes.o .libs/primes.o source='writable_base.cpp' object='writable_base.lo' libtool=yes \ depfile='.deps/writable_base.Plo' tmpdepfile='.deps/writable_base.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o writable_base.lo `test -f 'writable_base.cpp' || echo './'`writable_base.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD writable_base.cpp -DPIC cxx: Warning: data.hpp, line 318: missing return statement at end of non-void function "aspeller::BasicMultiSet::elements" virtual StringEnumeration * elements() const {abort();} //FIXME ----------------------------------------------------------^ mv -f writable_base.o .libs/writable_base.o source='editdist.cpp' object='editdist.lo' libtool=yes \ depfile='.deps/editdist.Plo' tmpdepfile='.deps/editdist.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o editdist.lo `test -f 'editdist.cpp' || echo './'`editdist.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD editdist.cpp -DPIC mv -f editdist.o .libs/editdist.o source='speller_impl.cpp' object='speller_impl.lo' libtool=yes \ depfile='.deps/speller_impl.Plo' tmpdepfile='.deps/speller_impl.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o speller_impl.lo `test -f 'speller_impl.cpp' || echo './'`speller_impl.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD speller_impl.cpp -DPIC cxx: Warning: data.hpp, line 318: missing return statement at end of non-void function "aspeller::BasicMultiSet::elements" virtual StringEnumeration * elements() const {abort();} //FIXME ----------------------------------------------------------^ cxx: Warning: ../../../common/string_list.hpp, line 88: missing return statement at end of non-void function "acommon::StringList::size" unsigned int size() const { abort(); } -----------------------------------------^ cxx: Warning: speller_impl.cpp, line 401: conversion from pointer to smaller integer assert(dynamic_cast<WritableWordSet *>(to_change->data_set)); ------^ cxx: Warning: speller_impl.cpp, line 407: conversion from pointer to smaller integer assert(dynamic_cast<WritableWordSet *>(to_change->data_set)); ------^ cxx: Warning: speller_impl.cpp, line 413: conversion from pointer to smaller integer assert (dynamic_cast<BasicReplacementSet *>(to_change->data_set)); ------^ cxx: Warning: speller_impl.cpp, line 482: missing return statement at end of non-void function "aspeller::SpellerImpl::ConfigNotifier::ignore_accents" } ----^ cxx: Warning: speller_impl.cpp, line 485: missing return statement at end of non-void function "aspeller::SpellerImpl::ConfigNotifier::ignore_case" } ----^ cxx: Warning: speller_impl.cpp, line 494: missing return statement at end of non-void function "aspeller::SpellerImpl::ConfigNotifier::save_repl" } ----^ mv -f speller_impl.o .libs/speller_impl.o source='readonly_ws.cpp' object='readonly_ws.lo' libtool=yes \ depfile='.deps/readonly_ws.Plo' tmpdepfile='.deps/readonly_ws.TPlo' \ depmode=tru64 /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --mode=compile cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/incllude -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -o readonly_ws.lo `test -f 'readonly_ws.cpp' || echo './'`readonly_ws.cpp cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -c -MD readonly_ws.cpp -DPIC cxx: Warning: primes.hpp, line 95: statement is unreachable const_reverse_iterator operator-- (int) {return const_iterator::operator++(1); return *this;} -------------------------------------------------------------------------------------^ cxx: Warning: data.hpp, line 318: missing return statement at end of non-void function "aspeller::BasicMultiSet::elements" virtual StringEnumeration * elements() const {abort();} //FIXME ----------------------------------------------------------^ cxx: Error: readonly_ws.cpp, line 761: namespace "std" has no member "streampos" std::streampos start = data_head.head_size; -----------^ cxx: Error: readonly_ws.cpp, line 761: expected a ";" std::streampos start = data_head.head_size; ---------------------^ cxx: Error: readonly_ws.cpp, line 779: identifier "start" is undefined final_hash[i] = OUT.tell() - start; -------------------------------------^ cxx: Error: readonly_ws.cpp, line 834: identifier "start" is undefined data_head.word_block_size = round_up(OUT.tell() - start + 1l, --------------------------------------------------------^ cxx: Error: readonly_ws.cpp, line 857: namespace "std" has no member "streampos" std::streampos start = OUT.tell(); -----------^ cxx: Error: readonly_ws.cpp, line 857: expected a ";" std::streampos start = OUT.tell(); ---------------------^ cxx: Error: readonly_ws.cpp, line 880: identifier "start" is undefined final_hash[i] = OUT.tell() - start; -------------------------------------^ cxx: Error: readonly_ws.cpp, line 887: identifier "start" is undefined = round_up(OUT.tell() - start, page_size); --------------------------------^ cxx: Info: 8 errors detected in the compilation of "readonly_ws.cpp". make[3]: *** [readonly_ws.lo] Error 1 make[3]: Leaving directory `/usr/local/scratch/aspell-0.50.3/modules/speller/default' > On Wed, 8 Jan 2003, [iso-8859-2] Martin MOKREJ? wrote: > > > Hi, > > I've a problem compiling aspell on Tru64 Unix 5.1A with > > > [...] > > cxx -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common >-I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include >-I/software/@sys/usr/include/freetype2 -O2 -arch ev6 -I/software/@sys/usr/include >-I/usr/local/include -I/usr/local/openssl/include >-I/software/@sys/usr/include/freetype2 -c -MD data.cpp -DPIC > > cxx: Error: data.hpp, line 49: "aspeller::DataSet::FileName::FileName()" > > provides no initializer for: > > const member "aspeller::DataSet::FileName::name" > > FileName() {clear();} > > -----------------^ > > cxx: Error: data.hpp, line 50: > > "aspeller::DataSet::FileName::FileName(acommon::ParmString)" > > provides no initializer for: > > const member "aspeller::DataSet::FileName::name" > > explicit FileName(ParmString str) {set(str);} > > ----------------------------------------^ > > cxx: Error: data.hpp, line 51: "aspeller::DataSet::FileName::FileName(const > > aspeller::DataSet::FileName &)" provides no initializer for: > > const member "aspeller::DataSet::FileName::name" > > FileName(const FileName & other) {copy(other);} > > This should fix these three problems: > > --- data.hpp.~1.2.~ 2002-08-15 19:12:51.000000000 -0400 > +++ data.hpp 2003-01-08 17:42:20.000000000 -0500 > @@ -46,9 +46,9 @@ > void clear(); > void set(ParmString); > > - FileName() {clear();} > - explicit FileName(ParmString str) {set(str);} > - FileName(const FileName & other) {copy(other);} > + FileName() : name(0) {clear();} > + explicit FileName(ParmString str) : name(0) {set(str);} > + FileName(const FileName & other) : name(0) {copy(other);} > FileName & operator=(const FileName & other) {copy(other); return *this;} > }; > class Id; > > See if that allows it to compile. > > -- Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs MIPS / Institute for Bioinformatics <http://mips.gsf.de> GSF - National Research Center for Environment and Health Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany tel.: +49-89-3187 3683 , fax: +49-89-3187 3585 _______________________________________________ Aspell-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/aspell-devel