From: Johannes O. <joh...@gm...> - 2010-03-10 21:49:07
|
XServer 1.7.5: I think it is this commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a56da1005d30da60701e33b75d5f4f37096df060 Thanks. Johannes gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS -I/usr/include/libkms -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 xorg_driver.c -o xorg_driver.o xorg_crtc.c: In function 'crtc_load_cursor_argb': xorg_crtc.c:287: error: dereferencing pointer to incomplete type gmake[4]: *** [xorg_crtc.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium/state_trackers/xorg' gmake[3]: *** [subdirs] Error 1 gmake[3]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium/state_trackers' gmake[2]: *** [default] Error 1 gmake[2]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/Mesa/src' |
From: STEVE555 <ste...@ho...> - 2010-03-10 23:03:22
|
I'm experiencing a similar compile error,I currently use the latest packages for xorg from Fedora 13.The configure options I use are the same from my last post on nabble (galliun-sw-api-2).The compile error I get is this one: gmake[4]: Entering directory `/opt/mesa/src/gallium/state_trackers/xorg' rm -f depend touch depend /usr/bin/makedepend -fdepend -I/usr/lib/gcc/i686-redhat-linux/4.4.3/include -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS -I/usr/include/libkms -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main ./xorg_composite.c ./xorg_crtc.c ./xorg_dri2.c ./xorg_driver.c ./xorg_exa.c ./xorg_exa_tgsi.c ./xorg_output.c ./xorg_renderer.c ./xorg_xv.c 2> /dev/null gmake[4]: Leaving directory `/opt/mesa/src/gallium/state_trackers/xorg' gmake[4]: Entering directory `/opt/mesa/src/gallium/state_trackers/xorg' gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS -I/usr/include/libkms -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -m32 -g -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 xorg_composite.c -o xorg_composite.o In file included from /usr/include/xorg/xf86Crtc.h:25, from xorg_tracker.h:42, from xorg_exa.h:4, from xorg_composite.h:4, from xorg_composite.c:1: /usr/include/xorg/edid.h:623: warning: declaration does not declare anything gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS -I/usr/include/libkms -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -m32 -g -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 xorg_crtc.c -o xorg_crtc.o In file included from /usr/include/xorg/xf86Crtc.h:25, from xorg_crtc.c:41: /usr/include/xorg/edid.h:623: warning: declaration does not declare anything xorg_crtc.c: In function ‘crtc_load_cursor_argb’: xorg_crtc.c:287: error: dereferencing pointer to incomplete type gmake[4]: *** [xorg_crtc.o] Error 1 gmake[4]: Leaving directory `/opt/mesa/src/gallium/state_trackers/xorg' gmake[3]: *** [subdirs] Error 1 gmake[3]: Leaving directory `/opt/mesa/src/gallium/state_trackers' gmake[2]: *** [default] Error 1 gmake[2]: Leaving directory `/opt/mesa/src/gallium' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/opt/mesa/src' gmake: *** [default] Error 1 If I leave out the xorg state tracker,it goes past fine until it comes up with this error I posted earlier: gmake[5]: Entering directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' gcc -c -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -m32 -g -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 dummy.c -o dummy.o gmake[5]: *** No rule to make target `../../../../../../src/gallium/winsys/xlib/libws_xlib.a', needed by `egl_x11_vmwgfx.so'. Stop. gmake[5]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' gmake[4]: *** [default] Error 1 gmake[4]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware' gmake[3]: *** [default] Error 1 gmake[3]: Leaving directory `/opt/mesa/src/gallium/winsys/drm' gmake[2]: *** [default] Error 1 gmake[2]: Leaving directory `/opt/mesa/src/gallium/winsys' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/opt/mesa/src' gmake: *** [default] Error 1 I'll try and wait if the latest packages get updated for xorg,but I might be tempted to bit the bullet and upgrade to Rawhide. Regards, STEVE555 Bugzilla from joh...@gm... wrote: > > XServer 1.7.5: > > I think it is this commit: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=a56da1005d30da60701e33b75d5f4f37096df060 > > Thanks. > Johannes > > > gcc -c -I. -I../../../../src/gallium/include > -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers > -DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS -I/usr/include/libkms > -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm > -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary > -I../../../../include -I../../../../src/mesa > -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -g > -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden > -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM > -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN > -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING > -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 xorg_driver.c > -o xorg_driver.o > xorg_crtc.c: In function 'crtc_load_cursor_argb': > xorg_crtc.c:287: error: dereferencing pointer to incomplete type > gmake[4]: *** [xorg_crtc.o] Error 1 > gmake[4]: *** Waiting for unfinished jobs.... > gmake[4]: Leaving directory > `/usr/src/packages/BUILD/Mesa/src/gallium/state_trackers/xorg' > gmake[3]: *** [subdirs] Error 1 > gmake[3]: Leaving directory > `/usr/src/packages/BUILD/Mesa/src/gallium/state_trackers' > gmake[2]: *** [default] Error 1 > gmake[2]: Leaving directory `/usr/src/packages/BUILD/Mesa/src/gallium' > make[1]: *** [subdirs] Error 1 > make[1]: Leaving directory `/usr/src/packages/BUILD/Mesa/src' > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Mesa3d-dev mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev > > -- View this message in context: http://old.nabble.com/Compile-error-in-xorg_crtc.c-tp27856291p27857116.html Sent from the mesa3d-dev mailing list archive at Nabble.com. |
From: Michel D. <mi...@da...> - 2010-03-11 10:26:38
|
On Wed, 2010-03-10 at 22:48 +0100, Johannes Obermayr wrote: > XServer 1.7.5: > > I think it is this commit: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=a56da1005d30da60701e33b75d5f4f37096df060 > > Thanks. > Johannes > > > gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS -I/usr/include/libkms -I/usr/include/pixman-1 -I/usr/include/xorg -I/usr/include/drm -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 xorg_driver.c -o xorg_driver.o > xorg_crtc.c: In function 'crtc_load_cursor_argb': > xorg_crtc.c:287: error: dereferencing pointer to incomplete type > gmake[4]: *** [xorg_crtc.o] Error 1 Thanks for the report, and thanks Jakob for beating me to fixing it. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer |
From: Johannes O. <joh...@gm...> - 2010-03-11 21:40:02
|
STEVE555 wrote: >If I leave out the xorg state tracker,it goes past fine until it comes up >with this error I posted earlier: > >gmake[5]: Entering directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' >gcc -c -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math >-fvisibility=hidden -fno-strict-aliasing -m32 -g -fPIC -m32 -DUSE_X86_ASM >-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG >-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER >-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS >-DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 -D_GNU_SOURCE -DPTHREADS -DDEBUG >-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER >-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS >-DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 dummy.c -o dummy.o >gmake[5]: *** No rule to make target >`../../../../../../src/gallium/winsys/xlib/libws_xlib.a', needed by >`egl_x11_vmwgfx.so'. Stop. >gmake[5]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' >gmake[4]: *** [default] Error 1 >gmake[4]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware' >gmake[3]: *** [default] Error 1 >gmake[3]: Leaving directory `/opt/mesa/src/gallium/winsys/drm' >gmake[2]: *** [default] Error 1 >gmake[2]: Leaving directory `/opt/mesa/src/gallium/winsys' >gmake[1]: *** [subdirs] Error 1 >gmake[1]: Leaving directory `/opt/mesa/src' >gmake: *** [default] Error 1 > >I'll try and wait if the latest packages get updated for xorg,but I might be >tempted to bit the bullet and upgrade to Rawhide. > >Regards, > STEVE555 There is also this error with latest git: gmake[5]: *** No rule to make target `../../../../../../src/gallium/winsys/xlib/libws_xlib.a', needed by `egl_x11_i915.so'. Stop. |
From: José F. <jfo...@vm...> - 2010-03-11 21:50:49
|
On Thu, 2010-03-11 at 13:39 -0800, Johannes Obermayr wrote: > STEVE555 wrote: > >If I leave out the xorg state tracker,it goes past fine until it comes up > >with this error I posted earlier: > > > >gmake[5]: Entering directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' > >gcc -c -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math > >-fvisibility=hidden -fno-strict-aliasing -m32 -g -fPIC -m32 -DUSE_X86_ASM > >-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG > >-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER > >-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS > >-DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 -D_GNU_SOURCE -DPTHREADS -DDEBUG > >-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER > >-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS > >-DMAX_WIDTH=4096 -DMAX_HEIGHT=4096 dummy.c -o dummy.o > >gmake[5]: *** No rule to make target > >`../../../../../../src/gallium/winsys/xlib/libws_xlib.a', needed by > >`egl_x11_vmwgfx.so'. Stop. > >gmake[5]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' > >gmake[4]: *** [default] Error 1 > >gmake[4]: Leaving directory `/opt/mesa/src/gallium/winsys/drm/vmware' > >gmake[3]: *** [default] Error 1 > >gmake[3]: Leaving directory `/opt/mesa/src/gallium/winsys/drm' > >gmake[2]: *** [default] Error 1 > >gmake[2]: Leaving directory `/opt/mesa/src/gallium/winsys' > >gmake[1]: *** [subdirs] Error 1 > >gmake[1]: Leaving directory `/opt/mesa/src' > >gmake: *** [default] Error 1 > > > >I'll try and wait if the latest packages get updated for xorg,but I might be > >tempted to bit the bullet and upgrade to Rawhide. > > > >Regards, > > STEVE555 > > There is also this error with latest git: > gmake[5]: *** No rule to make target `../../../../../../src/gallium/winsys/xlib/libws_xlib.a', needed by `egl_x11_i915.so'. Stop. This is a build order issue. src/gallium/winsys should produce no shared objects. Just static libraries. src/gallium/targets should produce the final shared object targets. So the right build order is winsys then targets. But since we still have shared objects in src/gallium/winsys they might be built before the .as they depend upon. Perhaps tweaking order such way that winsys/drm comes after winsys/xlib will help. Jose |