<<< Date Index >>>     <<< Thread Index >>>

Re: Weird Solaris headers (again)



On Sun, Dec 11, 2005 at 09:00:10AM -0500, Thomas Dickey wrote:

> >>>I had to add -lcurses to LDFLAGS for Solaris (using Sun's standard
> >>>libs) or would get undefined symbols.
> What were the undefined symbols?  Usually the header conflict shows up
> from this chunk in /usr/include/curses.h:
> #define initscr         initscr32
> #define newterm         newterm32
> #define waddch          w32addch
> #define wechochar       w32echochar
> #define pechochar       p32echochar
> #define winsch          w32insch
> #define vidputs         vid32puts
> #define vidattr         vid32attr
> #define wattroff        w32attroff
> #define wattron         w32attron
> #define wattrset        w32attrset
> #define acs_map         acs32map
> #define box             box32
> For instance, an application might include this <curses.h>, getting Sun's 
> header file while trying to link with the ncurses library (and missing
> the symbols with "32" in their names).   Or the converse, it may include
> ncurses' <curses.h> and be missing initscr, etc.
> >I couldn't find ncurses installed ...

Indeed this was an ncurses issue, however that's sorted (on the system
with ncurses it does the right thing and those without use Sun's
curses).

However both still have the problem with dttem and weird hearders


Steve

-- 
NetTek Ltd  UK mob +44-(0)7775 755503
UK +44-(0)20 79932612 / US +1-(310)8577715 / Fax +44-(0)20 7483 2455
Skype/GoogleTalk/AIM stevekennedyuk / MSN steve@xxxxxxxxx
Euro Tech News Blog http://eurotechnews.blogspot.com