Bug 46810 - Mesa Failing To Build
Summary: Mesa Failing To Build
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-01 01:26 UTC by Steven Ward
Modified: 2012-08-27 04:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Steven Ward 2012-03-01 01:26:53 UTC
Hi all,
      I'm currently running Fedora 17 Alpha. My Graphics Card is a Nvidia GTX 560 with 1Gb of memory.

I've pulled the latest commits from the Mesa git repository this morning.

I did a gmake -B realclean and used autogen.sh with the following options:

 ./autogen.sh --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --includedir=/usr/include --with-dri-drivers= --with-gallium-drivers=swrast,nouveau --enable-debug --enable-texture-float --disable-asm --enable-opengl --disable-gles2 --disable-openvg --enable-texture-float --disable-asm --enable-opengl --disable-gles2 --disable-openvg --enable-dri --enable-glx --enable-xvmc --disable-va --disable-vdpau --disable-osmesa --disable-egl --disable-xorg --disable-d3d1x --disable-xa --disable-gbm --disable-xlib-glx --disable-gallium-egl --disable-gallium-gbm --disable-gallium-llvm --enable-driglx-direct --enable-glx-tls --enable-glu

Mesa configured correctly,but when I issued gmake -j3, the following error showed up:

RING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary  -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -g  -fPIC  -D_GNU_SOURCE -DPTHREADS -DDEBUG -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DUSE_DRICORE
mklib: Making Linux shared library:  ../../lib/libdricore.so
mklib: Installing ../../lib/libdricore.so in ../../lib
mv: `../../lib/libdricore.so' and `../../lib/libdricore.so' are the same file
gmake[3]: Entering directory `/home/steve/mesa/src/mesa/drivers'
gmake[4]: Entering directory `/home/steve/mesa/src/mesa/drivers/dri'
gmake[5]: Entering directory `/home/steve/mesa/src/mesa/drivers/dri'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory `/home/steve/mesa/src/mesa/drivers/dri'
gmake[4]: Leaving directory `/home/steve/mesa/src/mesa/drivers/dri'
gmake[3]: Leaving directory `/home/steve/mesa/src/mesa/drivers'
gmake[2]: Leaving directory `/home/steve/mesa/src/mesa'
gmake[2]: Entering directory `/home/steve/mesa/src/glx'
  CCLD   libGL.la

*** Warning: Linking the shared library libGL.la against the
*** static library ../mapi/glapi/libglapi.a is not portable!
gcc: error: .libs/clientattrib.o: No such file or directory
gcc: error: .libs/clientinfo.o: No such file or directory
gcc: error: .libs/compsize.o: No such file or directory
gcc: error: .libs/create_context.o: No such file or directory
gcc: error: .libs/eval.o: No such file or directory
gcc: error: .libs/glxconfig.o: No such file or directory
gcc: error: .libs/glxcmds.o: No such file or directory
gcc: error: .libs/glxcurrent.o: No such file or directory
gcc: error: .libs/glx_error.o: No such file or directory
gcc: error: .libs/glxext.o: No such file or directory
gcc: error: .libs/glxextensions.o: No such file or directory
gcc: error: .libs/indirect_glx.o: No such file or directory
gcc: error: .libs/indirect.o: No such file or directory
gcc: error: .libs/indirect_init.o: No such file or directory
gcc: error: .libs/indirect_size.o: No such file or directory
gcc: error: .libs/indirect_window_pos.o: No such file or directory
gcc: error: .libs/indirect_texture_compression.o: No such file or directory
gcc: error: .libs/indirect_transpose_matrix.o: No such file or directory
gcc: error: .libs/indirect_vertex_array.o: No such file or directory
gcc: error: .libs/indirect_vertex_program.o: No such file or directory
gcc: error: .libs/pixel.o: No such file or directory
gcc: error: .libs/pixelstore.o: No such file or directory
gcc: error: .libs/render2.o: No such file or directory
gcc: error: .libs/renderpix.o: No such file or directory
gcc: error: .libs/single2.o: No such file or directory
gcc: error: .libs/singlepix.o: No such file or directory
gcc: error: .libs/vertarr.o: No such file or directory
gcc: error: .libs/xfont.o: No such file or directory
gcc: error: .libs/glx_pbuffer.o: No such file or directory
gcc: error: .libs/glx_query.o: No such file or directory
gcc: error: .libs/drisw_glx.o: No such file or directory
gcc: error: .libs/dri_common.o: No such file or directory
gcc: error: .libs/dri_glx.o: No such file or directory
gcc: error: .libs/XF86dri.o: No such file or directory
gcc: error: .libs/glxhash.o: No such file or directory
gcc: error: .libs/dri2_glx.o: No such file or directory
gcc: error: .libs/dri2.o: No such file or directory
gcc: error: .libs/applegl_glx.o: No such file or directory
gmake[2]: *** [libGL.la] Error 1
gmake[2]: Leaving directory `/home/steve/mesa/src/glx'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/home/steve/mesa/src'
gmake: *** [default] Error 1

THe reason I was compiling was because I was enjoying about 600 fps and now it's dropped down to around 200 fps, admittedly I was going to temporary install the akmod-nvidia driver,but I was having nothing but problems trying to install it.

Anyway, I hope you'll be able to find the cause of the error.
Regards,
        STEVE555
Comment 1 Matt Turner 2012-08-27 04:16:41 UTC
Whenever configure.ac or any Makefile.am's change, make clean *is* *not* *sufficient*.

Run

$ git clean -dfx
$ ./autogen.sh ...
$ make

Marking as invalid since I've seen so many built failures like this


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.