On Wed, Jun 28, 2017 at 9:29 PM, Pawar, Alok <alok.paw...@harman.com> wrote: > Hi, > > > > I am using krogoth release and I am facing one issue in custom bitbake file. > > > > When I am doing bitbake with custom bb file the following error is coming : > > “No GNU_HASH in the elf binary” > > In custom bb file, I am trying to copy precompiled binary and library. > > I tried also with Flag : FILES_${PN} += , but face same issue. >
this error means you have an issue in Makefiles where linker flags are not being respected. I would suggest to add CFLAGS and LDFLAGS both to linker cmdline in Makefile. Other option is to set TARGET_CC_ARCH += "${LDFLAGS}" in your bb file but I would rather like to see it fixed in right place which is the Makefile. > > > Best Regards > > Alok Pawar > > Sr. Engineer Product Development > > Harman Connected Services > > > > > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto