screen-devel
[Top][All Lists]
Advanced

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

Re: [screen-devel] Screen 4.6.2: ./configure fails Cross-Compiling to AR


From: Ben Kamen
Subject: Re: [screen-devel] Screen 4.6.2: ./configure fails Cross-Compiling to ARM (Xilinx Zynq)
Date: Wed, 7 Feb 2018 15:53:11 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 02/02/2018 11:47 AM, Ben Kamen wrote:
> On 02/02/2018 03:01 AM, Alex Naumov wrote:
>> Hey,
>>
>> how exactly do you try to compile it? Can you show your config.log?
>> On my Pinebook(aarch64) I have no problem with 4.6.2.
>>
>> Cheers,
>> Alex
>>
>> On Fri, Feb 2, 2018 at 2:04 AM, Ben Kamen <address@hidden> wrote:
>>> Hey all, not sure if the users list is very active or appropriate for this 
>>> question (I tried there first, but so far no response).
>>>
>>> So if it's ok to ask here.... here's my email to the user's list:
>>>
>>>
>>>> Quick question and hopefully I can be on my way.... my target is a Xilinx 
>>>> Zynq ARM/FPGA and I've been fine cross compiling other things using a 
>>>> script to set up where my libraries/compiler live and then running 
>>>> configure (inside the script).
>>>>
>>>> It looks like the test for <minix/config.h> check is where things fail.
>>> I updated this to include the ./configure output which says:
>>>
>>>> this is screen version 4.6.2
>>>> checking for arm-xilinx-linux-gnueabi-gcc... arm-xilinx-linux-gnueabi-gcc
>>>> checking whether the C compiler works... yes
>>>> checking for C compiler default output file name... a.out
>>>> checking for suffix of executables...
>>>> checking whether we are cross compiling... yes
>>>> checking for suffix of object files... o
>>>> checking whether we are using the GNU C compiler... yes
>>>> checking whether arm-xilinx-linux-gnueabi-gcc accepts -g... yes
>>>> checking for arm-xilinx-linux-gnueabi-gcc option to accept ISO C89... none 
>>>> needed
>>>> checking how to run the C preprocessor... arm-xilinx-linux-gnueabi-gcc -E
>>>> checking for grep that handles long lines and -e... /bin/grep
>>>> checking for egrep... /bin/grep -E
>>>> checking whether arm-xilinx-linux-gnueabi-gcc needs -traditional... no
>>>> checking for library containing strerror... none required
>>>> checking for ANSI C header files... yes
>>>> checking for sys/types.h... yes
>>>> checking for sys/stat.h... yes
>>>> checking for stdlib.h... yes
>>>> checking for string.h... yes
>>>> checking for memory.h... yes
>>>> checking for strings.h... yes
>>>> checking for inttypes.h... yes
>>>> checking for stdint.h... yes
>>>> checking for unistd.h... yes
>>>> checking minix/config.h usability... no
>>>> checking minix/config.h presence... no
>>>> checking for minix/config.h... no
>>>> checking whether it is safe to define __EXTENSIONS__... yes
>>>> configure: error: in 
>>>> `/d1/home/bkamen/workspace-xilinx/uZed-BSP/components/apps/screen/screen-4.6.2':
>>>> configure: error: cannot run test program while cross compiling
>>>> See `config.log' for more details
>>>
>>> I should add, my Xilinx dev environment is CentOS 6.9 -- although the tools 
>>> being used (the entire cross-compile environment) is PetaLinux 2015.4 (I 
>>> know, old. But once something works in Xilinx, you don't usually want to 
>>> change tools unless REALLY necessary or you have lots of time to work out 
>>> the stuff that breaks.)
>>>
>>> Anyway -- let me know what else I can provide.
>>>
> Here's the config.log (attached)
>
> Thanks for taking a look,
>
>  -Ben
>
Hey Alex (and all),

I did find this (https://how-to-build-for-arm.wikispaces.com/screen) and am 
currently absorbing it...

it references screen 4.0.3 and I'm at 4.6.2.... hopefully changes made it to 
current versions?

I'll write back with what I find as I work on this later tonight...


 -Ben





reply via email to

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