aspell-user
[Top][All Lists]
Advanced

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

Re: [Aspell-user] Problem compiling error Aspell 0.60 under debian


From: Kevin Atkinson
Subject: Re: [Aspell-user] Problem compiling error Aspell 0.60 under debian
Date: Sun, 03 Oct 2004 00:55:59 -0600 (MDT)

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





reply via email to

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