如何在yocto中启用dbus-X11

时间:2018-09-08 03:47:05

标签: yocto bitbake

我正在yocto中使用poky和meta-openembedded(git://git.openembedded.org/meta-openembedded(branch:master))

我想为我的SDK平台构建metacity和cyrus-sasl(2.1.26) 我运行以下命令

我将BBCLASSEXTEND + =“ nativesdk”添加到metacity的bb中 并运行bitbake nativesdk-metacity

但我会收到错误消息

  

错误:没有RPROVIDES'nativesdk-dbus-x11'(但是virtual:nativesdk:poky / meta / rec开启或以其他方式要求它)

     

错误:没有RPROVIDES'nativesdk-dbus-x11'(但在virtual:nativesdk:poky / meta / recipes-core / dbus / dbus-glib_0.110.bb RDEPENDS上或以其他方式要求它)错误:必需的构建目标' nativesdk-metacity'没有可构建的提供程序。缺少或无法构建的依赖链为:['nativesdk-metacity','nativesdk-libcanberra','nativesdk-pulseaudio','nativesdk-gconf','nativesdk-dbus-glib','nativesdk-dbus-x11']      

错误:没有提供“ dbus-x11”。接近比赛:     dbus RPROVIDES dbus-x11

我在所有meta中都找不到dbus-x11的bb 我看不到dbus-x11然后运行bitbake -s

如何启用dbus-x11?

和...

我还将BBCLASSEXTEND + =“ nativesdk”添加到cyrus-sasl_2.1.26.bb 和bitbake nativesdk-cyrus-sasl

获取错误消息

  

| x86_64-pokysdk-linux-gcc --sysroot = / poky / build-fw / tmp / work / x86_64-nativesdk-pokysdk-linux / nativesdk-cyrus-sasl / 2.1.26-r0 / recipe-sysroot -O2 -pipe- Wl,-O1 -o saslauthd机制。 .o krbtf.o utils.o ipc_unix.o ipc_doors.o saslauthd-main.o md5.o -lresolv

| auth_getpwent.o: In function `auth_getpwent':
| auth_getpwent.c:(.text+0x42): undefined reference to `crypt'
| auth_shadow.o: In function `auth_shadow':
| auth_shadow.c:(.text+0x109): undefined reference to `crypt'
| collect2: error: ld returned 1 exit status
| Makefile:456: recipe for target 'saslauthd' failed

如何将-lcrypt添加到cyrus-sasl_2.1.26.bb bb?

非常感谢 约翰

0 个答案:

没有答案