screen-users
[Top][All Lists]
Advanced

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

Re: Reg cross compilation issue


From: Axel Beckert
Subject: Re: Reg cross compilation issue
Date: Tue, 27 Oct 2015 20:26:14 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On Tue, Oct 27, 2015 at 08:33:32PM +0530, address@hidden  wrote:
> I am trying to cross compile the screen for arm and getting stuck
> while linking the ncurses libraries.
[...]
> /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
> cannot find -lncurses
[...]
> 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

That's the problem. You need those libraries for arm, too, to
cross-compile screen for arm. Those ncurses libraries for x86 or
x86_64 are only needed if you would compile it for your local system.

I don't know on which distribution you are, but 
https://wiki.debian.org/CrossCompiling also has some distribution
independent information. Maybe this already helps.

                Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | address@hidden  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | address@hidden (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



reply via email to

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