[oe] bitbake meta-toolchain-qt5 error

Khem Raj raj.khem at gmail.com
Thu Jan 14 18:14:08 UTC 2016


> On Jan 14, 2016, at 1:08 AM, Ankur Tyagi <ankur.tyagi85 at gmail.com> wrote:
> 
> that fixed the problem, thanks for the help.
> 
> Any reason why this patch is not accepted ?

it’d s link to an upstreamed patch. If its missing in OE then propose it
to OE recipe

> 
> On Thu, Jan 14, 2016 at 8:02 AM, Khem Raj <raj.khem at gmail.com> wrote:
> 
>> issue seems to be typeof usage when using c99
>> especially this from bluetooth.h
>> 
>> #define bt_put_unaligned(val,ptr) do { struct __attribute__((packed)) {
>> typeof(*(ptr)) __v; } *__p = (typeof(__p)) (ptr); __p->__v = (val); }
>> while(0)
>> 
>> change typeof with __typeof__ in above macro.
>> 
>> or back port
>> 
>> 
>> http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8
>> 
>> into your version of bluez
>> 
>> 
>> 
>>> On Jan 13, 2016, at 1:59 AM, Ankur Tyagi <ankur.tyagi85 at gmail.com>
>> wrote:
>>> 
>>> here is the full log file
>>> https://gist.github.com/anonymous/d6db184bff49736e1121
>>> 
>>> In case log file above is truncated:
>>> 
>> https://gist.githubusercontent.com/anonymous/d6db184bff49736e1121/raw/b6dd87cf3745c91d958e253c3332cc22772a1f0a/qnetworkinfo_linux.cpp
>>> 
>>> 
>>> On Tue, Jan 12, 2016 at 5:50 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>> 
>>>> No. you need to use complete cmdline that is used while compiling it
>>>> originally to produce the error
>>>> 
>>>>> On Jan 12, 2016, at 5:37 PM, Ankur Tyagi <ankur.tyagi85 at gmail.com>
>>>> wrote:
>>>>> 
>>>>> I posted the complete log file.
>>>>> 
>>>>> I tried with "arm-linux-gnueabihf-gcc -E -dD <filename>"
>>>>> Maybe it is not enough. I'll try with complete command having include
>>>> paths
>>>>> and see if it improves anything.
>>>>> 
>>>>> On Wed, Jan 13, 2016 at 2:29 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>>> 
>>>>>> 
>>>> 
>> /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/qtsystems/5.5.1+gitAUTOINC+0577ffca58-r0/git/src/systeminfo/linux/qnetworkinfo_linux_p.h:48:26:
>>>>>> fatal error: qnetworkinfo.h: No such file or directory
>>>>>> 
>>>>>> 
>>>>>> Please post complete file
>>>>>> 
>>>>>>> On Jan 12, 2016, at 5:22 PM, Ankur Tyagi <ankur.tyagi85 at gmail.com>
>>>>>> wrote:
>>>>>>> 
>>>>>>> thanks
>>>>>>> 
>>>>>>> here it is.. https://gist.github.com/anonymous/a03e9fb2203e45a4b033
>>>>>>> 
>>>>>>> On Wed, Jan 13, 2016 at 1:44 PM, Khem Raj <raj.khem at gmail.com>
>> wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>>> On Jan 12, 2016, at 4:39 PM, Ankur Tyagi <ankur.tyagi85 at gmail.com>
>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>> sorry it took me a while to reply.
>>>>>>>>> 
>>>>>>>>> I am using gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.
>>>>>>>>> 
>>>>>>>>> I have preprocess
>>>>>>>>> ​ ​
>>>>>>>>> ​​
>>>>>>>>> log but looks like pastebin is down. Ok to send the log as
>>>> attachment ?
>>>>>>>> 
>>>>>>>> http://alternativeto.net/software/pastebin/
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Tue, Jan 12, 2016 at 9:16 AM, Khem Raj <raj.khem at gmail.com>
>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>>> On Jan 11, 2016, at 11:25 AM, Ankur Tyagi <
>> ankur.tyagi85 at gmail.com
>>>>> 
>>>>>>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>> included stdint.h in qnetworkinfo_linux.cpp but still getting the
>>>>>> same
>>>>>>>>>> error
>>>>>>>>>> 
>>>>>>>>>> what version of gcc are you using and can you preprocess the file
>>>>>> under
>>>>>>>>>> error with -E -dD and pastebin it ?
>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Mon, Jan 11, 2016 at 10:47 AM, Khem Raj <raj.khem at gmail.com>
>>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> On Mon, Jan 11, 2016 at 10:37 AM, Ankur Tyagi <
>>>>>>>> ankur.tyagi85 at gmail.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>> 
>>>>>> 
>>>> 
>> /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/bluetooth/bluetooth.h:159:9:
>>>>>>>>>>>>> error: expected identifier before '*' token
>>>>>>>>>>>>> |   return bt_get_unaligned((const uint64_t *) ptr);
>>>>>>>>>>>> 
>>>>>>>>>>>> this means that stdint.h is missing from includes.
>>>>>>>>>>>> --
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Openembedded-devel mailing list
>>>>>>>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>>>>>>>> 
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Openembedded-devel mailing list
>>>>>>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>>>>>>> 
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Openembedded-devel mailing list
>>>>>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> _______________________________________________
>>>>>>>>> Openembedded-devel mailing list
>>>>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> _______________________________________________
>>>>>>>> Openembedded-devel mailing list
>>>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>>> 
>>>>>>>> 
>>>>>>> --
>>>>>>> _______________________________________________
>>>>>>> Openembedded-devel mailing list
>>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> _______________________________________________
>>>>>> Openembedded-devel mailing list
>>>>>> Openembedded-devel at lists.openembedded.org
>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>> 
>>>>>> 
>>>>> --
>>>>> _______________________________________________
>>>>> Openembedded-devel mailing list
>>>>> Openembedded-devel at lists.openembedded.org
>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>> 
>>>> 
>>>> --
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel at lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>> 
>>>> 
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> 
>> 
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> 
>> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160114/3e717188/attachment-0002.sig>


More information about the Openembedded-devel mailing list