All of lore.kernel.org
 help / color / mirror / Atom feed
* sd-bus.h not found even with DEPENDS += "systemd"
@ 2020-09-26 18:32 Bel Hadj Salem Talel
  2020-09-26 19:58 ` Bel Hadj Salem Talel
  0 siblings, 1 reply; 14+ messages in thread
From: Bel Hadj Salem Talel @ 2020-09-26 18:32 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]

Hi Community,

I'm trying to make a recipe for source files with a Makefile , files are under : https://github.com/wirepas/gateway/tree/master/sink_service

I can't add the recipe directly from the URL, so I cloned the repo and zipped only the sink_service file.

When I added the zip file with devtool it added DEPEND = "systemd" in the recipe file. But when compiling :

> 
> fatal error: systemd/sd-bus.h: No such file or directory

The Makefile just needs "make" and it worked on my native host. Here is the recipe:
LICENSE = " Unknown "
LIC_FILES_CHKSUM = " file://c-mesh-api/LICENSE;md5=b8b4f77337154d1f64ebe68dcd93fab6 "
SRC_URI = " file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-sink-tool/files/sink_service.zip "
DEPENDS = " systemd "
do_configure () {
# Specify any needed configure commands here
:
}

do_compile () {
# You will almost certainly need to add additional arguments here
oe_runmake
}

do_install () {
# NOTE: unable to determine what to put here - there is a Makefile but no
# target named "install", so you will need to define this yourself
:
}

The only problem is in do_compile , I need to fix it and then I can manage the install part.
How can I specify the libsystemd in BUILD time , do I need EXTRA_OEMAKE ?

Thanks, Talel

[-- Attachment #2: Type: text/html, Size: 5482 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-01-12 10:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26 18:32 sd-bus.h not found even with DEPENDS += "systemd" Bel Hadj Salem Talel
2020-09-26 19:58 ` Bel Hadj Salem Talel
2020-09-27 12:42   ` Bel Hadj Salem Talel
2020-09-28  7:41     ` [yocto] " Josef Holzmayr-Khosh Amoz
2023-12-19  6:27       ` ashujoshi35
2023-12-19 17:07         ` Khem Raj
2024-01-09 10:12           ` ashujoshi35
2024-01-09 15:33             ` Khem Raj
2024-01-10 17:11               ` ashujoshi35
2024-01-10 19:39                 ` Khem Raj
2024-01-11  8:44                   ` ashujoshi35
2024-01-11 12:17                     ` Ross Burton
2024-01-12  9:08                       ` ashujoshi35
2024-01-12 10:46                         ` Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.