1 Reply Latest reply on Sep 7, 2018 2:14 PM by Intel Corporation

    build nativesdk-metacity and nativesdk-cyrus-sasl fail

    JohnChiao

      Hi everyone,

       

      I'm using poky and meta-openembedded(git://git.openembedded.org/meta-openembedded(branch: master))

      I want to build metacity and cyrus-sasl(2.1.26) for my SDK

      I run the following command

       

      1. I add BBCLASSEXTEND += " nativesdk" to cyrus-sasl_2.1.26.bb

      # bitbake nativesdk-cyrus-sasl

      but I get error

      | 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 mechanisms.o auth_dce.o auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o auth_httpform.o auth_shadow.o auth_sia.o auth_sasldb.o lak.o auth_ldap.o cache.o cfile.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

       

      How can I add -lcrypt to this bb??

       

      2.

      I add BBCLASSEXTEND += " nativesdk" to metacity's bb

      # bitbake nativesdk-metacity

      but I get error

      ERROR: Nothing RPROVIDES 'nativesdk-dbus-x11' (but virtual:nativesdk:poky/meta/rec on or otherwise requires it)

       

      ERROR: Nothing RPROVIDES 'nativesdk-dbus-x11' (but virtual:nativesdk:poky/meta/recipes-core/dbus/dbus-glib_0.110.bb RDEPENDS on or otherwise requires it) ERROR: Required build target 'nativesdk-metacity' has no buildable providers. Missing or unbuildable dependency chain was: ['nativesdk-metacity', 'nativesdk-libcanberra', 'nativesdk-pulseaudio', 'nativesdk-gconf', 'nativesdk-dbus-glib', 'nativesdk-dbus-x11']

      ERROR: Nothing PROVIDES 'dbus-x11'. Close matches:

        dbus RPROVIDES dbus-x11

       

      metacity need dbus-x11

      but I cannot find dbus-x11's bb

      I cannot see dbus-x11 then run bitbake -s

       

      How can I enable dbus-x11 ??

       

      thanks a lot

      John