Making, drinking tea and reading an opus magnum from Frank Hofmann - European Solaris 
CTE-Sustaining Engineering:

Hi Frank,

> I told Darren what causes this problem on Friday.  My problem is
> that I'm registered for the ipfilter list under a different email
> addr than the one I'm using now (Sun switched to a global email
> domain a few months ago; incoming mail to the previous local domain
> is still forwarded, but the IPF listserver doesn't let me post
> anymore), so cc:'ing the list wasn't possible ...

    This explains the compile behaviour. Hmm...cool. CC'g the list as
it'd be good to have this in the archives.

> There are several curses packages for Solaris:

>       /usr/lib/libcurses.so           /usr/include/curses.h
>       /usr/xpg4/lib/libcurses.so      /usr/xpg4/include/curses.h
>       /usr/ucblib/libcurses.so        /usr/ucbinclude/curses.h

> If you've installed gcc and freeware curses (as the default installation
> for the bundled freeware utils would give you), there'll be another one:

>       /opt/sfw/lib/libcurses.so       /opt/sfw/include/curses.h

> Your own installation of ncurses, there could be yet another one ...

> The problem occurs due to a mismatch of <curses.h> and -lcurses.
> /usr/lib/libcurses.so doesn't have wattr_on/off but only watton/off
> (no underscore). So if you compile with e.g. ncurses' <curses.h> but
> link with /usr/lib/libcurses.so then this error would result.


[...]

Regards,

    -Bruno

Attachment: msg00094/pgp00000.pgp
Description: PGP signature

Reply via email to