Xenix 2.3 development upgrade problem (linking problem)
Dave Hammond
daveh at marob.MASA.COM
Tue May 2 04:46:21 AEST 1989
In article <599 at ispi.UUCP> jbayer at ispi.UUCP (Jonathan Bayer) writes:
> I recently upgraded my SCO Xenix development system from the 2.2 to
>the 2.3 system. Now a program that used to link with no problems now
>has unresolved external references. The references to wstandend() and
>wstandout() are due to a redefinition of those functions in the
>libraries. [...]
Results of `cd /usr/include; grep wstand *.h':
tcap.h:# define wstandout(win) CURVOID(wattron(win,A_STANDOUT))
tcap.h:# define wstandend(win) CURVOID(wattroff(win,A_STANDOUT))
tinfo.h: scrollok(), wstandend(), wstandout();
tinfo.h:#define standend() wstandend(stdscr)
tinfo.h:#define standout() wstandout(stdscr)
tinfo.h:#define wstandend(win) wattrset((win),A_NORMAL)
tinfo.h:#define wstandout(win) wattron((win),A_STANDOUT)
The new curses simply defines wstand* as wattron/wattroff macros.
[ Jonathan, I expected less obvious problems from _you_ :-) :-) ]
--
Dave Hammond
daveh at marob.masa.com
More information about the Comp.unix.xenix
mailing list