On Sat, 3 Feb 2001, David Ellement wrote:
> On 010203, at 13:01:14, Bob Friesenhahn wrote
> > On Sat, 3 Feb 2001, David Ellement wrote:
> > > I haven't seen much traffic on wvware-users, so I'm reposting my
> > > message here.
> > > libole2/ms-ole.h:80: syntax error before `mode_t'
> > > libole2/ms-ole.h:83: syntax error before `ssize_t'
> > > libole2/ms-ole.h:90: syntax error before `off_t'
> > I expect that this problem is because the configure.in file is missing
> > the lines:
> > AC_MODE_T
> > AC_SIZE_T
> > AC_TYPE_OFF_T
> I added these, and the new configure tests and finds the types:
> checking for mode_t... yes
> checking for size_t... yes
> checking for off_t... yes
> However, I still get the same compile errors. Anything else that
> might be wrong?
Make sure that you have run 'autoheader' to create a new config.h.in.
You should have entries like:
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef mode_t */
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef off_t */
In config.h.in, and these should be replaced with the proper
definitions by configure if they are missing on your system.
The other requirement is to ensure that wvware's config.h is included
prior to the problem code.