You are not logged in.

#1 2009-01-24 19:12:20

guinness
Member
Registered: 2009-01-11
Posts: 4

Building Wayland (X server subsitute)

Hey,
I've recently been trying to build wayland using these instructions :
http://groups.google.com/group/wayland- … ng-wayland

I can now get to a point where I've built the new kernel, libdrm and mesa and need to build eagle, however, I cannot manage to get it to compile under arch.  I installed fedora (since it's what the developper uses) and eagle compiles under it.  Has anyone else tried to build wayland on arch?

Offline

#2 2009-01-25 02:11:49

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: Building Wayland (X server subsitute)

Specific errors?

Offline

#3 2009-01-25 02:18:07

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Building Wayland (X server subsitute)

Also, note that this is not currently an "X server substitute"

Offline

#4 2009-01-25 18:58:24

guinness
Member
Registered: 2009-01-11
Posts: 4

Re: Building Wayland (X server subsitute)

Here is the output when I execute make (sorry its kinda long) :

cc -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -I/home/guinness/install/include -I/home/guinness/install/include/drm -I/usr/include     -c -o eagle.o eagle.c
In file included from eagle.c:35:
eagle-internal.h:46: error: expected specifier-qualifier-list before '__DRIdri2Extension'
eagle-internal.h:64: error: expected specifier-qualifier-list before '__DRIbuffer'
eagle.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
eagle.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dri2LoaderExtension'
eagle.c:101: error: 'dri2LoaderExtension' undeclared here (not in a function)
eagle.c: In function 'eglLoadDriver':
eagle.c:147: error: '__DRI_DRI2' undeclared (first use in this function)
eagle.c:147: error: (Each undeclared identifier is reported only once
eagle.c:147: error: for each function it appears in.)
eagle.c:147: warning: passing argument 2 of 'strcmp' from incompatible pointer type
eagle.c:148: error: '__DRI_DRI2_VERSION' undeclared (first use in this function)
eagle.c:148: warning: comparison between pointer and integer
eagle.c:149: error: 'struct EGLDisplay' has no member named 'dri2'
eagle.c:149: error: '__DRIdri2Extension' undeclared (first use in this function)
eagle.c:149: error: expected expression before ')' token
eagle.c:149: error: invalid operands to binary * (have 'const struct __DRIextension **' and 'const struct __DRIextension **')
eagle.c:149: warning: statement with no effect
eagle.c:153: error: 'struct EGLDisplay' has no member named 'dri2'
eagle.c: In function 'eglInitDisplay':
eagle.c:188: error: 'struct EGLDisplay' has no member named 'dri2'
eagle.c:188: error: request for member 'createNewScreen' in something not a structure or union
eagle.c:191: error: called object '<erroneous-expression>' is not a function
eagle.c:191: warning: assignment from incompatible pointer type
eagle.c:203: error: 'struct EGLDisplay' has no member named 'texBuffer'
eagle.c:204: warning: statement with no effect
eagle.c: In function 'eglInitSurface':
eagle.c:491: error: 'struct EGLSurface' has no member named 'width'
eagle.c:491: warning: statement with no effect
eagle.c:492: error: 'struct EGLSurface' has no member named 'height'
eagle.c:492: warning: statement with no effect
eagle.c:493: error: 'struct EGLSurface' has no member named 'count'
eagle.c:493: warning: statement with no effect
eagle.c:496: error: 'struct EGLDisplay' has no member named 'dri2'
eagle.c:496: error: request for member 'createNewDrawable' in something not a structure or union
eagle.c:498: error: called object '<erroneous-expression>' is not a function
eagle.c:498: warning: assignment from incompatible pointer type
eagle.c: In function 'eglDestroySurface':
eagle.c:547: error: 'struct EGLDisplay' has no member named 'backend'
eagle.c:547: error: request for member 'destroySurface' in something not a structure or union
eagle.c:547: error: called object '<erroneous-expression>' is not a function
eagle.c:547: warning: return makes integer from pointer without a cast
eagle.c: In function 'eglBindTexImage':
eagle.c:571: error: 'struct EGLDisplay' has no member named 'texBuffer'
eagle.c:571: error: request for member 'setTexBuffer' in something not a structure or union
eagle.c:572: error: called object '<erroneous-expression>' is not a function
eagle.c:572: warning: statement with no effect
eagle.c: In function 'eglCreateContext':
eagle.c:598: error: 'struct EGLDisplay' has no member named 'dri2'
eagle.c:598: error: request for member 'createNewContext' in something not a structure or union
eagle.c:601: error: called object '<erroneous-expression>' is not a function
eagle.c:601: warning: assignment from incompatible pointer type
eagle.c: In function 'eglSwapBuffers':
eagle.c:729: error: 'struct EGLDisplay' has no member named 'backend'
eagle.c:729: error: request for member 'swapBuffers' in something not a structure or union
eagle.c:729: error: called object '<erroneous-expression>' is not a function
eagle.c:729: warning: return makes integer from pointer without a cast
eagle.c: In function 'eglSwapInterval':
eagle.c:744: error: 'struct EGLDisplay' has no member named 'swapControl'
eagle.c:746: error: 'struct EGLDisplay' has no member named 'swapControl'
eagle.c:746: error: request for member 'setSwapInterval' in something not a structure or union
eagle.c:746: error: called object '<erroneous-expression>' is not a function
eagle.c:746: warning: statement with no effect
make: *** [eagle.o] Error 1

Edit by Mr Green added code tags

Offline

#5 2009-01-25 20:38:32

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: Building Wayland (X server subsitute)

Doesn't look like anything we can solve... I'd file a bug report with them. At a random guess, I'd say it's because we have very bleeding-edge build packages, which it's not compatible with yet. File a bug report and give them all info on your build system smile

Offline

#6 2009-01-26 06:22:37

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Building Wayland (X server subsitute)

If you want to run clients, your best bet is logging in remotely or blind typing as switching VT switches away from the Wayland frontbuffer and doesn't restore it when switching back.  The three interesting clients at this point are 'window', 'flower' and 'screenshot'.  And that's it.  Wayland doesn't really do anything right now, there are no interesting clients to run, all you get after all this trouble is a mouse cursor, a half-assed terminal and glxgears in a pretty window.

smile


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

Board footer

Powered by FluxBB