I get the following link error when I\'m compiling a small function using ncurses for an Ubuntu 12.04 running on arm. The error is
arm-linux-gnueabihf/bin/ld: ca
When you cross compile the nurses library, configure this option --with-termlib. It shall install libtinfo into your target location.
As mentioned by lucasg
sudo apt-get install libtinfo-dev
solved the same problem for me.