[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X build problem with 20011215 and later
From: |
Thomas Dickey |
Subject: |
Re: Mac OS X build problem with 20011215 and later |
Date: |
Thu, 20 Dec 2001 17:31:02 -0500 |
User-agent: |
Mutt/1.2.5i |
On Thu, Dec 20, 2001 at 01:09:40PM -0800, Eugene Lee wrote:
> I'm getting these problems:
>
> $ make
> cd man && make DESTDIR="" all
> make[1]: Nothing to be done for `all'.
> cd include && make DESTDIR="" all
> make[1]: Nothing to be done for `all'.
> cd ncurses && make DESTDIR="" all
> cd ../objects; cc -I../ncurses -I. -DNDEBUG -I. -I../include
> -I/usr/local/include/ncurses -DHAVE_CONFIG_H -O2 -no-cpp-precomp -c
> ../ncurses/lib_gen.c
> ../ncurses/lib_gen.c:640: unbalanced `#endif'
> ../ncurses/lib_gen.c:649: unbalanced `#endif'
> ../ncurses/lib_gen.c:701: unbalanced `#endif'
> make[1]: *** [../objects/lib_gen.o] Error 1
> make: *** [all] Error 2
>
> All of these problems occur within some if_USE_WIDEC_SUPPORT/endif block.
> Used "./configure", no special options. Mac OS X 10.1.1, Build 5M28.
for instance this - the error would be at the #endif's (and the line 700 is
a chunk skipping a few functions, still on the #endif).
#if USE_WIDEC_SUPPORT
#undef slk_attr_off
NCURSES_EXPORT(int) slk_attr_off ( const attr_t a1, void * z)
{
T((T_CALLED("slk_attr_off(%s,%p)"), _traceattr2(0,a1), z)); returnCode(
(( z) ? (-1) : slk_attroff( a1)));
}
#endif
#if USE_WIDEC_SUPPORT
#undef slk_attr_on
NCURSES_EXPORT(int) slk_attr_on ( attr_t a1, void * z)
{
T((T_CALLED("slk_attr_on(%s,%p)"), _traceattr2(0,a1), z)); returnCode(
(( z) ? (-1) : slk_attron( a1)));
}
#endif
but I don't see a problem with any of the symbols involved: the _traceattr2()
is used several places.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net