On Sat, 20 Mar 2004 [EMAIL PROTECTED] wrote:

> In a recent note, Michael P Colyar said:
>
> > Date:         Fri, 19 Mar 2004 15:08:23 -0600
> > Sender: MVS OpenEdition <[EMAIL PROTECTED]>
> > (on z/OS)
> >
> > I just unpaxed it again and tried to run ./configure  using the default
> > /bin/sh as my shell:
> >
> >      checking whether the C compiler (c89 -D_ALL_SOURCE -Wl,EDIT=NO )
> > works... echo: ./configure 860: FSUM7355 bad file descriptor "1"
> >      ./configure 888: FSUM7341 bad file descriptor "5"
> >
> I haven't been able to reproduce this.
>
> > If I then run make it fails on the link edit of lynx with:
> >
> > Linking and creating Lynx executable
> >  IEW2456E 9207 SYMBOL getattrs UNRESOLVED.  MEMBER COULD NOT BE INCLUDED
> > FROM THE DESIGNATED CALL LIBRARY.
> >
> Indeed.  Some #if were changed in LYCurses.c.  Not a nice thing to
> do at a final stable release (unless it's necessary).  The attached
> patch fixes it for me (but this seems too obvious -- am I overlooking
> something?)  I'm submitting the patch to lynx-dev.

two details:
        a) there's a typo in your patch (should be HAVE_GETATTRS, not
           HAVE_GETATTR), and

        b) the only case I knew that I was fixing was for ncurses' use
           of the legacy getattrs() macro (or function) versus the
           X/Open wattr_get().  That's for some implementations which
           have an incorrect prototype for it.

Looking right now, it seems that the fix would be to remove the last
part of the ifdef - where it says "|| !defined(NCURSES_MAJOR_VERSION)".
(That would break some very old ncurses versions, but nothing else that
I can think of).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lynx-dev

Reply via email to