Hey. I get following error when try to compile mesa-git with --enable-gallium-llvm.

g++ -Wl,--hash-style=gnu -Wl,--as-needed -L/usr/lib/llvm -lpthread -lffi -ldl -lm lp_test_format.o lp_test_main.o -o lp_test_format -Wl,--start-group -lXext -lXxf86vm -lXdamage -lXfixes -lX11-xcb -lX11 -lxcb-glx -lxcb -ldrm -lm -lpthread -ldl -L../../auxiliary/ -lgallium libllvmpipe.a -lLLVMBitWriter -lLLVMX86CodeGen -lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMInterpreter -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem -lstdc++ -Wl,--end-group
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_open':
u_dl.c:(.text+0x21): undefined reference to `dlopen'
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_get_proc_address':
u_dl.c:(.text+0x50): undefined reference to `dlsym'
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_close':
u_dl.c:(.text+0x79): undefined reference to `dlclose'
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_error':
u_dl.c:(.text+0xa3): undefined reference to `dlerror'
/usr/lib/llvm/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0x32): undefined reference to `dlopen'
/usr/lib/llvm/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0x8a): undefined reference to `dlerror'
/usr/lib/llvm/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*)':
(.text+0x1a2): undefined reference to `dlsym'
/usr/lib/llvm/libLLVMSystem.a(Signals.o): In function `PrintStackTrace(void*)':
(.text+0x74): undefined reference to `dladdr'
/usr/lib/llvm/libLLVMSystem.a(Signals.o): In function `PrintStackTrace(void*)':
(.text+0x1ea): undefined reference to `dladdr'
collect2: ld returned 1 exit status
make[4]: *** [lp_test_format] Error 1

something is missing in my system or something ???


-------------------------------------------------
Twoja sasiadka juz w to gra, a Ty na co czekasz? http://linkint.pl/f26af

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to