linux - fftw compilation error for ARM cross-compile -


i trying cross-compiler fftw arm. configure command is,

./configure --with-slow-timer --host=arm-linux-gnueabi --enable-single --enable-neon "cc=arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp"  

i have tried simple ./configure command got same error as,

checking bsd-compatible install... /usr/bin/install -c checking whether build environment sane... yes checking arm-linux-gnueabi-strip... arm-linux-gnueabi-strip checking thread-safe mkdir -p... /bin/mkdir -p checking gawk... no checking mawk... mawk checking whether make sets $(make)... yes checking whether make supports nested variables... yes checking whether enable maintainer-specific portions of makefiles... no checking build system type... x86_64-unknown-linux-gnu checking host system type... arm-unknown-linux-gnueabi checking arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp checking whether c compiler works... no configure: error: in `/home/junaids/downloads/fftw-3.3.4': configure: error: c compiler cannot create executables 

the config.log is,

this file contains messages produced compilers while running configure, aid debugging if configure makes mistake.  created fftw configure 3.3.4, generated gnu autoconf 2.69.  invocation command line    $ ./configure --with-slow-timer --host=arm-linux-gnueabi --enable-single --enable-neon cc=arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp --enable-float cflags=-arch=native  ## --------- ## ## platform. ## ## --------- ##  hostname = junaids-optiplex-755 uname -m = x86_64 uname -r = 3.13.0-86-generic uname -s = linux uname -v = #130-ubuntu smp mon apr 18 18:27:15 utc 2016  /usr/bin/uname -p = unknown /bin/uname -x     = unknown  /bin/arch              = unknown /usr/bin/arch -k       = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo      = unknown /bin/machine           = unknown /usr/bin/oslevel       = unknown /bin/universe          = unknown  path: /usr/local/sbin path: /usr/local/bin path: /usr/sbin path: /usr/bin path: /sbin path: /bin path: /usr/games path: /usr/local/games   ## ----------- ## ## core tests. ## ## ----------- ##  configure:2750: checking bsd-compatible install configure:2818: result: /usr/bin/install -c configure:2829: checking whether build environment sane configure:2884: result: yes configure:2943: checking arm-linux-gnueabi-strip configure:2959: found /usr/bin/arm-linux-gnueabi-strip configure:2970: result: arm-linux-gnueabi-strip configure:3035: checking thread-safe mkdir -p configure:3074: result: /bin/mkdir -p configure:3081: checking gawk configure:3111: result: no configure:3081: checking mawk configure:3097: found /usr/bin/mawk configure:3108: result: mawk configure:3119: checking whether make sets $(make) configure:3141: result: yes configure:3170: checking whether make supports nested variables configure:3187: result: yes configure:3316: checking whether enable maintainer-specific portions of makefiles configure:3325: result: no configure:3373: checking build system type configure:3387: result: x86_64-unknown-linux-gnu configure:3407: checking host system type configure:3420: result: arm-unknown-linux-gnueabi configure:3818: checking arm-linux-gnueabi-gcc configure:3845: result: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp configure:4114: checking c compiler version configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp --version >&5 arm-linux-gnueabi-gcc (ubuntu/linaro 4.7.3-12ubuntu1) 4.7.3 copyright (c) 2012 free software foundation, inc. free software; see source copying conditions.  there no warranty; not merchantability or fitness particular purpose.  configure:4134: $? = 0 configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -v >&5 using built-in specs. collect_gcc=arm-linux-gnueabi-gcc collect_lto_wrapper=/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/lto-wrapper target: arm-linux-gnueabi configured with: ../src/configure -v --with-pkgversion='ubuntu/linaro 4.7.3-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/readme.bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.7.3 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --disable-libmudflap --disable-libitm --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv5t --with-float=soft --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabi --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include thread model: posix gcc version 4.7.3 (ubuntu/linaro 4.7.3-12ubuntu1)  configure:4134: $? = 0 configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -v >&5 arm-linux-gnueabi-gcc: error: unrecognized command line option '-v' arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. configure:4134: $? = 4 configure:4123: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -qversion >&5 arm-linux-gnueabi-gcc: error: unrecognized command line option '-qversion' arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated. configure:4134: $? = 4 configure:4154: checking whether c compiler works configure:4176: arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -arch=native - l/usr/local/include - l/usr/local/lib conftest.c  >&5 arm-linux-gnueabi-gcc: error: unrecognized command line option '-arch=native' arm-linux-gnueabi-gcc: error: l/usr/local/include: no such file or directory arm-linux-gnueabi-gcc: error: l/usr/local/lib: no such file or directory configure:4180: $? = 1 configure:4218: result: no configure: failed program was: | /* confdefs.h */ | #define package_name "fftw" | #define package_tarname "fftw" | #define package_version "3.3.4" | #define package_string "fftw 3.3.4" | #define package_bugreport "fftw@fftw.org" | #define package_url "" | #define package "fftw" | #define version "3.3.4" | #define fftw_enable_alloca 1 | #define fftw_single 1 | #define benchfft_single 1 | #define have_neon 1 | #define with_slow_timer 1 | /* end confdefs.h.  */ |  | int | main () | { |  |   ; |   return 0; | } configure:4223: error: in `/home/junaids/downloads/fftw-3.3.4': configure:4225: error: c compiler cannot create executables see `config.log' more details  ## ---------------- ## ## cache variables. ## ## ---------------- ##  ac_cv_build=x86_64-unknown-linux-gnu ac_cv_env_cc_set=set ac_cv_env_cc_value='arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp' ac_cv_env_cflags_set=set ac_cv_env_cflags_value=-arch=native ac_cv_env_cppflags_set=set ac_cv_env_cppflags_value='- l/usr/local/include' ac_cv_env_cpp_set= ac_cv_env_cpp_value= ac_cv_env_f77_set= ac_cv_env_f77_value= ac_cv_env_fflags_set= ac_cv_env_fflags_value= ac_cv_env_ldflags_set=set ac_cv_env_ldflags_value='- l/usr/local/lib' ac_cv_env_libs_set= ac_cv_env_libs_value= ac_cv_env_mpicc_set= ac_cv_env_mpicc_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=arm-linux-gnueabi ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=arm-unknown-linux-gnueabi ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_awk=mawk ac_cv_prog_cc='arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp' ac_cv_prog_strip=arm-linux-gnueabi-strip ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes  ## ----------------- ## ## output variables. ## ## ----------------- ##  aclocal='${shell} /home/junaids/downloads/fftw-3.3.4/missing aclocal-1.14' alloca='' altivec_cflags='' amdepbackslash='' amdep_false='' amdep_true='' amtar='$${tar-tar}' am_backslash='\' am_default_v='$(am_default_verbosity)' am_default_verbosity='1' am_v='$(v)' ar='' as='' autoconf='${shell} /home/junaids/downloads/fftw-3.3.4/missing autoconf' autoheader='${shell} /home/junaids/downloads/fftw-3.3.4/missing autoheader' automake='${shell} /home/junaids/downloads/fftw-3.3.4/missing automake-1.14' avx_cflags='' awk='mawk' cc='arm-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp' ccdepmode='' cflags='-arch=native' check_pl_opts='' combined_threads_false='' combined_threads_true='' cpp='' cppflags='- l/usr/local/include' cygpath_w='echo' c_fftw_r2r_kind='' c_mpi_fint='' defs='' depdir='' dlltool='' dsymutil='' dumpbin='' echo_c='' echo_n='-n' echo_t='' egrep='' exeext='' f77='' fflags='' fgrep='' flibs='' grep='' have_altivec_false='' have_altivec_true='#' have_avx_false='' have_avx_true='#' have_neon_false='#' have_neon_true='' have_sse2_false='' have_sse2_true='#' install_data='${install} -m 644' install_program='${install}' install_script='${install}' install_strip_program='$(install_sh) -c -s' ld='' ldflags='- l/usr/local/lib' ldouble_false='' ldouble_true='#' libobjs='' libquadmath='' libs='' libtool='' lipo='' ln_s='' ltlibobjs='' maint='#' maintainer_mode_false='' maintainer_mode_true='#' makeinfo='${shell} /home/junaids/downloads/fftw-3.3.4/missing makeinfo' manifest_tool='' mkdir_p='/bin/mkdir -p' mpicc='' mpilibs='' mpirun='' mpi_false='' mpi_true='' neon_cflags='' nm='' nmedit='' objdump='' objext='' ocamlbuild='' openmp_cflags='' openmp_false='' openmp_true='' otool64='' otool='' package='fftw' package_bugreport='fftw@fftw.org' package_name='fftw' package_string='fftw 3.3.4' package_tarname='fftw' package_url='' package_version='3.3.4' path_separator=':' pow_lib='' precision='s' prec_suffix='f' pthread_cc='' pthread_cflags='' pthread_libs='' quad_false='' quad_true='#' ranlib='' sed='' set_make='' shared_version_info='7:4:4' shell='/bin/bash' single_false='#' single_true='' smp_false='' smp_true='' sse2_cflags='' stack_align_cflags='' strip='arm-linux-gnueabi-strip' threadlibs='' threads_false='' threads_true='' version='3.3.4' ac_ct_ar='' ac_ct_cc='' ac_ct_dumpbin='' ac_ct_f77='' acx_pthread_config='' am__exeext_false='' am__exeext_true='' am__fastdepcc_false='' am__fastdepcc_true='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${tar-tar} chof - "$$tardir"' am__untar='$${tar-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${package_tarname}' dvidir='${docdir}' exec_prefix='none' host='arm-unknown-linux-gnueabi' host_alias='arm-linux-gnueabi' host_cpu='arm' host_os='linux-gnueabi' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${shell} /home/junaids/downloads/fftw-3.3.4/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(mkdir_p)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='none' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''  ## ----------- ## ## confdefs.h. ## ## ----------- ##  /* confdefs.h */ #define package_name "fftw" #define package_tarname "fftw" #define package_version "3.3.4" #define package_string "fftw 3.3.4" #define package_bugreport "fftw@fftw.org" #define package_url "" #define package "fftw" #define version "3.3.4" #define fftw_enable_alloca 1 #define fftw_single 1 #define benchfft_single 1 #define have_neon 1 #define with_slow_timer 1  configure: exit 77 

kindly if can see wrong in config.log.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -