[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bugs in 1.99.16 on Cygwin
From: |
Pete Wyckoff |
Subject: |
Re: bugs in 1.99.16 on Cygwin |
Date: |
Sat, 18 Jan 2003 12:23:06 -0500 |
address@hidden said:
> using gcc-3.2 and (mostly) current Cygwin packages (as of 1/1/03)
> I find a few bugs building with 'configure --without-x'
Caveat: there is no Cygwin environment here for me to play on, so
I can only take some guesses.
> 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
Can you show me the configure output for this bit, and the make output
for the file that failed? I'm a bit confused as to how it could find
ncurses.h but not term.h since they're likely in the same place.
> 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
This also seems not possible for me to reproduce. A few lines above
that function is where <libintl.h> should be included, with the
declaration for gettext(). Any idea what could be happening? Is
gettext() not in your header file?
> 2b)
> ../../oleo-1.99.16-dist/src/mdi.h:35:9: warning: extra tokens at end of
> #endif directive
Fixed in the CVS but not yet distributed.
> 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 "|"
Okay, fixed. Thanks.
> 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>
Obviously correct. Thanks there too.
-- Pete