[Mesa-dev] [Bug 30355] compilation fails because sm4_defs.h is missing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 24 02:36:22 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30355

--- Comment #4 from Martin Stolpe <martinstolpe at gmail.com> 2010-09-24 02:36:22 PDT ---
makedepend was indeed missing. Learned something new today. ;-)

On wikipedia I read, that makedepend isn't really used anymore: "makedepend...
has since become superseded by the dependency generation facilities of various
compilers, and is now used primarily as a worst-case fallback, e.g. by depcomp
and GNU Automake." I don't know any of this stuff but it would it be possible
to replace this dependency. makedepend for example is not even in the official
repositories of my distro (Archlinux, it's in AUR though).

Anyway the compiliation still fails:
g++ -march=native -mtune=native -O2 -g -mfpmath=sse -pipe -Wall
-fvisibility=hidden -fno-strict-aliasing  -fPIC  -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV
-Wl,--hash-style=gnu -Wl,--as-needed tools/dxbc2tgsi.o -o tools/dxbc2tgsi
-Wl,--start-group  libgd3d1x.a ../d3d1xshader/libd3d1xshader.a
../../../auxiliary/libgallium.a -ldl -Wl,--end-group
libgd3d1x.a(sm4_to_tgsi.o): In function `.L1072':
/home/martin/abs/2_xorg/5_-_mesa-full/src/mesa-build/src/gallium/state_trackers/d3d1x/gd3d1x/sm4_to_tgsi.cpp:818:
undefined reference to `d3d_to_pipe_prim_type'
libgd3d1x.a(sm4_to_tgsi.o): In function `.L1071':
/home/martin/abs/2_xorg/5_-_mesa-full/src/mesa-build/src/gallium/state_trackers/d3d1x/gd3d1x/sm4_to_tgsi.cpp:821:
undefined reference to `d3d_to_pipe_prim'
collect2: ld returned 1 exit status
make[5]: *** [tools/dxbc2tgsi] Error 1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list