Lynx fails to compile

For some reasons www/lynx fails to compile with the following error.

Code:
LYStrings.c:1011:14: error: incomplete definition of type 'struct term'
        if (cur_term->type.Strings[code] != 0) {
            ~~~~~~~~^
/usr/local/include/ncurses/term.h:710:16: note: forward declaration of 'struct term'
typedef struct term TERMINAL;
               ^
LYStrings.c:1012:33: error: incomplete definition of type 'struct term'
            LYStrNCpy(*result, cur_term->type.Strings[code], (final - *result));
                               ~~~~~~~~^
./LYStrings.h:44:44: note: expanded from macro 'LYStrNCpy'
#define LYStrNCpy(dst,src,n) LYstrncpy(dst,src,(int)(n))
                                           ^~~
/usr/local/include/ncurses/term.h:710:16: note: forward declaration of 'struct term'
typedef struct term TERMINAL;
[/code][/code]

This thread here suggests that a fix has already been applied for this bug. I don't know why this bug happens. But I am trying to work my way around it. I don't know yet if I am going to be successful in doing so.
 
No. I don't have any special options enabled. I did compile the development version (www/lynx-current) without problems where this issue has been fixed. I can use that for now.
 
I got www/lynx to compile successfully on one of my FreeBSD 11.1-RELEASE-p1 boxen, too.

The only non-default option I used was to disable support for IPv6.
 
Back
Top