qdii / tatoeba_parser

A program that parses the tatoeba database
Other
10 stars 5 forks source link

Linking error for ncurses. #6

Open harshnisar opened 10 years ago

harshnisar commented 10 years ago

Linking error for ncurses.

While, issuing make.

tatoparser-display.o: In function `ncurses_display::~ncurses_display()':
/home/harsh/Tatoeba/tatoeba_parser/src/display.cpp:72: undefined reference to `endwin'
tatoparser-display.o: In function `~ncurses_display':
/home/harsh/Tatoeba/tatoeba_parser/src/display.cpp:72: undefined reference to `endwin'
tatoparser-display.o: In function `ncurses_display::ncurses_display()':
/home/harsh/Tatoeba/tatoeba_parser/src/display.cpp:64: undefined reference to `initscr'
collect2: error: ld returned 1 exit status
da-liii commented 10 years ago

in tatoeba_parser/src/Makefile.am, replace $(NCURSES_LDFLAGS) with -lncurses will make it compile correctly