I run
bitbake hello -c clean && \
bitbake hello && \
echo >> meta/recipes-example/hello/files/main.c && \
bitbake hello
but it fails with
abort()ing pseudo client by server request
pseudo.log contains
path mismatch [3 links]: ino 764030498 db
'.../hello/1.0-r0/package/usr/src/debug/hello/1.0-r0/hello.h' req
'.../hello/1.0-r0/hello.h'.
Tested on honister, recipe and sources are below, would be grateful for help.
meta/recipes-example/hello/hello.bb:
LICENSE = "CLOSED"
SRC_URI = " \
file://hello.h \
file://main.c \
file://Makefile \
"
S = "${WORKDIR}"
do_install() {
install -d ${D}${bindir}
install -m 0755 hello ${D}${bindir}
install -d ${D}${includedir}
install -m 0644 ${S}/hello.h ${D}${includedir}
}
SSTATE_SKIP_CREATION = "1"
--------------------------------------------------------------------------------
meta/recipes-example/hello/files/Makefile:
CFLAGS += -O0
hello: main.o
$(CC) $(LDFLAGS) $^ -o $@ $(LOADLIBES) $(LDLIBS)
clean:
rm -f hello *.o
--------------------------------------------------------------------------------
meta/recipes-example/hello/files/hello.h:
#ifndef _HELLO_H
#define _HELLO_H
struct hello {
int dummy;
};
#endif /* _HELLO_H */
--------------------------------------------------------------------------------
meta/recipes-example/hello/files/main.c:
#include "hello.h"
int main(int argc, char *argv[])
{
struct hello hello;
memset(&hello, 0, sizeof(hello));
return 0;
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163531):
https://lists.openembedded.org/g/openembedded-core/message/163531
Mute This Topic: https://lists.openembedded.org/mt/89947324/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-