[yocto] QorIQ-SDK-V1.8 fsl-toolchain generation misses libuuid
Luo Zhenhua
zhenhua.luo at freescale.com
Fri Jul 24 02:17:41 PDT 2015
One correction.
Do the following change for meta-fsl-networking/images/fsl-toolchain.bb
diff --git a/images/fsl-toolchain.bb b/images/fsl-toolchain.bb
index 88625c0..82c2614 100644
--- a/images/fsl-toolchain.bb
+++ b/images/fsl-toolchain.bb
@@ -11,6 +11,7 @@ TOOLCHAIN_TARGET_TASK += " \
libgomp-staticdev \
libstdc++-staticdev \
${TCLIBC}-staticdev \
+ util-linux-dev \
"
Best Regards,
Zhenhua
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Luo Zhenhua
Sent: Friday, July 24, 2015 4:26 PM
To: Sarayu Krishna Sivanandam; yocto at yoctoproject.org
Subject: Re: [yocto] QorIQ-SDK-V1.8 fsl-toolchain generation misses libuuid
Hi Sarayu K S,
The fsl-toolchian includes the very basic packages of cross-compile support by default, to add the more headers and libraries, you can edit meta-fsl-networking/images/fsl-toolchain.bb to add corresponding packages and rebuild fsl-toolchain.
For the specific case, you can do the following change and rebuild fsl-toolchain.
diff --git a/images/fsl-toolchain.bb b/images/fsl-toolchain.bb
index 88625c0..0756bd0 100644
--- a/images/fsl-toolchain.bb
+++ b/images/fsl-toolchain.bb
@@ -11,6 +11,7 @@ TOOLCHAIN_TARGET_TASK += " \
libgomp-staticdev \
libstdc++-staticdev \
${TCLIBC}-staticdev \
+ nativesdk-util-linux-dev \
"
Best Regards,
Zhenhua
From: yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org> [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Sarayu Krishna Sivanandam
Sent: Friday, July 24, 2015 3:21 PM
To: yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
Subject: [yocto] QorIQ-SDK-V1.8 fsl-toolchain generation misses libuuid
Hi all ,
I am using the QorIQ-SDK-V1.8 SDK for the toolchain generation for my ARM board . I followed the instructions in http://www.freescale.com/infocenter/topic/QORIQSDK/6735542.html and was able to successfully generate the toolchain and install the same.
I was also able to cross compile my hello world program and run the same on my board . But when i wanted to test my other programs , i figured that they were using the libuuid which was not present in the toolchain since it was throwing errors for the uuid.h reference in my code.
I verified that the SDK had the util-linux recipe in the recipies-core folder and also this was in the BBLAYER path as well. I saw that the packages were also defined right and this recipe was being parsed also when i tried to build it .
I used bitbake to run the util-linux_2.24.1.bb<http://util-linux_2.24.1.bb> file separately and saw that it was able to generate the libuuid but for some reason it is not being built as part of the toolchain .
Can you please let me know what changes are required to include it along with the toolchain build .
Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150724/5a494032/attachment.html>
More information about the yocto
mailing list