[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] quick problem...
From: |
Kevin Atkinson |
Subject: |
Re: [Aspell-user] quick problem... |
Date: |
Tue, 05 Oct 2004 01:20:28 -0600 (MDT) |
On Tue, 5 Oct 2004, Jon Stephens wrote:
> Got closer this time. It got to:
>
>
> 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 -f
> no-exceptions -c
> ommon/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(...)'
> make[1]: *** [common/file_util.lo] Error 1
>
> This isn't a huge deal as I'm working with the windows version elsewhere.
> But it would be nice to be able to test it with php scripts on the debian
> box.
This seams to be a common problem.
Please change line 132 to:
::ftruncate(f.file_no(),0);
If that doesn't please try adding the two lines:
#include <unistd.h>
#include <sys/types.h>
after all the other includes bug before the line "namespace acommon {".
If none of these work please let me know and I will construct some simple
test programs to try to figure out why ftruncate is not being defined.
--
http://kevin.atkinson.dhs.org