I suspect your system does not have dirent.h, or at least we can't find it.
Also there has been about 9 changes to the LTglob.c file since the 0.91.8
release..... LessTif _has_ been built under cygwin in the past, but I don't
know of the details.
On 10-Dec-00 at 13:43, Josh Schwartz ([EMAIL PROTECTED]) wrote:
> Hi,
> I'm a Cygwin user and I'm trying to build the lesstif-0.91.8 package. I
> run into the error reported below during make. Do you have any suggestions?
> configure seems to have gone well but I'm no expert. Just want to use
> lesstif to build ddd. Thanks in advance for any help.
>
>
>
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
> de/Motif-1.2 -I../../include -I../../include -I/usr/X11R6/include
> CONVERTERS -DLESSTIF_VERBOSE -c -o LTglob.lo LTglob.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include/Motif-1.
> include -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -g -Wall -D
> -o LTglob.o
> LTglob.c: In function `glob_in_dir':
> LTglob.c:586: warning: implicit declaration of function `opendir'
> LTglob.c:608: warning: implicit declaration of function `readdir'
> LTglob.c:608: `DIR' undeclared (first use in this function)
> LTglob.c:608: (Each undeclared identifier is reported only once
> LTglob.c:608: for each function it appears in.)
> LTglob.c:608: parse error before `)'
> LTglob.c:611: dereferencing pointer to incomplete type
> LTglob.c:613: dereferencing pointer to incomplete type
> LTglob.c:691: warning: implicit declaration of function `closedir'
> LTglob.c:691: parse error before `)'
> LTglob.c:702: parse error before `)'
> LTglob.c:573: warning: unused variable `tail'
> make[2]: *** [LTglob.lo] Error 1
> make[2]: Leaving directory `/temp/lesstif-0.91.8/lib/Xm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/temp/lesstif-0.91.8/lib'
> make: *** [all-recursive] Error 1
>
>
> -----------------------------------------
> Joshua Schwartz
> Redux Communications LTD.
> [EMAIL PROTECTED]
> Tel: +972-8-9731114 EXT: 30
> Fax: +972-8-9720579
> -----------------------------------------
>
>
>
>