Hello, I have taken a recipe for the package squid from OpenEmbedded.org and have built it along with the kernel image.
Now I want to edit its recipe so that it will include some external libraries. But these libraries are the ones that are generated during the build. So how do I edit the recipe to include those libraries? Location of library: ../yocto/<build-directory>/............/libusdpaa.a currently the do_compile task is failing as I have used an extra function whose library I haven't included. Snippet of the error: | main.cc: In function 'int SquidMainSafe(int, char**)': | *main.cc:1259:10: error: 'of_init' was not declared in this scope* | make[3]: *** [main.o] Error 1 | make[3]: *** Waiting for unfinished jobs.... | make[3]: Leaving directory `/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/squid/3.4.7-r0/squid-3.4.7/src' | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/squid/3.4.7-r0/squid-3.4.7/src' | make[1]: *** [all] Error 2 | make[1]: Leaving directory `/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/squid/3.4.7-r0/squid-3.4.7/src' | make: *** [all-recursive] Error 1 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/squid/3.4.7-r0/temp/log.do_compile.28810 for further information) ERROR: Task 799 (/media/NewVolume/yocto/meta-oe/meta-networking/recipes-daemons/squid/ squid_3.4.7.bb, do_compile) failed with exit code '1' I have attached my recipe.
squid_3.4.7.bb
Description: Binary data
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
