[meta-freescale] Porting ltib project to yocto by creating a recipe - link questions

Otavio Salvador otavio at ossystems.com.br
Sat Apr 27 12:26:39 PDT 2013


On Sat, Apr 27, 2013 at 3:58 PM, Ashwin Kirpalani <akcooper8 at gmail.com> wrote:
> ok so i've added the necessary link flags to link to the libraries but I get
> the following error when installing (note I used bitbake <recipe> as well as
> bitbake <recipe> -c devshell) The output below is from the latter method:
>
> ashwin at ashwin1:~/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/imx6texture-0.1-r0/src$
> make install
> arm-poky-linux-gnueabi-ld
> --sysroot=/home/ashwin/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
> wrapper.o gstcontrol.o glutils.o glplane.o main.o -lgstreamer-0.10
> -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lpthread
> -lm -lc  -o imxTextureApp
> arm-poky-linux-gnueabi-ld: gstcontrol.o: undefined reference to symbol
> '__aeabi_unwind_cpp_pr0@@GCC_3.5'
> arm-poky-linux-gnueabi-ld: note: '__aeabi_unwind_cpp_pr0@@GCC_3.5' is
> defined in DSO
> /home/ashwin/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/lib/libgcc_s.so.1
> so try adding it to the linker command line
> /home/ashwin/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/lib/libgcc_s.so.1:
> could not read symbols: Invalid operation
> make: *** [install] Error 1

It should have been taken by GCC I think. Try to link it byhand using
devshell first.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the meta-freescale mailing list