Jean-Marc Lasgouttes schrieb:
> 
> >>>>> "Dirk" == Dirk Klugmann <[EMAIL PROTECTED]> writes:
> 
> Dirk> Hi there, I run into a problem while compiling LyX-1.1.5 on an
> Dirk> IBM RS6000 under AIX-4.3.3.0 operation system. The last lines I
> Dirk> got back from gmake were:
> 
> Dirk> g++ -DHAVE_CONFIG_H -I. -I. -I. -I../images
> Dirk> -I/data/klugmann/include -g -O2 -fno-rtti -fno-exceptions -c
> Dirk> spellchecker.C spellchecker.C: In function `void
> Dirk> create_ispell_pipe(const BufferParams &, const string &)':
> Dirk> spellchecker.C:361: implicit declaration of function `int
> Dirk> bzero(...)' gmake[3]: *** [spellchecker.o] Error 1 gmake[3]:
> Dirk> Leaving directory `/data/klugmann/src/lyx-1.1.5/src' gmake[2]:
> Dirk> *** [all-recursive] Error 1 gmake[2]: Leaving directory
> Dirk> `/data/klugmann/src/lyx-1.1.5/src' gmake[1]: ***
> Dirk> [all-recursive-am] Error 2 gmake[1]: Leaving directory
> Dirk> `/data/klugmann/src/lyx-1.1.5/src' gmake: *** [all-recursive]
> Dirk> Error 1
> 
> At line 361 of spellchecker.C, the code uses macro FD_ZERO(), which is
> defined on my system as:
> /usr/include/sys/select.h:#define FD_ZERO(p) (bzero((void *)(p), sizeof(*(p))))
> 
> You probably have a similar definition, and bzero() should be defined
> in either /usr/include/string.h or /usr/include/strings.h.
> 
> In fact, spellchecker.C includes the C++ header cstring, which in turn
> includes string.h (if I understand correctly). So the question is to
> know where bzero() is defined on your system.
> 
> JMarc

JMarc,

thank you for that helpful hint.  This helped me finding the following
solution:

I had to include the line:

#include <X11/Xfuncs.h>

into the file "spellchecker.C".  This is the header file where our
gcc-2.95.2 distribution on AIX/RS6000 defines "bzero".  I hope this
information helps the C++ gurus to find out if any reaction (and which)
to this problem is necessary.

Thanks again!

                                                Happy LyXing, Dirk


P.S.:  Where has the file "README.bin" vanished?  I'd like to create a
binary 
       distribution of the AIX/RS6000 executable, but I do not remember
anymore how
       to achieve this.  Any hints?

-- 

************************************************************************

     Dirk Klugmann                           Tel.: +49 341 235 - 2919
Institut fuer Troposphaerenforschung           or: +49 341 235 - 2411
     Permoserstrasse 15                       FAX: +49 341 235 - 2361
     D-04318 Leipzig                       E-mail: [EMAIL PROTECTED]

                      WWW: http://www.tropos.de/

************************************************************************

Reply via email to