Mesa compiling error

Alberich de megres <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.