/libole2/ms-ole.h:73: parse error before "mode_t"

From: Gansser, Martin (MGansser@rand.de)
Date: Wed Aug 21 2002 - 04:32:36 EDT

  • Next message: F J Franklin: "Re: /libole2/ms-ole.h:73: parse error before "mode_t""

    Hi,

    I get the following compilation errors on hp-ux 11.00:

    ...
    Configured to build on a Unix/Linux platform.
    Configured with libjpeg support.

      XML Parser: libxml2 in -L/usr/local/lib -lxml2 -liconv -lm
      zlib: zlib in -lz
      PNG Library: libpng in -lpng
      popt: peer popt
      WV Library: supplied wv in /users/mgansser/GNU/abiword/wv
      iconv: libiconv in -liconv
      spelling: pspell in -L/usr/local/lib -L/usr/local/lib -lpspell -lpspell-modules -lltdl

    Type make to build AbiWord.
    gmake -C /users/mgansser/GNU/abiword/wv BUILD_FOR_ABIWORD=1
    gmake[1]: Entering directory `/users/mgansser/GNU/abiword/wv'
    making wvexporter in exporter
    gmake[2]: Entering directory `/users/mgansser/GNU/abiword/wv/exporter'
    gcc -I.. -I. -I./.. -I./../libole2 -I./../oledecod -DHAVE_CONFIG_H -I/opt/gtk2/include/glib-2.0 -I/o
    pt/gtk2/lib/glib-2.0/include -g -O2 -ansi -pedantic -c ./anld.c
    In file included from ../wv.h:12,
                     from wvexporter.h:4,
                     from wvexporter-priv.h:4,
                     from anld.c:8:
    ../libole2/ms-ole.h:73: parse error before "mode_t"
    ../libole2/ms-ole.h:74: warning: no semicolon at end of struct or union
    ../libole2/ms-ole.h:77: parse error before '*' token
    ../libole2/ms-ole.h:78: `ssize_t' declared as function returning a function
    ../libole2/ms-ole.h:78: ISO C forbids data definition with no type or storage class
    ../libole2/ms-ole.h:79: parse error before '*' token
    ../libole2/ms-ole.h:79: parse error before "off_t"
    ../libole2/ms-ole.h:80: `off_t' declared as function returning a function
    ../libole2/ms-ole.h:80: ISO C forbids data definition with no type or storage class
    ../libole2/ms-ole.h:87: parse error before "off_t"
    ../libole2/ms-ole.h:93: parse error before '}' token
    ../libole2/ms-ole.h:93: warning: ISO C does not allow extra `;' outside of a function
    gmake[2]: *** [anld.o] Error 1
    gmake[2]: Leaving directory `/users/mgansser/GNU/abiword/wv/exporter'
    gmake[1]: *** [BEXPORTER] Error 1
    gmake[1]: Leaving directory `/users/mgansser/GNU/abiword/wv'
    gmake: *** [wv] Error 2

    gcc-3.1
    gtk 2.0.6

    installed CVS-packages:
    mzfem_root:/users/mgansser/GNU/abiword/abi # ll ..
    total 96
    drwxr-xr-x 11 1000 513 4096 Aug 21 10:25 abi
    drwxr-xr-x 7 1000 513 4096 Aug 21 09:49 abidistfiles
    drwxr-xr-x 7 1000 513 4096 Aug 21 09:49 abiword-docs
    drwxr-xr-x 7 1000 513 4096 Aug 21 09:50 abiword-plugins
    drwxr-xr-x 8 1000 513 4096 Aug 21 09:50 expat
    drwxr-xr-x 15 1000 513 4096 Aug 21 09:50 libiconv
    drwxr-xr-x 6 1000 513 4096 Aug 21 09:51 libpng
    drwxr-xr-x 5 1000 513 4096 Aug 21 10:25 popt
    drwxr-xr-x 4 1000 513 4096 Aug 21 09:50 unixfonts
    drwxr-xr-x 21 1000 513 8192 Aug 21 10:24 wv
    drwxr-xr-x 8 1000 513 4096 Aug 21 09:51 zlib

    thanks Martin



    This archive was generated by hypermail 2.1.4 : Wed Aug 21 2002 - 04:36:15 EDT