Re: Reg cross compilation issue

"$rik@nth " <[email protected]>
Newsgroups gmane.comp.gnu.screen.user,gmane.comp.gnu.screen.devel
Message-ID <CANKSX+EX1Xp5=tMHA77JL5QgrHUpV0YUyRJk3uxPmYF1+yLXqA@mail.gmail.com>
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 <[email protected]> wrote:
> Hi,
>
> On Tue, Oct 27, 2015 at 08:33:32PM +0530, $rik@nth  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            | [email protected]  (Mail)
>  X   See http://www.nonhtmlmail.org/campaign.html | [email protected] (Mail+Jabber)
> / \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



-- 
Thanks & Regards,
M.Srikanth Kumar.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.