[Openchrome-users] svn build error

peon374 userforum
Sun Aug 19 16:29:09 PDT 2007


Re: Re: svn build error
> Hi,
> I've got almost the same error with the svn build. I had libdrm-dev packages already installed, and it also compiled once, but the driver wasn't working. So I wanted to recompile, but i get those error messages now too.
> 
> Looks like:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/include/xorg -I/usr/local/include -I/usr/local/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF .deps/via_accel.Tpo -c via_accel.c  -fPIC -DPIC -o .libs/via_accel.o
> In file included from via_drmclient.h:27,
>                  from via_drm.h:35,
>                  from via_priv.h:5,
>                  from via_driver.h:64,
>                  from via_accel.c:45:
> /usr/local/include/drm/drm.h:673: error: expected specifier-qualifier-list before 'uint64_t'
> /usr/local/include/drm/drm.h:788: error: expected specifier-qualifier-list before 'uint64_t'
> /usr/local/include/drm/drm.h:797: error: expected specifier-qualifier-list before 'uint64_t'
> /usr/local/include/drm/drm.h:823: error: expected specifier-qualifier-list before 'uint64_t'
> /usr/local/include/drm/drm.h:872: error: expected specifier-qualifier-list before 'uint64_t'
> /usr/local/include/drm/drm.h:901: error: expected specifier-qualifier-list before 'uint64_t'
> via_accel.c: In function 'viaAccelTextureBlit':
> via_accel.c:2641: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
> via_accel.c:2642: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
> 
> I'm relatively new to Linux, so maybe it's of interest... I get some warnings when doing  make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=via 
> at the drm stuff like:
> 
> WARNING: home/blah/drm/linux-core/drm: 'drm_mm_takedown' exported twice. Previous export was in vmlinux
> etc. etc.

Ok so your kernel has drm_mm_takedown statically compiled into it. You need to rebuild the kernel and specify the DRM stuff as modules. Am working on the rest.

> 
> Hope you have an idea, thanks a lot. Philipp.

----

Reply Link: <http://wiki.openchrome.org/tikiwiki/tiki-view_forum_thread.php?forumId=1&comments_reply_threadId=3856&comments_parentId=3768&post_reply=1#form>





More information about the Openchrome-users mailing list