Thanks Mikko, that was it indeed! I didn't test on target yet but it seems ok so far!
I'm still not sure about the librj2d.so()(64bit) though any idea? Yann CARDAILLAC, On Wed, Aug 7, 2024 at 3:19 PM Mikko Rapeli <mikko.rap...@linaro.org> wrote: > Hi, > > On Wed, Aug 07, 2024 at 03:13:31PM +0200, Yann CARDAILLAC Pro wrote: > > Thanks for the fast reply! > > > > - The library is *not* pre-compiled, here's the makefile rule that > produce > > it : > > > > CFLAGS ?= -std=gnu99 -Wall -Wextra -Wno-parentheses -Wno-switch > > > > shared-lib: > > $(CC) -fPIC -c $(LDFLAGS) $(CFLAGS) rj2d.c > > $(CC) $(LDFLAGS) -shared -o librj2d.so.1 rj2d.o > > ln -sf librj2d.so.1 librj2d.so > > > > It seems ok to me, but there might be something missing? > > > > - I don't think that the name "librj2d.so" is problematic however when I > > remove the line INSANE_SKIP:${PN} += "dev-so" I get the following error: > > > > ERROR: librj2d-1.1-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- > > package librj2d contains symlink .so '/usr/lib/librj2d.so' [dev-so] > > ERROR: librj2d-1.1-r0 do_package_qa: Fatal QA errors were found, failing > > task. > > > > - Here's the recipe : > > > > SUMMARY = "RJ2D lib" > > DEPENDS = "" > > LICENSE = "..." > > LIC_FILES_CHKSUM = "file:/..." > > > > SRC_URI = "git://...rj2d-lib;protocol=ssh;branch=master;" > > SRCREV = "..." > > > > S = "${WORKDIR}/git" > > > > do_compile() { > > oe_runmake all > > } > > > > do_install() { > > install -d ${D}${libdir} > > install -m 0655 librj2d.so.1 ${D}${libdir} > > ln --relative --symbolic ${D}${libdir}/librj2d.so.1 > > ${D}${libdir}/librj2d.so > > install -d ${D}${includedir} > > install -m 0655 rj2d.h ${D}${includedir}/rj2d.h > > } > > > > > > FILES:${PN} += "${libdir}/*.so" > > Don't install the .so symlink to main package but to ${PN}-dev. > > FILES:${PN} += "${libdir}/*.so.1" > FILES:${PN}-dev += "${libdir}/*.so" > > if those are not the default, which I suspect they are. > > Cheers, > > -Mikko >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63674): https://lists.yoctoproject.org/g/yocto/message/63674 Mute This Topic: https://lists.yoctoproject.org/mt/107766049/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-