All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Tarek El-Sherbiny <tarek.elsherbiny@gmail.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: Building OpenCV is failling
Date: Thu, 20 Dec 2012 10:16:45 -0800	[thread overview]
Message-ID: <50D3560D.3040508@linux.intel.com> (raw)
In-Reply-To: <CAB3sqtZrp=zQCbEp-+Vs4wokeN7gZs7T+bqaa3Qn6E6DhrcxPQ@mail.gmail.com>

On 12/20/2012 08:47 AM, Tarek El-Sherbiny wrote:
> Hello,
>
> I'm building the graphics components for Freescale i.MX6 and OpenCV
> is failing. The actual error is in Python !
>
In Python?  It looks like it's not finding libatlas, it seems like you 
might have some host contamination issue also, but I can't be sure right 
now from this snippet.

Sau!

> Is there a solution to this problem?
>
> Thanks
>
> | _configtest
> | unable to execute _configtest: Exec format error
> | failure.
> | removing: _configtest.c _configtest.o _configtest
> | building data_files sources
> | build_src: building npy-pkg config files
> | running build_py
> | copying numpy/version.py -> build/lib.linux-i686-2.7/numpy
> | copying build/src.linux-i686-2.7/numpy/__config__.py ->
> build/lib.linux-i686-2.7/numpy
> | copying build/src.linux-i686-2.7/numpy/distutils/__config__.py ->
> build/lib.linux-i686-2.7/numpy/distutils
> | running build_clib
> | customize UnixCCompiler
> | customize UnixCCompiler using build_clib
> | running build_ext
> | customize UnixCCompiler
> | customize UnixCCompiler using build_ext
> | customize GnuFCompiler
> | customize IntelFCompiler
> | customize LaheyFCompiler
> | customize PGroupFCompiler
> | customize AbsoftFCompiler
> | customize NAGFCompiler
> | customize VastFCompiler
> | customize GnuFCompiler
> | customize CompaqFCompiler
> | customize IntelItaniumFCompiler
> | customize IntelEM64TFCompiler
> | customize Gnu95FCompiler
> | customize G95FCompiler
> | don't know how to compile Fortran code on platform 'posix'
> | warning: build_ext: f77_compiler=None is not available.
> |
> | building 'numpy.core._dotblas' extension
> | compiling C sources
> | C compiler: arm-poky-linux-gnueabi-gcc -march=armv7-a
> -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9
> --sysroot=/data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/nitrogen6x
> -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g
> -feliminate-unused-debug-types -fPIC
> |
> | compile options: '-DNO_ATLAS_INFO=2 -Inumpy/core/blasdot
> -I/usr/include -Inumpy/core/include
> -Ibuild/src.linux-i686-2.7/numpy/core/include/numpy
> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
> -Inumpy/core/src/umath -Inumpy/core/include
> -I/data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/nitrogen6x/usr/include/python2.7
> -Ibuild/src.linux-i686-2.7/numpy/core/src/multiarray
> -Ibuild/src.linux-i686-2.7/numpy/core/src/umath -c'
> | arm-poky-linux-gnueabi-gcc: numpy/core/blasdot/_dotblas.c
> | cc1: warning: include location "/usr/include" is unsafe for
> cross-compilation [-Wpoison-system-directories]
> | arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork
> -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9
> --sysroot=/data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/nitrogen6x
> -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -O2 -pipe -g
> -feliminate-unused-debug-types
> build/temp.linux-i686-2.7/numpy/core/blasdot/_dotblas.o -L/usr/lib
> -L/data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/nitrogen6x/usr/lib
> -Lbuild/temp.linux-i686-2.7 -lf77blas -lcblas -latlas -lpython2.7 -o
> build/lib.linux-i686-2.7/numpy/core/_dotblas.so
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> warning: library search path "/usr/lib" is unsafe for cross-compilation
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libf77blas.so when searching for -lf77blas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libf77blas.a when searching for -lf77blas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> cannot find -lf77blas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libcblas.so when searching for -lcblas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libcblas.a when searching for -lcblas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> cannot find -lcblas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libatlas.so when searching for -latlas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libatlas.a when searching for -latlas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> cannot find -latlas
> | collect2: error: ld returned 1 exit status
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> warning: library search path "/usr/lib" is unsafe for cross-compilation
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libf77blas.so when searching for -lf77blas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libf77blas.a when searching for -lf77blas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> cannot find -lf77blas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libcblas.so when searching for -lcblas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libcblas.a when searching for -lcblas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> cannot find -lcblas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libatlas.so when searching for -latlas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> skipping incompatible /usr/lib/libatlas.a when searching for -latlas
> |
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
> cannot find -latlas
> | collect2: error: ld returned 1 exit status
> | error: Command "arm-poky-linux-gnueabi-gcc -march=armv7-a
> -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9
> --sysroot=/data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/nitrogen6x
> -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -O2 -pipe -g
> -feliminate-unused-debug-types
> build/temp.linux-i686-2.7/numpy/core/blasdot/_dotblas.o -L/usr/lib
> -L/data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/sysroots/nitrogen6x/usr/lib
> -Lbuild/temp.linux-i686-2.7 -lf77blas -lcblas -latlas -lpython2.7 -o
> build/lib.linux-i686-2.7/numpy/core/_dotblas.so" failed with exit status 1
> | ERROR: python setup.py build_ext execution failed.
> | ERROR: Function failed: do_compile (see
> /data/extend_homes/telsherbiny/work/fsl-t1/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/python-numpy-1.4.1-r4/temp/log.do_compile.25197
> for further information)
> ERROR: Task 6
> (/data/extend_homes/telsherbiny/work/fsl-t1/sources/meta-openembedded/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> <http://python-numpy_1.4.1.bb>, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 996 tasks of which 994 didn't need to be
> rerun and 1 failed.
> No currently running tasks (726 of 1002)
>
> Summary: 1 task failed:
>
> /data/extend_homes/telsherbiny/work/fsl-t1/sources/meta-openembedded/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> <http://python-numpy_1.4.1.bb>, do_compile
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



      reply	other threads:[~2012-12-20 18:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20 16:47 Building OpenCV is failling Tarek El-Sherbiny
2012-12-20 18:16 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50D3560D.3040508@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tarek.elsherbiny@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.