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 <[email protected]>wrote:

> On Thu, Feb 21, 2013 at 12:30 PM, Gary Thomas <[email protected]> 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 <[email protected]
> >> <mailto:[email protected]>> 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 <[email protected]
> >> <mailto:[email protected]> <mailto:[email protected]
> >> <mailto:[email protected]>>> 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:[email protected]>>
> >>         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
> > [email protected]
> > https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: [email protected]  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: apply_compat_api_h.patch
Description: Binary data

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to