Re: [yocto] SDK not contianing archive libraries
On Monday 11 August 2014 20:17:31 Joseph Andrew de la Peña wrote: > Yes, it worked. I can see my archive libs now. BUT one last problem, there > are few units publishing archive libs that were not included. What would I > need to add in my recipe to those units for it to work? That should not be the case. If the package is in the image, then the corresponding -staticdev package should now be in the SDK when you do -c populate_sdk . > Apparently, I have my own meta-layer, and I put the SDKIMAGE_FEATURES in > one of my distro's conf. Is this the right place for this variable? Yes. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
Good day Paul, Yes, it worked. I can see my archive libs now. BUT one last problem, there are few units publishing archive libs that were not included. What would I need to add in my recipe to those units for it to work? Apparently, I have my own meta-layer, and I put the SDKIMAGE_FEATURES in one of my distro's conf. Is this the right place for this variable? Thanks, Joseph On Mon, Aug 11, 2014 at 5:39 PM, Paul Eggleton < paul.eggle...@linux.intel.com> wrote: > Hi Joseph, > > On Monday 11 August 2014 13:49:52 Joseph Andrew de la Peña wrote: > > Still can't find the solution to include archive libraries into SDK. I > have > > already checked staticdev and my unit is already using it. The archive > libs > > are installed successfully in the image's sysroot but apparently not in > > sdk. Hope you could shed some light here. > > Have you tried SDKIMAGE_FEATURES = "dev-pkgs staticdev-pkgs dbg-pkgs" ? > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
Hi Joseph, On Monday 11 August 2014 13:49:52 Joseph Andrew de la Peña wrote: > Still can't find the solution to include archive libraries into SDK. I have > already checked staticdev and my unit is already using it. The archive libs > are installed successfully in the image's sysroot but apparently not in > sdk. Hope you could shed some light here. Have you tried SDKIMAGE_FEATURES = "dev-pkgs staticdev-pkgs dbg-pkgs" ? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
Good day Yocto Dev Community, Still can't find the solution to include archive libraries into SDK. I have already checked staticdev and my unit is already using it. The archive libs are installed successfully in the image's sysroot but apparently not in sdk. Hope you could shed some light here. Thanks, Joseph On Thu, Jul 24, 2014 at 4:30 PM, Burton, Ross wrote: > On 24 July 2014 08:30, Joseph Andrew de la Peña > wrote: > > I've mimic'd the bitbake.conf way of adding -staticdev. Apparently I got > a > > QA error stating that there are already multiple definitions of > -staticdev > > for my unit. > > Your package will already have them due to the default values in > bitbake.conf, I meant you'll need to add those packages to your SDK. > > > BTW, what's the purpose of ALLOW_EMPTY_${PN} = "1" and > ALLOW_EMPTY_${PN}-dev > > = "1"? > > > http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-ALLOW_EMPTY > > Ross > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
On 24 July 2014 08:30, Joseph Andrew de la Peña wrote: > I've mimic'd the bitbake.conf way of adding -staticdev. Apparently I got a > QA error stating that there are already multiple definitions of -staticdev > for my unit. Your package will already have them due to the default values in bitbake.conf, I meant you'll need to add those packages to your SDK. > BTW, what's the purpose of ALLOW_EMPTY_${PN} = "1" and ALLOW_EMPTY_${PN}-dev > = "1"? http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-ALLOW_EMPTY Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
Good day Ross, I've mimic'd the bitbake.conf way of adding -staticdev. Apparently I got a QA error stating that there are already multiple definitions of -staticdev for my unit. BTW, what's the purpose of ALLOW_EMPTY_${PN} = "1" and ALLOW_EMPTY_${PN}-dev = "1"? Really thank you for your help with this one. - Joseph On Wed, Jul 23, 2014 at 5:27 PM, Burton, Ross wrote: > On 23 July 2014 10:23, Joseph Andrew de la Peña > wrote: > > Thanks for your reply Anooj. Apparently, based on my findings, the SDK > > contains libraries that are "libtool archives", .la. For my part, I have > > used .a only which is not "libtoolized". I'm finding a way how to make my > > unit generate a libtool archive. > > In general you don't need libtool archives. If you want .a files in > the SDK for static linking then you want to add the recipe's > -staticdev packages to the SDK. > > Ross > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
On 23 July 2014 10:23, Joseph Andrew de la Peña wrote: > Thanks for your reply Anooj. Apparently, based on my findings, the SDK > contains libraries that are "libtool archives", .la. For my part, I have > used .a only which is not "libtoolized". I'm finding a way how to make my > unit generate a libtool archive. In general you don't need libtool archives. If you want .a files in the SDK for static linking then you want to add the recipe's -staticdev packages to the SDK. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
Thanks for your reply Anooj. Apparently, based on my findings, the SDK contains libraries that are "libtool archives", .la. For my part, I have used .a only which is not "libtoolized". I'm finding a way how to make my unit generate a libtool archive. - Joseph On Wed, Jul 23, 2014 at 3:18 PM, Anooj Gopi wrote: > The package installed tmp/sysroot and your SDK sysroot are not same by > default. > You have to find in which package your .a files are. Adding it to > "TOOLCHAIN_HOST_TASK" may help. > I am not sure if this will help as I am currently through the similar > issues. > > > On Wed, Jul 23, 2014 at 5:20 AM, Joseph Andrew de la Peña < > jdelap...@lexmark.com> wrote: > >> Good day, >> >> I have bumped into a problem when compiling from my generated SDK (-c >> populate_sdk). I have archive libraries (.a) that were not reflected in my >> SDK's lib dir in sysroots. However, my shared objects (.so) are present. I >> needed both .a and .so to be present in my SDK. With the former being the >> problem, how can archive libraries be included in SDK? I've checked in my >> poky and all .a are installed successfully in tmp/sysroots. >> >> Thanks, >> Joseph >> >> -- >> ___ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> >> > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] SDK not contianing archive libraries
The package installed tmp/sysroot and your SDK sysroot are not same by default. You have to find in which package your .a files are. Adding it to "TOOLCHAIN_HOST_TASK" may help. I am not sure if this will help as I am currently through the similar issues. On Wed, Jul 23, 2014 at 5:20 AM, Joseph Andrew de la Peña < jdelap...@lexmark.com> wrote: > Good day, > > I have bumped into a problem when compiling from my generated SDK (-c > populate_sdk). I have archive libraries (.a) that were not reflected in my > SDK's lib dir in sysroots. However, my shared objects (.so) are present. I > needed both .a and .so to be present in my SDK. With the former being the > problem, how can archive libraries be included in SDK? I've checked in my > poky and all .a are installed successfully in tmp/sysroots. > > Thanks, > Joseph > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto