-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing type definition 'GCOps' #14
Comments
Thanks for reporting. What is the linux distro that you are using and what is the version of xorg server? This looks like some header file with the needed definition of 'GCOps' might be missing, or not explicitly included. You can try to run
|
I am a Debian user, and I found definition of 'GCOps' in /usr/include/xorg/gcstruct.h It can be completed successfully since I add a line to sunxi_x_g2d.h: #include <gcstruct.h> |
Thanks for fast feedback and providing the detailed information. This should be now fixed in 7b07f25 |
I just pull the latest version source from git repository, and trying to compile it. Then I got error messages about missing type definition 'GCOps'.
$ make
make all-recursive
make[1]: Entering directory
/home/fred/works/cubieboard/xf86-video-sunxifb' Making all in src make[2]: Entering directory
/home/fred/works/cubieboard/xf86-video-sunxifb/src'CC fbdev.lo
In file included from fbdev.c:53:0:
sunxi_x_g2d.h:30:5: error: unknown type name 'GCOps'
fbdev.c: In function 'FBDevPciProbe':
fbdev.c:286:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
fbdev.c: In function 'FBDevProbe':
fbdev.c:345:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
fbdev.c: In function 'FBDevPreInit':
fbdev.c:464:2: warning: passing argument 3 of 'fbdevHWInit' discards 'const' qualifier from pointer target type [enabled by default]
In file included from fbdev.c:69:0:
/usr/include/xorg/fbdevhw.h:21:23: note: expected 'char ' but argument is of type 'const char *'
fbdev.c: In function 'FBDevCreateScreenResources':
fbdev.c:674:5: warning: implicit declaration of function 'shadowAdd' [-Wimplicit-function-declaration]
fbdev.c:675:6: warning: implicit declaration of function 'shadowUpdateRotatePackedWeak' [-Wimplicit-function-declaration]
fbdev.c:675:6: warning: implicit declaration of function 'shadowUpdatePackedWeak' [-Wimplicit-function-declaration]
fbdev.c: In function 'FBDevShadowInit':
fbdev.c:689:5: warning: implicit declaration of function 'shadowSetup' [-Wimplicit-function-declaration]
fbdev.c: In function 'FBDevCloseScreen':
fbdev.c:1112:6: warning: implicit declaration of function 'shadowRemove' [-Wimplicit-function-declaration]
make[2]: ** [fbdev.lo] Error 1
make[2]: Leaving directory
/home/fred/works/cubieboard/xf86-video-sunxifb/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/fred/works/cubieboard/xf86-video-sunxifb'make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: