bug-textutils
[Top][All Lists]
Advanced

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

problems building textutils 2.0.11 on cygwin


From: Matthew Smith
Subject: problems building textutils 2.0.11 on cygwin
Date: Tue, 16 Jan 2001 22:11:21 -0600

To whom it may concern:

    I'm the textutils maintainer for cygwin (http://www.cygwin.com).  I just
grabbed the most recent version (2.0.11) to build under cygwin.  I ran into
some problems, whereas 2.0 compiled for me out of the box with no problems.
I am using the latest build of cygwin, version 1.1.7.  The gcc version is
2.95.2.

The first problem:

getdate.y:866: parse error before `)'
getdate.y: In function `yyerror':
getdate.y:866: parse error before `)'
make[2]: *** [getdate_.o] Error 1
make[2]: Leaving directory `/home/matts/textutils-2.0.11/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matts/textutils-2.0.11'
make: *** [all-recursive-am] Error 2

cygwin doesn't like the ATTRIBUTE_UNUSED stuff.  I changed this line to:
yyerror (char *s), and compiling continued.

Next problem:

./savedir.c: In function `savedir':
./savedir.c:79: `DIR' undeclared (first use in this function)
./savedir.c:79: (Each undeclared identifier is reported only once
./savedir.c:79: for each function it appears in.)
./savedir.c:79: `dirp' undeclared (first use in this function)
./savedir.c:80: parse error before `struct'
./savedir.c:94: `allocated' undeclared (first use in this function)
./savedir.c:97: `name_space' undeclared (first use in this function)
./savedir.c:100: `dp' undeclared (first use in this function)
./savedir.c:108: `used' undeclared (first use in this function)
./savedir.c:127: `save_errno' undeclared (first use in this function)
make[2]: *** [savedir_.o] Error 1
make[2]: Leaving directory `/home/matts/textutils-2.0.11/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matts/textutils-2.0.11'
make: *** [all-recursive-am] Error 2

dirent.h does exist, and defines the DIR structure.  The location of
dirent.h is /usr/include/sys.  If I force HAVE_DIRENT_H to be defined,
compiling will continue.

Final problem (so far):

make[2]: *** No rule to make target `fileblocks.exe', needed by
`libfetish.a'.
Stop.

Attached is the Makefile and config.log.

Thanks for any help,
-Matt Smith
address@hidden

Attachment: config.log.gz
Description: GNU Zip compressed data

Attachment: Makefile.gz
Description: GNU Zip compressed data


reply via email to

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