[meta-freescale] [meta-fsl-arm] Build Errors in vivante

Kapil Katyal kdk132 at gmail.com
Tue Dec 18 12:37:01 PST 2012


Hi,

I was able to resolve my previous issues with building master, however now
I am getting another error when compiling the vivante_fbdev_driver.c file:

| vivante_fbdev/vivante_fbdev_driver.c:211: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:24:
| ./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 'VivProbe':
| vivante_fbdev/vivante_fbdev_driver.c:382:13: warning: assignment discards
'const' qualifier from pointer target type [enabled by default]
| vivante_fbdev/vivante_fbdev_driver.c:398:35: warning: assignment from
incompatible pointer type [enabled by default]
| vivante_fbdev/vivante_fbdev_driver.c: In function 'VivPreInit':
| vivante_fbdev/vivante_fbdev_driver.c:445:14: warning: assignment discards
'const' qualifier from pointer target type [enabled by default]
| vivante_fbdev/vivante_fbdev_driver.c: In function 'VivScreenInit':
| vivante_fbdev/vivante_fbdev_driver.c:654:5: warning: passing argument 1
of 'fbdevHWAdjustFrame' makes pointer from integer without a cast [enabled
by default]
| In file included from ./vivante_util/vivante_common.h:69:0,
|                  from vivante_fbdev/vivante_fbdev_driver.c:23:
|
/home/vradmin/projects/MOCUPort/YOCTO/rootfs_builder/build/tmp/sysroots/nitrogen6x/usr/include/xorg/fbdevhw.h:50:23:
note: expected 'ScrnInfoPtr' but argument is of type 'int'
| vivante_fbdev/vivante_fbdev_driver.c:654:5: error: too many arguments to
function 'fbdevHWAdjustFrame'
| In file included from ./vivante_util/vivante_common.h:69:0,
|                  from vivante_fbdev/vivante_fbdev_driver.c:23:
|
/home/vradmin/projects/MOCUPort/YOCTO/rootfs_builder/build/tmp/sysroots/nitrogen6x/usr/include/xorg/fbdevhw.h:50:23:
note: declared here
| vivante_fbdev/vivante_fbdev_driver.c:780:26: warning: assignment from
incompatible pointer type [enabled by default]
| vivante_fbdev/vivante_fbdev_driver.c: In function 'VivCloseScreen':
| vivante_fbdev/vivante_fbdev_driver.c:826:5: warning: passing argument 1
of 'pScreen->CloseScreen' makes pointer from integer without a cast
[enabled by default]
| vivante_fbdev/vivante_fbdev_driver.c:826:5: note: expected 'ScreenPtr'
but argument is of type 'int'
| vivante_fbdev/vivante_fbdev_driver.c:826:5: error: too many arguments to
function 'pScreen->CloseScreen'
| make[2]: *** [vivante_fbdev_driver.lo] Error 1


Any ideas what might be causing this problem?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20121218/6f79f1cc/attachment.html>


More information about the meta-freescale mailing list