Hello.

I tried some to build my image with meta-freescale master branch (so that 
linux-fslc 4.13 will be included, hopefully with necessary changes), but having 
problem with build.


I encounter build error with lttng-modules/2.9.1-r1 as below.


| .../lttng-modules/2.9.1-r0/lttng-modules-2.9.1/wrapper/kref.h: In function 
'lttng_kref_get':
| .../lttng-modules/2.9.1-r0/lttng-modules-2.9.1/wrapper/kref.h:39:24: error: 
passing argument 1 of 'atomic_add_unless' from incompatible
pointer type [-Werror=incompatible-pointer-types]
|   if (atomic_add_unless(&kref->refcount, 1, INT_MAX) != INT_MAX) {


I locally fixed a few of these errors by looking into the latest source of 
lttng-modules, which had something like below which gave me some clue, but I 
feel I should check if this is a right approach before going further.


>#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0))

Is this possibly a problem in my configuration?


________________________________
From: Fabio Estevam <[email protected]>
Sent: Friday, September 22, 2017 10:37 PM
To: Takashi Matsuzawa
Cc: [email protected]
Subject: Re: [meta-freescale] cs42xx8 errors?

On Thu, Sep 21, 2017 at 10:20 PM, Takashi Matsuzawa <[email protected]> wrote:
>
> Hello.
> This is linux-fslc (4.9), I am trying use-mainline-bsp option with SABRE AI
> board.

Could you try with kernel 4.13.3 or 4.14-rc1?
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to