aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[aspell-user] Make problems on Solaris 8


From: Nick Foster
Subject: [aspell-user] Make problems on Solaris 8
Date: Mon, 16 Jul 2001 21:44:06 +0100

Hi,

Thanks for that it helped fix that problem. I now have another one that maybe 
someone could take a look at.

I am now compiling with the c++ compiler g++ and I have done a make clean in 
the lib directory of the source tree.

I have then typed make in the lib directory.

I get the following results:

/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./inc -I../
 -I../util -I../filter -I/usr/local/pspell/include     -O6 -c data.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./inc -I../ -I../util -I../filter -I/usr/loca
l/pspell/include -O6 -c data.cc  -fPIC -DPIC -o .libs/data.o
data.cc: In method `void aspell::LoadableDataSet::update_file_info(autil::Simple
Fstream &)':
data.cc:140: implicit declaration of function `int aspell::filedesc(...)'
make[3]: *** [data.lo] Error 1
make[3]: Leaving directory `/home/nick/aspell-.33.6.2/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nick/aspell-.33.6.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/aspell-.33.6.2'
make: *** [all-recursive-am] Error 2
bash-2.04# 

Now the method LoadableDataSet from the data.cc file looks like this:

  void LoadableDataSet::update_file_info(SimpleFstream & f) 
  {
#ifdef USE_FILE_INO
    struct stat s;
    int ok = fstat(filedesc(f), &s);
    assert(ok == 0);
    id_->ino = s.st_ino;
    id_->dev = s.st_dev;
#endif
  }

I really don't know enough about c++ to understand this :-(

Does anyone have any idea?

I have found this line in the as_config.h the line is: #define USE_FILE_INO 1

I don't know what significance this has but it is set to on?

Thanks

Nick
-- 
Nick Foster
mailto:address@hidden
http://www.weblocust.co.uk/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]