[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bugs in 1.99.16 on Cygwin
From: |
db serafini |
Subject: |
bugs in 1.99.16 on Cygwin |
Date: |
Thu, 16 Jan 2003 14:45:48 -0800 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 |
using gcc-3.2 and (mostly) current Cygwin packages (as of 1/1/03)
I find a few bugs building with 'configure --without-x'
1) it doesn't find "term.h". ncurses is installed. As a workaround
I made a symlink from /usr/include/ncurses/term.h to /usr/include/term.h
2a) gcc gets warning:
gcc -DHAVE_CONFIG_H -I. -I../../oleo-1.99.16-dist/lib -I.. -I.. -I../../oleo-1.9
9.16-dist/lib -I../intl -g -O2 -c ../../oleo-1.99.16-dist/lib/obstack.c
../../oleo-1.99.16-dist/lib/obstack.c: In function `print_and_abort':
../../oleo-1.99.16-dist/lib/obstack.c:470: warning: passing arg 1 of `fputs'
makes pointer from integer without a cast
2b)
../../oleo-1.99.16-dist/src/mdi.h:35:9: warning: extra tokens at end of #endif
directive
I fixed 2b) by inserting /* */ in the appropriate place in line 39.
I ignored 2a)
3) bison gets an error:
/bin/sh ../../oleo-1.99.16-dist/src/ylwrap "bison -y" ../../oleo-1.99.16-dist/sr
c/posixtm.y y.tab.c posixtm.c y.tab.h posixtm.h -- -d
/e/dbs/Pkg/oleo-1.99.16-bld/src/../../oleo-1.99.16-dist/src/posixtm.y:89.6:
parse error, unexpected ":", expecting ";" or "|"
As a workaround, I inserted a ";" on line 88 after the closing "}" of the
'date' token.
4) link fails with:
io-term.o(.text+0x7e7): In function `save_preferences':
/e/dbs/Pkg/oleo-1.99.16-bld/src/../../oleo-1.99.16-dist/src/io-term.c:379:
undefined reference to `_errno'
I fixed by adding the following to io-term.c:
#include <errno.h>
-dbs
- bugs in 1.99.16 on Cygwin,
db serafini <=