[Mesa-dev] Mesa-7.9 fails to (re)build if xorg-server is already installed
Stephan Raue
mailinglists at openelec.tv
Thu Oct 14 16:15:04 PDT 2010
Hi,
i crosscompiling Mesa-7.9. if xorg-server-1.9 already installed in
toolchain (headers, libs) and i (re)build Mesa it fails. if i remove the
devel packages from toolchain and build xorg-server again after Mesa it
compiles:
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/bin/i686-openelec-linux-gnu-gcc
-c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-DHAVE_CONFIG_H -DHAVE_XEXTPROTO_71 -DHAVE_LIBKMS
-I/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/libkms
-I/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/pixman-1
-I/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg
-I/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/libdrm
-I../../../../src/gallium/include -I../../../../src/gallium/auxiliary
-I../../../../include -I../../../../src/mesa
-I../../../../src/mesa/drivers/dri/common -I../../../../src/mesa/main
-O3 -ffast-math -mmmx -msse -msse2 -mfpmath=sse -ftree-loop-distribution
-floop-interchange -floop-strip-mine -floop-block -fgraphite-identity
-Wall -pipe -march=pentium-m -m32 -fexcess-precision=fast -s
-fomit-frame-pointer -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
-DHAVE_ALIAS -DHAVE_XEXTPROTO_71 xorg_output.c -o xorg_output.o
In file included from
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/xf86Crtc.h:25:0,
from xorg_output.c:34:
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/edid.h:623:4:
warning: declaration does not declare anything
xorg_output.c: In function 'output_get_modes':
xorg_output.c:131:6: warning: 'Xcalloc' is deprecated (declared at
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/os.h:225)
xorg_output.c: In function 'output_destroy':
xorg_output.c:198:5: warning: 'Xfree' is deprecated (declared at
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/os.h:234)
xorg_output.c: In function 'xorg_output_init':
xorg_output.c:265:2: warning: 'Xcalloc' is deprecated (declared at
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/os.h:225)
xorg_output.c:272:6: warning: 'Xfree' is deprecated (declared at
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/os.h:234)
In file included from
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/xf86Crtc.h:25:0,
from xorg_tracker.h:42,
from xorg_xv.c:1:
/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/toolchain/i686-openelec-linux-gnu/sysroot/usr/include/xorg/edid.h:623:4:
warning: declaration does not declare anything
xorg_xv.c: In function 'display_video':
xorg_xv.c:539:39: error: 'struct _Pixmap' has no member named 'screen_x'
xorg_xv.c:539:59: error: 'struct _Pixmap' has no member named 'screen_y'
xorg_xv.c:565:47: error: 'struct _Pixmap' has no member named 'screen_x'
xorg_xv.c:566:47: error: 'struct _Pixmap' has no member named 'screen_y'
gmake[4]: *** [xorg_xv.o] Fehler 1
gmake[4]: Leaving directory
`/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/Mesa-7.9/src/gallium/state_trackers/xorg'
gmake[3]: *** [subdirs] Fehler 1
gmake[3]: Leaving directory
`/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/Mesa-7.9/src/gallium/state_trackers'
gmake[2]: *** [default] Fehler 1
gmake[2]: Leaving directory
`/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/Mesa-7.9/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/stephan/projects/openelec/build.OpenELEC-ATV.i386.devel/Mesa-7.9/src'
make: *** [default] Error 1
greetings
Stephan
--
### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
http://www.openelec.tv
More information about the mesa-dev
mailing list