[Mesa-users] Mesa compiling error

Brian Paul brianp at vmware.com
Wed Jan 26 08:32:23 PST 2011


I don't know if any of the nouveau developers read this list.  If you 
don't get a response, try the mesa-dev list or file a bug.

-Brian

On 01/26/2011 09:26 AM, Alberich de megres wrote:
> Hi,
>
> While compiling mesa from git, with options showed on wayland page i
> got an error:
>
> gmake[3]: in `/root/Mesa/Mesa-git/mesa/src/gallium/targets/dri-nouveau'
> /bin/sh ../../../../bin/mklib -o nouveau_dri.so.tmp -noprefix -linker
> 'g++' -ldflags ' -lstdc++' \
>          target.o ../../../../src/mesa/drivers/dri/common/utils.o
> ../../../../src/mesa/drivers/dri/common/vblank.o
> ../../../../src/mesa/drivers/dri/common/dri_util.o
> ../../../../src/mesa/drivers/dri/common/xmlconfig.o
> ../../../../src/gallium/state_trackers/dri/drm/libdridrm.a
> ../../../../src/gallium/winsys/nouveau/drm/libnouveaudrm.a
> ../../../../src/gallium/drivers/trace/libtrace.a
> ../../../../src/gallium/drivers/rbug/librbug.a
> ../../../../src/gallium/drivers/nvfx/libnvfx.a
> ../../../../src/gallium/drivers/nv50/libnv50.a
> ../../../../src/gallium/drivers/nouveau/libnouveau.a \
>                  -Wl,--start-group
> ../../../../src/mesa/libmesagallium.a
> ../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \
>                     -ldrm   -lexpat -lm -lpthread -ldl -ltalloc
> -L/usr/local/lib -ldrm_nouveau
> mklib: Making Linux shared library:  nouveau_dri.so.tmp
> g++ -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_XCB_DRI2 -DHAVE_LIBUDEV -o nouveau_dri.so.test
> ../../../../src/mesa/drivers/dri/common/dri_test.o nouveau_dri.so.tmp
>   -ldrm   -lexpat -lm -lpthread -ldl -ltalloc   -L/usr/local/lib
> -ldrm_nouveau    -lstdc++;
> nouveau_dri.so.tmp: undefined reference to `BIND_RING'
> nouveau_dri.so.tmp: undefined reference to `BEGIN_RING_NI'
> nouveau_dri.so.tmp: undefined reference to `BEGIN_RING'
> collect2: ld exits with state 1
> gmake[3]: *** [nouveau_dri.so] Error 1
> gmake[3]: exiting from directory
> `/root/Mesa/Mesa-git/mesa/src/gallium/targets/dri-nouveau'
> gmake[2]: *** [default] Error 1
> gmake[2]: exiting from directory `/root/Mesa/Mesa-git/mesa/src/gallium/targets'
> make[1]: *** [subdirs] Error 1
> make[1]: exiting from directory `/root/Mesa/Mesa-git/mesa/src'
> make: *** [default] Error 1
>
>
> Also i'm using git version for libdrm.
> thanks!
> Alberich
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
> .
>



More information about the mesa-users mailing list