Hi, I am trying to cross compile the screen for arm and getting stuck while linking the ncurses libraries.
Screen version i am trying screen-4.0.3. arm-linux-gnueabi-gcc -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o sched.o teln.o nethack.o encoding.o -lncurses -lcrypt /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status make: *** [screen] Error 1 I have cross checked the lib path and able to retrieve the installed libs /lib/x86_64-linux-gnu/libncurses.so.5 /lib/x86_64-linux-gnu/libncurses.so.5.9 /lib/x86_64-linux-gnu/libncursesw.so.5 /lib/x86_64-linux-gnu/libncursesw.so.5.9 /lib32/libncurses.so.5 /lib32/libncurses.so.5.9 /lib32/libncursesw.so.5 /lib32/libncursesw.so.5.9 Even ldconfig is returning sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.19.so is the dynamic linker, ignoring libncursesw.so.5 -> libncursesw.so.5.9 libncurses.so.5 -> libncurses.so.5.9 /sbin/ldconfig.real: /lib32/ld-2.19.so is the dynamic linker, ignoring /sbin/ldconfig.real: /libx32/ld-2.19.so is the dynamic linker, ignoring libncursesw.so.5 -> libncursesw.so.5.9 libncurses.so.5 -> libncurses.so.5.9 Any help would really helpful. -- Thanks & Regards, M.Srikanth Kumar. _______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users