https://bugs.freedesktop.org/show_bug.cgi?id=29024
Summary: gallium build failure: can't find llvm headers Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Mesa core AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: nob...@dreamwidth.org Trying to build a git checkout from today on Ubuntu Maverick with the --enable-gallium-llvm option the build fails with this: gcc -c -o state_tracker/st_cb_feedback.o state_tracker/st_cb_feedback.c -DFEATURE_GL=0 -I../../include -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary -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 -DMESA_SELINUX -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 In file included from ../../src/gallium/auxiliary/draw/draw_pipe.h:37, from state_tracker/st_cb_feedback.c:54: ../../src/gallium/auxiliary/draw/draw_private.h:50:36: error: llvm-c/ExecutionEngine.h: No such file or directory In file included from ../../src/gallium/auxiliary/draw/draw_pipe.h:37, from state_tracker/st_cb_feedback.c:54: ../../src/gallium/auxiliary/draw/draw_private.h:267: error: expected specifier-qualifier-list before 'LLVMExecutionEngineRef' make[2]: *** [state_tracker/st_cb_feedback.o] Error 1 It looks like it it's missing the -I from `llvm --cflags` in there: -I/usr/lib/llvm-2.7/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fPIC Without --enable-gallium-llvm that file builds fine. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev