screen-users
[Top][All Lists]
Advanced

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

Re: Screen 4.6.2: ./configure fails Cross-Compiling to ARM (Xilinx Zynq)


From: Ben Kamen
Subject: Re: Screen 4.6.2: ./configure fails Cross-Compiling to ARM (Xilinx Zynq)
Date: Wed, 31 Jan 2018 02:55:15 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 01/31/2018 01:41 AM, Ben Kamen wrote:
> Hey all,
>
>
> 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.
>

Correction:

it's something to do with cross-compiling... ./configure 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 `<path to my 
> project>/components/apps/screen/screen-4.6.2':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details

which starts in configure at:

> if test "$cross_compiling" = yes; then :
>   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
> as_fn_error $? "cannot run test program while cross compiling
> See \`config.log' for more details" "$LINENO" 5; }
> else
>   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h.  */
> main(){exit(0);}
> _ACEOF
> if ac_fn_c_try_run "$LINENO"; then :

Oy. I  have no idea what to do here....

 -Ben





reply via email to

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