[Openchrome-users] Error when compiling 0.2.900 or svn on openSUSE 10.3

Rikz andrey.melentyev
Mon Oct 29 13:23:05 PDT 2007


Hmm. IMHO some header files are missing in your system.You have to
install package with X.org headers. It is called xorg-devel or
something like that. Your distro repository must have this package.


2007/10/29, Rafa? Mi?ecki <zajec5polish at gmail.com>:
> Hi,
>
> I can not compile openchrome on my openSUSE 10.3.  Command:
> ./autogen.sh --prefix=/usr
> works fine, but "make" gives a lot of errors such a:
>
>
> zajec at poznan:~/tmp/xf86-video-openchrome-0.2.900> make
> make  all-recursive
> make[1]: Wej?cie do katalogu `/home/zajec/tmp/xf86-video-openchrome-0.2.900'
> Making all in src
> make[2]: Wej?cie do katalogu `/home/zajec/tmp/xf86-video-openchrome-0.2.900/src'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..    -I/usr/include/xorg -I/usr/include/drm    -g -O2 -MT via_3d.lo
> -MD -MP -MF .deps/via_3d.Tpo -c -o via_3d.lo via_3d.c
>  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm
> -g -O2 -MT via_3d.lo -MD -MP -MF .deps/via_3d.Tpo -c via_3d.c  -fPIC
> -DPIC -o .libs/via_3d.o
> In file included from via_3d.c:24:
> via_3d.h:27:18: error: xf86.h: No such file or directory
> In file included from via_3d.h:28,
>                  from via_3d.c:24:
> via_dmabuffer.h:31: error: expected specifier-qualifier-list before
> 'ScrnInfoPtr'
> via_dmabuffer.h:95: error: expected ')' before 'pScrn'
> In file included from via_3d.c:24:
> via_3d.h:52: error: expected specifier-qualifier-list before 'CARD32'
> via_3d.h:72: error: expected specifier-qualifier-list before 'Bool'
> via_3d.c:26:24: error: picturestr.h: No such file or directory
> via_3d.c:30: error: expected specifier-qualifier-list before 'Bool'
> via_3d.c:39: error: expected specifier-qualifier-list before 'CARD32'
> via_3d.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'viaOpCodes'
> via_3d.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'viaFormats'
> via_3d.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'via3DDstFormat'
> via_3d.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'via3DTexFormat'
> via_3d.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'via3DDstSupported'
> via_3d.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'via3DTexSupported'
> via_3d.c:126: error: expected declaration specifiers or '...' before 'CARD32'
> via_3d.c:126: error: expected declaration specifiers or '...' before 'CARD32'
> via_3d.c: In function 'viaSet3DDestination':
> via_3d.c:128: error: 'Via3DState' has no member named 'drawingDirty'
> via_3d.c:128: error: 'TRUE' undeclared (first use in this function)
> via_3d.c:128: error: (Each undeclared identifier is reported only once
> via_3d.c:128: error: for each function it appears in.)
> via_3d.c:129: error: 'Via3DState' has no member named 'destDirty'
>
> and more...
>
> Is there anything I can do to be able to compile this driver? I have
> xorg-x11-devel and libdrm-devel installed.
>
> --
> Rafa? Mi?ecki
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> Main page:
> http://www.openchrome.org
> Wiki:
> http://wiki.openchrome.org
> User Forum:
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1


-- 
-wbr,
Andrey Melentyev
andrey.melentyev at gmail.com



More information about the Openchrome-users mailing list