Hello, On Tue, Sep 26, 2017 at 4:31 AM, Takashi Matsuzawa <[email protected]> wrote: > 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?
No; it is lttng needing fix. Can you disable lttng support to test? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
