[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [screen-devel] Reg cross compilation issue
From: |
address@hidden |
Subject: |
Re: [screen-devel] Reg cross compilation issue |
Date: |
Wed, 28 Oct 2015 12:10:02 +0530 |
Thank you Axel for the reply. I will try cross compiling the libraries
to arm and then compile screen.
FYI, I am using Ubunut machine with arm chroot.
On Wed, Oct 28, 2015 at 12:56 AM, Axel Beckert <address@hidden> wrote:
> 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)
--
Thanks & Regards,
M.Srikanth Kumar.