Hi Raj, I am not using any Makefile, actually I am only copying multiple binary and library(which are already compiled) using bb file.
Best Regards Alok Pawar Sr. Engineer Product Development -----Original Message----- From: Khem Raj [mailto:[email protected]] Sent: Thursday, June 29, 2017 10:21 AM To: Pawar, Alok <[email protected]> Cc: [email protected] Subject: [EXTERNAL] Re: [yocto] Compilation error : No GNU_HASH in elf bianry On Wed, Jun 28, 2017 at 9:29 PM, Pawar, Alok <[email protected]> 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 > [email protected] > https://clicktime.symantec.com/a/1/KmDUgKYmGtGWoFjtvLywehOB3j7J_v0-QB3 > RBcIFFrY=?d=376g77TeeW532rZh2Wu03kKk9048zWevkFXyWLaxfc2Mym07eRMyv6qekUBZ8dojsxaRg8GHDWQerzJnxzrWFudZ89GDPBM2OCgRwdVrijXugVocnXKaL9uIeHpWjfqfETpZRI0NFwsOn41_dChURQ1f91zfSu8_sm0tk_Ho116AhWPL4uaTC-Hq3eZqJa4CB0B_ulI6sekYyXygHA4PGznxIHhuMHprFn15Uo37UORgfpVzzBrzHhrsIi-VdhiRr9Z4ThMHNXCIFSsvehqTO3tcKGOkXCN8SmHL8bVeix3w4cCU_O_FMEiWqYEILaLTX9zMAa1FTHAEbyoL7t-fpcfM2F40ypDkNPKjmPCvsQgjac85F-pb4IGzsXmdOB7e4zuJX-evKFtmPITwikHYU7sNAW3tYJWuL9yqKauhSpQE6g%3D%3D&u=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyocto > -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
