LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2015, 12:50 AM   #1
lightningbolt6
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Rep: Reputation: Disabled
Building Mesa Error


Greetings, I am new to Linux- I just installed Ubuntu 14.04 yesterday. My ultimate goal is to install Vis5d+, but in order for that to happen I need to install Mesa. It seems I was able to configure it (./configure)
Code:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking for GNU make... make
checking for python2... python2
checking for a sed that does not truncate output... /bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... bison -y
checking if bison is the parser generator... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking if flex is the lexer generator... yes
checking for indent... cat
checking if module mako in python is installed... yes
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzll... yes
checking for __builtin_ctz... yes
checking for __builtin_expect... yes
checking for __builtin_ffs... yes
checking for __builtin_ffsll... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountll... yes
checking for __builtin_unreachable... yes
checking for __attribute__((const))... yes
checking for __attribute__((flatten))... yes
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((packed))... yes
checking for __attribute__((pure))... yes
checking for __attribute__((unused))... yes
checking for __attribute__((warn_unused_result))... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -Werror=missing-prototypes... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether gcc supports -Werror=vla... yes
checking whether g++ supports -fvisibility=hidden... yes
checking if ld supports -Bsymbolic... yes
checking whether ld supports --gc-sections... yes
checking if the linker supports version-scripts... yes
checking if the linker supports --dynamic-list... yes
checking whether to enable assembly... yes, x86_64
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking for strtof... yes
checking for mkostemp... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dladdr... yes
checking for clock_gettime... yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for LIBDRM... yes
checking for LIBUDEV... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for DRI3PROTO... yes
checking for PRESENTPROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for EXPAT... yes
checking for INTEL... yes
checking for INTEL... yes
checking for NVVIEUX... yes
checking for RADEON... yes
checking for RADEON... yes
checking for mincore... yes
checking for VL... yes
checking for VA... yes
checking for elf_memory in -lelf... no
checking for WAYLAND_SCANNER... no
checking for wayland-scanner... /usr/bin/wayland-scanner
checking for XCB_DRI2... yes
checking for llvm-config... /usr/bin/llvm-config
checking for RADEON... yes
checking for RADEON... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/freedreno/Makefile
config.status: creating src/gallium/drivers/i915/Makefile
config.status: creating src/gallium/drivers/ilo/Makefile
config.status: creating src/gallium/drivers/llvmpipe/Makefile
config.status: creating src/gallium/drivers/noop/Makefile
config.status: creating src/gallium/drivers/nouveau/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/drivers/radeon/Makefile
config.status: creating src/gallium/drivers/radeonsi/Makefile
config.status: creating src/gallium/drivers/rbug/Makefile
config.status: creating src/gallium/drivers/softpipe/Makefile
config.status: creating src/gallium/drivers/svga/Makefile
config.status: creating src/gallium/drivers/trace/Makefile
config.status: creating src/gallium/drivers/vc4/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/state_trackers/dri/Makefile
config.status: creating src/gallium/state_trackers/glx/xlib/Makefile
config.status: creating src/gallium/state_trackers/nine/Makefile
config.status: creating src/gallium/state_trackers/omx/Makefile
config.status: creating src/gallium/state_trackers/osmesa/Makefile
config.status: creating src/gallium/state_trackers/va/Makefile
config.status: creating src/gallium/state_trackers/vdpau/Makefile
config.status: creating src/gallium/state_trackers/xa/Makefile
config.status: creating src/gallium/state_trackers/xvmc/Makefile
config.status: creating src/gallium/targets/d3dadapter9/Makefile
config.status: creating src/gallium/targets/d3dadapter9/d3d.pc
config.status: creating src/gallium/targets/dri/Makefile
config.status: creating src/gallium/targets/libgl-xlib/Makefile
config.status: creating src/gallium/targets/omx/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gallium/targets/opencl/mesa.icd
config.status: creating src/gallium/targets/osmesa/Makefile
config.status: creating src/gallium/targets/osmesa/osmesa.pc
config.status: creating src/gallium/targets/pipe-loader/Makefile
config.status: creating src/gallium/targets/va/Makefile
config.status: creating src/gallium/targets/vdpau/Makefile
config.status: creating src/gallium/targets/xa/Makefile
config.status: creating src/gallium/targets/xa/xatracker.pc
config.status: creating src/gallium/targets/xvmc/Makefile
config.status: creating src/gallium/tests/trivial/Makefile
config.status: creating src/gallium/tests/unit/Makefile
config.status: creating src/gallium/winsys/freedreno/drm/Makefile
config.status: creating src/gallium/winsys/i915/drm/Makefile
config.status: creating src/gallium/winsys/intel/drm/Makefile
config.status: creating src/gallium/winsys/nouveau/drm/Makefile
config.status: creating src/gallium/winsys/radeon/drm/Makefile
config.status: creating src/gallium/winsys/amdgpu/drm/Makefile
config.status: creating src/gallium/winsys/svga/drm/Makefile
config.status: creating src/gallium/winsys/sw/dri/Makefile
config.status: creating src/gallium/winsys/sw/kms-dri/Makefile
config.status: creating src/gallium/winsys/sw/null/Makefile
config.status: creating src/gallium/winsys/sw/wrapper/Makefile
config.status: creating src/gallium/winsys/sw/xlib/Makefile
config.status: creating src/gallium/winsys/vc4/drm/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glsl/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/glx/apple/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/loader/Makefile
config.status: creating src/mapi/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/common/xmlpool/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/util/Makefile
config.status: creating src/util/tests/hash_table/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:          /usr/local
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: yes ES2: yes)

        OSMesa:          no

        DRI platform:    drm
        DRI drivers:     i915 i965 nouveau r200 radeon swrast 
        DRI driver dir:  ${libdir}/dri
        GLX:             DRI-based

        EGL:             yes
        EGL platforms:   x11
        EGL drivers:     builtin:egl_dri2

        llvm:            yes
        llvm-config:     /usr/bin/llvm-config
        llvm-version:    3.4

        Gallium:         yes

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp
        CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp
        Macros:          -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DNDEBUG -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE -DHAVE_LLVM=0x0304 -DMESA_LLVM_VERSION_PATCH=0

        LLVM_CFLAGS:     -I/usr/lib/llvm-3.4/include   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
        LLVM_CXXFLAGS:   -I/usr/lib/llvm-3.4/include   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS        
        LLVM_CPPFLAGS:   -I/usr/lib/llvm-3.4/include   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
        LLVM_LDFLAGS:    -L/usr/lib/llvm-3.4/lib  -lpthread -lffi -ltinfo -ldl -lm 

        PYTHON2:         python2

        Run 'make' to build Mesa
but when I run make to compile Mesa, I get error messages at the end.
Code:
Making all in src
make[1]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src'
Making all in .
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src'
Making all in gtest
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/gtest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/gtest'
Making all in util
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/util'
make  all-recursive
make[3]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/util'
Making all in .
make[4]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/util'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/util'
Making all in tests/hash_table
make[4]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/util/tests/hash_table'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/util/tests/hash_table'
make[3]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/util'
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/util'
Making all in mapi/glapi/gen
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi/glapi/gen'
make  all-am
make[3]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi/glapi/gen'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi/glapi/gen'
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi/glapi/gen'
Making all in mapi
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi'
make  all-recursive
make[3]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi'
make[4]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi'
make[3]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi'
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mapi'
Making all in glsl
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/glsl'
make  all-am
make[3]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/glsl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/glsl'
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/glsl'
Making all in mesa
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa'
updating main/git_sha1.h
make  all-recursive
make[3]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa'
Making all in .
make[4]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa'
updating main/git_sha1.h
make[4]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa'
Making all in main/tests
make[4]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/main/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/main/tests'
Making all in drivers/dri
make[4]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri'
Making all in common
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common'
Making all in xmlpool
make[6]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common/xmlpool'
make  all-am
make[7]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common/xmlpool'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common/xmlpool'
make[6]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common/xmlpool'
make[6]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common'
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/common'
Making all in i915
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/i915'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/i915'
Making all in i965
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/i965'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/i965'
Making all in nouveau
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/nouveau'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/nouveau'
Making all in r200
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/r200'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/r200'
Making all in radeon
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/radeon'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/radeon'
Making all in swrast
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/swrast'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri/swrast'
make[5]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri'
  GEN      all-local
  GEN      all-local
make[5]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri'
make[4]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa/drivers/dri'
make[3]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa'
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/mesa'
Making all in loader
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/loader'
Making all in glx
make[2]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/glx'
Making all in .
make[3]: Entering directory `/home/lightning/Downloads/mesa-11.0.7/src/glx'
  CCLD     libGL.la
./.libs/libglx.a(dri2_glx.o): In function `dri2CreateScreen':
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri2_glx.c:1192: undefined reference to `drmGetMagic'
./.libs/libglx.a(dri_glx.o): In function `CallCreateNewScreen':
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:366: undefined reference to `drmOpenOnce'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:375: undefined reference to `drmGetMagic'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:380: undefined reference to `drmGetVersion'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:385: undefined reference to `drmFreeVersion'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:429: undefined reference to `drmMap'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:439: undefined reference to `drmMap'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:506: undefined reference to `drmUnmap'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:509: undefined reference to `drmUnmap'
/home/lightning/Downloads/mesa-11.0.7/src/glx/dri_glx.c:514: undefined reference to `drmCloseOnce'
./.libs/libglx.a(libloader_la-loader.o): In function `drm_get_pci_id_for_fd':
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:521: undefined reference to `drmGetVersion'
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:573: undefined reference to `drmFreeVersion'
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:556: undefined reference to `drmCommandWriteRead'
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:541: undefined reference to `drmCommandWriteRead'
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:528: undefined reference to `drmFreeVersion'
./.libs/libglx.a(libloader_la-loader.o): In function `loader_get_driver_for_fd':
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:704: undefined reference to `drmGetVersion'
/home/lightning/Downloads/mesa-11.0.7/src/loader/loader.c:714: undefined reference to `drmFreeVersion'
./.libs/libglx.a(libloader_la-pci_id_driver_map.o): In function `nouveau_chipset':
/home/lightning/Downloads/mesa-11.0.7/src/loader/pci_id_driver_map.c:37: undefined reference to `drmCommandWriteRead'
collect2: error: ld returned 1 exit status
make[3]: *** [libGL.la] Error 1
make[3]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lightning/Downloads/mesa-11.0.7/src'
make: *** [all-recursive] Error 1
I have no idea what's going on or what to do as I'm brand new to this stuff. Any help would be greatly appreciated. Thanks in advance!
 
Old 12-23-2015, 02:18 PM   #2
lightningbolt6
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
This morning it seems I was able to compile Mesa (make and sudo make install) without any errors (I don't know what changed to be honest), but when I try to configure vis5d+, it still says I don't have Mesa.
Code:
You need to install a 3D graphics library, preferably
the free OpenGL replacement, Mesa.  You can download
Mesa from the Mesa home page:
  	    http://www.mesa3d.org/
and install it by running:
       ./configure && make && su -c 'make install'
in the Mesa directory.
You may also need to run /sbin/ldconfig as root
to update the system after installing Mesa.
(First, add '/usr/local/lib' to /etc/ld.so.conf if
you installed Mesa under /usr/local, the default.)
I also don't know what it means to run /sbin/ldconfig as root to update the system, or how to add 'usr/local/lib to /etc/ld.so.conf. Maybe this is the step I'm missing?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems building Mesa from source flyinggeorge Linux - Software 2 06-28-2014 11:14 PM
[SOLVED] Building mesa 9.2.5 compat32 package Somewho Slackware 9 12-18-2013 06:11 PM
Building Mesa-7.8.1 with osmesa support shonumi Slackware 3 05-29-2011 04:04 PM
[SOLVED] Error building Mesa 7.10.2 on Slackware 13.37, possible fix folkenfanel Slackware 1 05-03-2011 02:35 PM
Problem Building Mesa-6.5 with glproto>1.4.6 weibullguy Linux From Scratch 3 10-05-2006 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration