Cross-compiling ncurses 5.9 for ARM - form lib not found <p>I'm trying to cross-compile ncurses 5.9 for ARM for the purpose of porting GNU nano editor to this architecture. I've built my toolchain using crosstool-ng and the build finished without any problems. When trying to make GNU nano I've received some error messages concerning missing ncurses libs in my toolchain, what indeed is true. I've downloaded ncurses 5.9 and configured is as follows:</p> <p><code>./configure arm-linux --target=arm-linux --with-shared --prefix=/opt/x-tools/arm-unknown-linux-gnueabi</code></p> <p>Then I've tried to make ncurses 5.9 with following command:</p> <p><code>make HOSTCC=gcc CXX=arm-unknown-linux-gnueabi-c++</code></p> <p>And this part resulted in error:</p> <p><code>/opt/x-tools/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.2/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -lform collect2: ld returned 1 exit status</code></p> <p>From the error I assume I'm missing a library or a header "form.h" or "form.o". Could you point me to package containing this missing lib?</p> <p>Host OS is Debian 7.6 i386.</p>