* [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
@ 2013-02-21 10:51 Abdellah KOUADRI
2013-02-21 13:17 ` Gary Thomas
0 siblings, 1 reply; 8+ messages in thread
From: Abdellah KOUADRI @ 2013-02-21 10:51 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]
Hello all
When trying to build xf86-video-imxfb-vivante_12.09.01.bb i'm having the
following errors :
vivante_fbdev/vivante_fbdev_driver.c: In function 'InitExaLayer':
| vivante_fbdev/vivante_fbdev_driver.c:209:5: warning: passing argument 5
of 'VIV2DGPUUserMemMap' from incompatible pointer type [enabled by default]
| In file included from vivante_fbdev/vivante.h:37:0,
| from vivante_fbdev/vivante_fbdev_driver.c:23:
| ./vivante_gal/vivante_gal.h:243:10: note: expected 'unsigned int *' but
argument is of type 'long unsigned int *'
| vivante_fbdev/vivante_fbdev_driver.c: In function 'VivScreenInit':
| vivante_fbdev/vivante_fbdev_driver.c:652:24: error: 'scrnIndex'
undeclared (first use in this function)
| vivante_fbdev/vivante_fbdev_driver.c:652:24: note: each undeclared
identifier is reported only once for each function it appears in
| make[2]: *** [vivante_fbdev_driver.lo] Error 1
I'v checked sources and seems that macros defined in compat-api.h are not
fully used in vivante_fbdev_driver.c ?
--
Cordialement,
Best Regards,
Abdellah. M. Kouadri. M.
This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged,
and its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its sender
at the above address and destroy it.
[-- Attachment #2: Type: text/html, Size: 1742 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 10:51 [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante Abdellah KOUADRI
@ 2013-02-21 13:17 ` Gary Thomas
2013-02-21 13:30 ` Abdellah KOUADRI
0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2013-02-21 13:17 UTC (permalink / raw)
To: meta-freescale
On 2013-02-21 03:51, Abdellah KOUADRI wrote:
>
> Hello all
>
> When trying to build xf86-video-imxfb-vivante_12.09.01.bb <http://xf86-video-imxfb-vivante_12.09.01.bb> i'm having the following errors :
>
>
>
> vivante_fbdev/vivante_fbdev_driver.c: In function 'InitExaLayer':
> | vivante_fbdev/vivante_fbdev_driver.c:209:5: warning: passing argument 5 of 'VIV2DGPUUserMemMap' from incompatible pointer type [enabled by default]
> | In file included from vivante_fbdev/vivante.h:37:0,
> | from vivante_fbdev/vivante_fbdev_driver.c:23:
> | ./vivante_gal/vivante_gal.h:243:10: note: expected 'unsigned int *' but argument is of type 'long unsigned int *'
> | vivante_fbdev/vivante_fbdev_driver.c: In function 'VivScreenInit':
> | vivante_fbdev/vivante_fbdev_driver.c:652:24: error: 'scrnIndex' undeclared (first use in this function)
> | vivante_fbdev/vivante_fbdev_driver.c:652:24: note: each undeclared identifier is reported only once for each function it appears in
> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
>
>
> I'v checked sources and seems that macros defined in compat-api.h are not fully used in vivante_fbdev_driver.c ?
What version/branch of meta-fsl-arm are you using?
I just built this using master/8b11343efcda2c097a101886d55a38aa84f37514
with no problems.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 13:17 ` Gary Thomas
@ 2013-02-21 13:30 ` Abdellah KOUADRI
2013-02-21 15:16 ` Gary Thomas
0 siblings, 1 reply; 8+ messages in thread
From: Abdellah KOUADRI @ 2013-02-21 13:30 UTC (permalink / raw)
To: Gary Thomas, meta-freescale
[-- Attachment #1: Type: text/plain, Size: 2635 bytes --]
I'm using branch master:6d3f9a4fcf28bc6a3d06099d6dc7ca1ebf38c992
from git://github.com/Freescale/meta-fsl-arm.git
A.K.
On Thu, Feb 21, 2013 at 2:17 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2013-02-21 03:51, Abdellah KOUADRI wrote:
>
>>
>> Hello all
>>
>> When trying to build xf86-video-imxfb-vivante_12.**09.01.bb<http://xf86-video-imxfb-vivante_12.09.01.bb><
>> http://xf86-video-imxfb-**vivante_12.09.01.bb<http://xf86-video-imxfb-vivante_12.09.01.bb>>
>> i'm having the following errors :
>>
>>
>>
>>
>> vivante_fbdev/vivante_fbdev_**driver.c: In function 'InitExaLayer':
>> | vivante_fbdev/vivante_fbdev_**driver.c:209:5: warning: passing
>> argument 5 of 'VIV2DGPUUserMemMap' from incompatible pointer type [enabled
>> by default]
>> | In file included from vivante_fbdev/vivante.h:37:0,
>> | from vivante_fbdev/vivante_fbdev_**driver.c:23:
>> | ./vivante_gal/vivante_gal.h:**243:10: note: expected 'unsigned int *'
>> but argument is of type 'long unsigned int *'
>> | vivante_fbdev/vivante_fbdev_**driver.c: In function 'VivScreenInit':
>> | vivante_fbdev/vivante_fbdev_**driver.c:652:24: error: 'scrnIndex'
>> undeclared (first use in this function)
>> | vivante_fbdev/vivante_fbdev_**driver.c:652:24: note: each undeclared
>> identifier is reported only once for each function it appears in
>> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
>>
>>
>> I'v checked sources and seems that macros defined in compat-api.h are not
>> fully used in vivante_fbdev_driver.c ?
>>
>
> What version/branch of meta-fsl-arm are you using?
>
> I just built this using master/**8b11343efcda2c097a101886d55a38**
> aa84f37514
> with no problems.
>
> --
> ------------------------------**------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------**------------------------------
> ______________________________**_________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.**org <meta-freescale@yoctoproject.org>
> https://lists.yoctoproject.**org/listinfo/meta-freescale<https://lists.yoctoproject.org/listinfo/meta-freescale>
>
--
Cordialement,
Best Regards,
Abdellah. M. Kouadri. M.
This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged,
and its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its sender
at the above address and destroy it.
[-- Attachment #2: Type: text/html, Size: 3562 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 13:30 ` Abdellah KOUADRI
@ 2013-02-21 15:16 ` Gary Thomas
2013-02-21 15:21 ` Abdellah KOUADRI
0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2013-02-21 15:16 UTC (permalink / raw)
To: Abdellah KOUADRI; +Cc: meta-freescale
On 2013-02-21 06:30, Abdellah KOUADRI wrote:
> I'm using branch master:6d3f9a4fcf28bc6a3d06099d6dc7ca1ebf38c992
> from git://github.com/Freescale/meta-fsl-arm.git <http://github.com/Freescale/meta-fsl-arm.git>
You should really use git://git.yoctoproject.org/meta-fsl-arm
The github version is now a mirror and doesn't always track well.
> On Thu, Feb 21, 2013 at 2:17 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> On 2013-02-21 03:51, Abdellah KOUADRI wrote:
>
>
> Hello all
>
> When trying to build xf86-video-imxfb-vivante_12.__09.01.bb <http://xf86-video-imxfb-vivante_12.09.01.bb> <http://xf86-video-imxfb-__vivante_12.09.01.bb
> <http://xf86-video-imxfb-vivante_12.09.01.bb>> i'm having the following errors :
>
>
>
>
> vivante_fbdev/vivante_fbdev___driver.c: In function 'InitExaLayer':
> | vivante_fbdev/vivante_fbdev___driver.c:209:5: warning: passing argument 5 of 'VIV2DGPUUserMemMap' from incompatible pointer type [enabled by default]
> | In file included from vivante_fbdev/vivante.h:37:0,
> | from vivante_fbdev/vivante_fbdev___driver.c:23:
> | ./vivante_gal/vivante_gal.h:__243:10: note: expected 'unsigned int *' but argument is of type 'long unsigned int *'
> | vivante_fbdev/vivante_fbdev___driver.c: In function 'VivScreenInit':
> | vivante_fbdev/vivante_fbdev___driver.c:652:24: error: 'scrnIndex' undeclared (first use in this function)
> | vivante_fbdev/vivante_fbdev___driver.c:652:24: note: each undeclared identifier is reported only once for each function it appears in
> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
>
>
> I'v checked sources and seems that macros defined in compat-api.h are not fully used in vivante_fbdev_driver.c ?
>
>
> What version/branch of meta-fsl-arm are you using?
>
> I just built this using master/__8b11343efcda2c097a101886d55a38__aa84f37514
> with no problems.
>
> --
> ------------------------------__------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------__------------------------------
> _________________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.__org <mailto:meta-freescale@yoctoproject.org>
> https://lists.yoctoproject.__org/listinfo/meta-freescale <https://lists.yoctoproject.org/listinfo/meta-freescale>
>
>
>
>
> --
> Cordialement,
> Best Regards,
>
> Abdellah. M. Kouadri. M.
>
> This e-mail message is intended only for the use of the intended recipient(s).
> The information contained therein may be confidential or privileged,
> and its disclosure or reproduction is strictly prohibited.
> If you are not the intended recipient, please return it immediately to its sender
> at the above address and destroy it.
>
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 15:16 ` Gary Thomas
@ 2013-02-21 15:21 ` Abdellah KOUADRI
2013-02-21 15:30 ` Gary Thomas
0 siblings, 1 reply; 8+ messages in thread
From: Abdellah KOUADRI @ 2013-02-21 15:21 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 4444 bytes --]
more info :
i'm building within Yocto Danny with gcc 4.7.2
On Thu, Feb 21, 2013 at 4:16 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2013-02-21 06:30, Abdellah KOUADRI wrote:
>
>> I'm using branch master:**6d3f9a4fcf28bc6a3d06099d6dc7ca**1ebf38c992
>> from git://github.com/Freescale/**meta-fsl-arm.git<http://github.com/Freescale/meta-fsl-arm.git><
>> http://github.com/Freescale/**meta-fsl-arm.git<http://github.com/Freescale/meta-fsl-arm.git>
>> >
>>
>
> You should really use git://git.yoctoproject.org/**meta-fsl-arm<http://git.yoctoproject.org/meta-fsl-arm>
>
> The github version is now a mirror and doesn't always track well.
>
> On Thu, Feb 21, 2013 at 2:17 PM, Gary Thomas <gary@mlbassoc.com <mailto:
>> gary@mlbassoc.com>> wrote:
>>
>> On 2013-02-21 03:51, Abdellah KOUADRI wrote:
>>
>>
>> Hello all
>>
>> When trying to build xf86-video-imxfb-vivante_12.__**09.01.bb<http://09.01.bb><
>> http://xf86-video-imxfb-**vivante_12.09.01.bb<http://xf86-video-imxfb-vivante_12.09.01.bb>>
>> <http://xf86-video-imxfb-__**vivante_12.09.01.bb<http://xf86-video-imxfb-__vivante_12.09.01.bb>
>>
>> <http://xf86-video-imxfb-**vivante_12.09.01.bb<http://xf86-video-imxfb-vivante_12.09.01.bb>>>
>> i'm having the following errors :
>>
>>
>>
>>
>> vivante_fbdev/vivante_fbdev___**driver.c: In function
>> 'InitExaLayer':
>> | vivante_fbdev/vivante_fbdev___**driver.c:209:5: warning:
>> passing argument 5 of 'VIV2DGPUUserMemMap' from incompatible pointer type
>> [enabled by default]
>>
>> | In file included from vivante_fbdev/vivante.h:37:0,
>> | from vivante_fbdev/vivante_fbdev___**
>> driver.c:23:
>> | ./vivante_gal/vivante_gal.h:__**243:10: note: expected
>> 'unsigned int *' but argument is of type 'long unsigned int *'
>> | vivante_fbdev/vivante_fbdev___**driver.c: In function
>> 'VivScreenInit':
>> | vivante_fbdev/vivante_fbdev___**driver.c:652:24: error:
>> 'scrnIndex' undeclared (first use in this function)
>> | vivante_fbdev/vivante_fbdev___**driver.c:652:24: note: each
>> undeclared identifier is reported only once for each function it appears in
>>
>> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
>>
>>
>> I'v checked sources and seems that macros defined in compat-api.h
>> are not fully used in vivante_fbdev_driver.c ?
>>
>>
>> What version/branch of meta-fsl-arm are you using?
>>
>> I just built this using master/__**8b11343efcda2c097a101886d55a38**
>> __aa84f37514
>> with no problems.
>>
>> --
>> ------------------------------**__----------------------------**--
>>
>> Gary Thomas | Consulting for the
>> MLB Associates | Embedded world
>> ------------------------------**__----------------------------**--
>> ______________________________**___________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.__**org <mailto:meta-freescale@**
>> yoctoproject.org <meta-freescale@yoctoproject.org>>
>> https://lists.yoctoproject.__**org/listinfo/meta-freescale <
>> https://lists.yoctoproject.**org/listinfo/meta-freescale<https://lists.yoctoproject.org/listinfo/meta-freescale>
>> >
>>
>>
>>
>>
>>
>> --
>> Cordialement,
>> Best Regards,
>>
>> Abdellah. M. Kouadri. M.
>>
>> This e-mail message is intended only for the use of the intended
>> recipient(s).
>> The information contained therein may be confidential or privileged,
>> and its disclosure or reproduction is strictly prohibited.
>> If you are not the intended recipient, please return it immediately to
>> its sender
>> at the above address and destroy it.
>>
>>
>>
>>
> --
> ------------------------------**------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------**------------------------------
>
--
Cordialement,
Best Regards,
Abdellah. M. Kouadri. M.
This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged,
and its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its sender
at the above address and destroy it.
[-- Attachment #2: Type: text/html, Size: 5959 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 15:21 ` Abdellah KOUADRI
@ 2013-02-21 15:30 ` Gary Thomas
2013-02-21 15:39 ` Otavio Salvador
0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2013-02-21 15:30 UTC (permalink / raw)
To: Abdellah KOUADRI; +Cc: meta-freescale
On 2013-02-21 08:21, Abdellah KOUADRI wrote:
> more info :
> i'm building within Yocto Danny with gcc 4.7.2
Are you using the danny branch of meta-fsl-arm?
I'd strongly suggest that you update to something newer - denzil should
be a good choice (although I use master)
> On Thu, Feb 21, 2013 at 4:16 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> On 2013-02-21 06:30, Abdellah KOUADRI wrote:
>
> I'm using branch master:__6d3f9a4fcf28bc6a3d06099d6dc7ca__1ebf38c992
> from git://github.com/Freescale/__meta-fsl-arm.git <http://github.com/Freescale/meta-fsl-arm.git> <http://github.com/Freescale/__meta-fsl-arm.git
> <http://github.com/Freescale/meta-fsl-arm.git>>
>
>
> You should really use git://git.yoctoproject.org/__meta-fsl-arm <http://git.yoctoproject.org/meta-fsl-arm>
>
> The github version is now a mirror and doesn't always track well.
>
> On Thu, Feb 21, 2013 at 2:17 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>> wrote:
>
> On 2013-02-21 03:51, Abdellah KOUADRI wrote:
>
>
> Hello all
>
> When trying to build xf86-video-imxfb-vivante_12.____09.01.bb <http://09.01.bb> <http://xf86-video-imxfb-__vivante_12.09.01.bb
> <http://xf86-video-imxfb-vivante_12.09.01.bb>> <http://xf86-video-imxfb-____vivante_12.09.01.bb <http://xf86-video-imxfb-__vivante_12.09.01.bb>
>
> <http://xf86-video-imxfb-__vivante_12.09.01.bb <http://xf86-video-imxfb-vivante_12.09.01.bb>>> i'm having the following errors :
>
>
>
>
> vivante_fbdev/vivante_fbdev_____driver.c: In function 'InitExaLayer':
> | vivante_fbdev/vivante_fbdev_____driver.c:209:5: warning: passing argument 5 of 'VIV2DGPUUserMemMap' from incompatible pointer type [enabled by default]
>
> | In file included from vivante_fbdev/vivante.h:37:0,
> | from vivante_fbdev/vivante_fbdev_____driver.c:23:
> | ./vivante_gal/vivante_gal.h:____243:10: note: expected 'unsigned int *' but argument is of type 'long unsigned int *'
> | vivante_fbdev/vivante_fbdev_____driver.c: In function 'VivScreenInit':
> | vivante_fbdev/vivante_fbdev_____driver.c:652:24: error: 'scrnIndex' undeclared (first use in this function)
> | vivante_fbdev/vivante_fbdev_____driver.c:652:24: note: each undeclared identifier is reported only once for each function it appears in
>
> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
>
>
> I'v checked sources and seems that macros defined in compat-api.h are not fully used in vivante_fbdev_driver.c ?
>
>
> What version/branch of meta-fsl-arm are you using?
>
> I just built this using master/____8b11343efcda2c097a101886d55a38____aa84f37514
> with no problems.
>
> --
> ------------------------------____----------------------------__--
>
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------____----------------------------__--
> ___________________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.____org <mailto:meta-freescale@__yoctoproject.org <mailto:meta-freescale@yoctoproject.org>>
> https://lists.yoctoproject.____org/listinfo/meta-freescale <https://lists.yoctoproject.__org/listinfo/meta-freescale <https://lists.yoctoproject.org/listinfo/meta-freescale>>
>
>
>
>
>
> --
> Cordialement,
> Best Regards,
>
> Abdellah. M. Kouadri. M.
>
> This e-mail message is intended only for the use of the intended recipient(s).
> The information contained therein may be confidential or privileged,
> and its disclosure or reproduction is strictly prohibited.
> If you are not the intended recipient, please return it immediately to its sender
> at the above address and destroy it.
>
>
>
>
> --
> ------------------------------__------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------__------------------------------
>
>
>
>
> --
> Cordialement,
> Best Regards,
>
> Abdellah. M. Kouadri. M.
>
> This e-mail message is intended only for the use of the intended recipient(s).
> The information contained therein may be confidential or privileged,
> and its disclosure or reproduction is strictly prohibited.
> If you are not the intended recipient, please return it immediately to its sender
> at the above address and destroy it.
>
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 15:30 ` Gary Thomas
@ 2013-02-21 15:39 ` Otavio Salvador
2013-02-21 16:25 ` Abdellah KOUADRI
0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2013-02-21 15:39 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
On Thu, Feb 21, 2013 at 12:30 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2013-02-21 08:21, Abdellah KOUADRI wrote:
>>
>> more info :
>> i'm building within Yocto Danny with gcc 4.7.2
>
>
> Are you using the danny branch of meta-fsl-arm?
>
> I'd strongly suggest that you update to something newer - denzil should
> be a good choice (although I use master)
I think you wanted to say: danny should be a good choice. ;-)
>> On Thu, Feb 21, 2013 at 4:16 PM, Gary Thomas <gary@mlbassoc.com
>> <mailto:gary@mlbassoc.com>> wrote:
>>
>> On 2013-02-21 06:30, Abdellah KOUADRI wrote:
>>
>> I'm using branch
>> master:__6d3f9a4fcf28bc6a3d06099d6dc7ca__1ebf38c992
>> from git://github.com/Freescale/__meta-fsl-arm.git
>> <http://github.com/Freescale/meta-fsl-arm.git>
>> <http://github.com/Freescale/__meta-fsl-arm.git
>> <http://github.com/Freescale/meta-fsl-arm.git>>
>>
>>
>> You should really use git://git.yoctoproject.org/__meta-fsl-arm
>> <http://git.yoctoproject.org/meta-fsl-arm>
>>
>>
>> The github version is now a mirror and doesn't always track well.
>>
>> On Thu, Feb 21, 2013 at 2:17 PM, Gary Thomas <gary@mlbassoc.com
>> <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com
>> <mailto:gary@mlbassoc.com>>> wrote:
>>
>> On 2013-02-21 03:51, Abdellah KOUADRI wrote:
>>
>>
>> Hello all
>>
>> When trying to build
>> xf86-video-imxfb-vivante_12.____09.01.bb <http://09.01.bb>
>> <http://xf86-video-imxfb-__vivante_12.09.01.bb
>> <http://xf86-video-imxfb-vivante_12.09.01.bb>>
>> <http://xf86-video-imxfb-____vivante_12.09.01.bb
>> <http://xf86-video-imxfb-__vivante_12.09.01.bb>
>>
>>
>> <http://xf86-video-imxfb-__vivante_12.09.01.bb
>> <http://xf86-video-imxfb-vivante_12.09.01.bb>>> i'm having the following
>> errors :
>>
>>
>>
>>
>> vivante_fbdev/vivante_fbdev_____driver.c: In function
>> 'InitExaLayer':
>> | vivante_fbdev/vivante_fbdev_____driver.c:209:5:
>> warning: passing argument 5 of 'VIV2DGPUUserMemMap' from incompatible
>> pointer type [enabled by default]
>>
>>
>> | In file included from vivante_fbdev/vivante.h:37:0,
>> | from
>> vivante_fbdev/vivante_fbdev_____driver.c:23:
>> | ./vivante_gal/vivante_gal.h:____243:10: note: expected
>> 'unsigned int *' but argument is of type 'long unsigned int *'
>> | vivante_fbdev/vivante_fbdev_____driver.c: In function
>> 'VivScreenInit':
>> | vivante_fbdev/vivante_fbdev_____driver.c:652:24: error:
>> 'scrnIndex' undeclared (first use in this function)
>> | vivante_fbdev/vivante_fbdev_____driver.c:652:24: note:
>> each undeclared identifier is reported only once for each function it
>> appears in
>>
>>
>> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
>>
>>
>> I'v checked sources and seems that macros defined in
>> compat-api.h are not fully used in vivante_fbdev_driver.c ?
>>
>>
>> What version/branch of meta-fsl-arm are you using?
>>
>> I just built this using
>> master/____8b11343efcda2c097a101886d55a38____aa84f37514
>> with no problems.
>>
>> --
>>
>> ------------------------------____----------------------------__--
>>
>>
>> Gary Thomas | Consulting for the
>> MLB Associates | Embedded world
>>
>> ------------------------------____----------------------------__--
>> ___________________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.____org
>> <mailto:meta-freescale@__yoctoproject.org
>> <mailto:meta-freescale@yoctoproject.org>>
>> https://lists.yoctoproject.____org/listinfo/meta-freescale
>> <https://lists.yoctoproject.__org/listinfo/meta-freescale
>> <https://lists.yoctoproject.org/listinfo/meta-freescale>>
>>
>>
>>
>>
>>
>>
>> --
>> Cordialement,
>> Best Regards,
>>
>> Abdellah. M. Kouadri. M.
>>
>> This e-mail message is intended only for the use of the intended
>> recipient(s).
>> The information contained therein may be confidential or
>> privileged,
>> and its disclosure or reproduction is strictly prohibited.
>> If you are not the intended recipient, please return it
>> immediately to its sender
>> at the above address and destroy it.
>>
>>
>>
>>
>> --
>> ------------------------------__------------------------------
>> Gary Thomas | Consulting for the
>> MLB Associates | Embedded world
>> ------------------------------__------------------------------
>>
>>
>>
>>
>> --
>> Cordialement,
>> Best Regards,
>>
>> Abdellah. M. Kouadri. M.
>>
>> This e-mail message is intended only for the use of the intended
>> recipient(s).
>> The information contained therein may be confidential or privileged,
>> and its disclosure or reproduction is strictly prohibited.
>> If you are not the intended recipient, please return it immediately to its
>> sender
>> at the above address and destroy it.
>>
>>
>>
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante
2013-02-21 15:39 ` Otavio Salvador
@ 2013-02-21 16:25 ` Abdellah KOUADRI
0 siblings, 0 replies; 8+ messages in thread
From: Abdellah KOUADRI @ 2013-02-21 16:25 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1.1: Type: text/plain, Size: 7299 bytes --]
I'v checked sources and found that macros defined in compat-api.h are not
used in all files :
eg :
void VivDRICloseScreen(ScreenPtr pScreen) in
src/vivante_fbdev/vivante_dri.c
and
void VivDRICloseScreen(CLOSE_SCREEN_ARGS_DECL); in
src/vivante_fbdev/vivante_dri.h
this what caused errors in my side
i'v written a a patch (attached) and it now builds successfully
may some one check it?
thanks in advance
On Thu, Feb 21, 2013 at 4:39 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
> On Thu, Feb 21, 2013 at 12:30 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> > On 2013-02-21 08:21, Abdellah KOUADRI wrote:
> >>
> >> more info :
> >> i'm building within Yocto Danny with gcc 4.7.2
> >
> >
> > Are you using the danny branch of meta-fsl-arm?
> >
> > I'd strongly suggest that you update to something newer - denzil should
> > be a good choice (although I use master)
>
> I think you wanted to say: danny should be a good choice. ;-)
>
> >> On Thu, Feb 21, 2013 at 4:16 PM, Gary Thomas <gary@mlbassoc.com
> >> <mailto:gary@mlbassoc.com>> wrote:
> >>
> >> On 2013-02-21 06:30, Abdellah KOUADRI wrote:
> >>
> >> I'm using branch
> >> master:__6d3f9a4fcf28bc6a3d06099d6dc7ca__1ebf38c992
> >> from git://github.com/Freescale/__meta-fsl-arm.git
> >> <http://github.com/Freescale/meta-fsl-arm.git>
> >> <http://github.com/Freescale/__meta-fsl-arm.git
> >> <http://github.com/Freescale/meta-fsl-arm.git>>
> >>
> >>
> >> You should really use git://git.yoctoproject.org/__meta-fsl-arm
> >> <http://git.yoctoproject.org/meta-fsl-arm>
> >>
> >>
> >> The github version is now a mirror and doesn't always track well.
> >>
> >> On Thu, Feb 21, 2013 at 2:17 PM, Gary Thomas <gary@mlbassoc.com
> >> <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com
> >> <mailto:gary@mlbassoc.com>>> wrote:
> >>
> >> On 2013-02-21 03:51, Abdellah KOUADRI wrote:
> >>
> >>
> >> Hello all
> >>
> >> When trying to build
> >> xf86-video-imxfb-vivante_12.____09.01.bb <http://09.01.bb>
> >> <http://xf86-video-imxfb-__vivante_12.09.01.bb
> >> <http://xf86-video-imxfb-vivante_12.09.01.bb>>
> >> <http://xf86-video-imxfb-____vivante_12.09.01.bb
> >> <http://xf86-video-imxfb-__vivante_12.09.01.bb>
> >>
> >>
> >> <http://xf86-video-imxfb-__vivante_12.09.01.bb
> >> <http://xf86-video-imxfb-vivante_12.09.01.bb>>> i'm having the
> following
> >> errors :
> >>
> >>
> >>
> >>
> >> vivante_fbdev/vivante_fbdev_____driver.c: In function
> >> 'InitExaLayer':
> >> | vivante_fbdev/vivante_fbdev_____driver.c:209:5:
> >> warning: passing argument 5 of 'VIV2DGPUUserMemMap' from incompatible
> >> pointer type [enabled by default]
> >>
> >>
> >> | In file included from vivante_fbdev/vivante.h:37:0,
> >> | from
> >> vivante_fbdev/vivante_fbdev_____driver.c:23:
> >> | ./vivante_gal/vivante_gal.h:____243:10: note:
> expected
> >> 'unsigned int *' but argument is of type 'long unsigned int *'
> >> | vivante_fbdev/vivante_fbdev_____driver.c: In function
> >> 'VivScreenInit':
> >> | vivante_fbdev/vivante_fbdev_____driver.c:652:24:
> error:
> >> 'scrnIndex' undeclared (first use in this function)
> >> | vivante_fbdev/vivante_fbdev_____driver.c:652:24:
> note:
> >> each undeclared identifier is reported only once for each function it
> >> appears in
> >>
> >>
> >> | make[2]: *** [vivante_fbdev_driver.lo] Error 1
> >>
> >>
> >> I'v checked sources and seems that macros defined in
> >> compat-api.h are not fully used in vivante_fbdev_driver.c ?
> >>
> >>
> >> What version/branch of meta-fsl-arm are you using?
> >>
> >> I just built this using
> >> master/____8b11343efcda2c097a101886d55a38____aa84f37514
> >> with no problems.
> >>
> >> --
> >>
> >> ------------------------------____----------------------------__--
> >>
> >>
> >> Gary Thomas | Consulting for the
> >> MLB Associates | Embedded world
> >>
> >> ------------------------------____----------------------------__--
> >> ___________________________________________________
> >> meta-freescale mailing list
> >> meta-freescale@yoctoproject.____org
> >> <mailto:meta-freescale@__yoctoproject.org
> >> <mailto:meta-freescale@yoctoproject.org>>
> >> https://lists.yoctoproject.____org/listinfo/meta-freescale
> >> <https://lists.yoctoproject.__org/listinfo/meta-freescale
> >> <https://lists.yoctoproject.org/listinfo/meta-freescale>>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Cordialement,
> >> Best Regards,
> >>
> >> Abdellah. M. Kouadri. M.
> >>
> >> This e-mail message is intended only for the use of the intended
> >> recipient(s).
> >> The information contained therein may be confidential or
> >> privileged,
> >> and its disclosure or reproduction is strictly prohibited.
> >> If you are not the intended recipient, please return it
> >> immediately to its sender
> >> at the above address and destroy it.
> >>
> >>
> >>
> >>
> >> --
> >> ------------------------------__------------------------------
> >> Gary Thomas | Consulting for the
> >> MLB Associates | Embedded world
> >> ------------------------------__------------------------------
> >>
> >>
> >>
> >>
> >> --
> >> Cordialement,
> >> Best Regards,
> >>
> >> Abdellah. M. Kouadri. M.
> >>
> >> This e-mail message is intended only for the use of the intended
> >> recipient(s).
> >> The information contained therein may be confidential or privileged,
> >> and its disclosure or reproduction is strictly prohibited.
> >> If you are not the intended recipient, please return it immediately to
> its
> >> sender
> >> at the above address and destroy it.
> >>
> >>
> >>
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas | Consulting for the
> > MLB Associates | Embedded world
> > ------------------------------------------------------------
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
>
> --
> Otavio Salvador O.S. Systems
> E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
> Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
>
--
Cordialement,
Best Regards,
Abdellah. M. Kouadri. M.
This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged,
and its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its sender
at the above address and destroy it.
[-- Attachment #1.2: Type: text/html, Size: 11253 bytes --]
[-- Attachment #2: apply_compat_api_h.patch --]
[-- Type: application/octet-stream, Size: 2216 bytes --]
diff -uNr a/src/vivante_fbdev/vivante_dri.c b/src/vivante_fbdev/vivante_dri.c
--- a/src/vivante_fbdev/vivante_dri.c 2013-02-21 11:25:34.000000000 +0100
+++ b/src/vivante_fbdev/vivante_dri.c 2013-02-21 11:19:51.000000000 +0100
@@ -78,7 +78,7 @@
return;
}
-Bool VivDRIScreenInit(ScreenPtr pScreen) {
+Bool VivDRIScreenInit(SCREEN_INIT_ARGS_DECL) {
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
DRIInfoPtr pDRIInfo;
VivPtr pViv = GET_VIV_PTR(pScrn);
@@ -173,7 +173,7 @@
version->version_major,
version->version_minor,
version->version_patchlevel);
- VivDRICloseScreen(pScreen);
+ VivDRICloseScreen(CLOSE_SCREEN_ARGS);
drmFreeVersion(version);
return FALSE;
}
@@ -184,7 +184,7 @@
return TRUE;
}
-void VivDRICloseScreen(ScreenPtr pScreen) {
+void VivDRICloseScreen(CLOSE_SCREEN_ARGS_DECL) {
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
VivPtr pViv = GET_VIV_PTR(pScrn);
diff -uNr a/src/vivante_fbdev/vivante_dri.h b/src/vivante_fbdev/vivante_dri.h
--- a/src/vivante_fbdev/vivante_dri.h 2013-02-21 11:25:34.000000000 +0100
+++ b/src/vivante_fbdev/vivante_dri.h 2013-02-21 11:21:09.000000000 +0100
@@ -66,7 +66,7 @@
screenConfig ScrnConf;
} vvtDeviceInfo;
-Bool VivDRIScreenInit(ScreenPtr pScreen);
+Bool VivDRIScreenInit(SCREEN_INIT_ARGS_DECL);
void VivDRICloseScreen(CLOSE_SCREEN_ARGS_DECL);
Bool VivDRIFinishScreenInit(ScreenPtr pScreen);
diff -uNr a/src/vivante_util/compat-api.h b/src/vivante_util/compat-api.h
--- a/src/vivante_util/compat-api.h 2013-02-21 11:25:34.000000000 +0100
+++ b/src/vivante_util/compat-api.h 2013-02-21 11:15:47.000000000 +0100
@@ -46,7 +46,7 @@
#define SCREEN_ARG_TYPE int
#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
-#define SCREEN_INIT_ARGS_DECL int index, ScreenPtr pScreen, int argc, char **argv
+#define SCREEN_INIT_ARGS_DECL int scrnIndex, ScreenPtr pScreen, int argc, char **argv
#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-02-21 16:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 10:51 [meta-fsl-arm] Build failure of xf86-video-imxfb-vivante Abdellah KOUADRI
2013-02-21 13:17 ` Gary Thomas
2013-02-21 13:30 ` Abdellah KOUADRI
2013-02-21 15:16 ` Gary Thomas
2013-02-21 15:21 ` Abdellah KOUADRI
2013-02-21 15:30 ` Gary Thomas
2013-02-21 15:39 ` Otavio Salvador
2013-02-21 16:25 ` Abdellah KOUADRI
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.