[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


--- 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
-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':
undefined reference to `d3d_to_pipe_prim_type'
libgd3d1x.a(sm4_to_tgsi.o): In function `.L1071':
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