[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [Aspell-user] Problem compiling error Aspell 0.60 under debian
From:       Kevin Atkinson <kevina () gnu ! org>
Date:       2004-10-03 6:55:59
Message-ID: Pine.LNX.4.44.0410030054570.29285-100000 () kevin-p3 ! atkinson ! dhs ! org
[Download RAW message or body]

On Thu, 30 Sep 2004, DAVID GAMA RODRIGUEZ wrote:

> Thanks Kevin for the tar 
> 
>  
> 
> But I still having problems, now I get the next error
> 
>  
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common
> -I./interfaces/cc/ -I./modules/speller/default/
> -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -fno-exceptions -c
> common/file_util.cpp -Wp,-MD,common/.deps/file_util.TPlo  -fPIC -DPIC -o
> common/.libs/file_util.o
> 
> common/file_util.cpp: In function `void
> acommon::truncate_file(acommon::FStream &, acommon::ParmString)':
> 
> common/file_util.cpp:132: implicit declaration of function `int
> acommon::ftruncate(...)'

Try adding the following two lines just before the line "namespace 
acommon":
  #include <unistd.h>
  #include <sys/types.h>

And see if that solves your problem.

-- 
http://kevin.atkinson.dhs.org




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic