[meta-freescale] cs42xx8 errors?

Takashi Matsuzawa tmatsuzawa at xevo.com
Tue Sep 26 00:31:35 PDT 2017


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 <festevam at gmail.com>
Sent: Friday, September 22, 2017 10:37 PM
To: Takashi Matsuzawa
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] cs42xx8 errors?

On Thu, Sep 21, 2017 at 10:20 PM, Takashi Matsuzawa <tmatsuzawa at xevo.com> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20170926/50ea05f7/attachment.html>


More information about the meta-freescale mailing list