Skip to content

m4/ax_with_curses.m4 needs upgrading #602

Open
@aspiers

Description

@aspiers

The compile of lnav.o is currently failing due to undefined reference to symbol. (I guess the preceding warnings are unrelated.)

  CXX      lnav.o
In file included from hist_source.hh:45:0,
                 from lnav.hh:47,
                 from lnav.cc:82:
textview_curses.hh: In member function ‘virtual nonstd::optional_lite::optional<strong_int<int, __vis_line_distinct> > vis_location_history::loc_history_back(vis_line_t)’:
textview_curses.hh:511:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (this->lh_history_position + 1 >= this->vlh_history.size()) {
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from top_status_source.hh:36:0,
                 from lnav.hh:50,
                 from lnav.cc:82:
logfile_sub_source.hh: In member function ‘nonstd::optional_lite::optional<strong_int<int, __vis_line_distinct> > logfile_sub_source::find_from_content(content_line_t)’:
logfile_sub_source.hh:514:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while (vis_start < this->text_line_count()) {
                    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
lnav.cc: In function ‘void rebuild_indexes()’:
lnav.cc:583:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if ((!scroll_downs[LNV_LOG] || log_view.get_top() > new_count) && force) {
                                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
  CXXLD    lnav
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: lnav.o: undefined reference to symbol 'keypad@@NCURSES6_TINFO_5.0.19991023'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:841: lnav] Error 1
make[2]: Leaving directory '/home/adam/.GIT/3rd-party/lnav/src'
make[1]: *** [Makefile:701: all] Error 2
make[1]: Leaving directory '/home/adam/.GIT/3rd-party/lnav/src'
make: *** [Makefile:470: all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions