[poky] Error in compilation for Cpluff library
McClintock Matthew-B29882
B29882 at freescale.com
Mon Nov 14 09:06:50 PST 2011
On Mon, Nov 14, 2011 at 5:29 AM, chinmaya hoshing <cahoshing at gmail.com> wrote:
> | ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic
> -mfpmath=sse --sysroot=/home/poky/build/tmp/sysroots/fishriver -shared
> .libs/psymbol.o .libs/pscan.o .libs/ploader.o .libs/pinfo.o
> .libs/pcontrol.o .libs/serial.o .libs/logging.o .libs/context.o
> .libs/cpluff.o .libs/util.o .libs/list.o .libs/hash.o .libs/thread_posix.o
> -L/home/poky/build/tmp/sysroots/fishriver/usr/lib /usr/lib/libexpat.so -ldl
> -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse -Wl,-soname
> -Wl,libcpluff.so.0 -o .libs/libcpluff.so.0.0.3
> | /usr/lib/libexpat.so: could not read symbols: File in wrong format
> | collect2: ld returned 1 exit status
> | make[3]: *** [libcpluff.la] Error 1
> | make[3]: Leaving directory
> `/home/poky/build/tmp/work/atom-poky-linux/cpluff-0.1.3-r0/cpluff-0.1.3/libcpluff'
> | make[2]: *** [all-recursive] Error 1
> | make[2]: Leaving directory
> `/home/poky/build/tmp/work/atom-poky-linux/cpluff-0.1.3-r0/cpluff-0.1.3/libcpluff'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
> `/home/poky/build/tmp/work/atom-poky-linux/cpluff-0.1.3-r0/cpluff-0.1.3'
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
> | ERROR: Function 'do_compile' failed (see
> /home/poky/build/tmp/work/atom-poky-linux/cpluff-0.1.3-r0/temp/log.do_compile.546
> for further information)
> NOTE: package cpluff-0.1.3-r0: task do_compile: Failed
> ERROR: Task 8
> (/home/sct/black_gigabyte/poky/meta-sct/recipes-sct/cpluff/cpluff_0.1.3.bb,
> do_compile) failed with exit code '1'
>
> After going through the error it seems that during compilation it is taking
> the expat library from my system instead it should take from poky
> environment so throwing error.
> So what changes should I make in my recipe .Can any one help me too solve
> the error.
You need to edit the Makefile for the project either via a patch or
EXTRA_OEMAKE options to override where this build systmems looks for
things to link against.
-M
More information about the poky
mailing list