Open
Conversation
added -lncurses to the LIBS in the makefile to include the appropriate libraries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
added -lncurses to the LIBS in the makefile to include the appropriate libraries. I've received build errors when trying to install via the adsbexchange install scripts on both an Ubuntu and a Debian Linux installation. The build error is related to a missing ncurses library. This pull request resolves the missing library and allows the binaries to compile.
Error Message Attached:
cc -o readsb readsb.o argp.o anet.o interactive.o mode_ac.o mode_s.o comm_b.o json_out.o net_io.o crc.o demod_2400.o uat2esnt/uat2esnt.o uat2esnt/uat_decode.o stats.o cpr.o icao_filter.o track.o util.o fasthash.o convert.o sdr_ifile.o sdr_beast.o sdr.o ais_charset.o globe_index.o geomag.o receiver.o aircraft.o api.o minilzo.o threadpool.o -pthread -lpthread -lm -lrt -lzstd -lz
/usr/bin/ld: interactive.o: warning: relocation against
acs_map' in read-only section.text'/usr/bin/ld: interactive.o: in function
interactiveInit': /usr/local/share/adsbexchange/readsb-git/interactive.c:93: undefined reference toinitscr'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:94: undefined reference to
stdscr' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:94: undefined reference towclear'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:95: undefined reference to
stdscr' /usr/bin/ld: interactive.o: in functioninteractiveShowData':/usr/local/share/adsbexchange/readsb-git/interactive.c:137: undefined reference to
stdscr' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:145: undefined reference towmove'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:147: undefined reference to
stdscr' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:218: undefined reference tomvprintw'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:244: undefined reference to
mvprintw' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:262: undefined reference tostdscr'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:262: undefined reference to
wmove' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:263: undefined reference tostdscr'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:263: undefined reference to
wclrtobot' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:264: undefined reference tostdscr'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:145: undefined reference to
stdscr' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:145: undefined reference towaddch'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:137: undefined reference to
wclear' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:139: undefined reference tomvprintw'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:140: undefined reference to
stdscr' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:140: undefined reference towmove'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:145: undefined reference to
stdscr' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:140: undefined reference tostdscr'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:140: undefined reference to
acs_map' /usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:140: undefined reference towhline'/usr/bin/ld: /usr/local/share/adsbexchange/readsb-git/interactive.c:145: undefined reference to
stdscr' /usr/bin/ld: interactive.o: in functioninteractiveInit':/usr/local/share/adsbexchange/readsb-git/interactive.c:95: undefined reference to
wrefresh' /usr/bin/ld: interactive.o: in functioninteractiveCleanup':/usr/local/share/adsbexchange/readsb-git/interactive.c:101: undefined reference to
endwin' /usr/bin/ld: interactive.o: in functioninteractiveShowData':/usr/local/share/adsbexchange/readsb-git/interactive.c:264: undefined reference to `wrefresh'