Hi,
I’m building a Qt application to controls a few GPIOs so, in my recipe, I add
libgpiod to the DEPENDS variable, but even then the –lgpiod is missing in the
linking stage and the build fails with several ‘undefined reference’ errors to
the gpiod functions:
|
/build/tmp/work/cortexa53-crypt
I solved the issue. It turned out to be not a yocto but a Qt problem. The
Makefile used to build the application is autogenerated by qmake so you have to
include LIBS += -lgpiod in order to add the library in the linking stage.
I was looking in the wrong place!
Sorry for the noise
javi
-=-=-=
Hi,
I have a recipe that creates some directories in /usr/local and copies there
some files using do_install:append
>
> inherit qmake5
> OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
> DEPENDS += "qtbase qtdeclarative qtmultimedia libgpiod"
>
>
> RDEPENDS:${PN} += "qtxmlpatterns qtdec
Any help on this?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61672): https://lists.yoctoproject.org/g/yocto/message/61672
Mute This Topic: https://lists.yoctoproject.org/mt/102502363/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscr
Just in case someone has the same problem, it is the do_userfs function the one
that deletes /usr/local directories and files after copying them to
${image_userfs}:
cp -r
/build/tmp/work/kontron_mx8mm-ked-linux/image-ked-qt/1.0-r0/rootfs${image_userfs_dir}/*
${image_userfs}
rm -rf
/build/tmp/
It is in run.do_userfs. I saw that the files where removed while
do_image_userfs task was running so I looked at the image logs in temp
directory and found it there
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61697): https://lists.yoctoproject.
you are right, it is defined in layers/meta-ked/classes/userfs.bbclass I didn't
consider that it could be something added by a custom layer but it is, as you
said. I'll have a loot at it.
Thanks for the clarification
Javi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this gro