On Mon, Aug 25, 2025 at 11:31:34AM -0500, G. Branden Robinson wrote: > Hi folks, > > This is probably a PEBKAC, but I'm mystified. > > When I try to build an application against the ncursestw configuration, > I get symbol visibility problems from the compiler and linker: > > cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 > -I/home/branden/ncurses-HEAD/include/ncursestw > -I/home/branden/ncurses-HEAD/include wresize.c -o wresize > -L/home/branden/ncurses-HEAD/lib -lncursestw -ltinfotw -ldb -lpthread > wresize.c: In function ‘main’:
wresize.c includes
<ncursesw/curses.h>
but you've installed
<ncursestw/curses.h>
so the compiler finds /usr/include/ncursestw/curses.h
It also finds some instances from ncursestw, which I can see by creating
a preprocessor output file in the Makefile:
.SUFFIXES: .c .o .i
.c.i:
$(CC) -E -C $(CFLAGS) $< >$@
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc
Description: PGP signature
