From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1DD9DE004F2; Mon, 5 Jan 2015 11:13:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 67 seconds by postgrey-1.32 at yocto-www; Mon, 05 Jan 2015 11:13:54 PST Received: from elnico.cz (mail.elnico.cz [90.183.239.238]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 718A4E00344 for ; Mon, 5 Jan 2015 11:13:54 -0800 (PST) Received: from pcw.firma.local ([192.168.10.64]) by elnico.cz with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Jan 2015 20:12:42 +0100 Message-ID: <54AAE22A.7070905@elnico.cz> Date: Mon, 05 Jan 2015 20:12:42 +0100 From: =?UTF-8?B?UGV0ciBLdWJpesWIw6Fr?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org X-OriginalArrivalTime: 05 Jan 2015 19:12:42.0595 (UTC) FILETIME=[947EFB30:01D0291B] X-EsetResult: clean, is OK X-EsetId: 764970384DE7FE392C0E2B X-Mailman-Approved-At: Tue, 06 Jan 2015 03:52:00 -0800 Subject: [meta-fsl-arm] libmcc sysroot issues X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 19:13:57 -0000 Content-Type: multipart/alternative; boundary="------------040206090203040203060808" --------------040206090203040203060808 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear all, I'm experiencing sysroot issues with the libmcc library on the latest revision of branch dizzy (2014-12-30, commit 7539a694f3d01f1ab5162bfee16b0327f827c4f7). Not all required files are populated into the SDK, so the library cannot be further used in the application development without manually manipulating the sysroot. First of all, compilation of such application fails on the dependency on include file, coming from . The mvf_sema4.h file is a part of linux-timesys (3.0.15) kernel (directory include/linux), and should be located in /usr/include/linux in the SDK sysroot. I wanted to create a patch, but did not find an automated solution (as I already described at https://community.freescale.com/message/466383). This issue is not just my case, as you can find for example at the following link: http://developer.toradex.com/how-to/colibri-vf61-real-time-demo-%28xy-pen-plotter%29#Building_the_Qt_User_Interface Second (after fixing the first issue manually), linking of such application fails on "-lmcc" flag, as it cannot locate libmcc.so library. In sysroot's /usr/lib, there is only libmcc.so.1.0, but a libmcc.so link is missing. After creating the link manually, the application can build and run as expected. I would like to ask for a patch of these two issues, or at least for pointing me to some *brief* resource where I might learn how to create the patch on myself (i.e. what meta-data say yocto how to generate sysroots). Sorry, but studying the whole yocto documentation is just too long run. I spent whole day trying to find a solution with no success. Best Regards, Petr Petr Kubiznak Embedded SW Developer ELNICO s.r.o. Heydukova 2923, 544 01 Dvur Kralove n.L., Czech Republic T: +420 499 321 019 | M: +420 724 053 668 www.elnico.cz | www.sqm4.com | kubiznak.petr@elnico.cz --------------040206090203040203060808 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Dear all,
I'm experiencing sysroot issues with the libmcc library on the latest revision of branch dizzy (2014-12-30, commit 7539a694f3d01f1ab5162bfee16b0327f827c4f7). Not all required files are populated into the SDK, so the library cannot be further used in the application development without manually manipulating the sysroot.

First of all, compilation of such application fails on the dependency on <linux/mvf_sema4.h> include file, coming from <linux/mcc_config.h>. The mvf_sema4.h file is a part of linux-timesys (3.0.15) kernel (directory include/linux), and should be located in /usr/include/linux in the SDK sysroot. I wanted to create a patch, but did not find an automated solution (as I already described at https://community.freescale.com/message/466383). This issue is not just my case, as you can find for example at the following link: http://developer.toradex.com/how-to/colibri-vf61-real-time-demo-%28xy-pen-plotter%29#Building_the_Qt_User_Interface

Second (after fixing the first issue manually), linking of such application fails on "-lmcc" flag, as it cannot locate libmcc.so library. In sysroot's /usr/lib, there is only libmcc.so.1.0, but a libmcc.so link is missing. After creating the link manually, the application can build and run as expected.

I would like to ask for a patch of these two issues, or at least for pointing me to some *brief* resource where I might learn how to create the patch on myself (i.e. what meta-data say yocto how to generate sysroots). Sorry, but studying the whole yocto documentation is just too long run. I spent whole day trying to find a solution with no success.

Best Regards,
Petr

Petr Kubiznak
Embedded SW Developer
ELNICO s.r.o.
Heydukova 2923, 544 01 Dvur Kralove n.L., Czech Republic
T: +420 499 321 019 | M: +420 724 053 668
www.elnico.cz | www.sqm4.com | kubiznak.petr@elnico.cz

--------------040206090203040203060808--