screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reg cross compilation issue


From: address@hidden
Subject: Reg cross compilation issue
Date: Tue, 27 Oct 2015 20:33:32 +0530

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]