list is a curses-based interactive file listing program that combines the functions of less and hexdump into one handy program. It displays text on the screen in one of two different formats, either in hexadecimal dump format (a la MS-DOS debug.com format), or in text format, similar to what the programs less and more do.
Recently, when compiling list, I hit a linking error with the later gcc-8.3.1.
input.o: In function
WhatNext': input.c:(.text+0x19d): undefined reference to
BackPage' input.c:(.text+0x25a): undefined reference toBackPage' input.c:(.text+0x2b8): undefined reference to
BackPage' input.c:(.text+0x2d5): undefined reference toBackPage' input.c:(.text+0x2f5): undefined reference to
BackPage' input.o:input.c:(.text+0x34d): more undefined references to `BackPage' follow collect2: error: ld returned 1 exit status make: *** [Makefile:41: list] Error 1I've managed to fix this by making the BackPage function an extern (which was defined in screen.c, but not as an extern originally).