[yocto] Legacy library find.pl will be removed from the Perl core distribution in the next major release

2015-09-15 Thread Neil.Wu
Hi , all The version of YP which I using is 1.6.2. When building the openssl, it appears the problem as following : ERROR: Function failed: do_configure (log file is located at /home/ectrs/poky/cortexta8_build/tmp/work/i686-linux/openssl-native/1.0.1j-r0/temp/log.do_configure.

[yocto] ld: cannot find crti.o: No such file or directory

2015-04-16 Thread Neil.Wu
Hi, all I use the 1.8 YP to build the ccgi, the receip of ccgi as this: SUMMARY = "Add ccgi lib to rootfs" HOMEPAGE = "http://sourceforge.net/projects/libccgi/?source=typ_redirect"; LICENSE = "GPLv2" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb

[yocto] The error of task do_validate_branches

2015-04-13 Thread Neil.Wu
Hi, all I build the custom linux-yocto kernel, it appears the error as bellow : ERROR: Function failed: do_validate_branches (log file is located at /home/ectrs/poky/coretexa8/tmp/work/am335x_evm-poky-linux-gnueabi/linux-yocto-tiam335x/3.12.10--SS-r0/temp/log.do_validate_branches.4899) ERROR: Lo

Re: [yocto] The problem of do_rootfs_append

2015-01-22 Thread Neil.Wu
Hi, nico Thank you for your help. I have resolved the problem using IMAGE_POSTPROCESS_COMMAND in core-image-specific.bb. Neil -Original Message- From: Nicolas Dechesne [mailto:nicolas.deche...@linaro.org] Sent: Thursday, January 22, 2015 4:41 PM To: Wu, Neil [CLIMATE/RS/CN] Cc: Yocto li

Re: [yocto] The problem of do_rootfs_append

2015-01-22 Thread Neil.Wu
Hi, nico Thank you for your reply. But I found that there are others use do_rootfs_append() when searching on the Internet. If I want to remove the directory in do_rootfs() task, how can I to do it ? Tanks Neil -Original Message- From: Nicolas Dechesne [mailto:nicolas.deche...@linaro.or

[yocto] The problem of do_rootfs_append

2015-01-22 Thread Neil.Wu
Hi, all I'm building specific rootfs image. Add the do_rootfs_append() task in core-image-specific.bb, core-image-specific.bb: SUMMARY = "creaet the customer rootfs" require ${TOPDIR}/../meta/recipes-core/images/core-image-minimal.bb IMAGE_INSTALL = "readline-dev linux-libc-headers-dev json-gli

[yocto] the problem of poky 1.7 when building the custom rootfs

2015-01-20 Thread Neil.Wu
Hi ,all I try to build my custom image , The problem appears as follows: ERROR: Trying to resolve runtime dependency eglibc resulted in conflicting PREFERRED_PROVIDER entries being found. The providers found were: ['/home/ectrs/poky/meta/recipes-core/glibc/glibc-initial_2.20.bb', 'virtual:nativ

[yocto] dependency eglibc resulted in conflicting PREFERRED_PROVIDER entries being found

2015-01-19 Thread Neil.Wu
Hi ,all I try to build my custom image , The problem appears as follows: ERROR: Trying to resolve runtime dependency eglibc resulted in conflicting PREFERRED_PROVIDER entries being found. The providers found were: ['/home/ectrs/poky/meta/recipes-core/glibc/glibc-initial_2.20.bb', 'virtual:nativ

Re: [yocto] can't find the source code of kernel

2015-01-19 Thread Neil.Wu
Hi, Bruce Thank you very much for your help. My problem have solved. Before, I was working in "master" branch. Switch to a new branch, I find the "source" directory ,what included the kernel source code, in linux-qemuarm-standard-build. Neil -Original Message- From: Bruce Ashfield [mai

Re: [yocto] can't find the source code of kernel

2015-01-15 Thread Neil.Wu
Hi, Bruce Thank you for your reply. In the WORKDIR , it just has "linux-qemuarm-standard-build" and not have the "linux". My WORKDIR directory is "~/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_6166316d47-r0", but I don't find the tarball of "linux-1

[yocto] can't find the source code of kernel

2015-01-15 Thread Neil.Wu
Hi ,all The version of poky is 1.7. I build the linux-yocto is successful . bitbake linux-yocto But, why I can’t find the source code of linux in ${WORKDIR}. Best wishes Neil -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproje

Re: [yocto] problem of install kernel module(*.ko) to rootfs folder

2014-12-24 Thread Neil.Wu
Hi Raj, Thank you for your reply. I have resolved the problem. Thank you!! Neil -Original Message- From: Khem Raj [mailto:raj.k...@gmail.com] Sent: Thursday, December 25, 2014 11:26 AM To: Wu, Neil [CLIMATE/RS/CN] Cc: yocto@yoctoproject.org Subject: Re: [yocto] problem of install kernel

[yocto] problem of install kernel module(*.ko) to rootfs folder

2014-12-24 Thread Neil.Wu
Hi all, First of all , merry Christmas. I run menuconfig and save the .config as following: CONFIG_SPI_DEV_INTERFACE=m CONFIG_PACKAGE_kmod-usb-core=m Then I build the linux-yocto and core-image-minimal : Bitbake linux-yocto Bitbake core-image-minimal I expected all the kernel module will insta

Re: [yocto] problem of toolchain install directrory

2014-12-17 Thread Neil.Wu
Hello Liviu, Thank you very much for your reply. I got a very useful information from your reply. At the beginning , I want to add the cross compiler to eclipse project and not use the default installer directory, but it appears the above problem. In eclipse project, the setting as these:

[yocto] problem of toolchain install directrory

2014-12-17 Thread Neil.Wu
Hello ,all I build the toolchain via bitbake core-image-minimal –c populate_sdk. Then I install the toolchain. If I install the toolchain in default directory(default: /opt/poky/1.7.1), everything is ok. But, if I not install in the default directory, it will appears the problem that can’t

Re: [yocto] add files to dirctory in packages-split

2014-12-11 Thread Neil.Wu
Hello Raj, Thank you for your help. The problem have solved. Neil From: Khem Raj [mailto:raj.k...@gmail.com] Sent: Friday, December 12, 2014 10:48 AM To: Wu, Neil [CLIMATE/RS/CN] Cc: yocto@yoctoproject.org Subject: Re: [yocto] add files to dirctory in packages-split On Dec 11, 2014, at 5:59 PM,

Re: [yocto] add files to dirctory in packages-split

2014-12-11 Thread Neil.Wu
Hi Raj, Thank you very much for your reply. I have try to do like you say. I’m compiling the glib-2.0, need to add the link file of one library to glib-2.0 package. So I add the command like following : FILES_${PN} += “${libdir}/libgio-2.0.so” But , it can’t success. Do you know whether need to

[yocto] add files to dirctory in packages-split

2014-12-11 Thread Neil.Wu
Hi all, I want to add some files to the specified directory what in packages-split. How to do it ? Thank you Neil -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Luajit Compile Error

2014-12-11 Thread Neil.Wu
Hello everyone, I want to add some command in do_rootfs() task, so I add the information in core-image-minimal.bb like following : . . do_rootfs_append() { . . . } . . But ,it always appears the error as this : ERROR: ExpansionError during parsing /home/

[yocto] Compile th nativesdk-automake fail.

2014-11-16 Thread Neil.Wu
Hi all : It appears the following problem when compiling the nativesdk-automake: | Can't locate Text/Tabs.pm in @INC (@INC contains: //usr/lib/perl/5.14.3 //usr/lib/perl //usr/lib/perl/5.14.3 /opt/poky/1.6.1/sysroots/i686-pokysdk-linux/usr/lib/perl/site_perl/5.14.3/ /opt/poky/1.6.1/sysroots/i68

Re: [yocto] Can't find the header files after install adt_installer.tar.gz

2014-11-13 Thread Neil.Wu
Thank you for your reply. I just move the adt_installer.tar.gz to another pc which don't have yocto project. Install the adt_installer and execute the environment-setup-armv5te-poky-linux-gnueabi Then compile the hello.c arm-poky-linux-gnueabi-gcc hello.c -o hello I don't know whether need to d

[yocto] Can't find the header files after install adt_installer.tar.gz

2014-11-13 Thread Neil.Wu
Hi all : I have installed the adt_installer .tar.gz like fllowing: $ cd ~ $ tar -xjf adt_installer.tar.bz2 $ cd adt-installer $ ./adt_installer Because the YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/$YOCTOADT_TARGE

Re: [yocto] Can not generate the ccgi-${PV} package

2014-11-06 Thread Neil.Wu
Hi, ting: Thank you very much for your answer. My problem has been solved If I don't have this ccgi-${PV} package ,although it is empty, yocto will apper an error when adding the ccgi recipes. Thank you again for your help. From: ting@freescale.com [mailto:ting@freescale.

[yocto] Can not generate the ccgi-${PV} package

2014-11-06 Thread Neil.Wu
Hi, all I try to compile libccgi . At end , I don't why can't create the standard ccgi-${PV} package. The just create ccgi-dbg-${PV} ccgi-dev-${PV}, do you know why?? The following is my recipes .bb file: SUMMARY = "Add ccgi lib to rootfs" HOMEPAGE = "http://sourceforge

Re: [yocto] Luajit Compile Error

2014-10-27 Thread Neil.Wu
This is my .bb file what compile the LuaJIT on arm architecture. I hope it can help you! SUMMARY = "Add LuaJIT to rootfs" HOMEPAGE = "http://luajit.org/index.html"; LICENSE = "MIT" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" #FILESPATH := "${THISDIR}/${PN}" LIC_FILES_CHKSUM = "file://COPYRIGH

[yocto] samba tdb compile error!

2014-10-21 Thread Neil.Wu
Hi all, I creat the recipes of the samba tdb, compile the x86 package is ok ,but it apper an error when I ‘m compiling the arm package , like the following : Build Configuration: BB_VERSION= "1.22.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-14.04" TAR

Re: [yocto] create_image.tar fail

2014-10-19 Thread Neil.Wu
Hello, * I need to creat a new recipes to add libtdb to rootfs. The source code of tdb is Makefile-Base Package. Bitbake make will run the makefile automatically to finish the do_compile. But , I must to execute one "configure" file of source code in do_configure task before

Re: [yocto] create_image.tar fail

2014-09-22 Thread Neil.Wu
Hi, I use the yocto-bsp tools to creat a new bsp layer, I found this problem like following : Yoctto-bsp creat myx86 quem Traceback (most recent call last): File "/home/etcrs/poky/scripts/yocto-bsp", line 150, in ret = main() File "/home/etcrs/poky/scripts/yocto-bsp", line 145, in main

Re: [yocto] create_image.tar fail

2014-09-15 Thread Neil.Wu
Hi Burton : You are so great! Thank you very much .My problem has resolved. Although I don't install the busybox, but I find the busybox-static and ubuntu-standard in my system. Afer remove them , compiling is successful. busybox-static: /usr/share/doc/busybox-sta

[yocto] create_image.tar fail

2014-09-15 Thread Neil.Wu
Hello , I meet one problem like following when I compiling Yocto project 1.6.1. create_image.ext3 ... NOTE: Running image creation script for tar: /home/etcrs/poky-daisy-11.0.1/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/create_image.tar ... ERROR: Error: The image creation sc