*env Build Configuration: BB_VERSION = "1.19.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-13.04" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.4+snapshot-20130619" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "hongxu-0618-systemd-udev:eac0003697c78bfc0dfe8f6ae322dad37f802b75" *problem Create a new build enviroment, build wget failed $ bitbake wget ... configure:34512: checking for libssl configure:34542: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/jiahongxu/yocto/build-20130613-qemu/tmp/sysroots/qemux86 -o conftest - O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl -lssl /home/jiahongxu/yocto/build- 20130613-qemu/tmp/sysroots/qemux86/lib/libcrypto.so -lz >&5 /home/jiahongxu/yocto/build-20130613-qemu/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lz collect2: error: ld returned 1 exit status ... *analysis From log as we known, the reason is link zlib failed, it isn't explicitly in wget's DEPENDS. *solution Add zlib to wget's DEPENDS.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=56ff693128274f883e8365f7f689217dbe33f77d