aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] Problem compilation again


From: DAVID GAMA RODRIGUEZ
Subject: [Aspell-user] Problem compilation again
Date: Fri, 8 Oct 2004 08:54:53 -0500

Hi Kevin its me, David again

 

I try the next but I still have problem with

The  ::ftruncate

 

/********************

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 {". 

 

 

*********************************/

 

 

 

The compilation output for reference

 

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:133: implicit declaration of function `int acommon::ftruncate(...)'

make[1]: *** [common/file_util.lo] Error 1

 

 

thnks

 

David

 

 


reply via email to

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