Açık kaynak ATI sürücüsü derlemek

Başlatan OnLive, 04 Eylül 2017 - 00:08:58

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

OnLive

https://www.x.org/wiki/radeonBuildHowTo/

Merhabalar. Açık kaynak ATI sürücüsünü yukarıda anlatıldığı şekilde kaynağından derlemeye çalışıyorum.


./autogen.sh --prefix=/opt/xorg

Bölümüne kadar sorunsuz ilerledim ancak ondan sonra şöyle bir hata verdi:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:38: installing './compile'
configure.ac:44: installing './config.guess'
configure.ac:44: installing './config.sub'
configure.ac:37: installing './install-sh'
configure.ac:37: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if gcc supports -Werror=unknown-warning-option... no
checking if gcc supports -Werror=unused-command-line-argument... no
checking if gcc supports -Wall... yes
checking if gcc supports -Wpointer-arith... yes
checking if gcc supports -Wmissing-declarations... yes
checking if gcc supports -Wformat=2... yes
checking if gcc supports -Wstrict-prototypes... yes
checking if gcc supports -Wmissing-prototypes... yes
checking if gcc supports -Wnested-externs... yes
checking if gcc supports -Wbad-function-cast... yes
checking if gcc supports -Wold-style-definition... yes
checking if gcc supports -Wdeclaration-after-statement... yes
checking if gcc supports -Wunused... yes
checking if gcc supports -Wuninitialized... yes
checking if gcc supports -Wshadow... yes
checking if gcc supports -Wmissing-noreturn... yes
checking if gcc supports -Wmissing-format-attribute... yes
checking if gcc supports -Wredundant-decls... yes
checking if gcc supports -Wlogical-op... yes
checking if gcc supports -Werror=implicit... yes
checking if gcc supports -Werror=nonnull... yes
checking if gcc supports -Werror=init-self... yes
checking if gcc supports -Werror=main... yes
checking if gcc supports -Werror=missing-braces... yes
checking if gcc supports -Werror=sequence-point... yes
checking if gcc supports -Werror=return-type... yes
checking if gcc supports -Werror=trigraphs... yes
checking if gcc supports -Werror=array-bounds... yes
checking if gcc supports -Werror=write-strings... yes
checking if gcc supports -Werror=address... yes
checking if gcc supports -Werror=int-to-pointer-cast... yes
checking if gcc supports -Werror=pointer-to-int-cast... yes
checking if gcc supports -pedantic... yes
checking if gcc supports -Werror... yes
checking if gcc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-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 ar... ar
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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for LIBDRM... no
configure: error: Package requirements (libdrm >= 2.4.78) were not met:

Requested 'libdrm >= 2.4.78' but version of libdrm is 2.4.76

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBDRM_CFLAGS
and LIBDRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Acaba sorunu nasıl çözebilirim? Teşekkürler.
"People said I should accept the world. Bullshit! I don't accept the world." ― rms

012rev3

Ben denemedim ama çıktıda belirtilen paket versiyonunu yükselterek belki sorunu çözebilirsiniz.
İstenilen paket versiyonu (libdrm >= 2.4.78), sizde bulunan (libdrm is 2.4.76)
Ubuntu depolarında yoksa şurada bir link var dilerseniz deneyin;
http://www.linuxfromscratch.org/~ken/rust-rfc/x/libdrm.html
"Her şey mümkün olduğunca basitleştirilmeli ancak sıradanlaştırılmamalıdır." Albert Einstein

OnLive

Alıntı yapılan: 012rev3 - 04 Eylül 2017 - 00:44:21
Ben denemedim ama çıktıda belirtilen paket versiyonunu yükselterek belki sorunu çözebilirsiniz.
İstenilen paket versiyonu (libdrm >= 2.4.78), sizde bulunan (libdrm is 2.4.76)
Ubuntu depolarında yoksa şurada bir link var dilerseniz deneyin;
http://www.linuxfromscratch.org/~ken/rust-rfc/x/libdrm.html

Şu şekilde oldu:

./configure --prefix=/usr --enable-udev &&
> make


checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xsltproc... no
configure: WARNING: xsltproc not found - cannot transform XML documents
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether sys/types.h defines makedev... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-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 ar... ar
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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 for clock_gettime... yes
checking for open_memstream... yes
checking for supported warning flags...
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wextra... yes
checking whether gcc supports -Wsign-compare... yes
checking whether gcc supports -Werror-implicit-function-declaration... yes
checking whether gcc supports -Wpointer-arith... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wmissing-declarations... yes
checking whether gcc supports -Wnested-externs... yes
checking whether gcc supports -Wpacked... yes
checking whether gcc supports -Wswitch-enum... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wstrict-aliasing=2... yes
checking whether gcc supports -Winit-self... yes
checking whether gcc supports -Wdeclaration-after-statement... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-attributes... yes
checking whether gcc supports -Wno-long-long... yes
checking whether gcc supports -Winline... yes
checking whether gcc supports -Wshadow... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking which warning flags were supported...  -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers
checking for native atomic primitives... Intel
checking for PCIACCESS... yes
checking for CUNIT... no
checking for CU_initialize_registry in -lcunit... no
configure: WARNING: Could not find cunit library. Disabling amdgpu tests
checking for CAIRO... no
checking whether to enable Cairo tests... no
checking for docbook manpages stylesheet... no
checking for VALGRIND... no
checking whether to enable Valgrind support... no
checking whether gcc supports __attribute__(("hidden"))... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libkms/Makefile
config.status: creating libkms/libkms.pc
config.status: creating intel/Makefile
config.status: creating intel/libdrm_intel.pc
config.status: creating radeon/Makefile
config.status: creating radeon/libdrm_radeon.pc
config.status: creating amdgpu/Makefile
config.status: creating amdgpu/libdrm_amdgpu.pc
config.status: creating nouveau/Makefile
config.status: creating nouveau/libdrm_nouveau.pc
config.status: creating omap/Makefile
config.status: creating omap/libdrm_omap.pc
config.status: creating exynos/Makefile
config.status: creating exynos/libdrm_exynos.pc
config.status: creating freedreno/Makefile
config.status: creating freedreno/libdrm_freedreno.pc
config.status: creating tegra/Makefile
config.status: creating tegra/libdrm_tegra.pc
config.status: creating vc4/Makefile
config.status: creating vc4/libdrm_vc4.pc
config.status: creating etnaviv/Makefile
config.status: creating etnaviv/libdrm_etnaviv.pc
config.status: creating tests/Makefile
config.status: creating tests/modeprint/Makefile
config.status: creating tests/modetest/Makefile
config.status: creating tests/kms/Makefile
config.status: creating tests/kmstest/Makefile
config.status: creating tests/proptest/Makefile
config.status: creating tests/radeon/Makefile
config.status: creating tests/amdgpu/Makefile
config.status: creating tests/vbltest/Makefile
config.status: creating tests/exynos/Makefile
config.status: creating tests/tegra/Makefile
config.status: creating tests/nouveau/Makefile
config.status: creating tests/etnaviv/Makefile
config.status: creating tests/util/Makefile
config.status: creating man/Makefile
config.status: creating libdrm.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

libdrm 2.4.78 will be compiled with:

  libkms         yes
  Intel API      yes
  vmwgfx API     yes
  Radeon API     yes
  AMDGPU API     yes
  Nouveau API    yes
  OMAP API       no
  EXYNOS API     no
  Freedreno API  no (kgsl: no)
  Tegra API      no
  VC4 API        no
  Etnaviv API    no

make -s all-recursive
Making all in .
  CC       libdrm_la-xf86drm.lo
  CC       libdrm_la-xf86drmHash.lo
  CC       libdrm_la-xf86drmRandom.lo
  CC       libdrm_la-xf86drmSL.lo
  CC       libdrm_la-xf86drmMode.lo
  CCLD     libdrm.la
Making all in libkms
  CC       linux.lo
  CC       dumb.lo
  CC       api.lo
  CC       vmwgfx.lo
  CC       intel.lo
  CC       nouveau.lo
  CC       radeon.lo
  CCLD     libkms.la
Making all in intel
  CC       intel_bufmgr.lo
  CC       intel_bufmgr_fake.lo
  CC       intel_bufmgr_gem.lo
  CC       intel_decode.lo
  CC       mm.lo
  CCLD     libdrm_intel.la
  CC       test_decode.o
  CCLD     test_decode
Making all in nouveau
  CC       nouveau.lo
  CC       pushbuf.lo
  CC       bufctx.lo
  CC       abi16.lo
  CCLD     libdrm_nouveau.la
Making all in radeon
  CC       radeon_bo_gem.lo
  CC       radeon_cs_gem.lo
  CC       radeon_cs_space.lo
  CC       radeon_bo.lo
  CC       radeon_cs.lo
  CC       radeon_surface.lo
  CCLD     libdrm_radeon.la
Making all in amdgpu
  CC       amdgpu_bo.lo
  CC       amdgpu_cs.lo
  CC       amdgpu_device.lo
  CC       amdgpu_gpu_info.lo
  CC       amdgpu_vamgr.lo
  CC       util_hash.lo
  CC       util_hash_table.lo
  CCLD     libdrm_amdgpu.la
Making all in tests
Making all in util
  CC       libutil_la-format.lo
  CC       libutil_la-kms.lo
  CC       libutil_la-pattern.lo
  CCLD     libutil.la
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in kms
  CC       libkms-test-crtc.lo
  CC       libkms-test-device.lo
  CC       libkms-test-framebuffer.lo
  CC       libkms-test-plane.lo
  CC       libkms-test-screen.lo
  CCLD     libkms-test.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       kms-steal-crtc.o
  CCLD     kms-steal-crtc
  CC       kms-universal-planes.o
  CCLD     kms-universal-planes
Making all in modeprint
  CC       modeprint.o
  CCLD     modeprint
Making all in proptest
  CC       proptest.o
  CCLD     proptest
Making all in modetest
  CC       buffers.o
  CC       cursor.o
  CC       modetest.o
modetest.c: In function 'get_resources':
modetest.c:565:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
   asprintf(&connector->name, "%s-%u",
   ^
  CCLD     modetest
Making all in vbltest
  CC       vbltest.o
  CCLD     vbltest
Making all in kmstest
  CC       main.o
  CCLD     kmstest
Making all in radeon
  CC       rbo.o
  CC       radeon_ttm.o
  CCLD     radeon_ttm
Making all in nouveau


sudo su

make install

Making install in .
/bin/mkdir -p '/usr/include/libdrm'
/usr/bin/install -c -m 644 include/drm/drm.h include/drm/drm_fourcc.h include/drm/drm_mode.h include/drm/drm_sarea.h include/drm/i915_drm.h include/drm/mach64_drm.h include/drm/mga_drm.h include/drm/nouveau_drm.h include/drm/qxl_drm.h include/drm/r128_drm.h include/drm/radeon_drm.h include/drm/amdgpu_drm.h include/drm/savage_drm.h include/drm/sis_drm.h include/drm/tegra_drm.h include/drm/vc4_drm.h include/drm/via_drm.h include/drm/virtgpu_drm.h include/drm/vmwgfx_drm.h '/usr/include/libdrm'
/bin/mkdir -p '/usr/lib'
/bin/bash ./libtool   --mode=install /usr/bin/install -c   libdrm.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libdrm.so.2.4.0 /usr/lib/libdrm.so.2.4.0
libtool: install: (cd /usr/lib && { ln -s -f libdrm.so.2.4.0 libdrm.so.2 || { rm -f libdrm.so.2 && ln -s libdrm.so.2.4.0 libdrm.so.2; }; })
libtool: install: (cd /usr/lib && { ln -s -f libdrm.so.2.4.0 libdrm.so || { rm -f libdrm.so && ln -s libdrm.so.2.4.0 libdrm.so; }; })
libtool: install: /usr/bin/install -c .libs/libdrm.lai /usr/lib/libdrm.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include'
/usr/bin/install -c -m 644 libsync.h xf86drm.h xf86drmMode.h '/usr/include'
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libdrm.pc '/usr/lib/pkgconfig'
Making install in libkms
/bin/mkdir -p '/usr/lib'
/bin/bash ../libtool   --mode=install /usr/bin/install -c   libkms.la '/usr/lib'
libtool: warning: relinking 'libkms.la'
libtool: install: (cd /home/ubuntu/Masaüstü/libdrm-2.4.78/libkms; /bin/bash "/home/ubuntu/Masaüstü/libdrm-2.4.78/libtool"  --silent --tag CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I../include/drm -I.. -g -O2 -version-number 1:0:0 -no-undefined -o libkms.la -rpath /usr/lib linux.lo dumb.lo api.lo vmwgfx.lo intel.lo nouveau.lo radeon.lo ../libdrm.la )
libtool: install: /usr/bin/install -c .libs/libkms.so.1.0.0T /usr/lib/libkms.so.1.0.0
libtool: install: (cd /usr/lib && { ln -s -f libkms.so.1.0.0 libkms.so.1 || { rm -f libkms.so.1 && ln -s libkms.so.1.0.0 libkms.so.1; }; })
libtool: install: (cd /usr/lib && { ln -s -f libkms.so.1.0.0 libkms.so || { rm -f libkms.so && ln -s libkms.so.1.0.0 libkms.so; }; })
libtool: install: /usr/bin/install -c .libs/libkms.lai /usr/lib/libkms.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include/libkms'
/usr/bin/install -c -m 644 libkms.h '/usr/include/libkms'
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libkms.pc '/usr/lib/pkgconfig'
Making install in intel
/bin/mkdir -p '/usr/lib'
/bin/bash ../libtool   --mode=install /usr/bin/install -c   libdrm_intel.la '/usr/lib'
libtool: warning: relinking 'libdrm_intel.la'
libtool: install: (cd /home/ubuntu/Masaüstü/libdrm-2.4.78/intel; /bin/bash "/home/ubuntu/Masaüstü/libdrm-2.4.78/libtool"  --silent --tag CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -I../include/drm -g -O2 -version-number 1:0:0 -no-undefined -o libdrm_intel.la -rpath /usr/lib intel_bufmgr.lo intel_bufmgr_fake.lo intel_bufmgr_gem.lo intel_decode.lo mm.lo ../libdrm.la -lpciaccess )
libtool: install: /usr/bin/install -c .libs/libdrm_intel.so.1.0.0T /usr/lib/libdrm_intel.so.1.0.0
libtool: install: (cd /usr/lib && { ln -s -f libdrm_intel.so.1.0.0 libdrm_intel.so.1 || { rm -f libdrm_intel.so.1 && ln -s libdrm_intel.so.1.0.0 libdrm_intel.so.1; }; })
libtool: install: (cd /usr/lib && { ln -s -f libdrm_intel.so.1.0.0 libdrm_intel.so || { rm -f libdrm_intel.so && ln -s libdrm_intel.so.1.0.0 libdrm_intel.so; }; })
libtool: install: /usr/bin/install -c .libs/libdrm_intel.lai /usr/lib/libdrm_intel.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include/libdrm'
/usr/bin/install -c -m 644 intel_bufmgr.h intel_aub.h intel_debug.h '/usr/include/libdrm'
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libdrm_intel.pc '/usr/lib/pkgconfig'
Making install in nouveau
/bin/mkdir -p '/usr/lib'
/bin/bash ../libtool   --mode=install /usr/bin/install -c   libdrm_nouveau.la '/usr/lib'
libtool: warning: relinking 'libdrm_nouveau.la'
libtool: install: (cd /home/ubuntu/Masaüstü/libdrm-2.4.78/nouveau; /bin/bash "/home/ubuntu/Masaüstü/libdrm-2.4.78/libtool"  --silent --tag CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -I../include/drm -DDEBUG -g -O2 -version-number 2:0:0 -no-undefined -o libdrm_nouveau.la -rpath /usr/lib nouveau.lo pushbuf.lo bufctx.lo abi16.lo ../libdrm.la )
libtool: install: /usr/bin/install -c .libs/libdrm_nouveau.so.2.0.0T /usr/lib/libdrm_nouveau.so.2.0.0
libtool: install: (cd /usr/lib && { ln -s -f libdrm_nouveau.so.2.0.0 libdrm_nouveau.so.2 || { rm -f libdrm_nouveau.so.2 && ln -s libdrm_nouveau.so.2.0.0 libdrm_nouveau.so.2; }; })
libtool: install: (cd /usr/lib && { ln -s -f libdrm_nouveau.so.2.0.0 libdrm_nouveau.so || { rm -f libdrm_nouveau.so && ln -s libdrm_nouveau.so.2.0.0 libdrm_nouveau.so; }; })
libtool: install: /usr/bin/install -c .libs/libdrm_nouveau.lai /usr/lib/libdrm_nouveau.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include/libdrm/nouveau'
/usr/bin/install -c -m 644 nouveau.h '/usr/include/libdrm/nouveau'
/bin/mkdir -p '/usr/include/libdrm/nouveau/nvif'
/usr/bin/install -c -m 644 nvif/class.h nvif/cl0080.h nvif/cl9097.h nvif/if0002.h nvif/if0003.h nvif/ioctl.h nvif/unpack.h '/usr/include/libdrm/nouveau/nvif'
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libdrm_nouveau.pc '/usr/lib/pkgconfig'
Making install in radeon
/bin/mkdir -p '/usr/lib'
/bin/bash ../libtool   --mode=install /usr/bin/install -c   libdrm_radeon.la '/usr/lib'
libtool: warning: relinking 'libdrm_radeon.la'
libtool: install: (cd /home/ubuntu/Masaüstü/libdrm-2.4.78/radeon; /bin/bash "/home/ubuntu/Masaüstü/libdrm-2.4.78/libtool"  --silent --tag CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -I../include/drm -g -O2 -version-number 1:0:1 -no-undefined -o libdrm_radeon.la -rpath /usr/lib radeon_bo_gem.lo radeon_cs_gem.lo radeon_cs_space.lo radeon_bo.lo radeon_cs.lo radeon_surface.lo ../libdrm.la )
libtool: install: /usr/bin/install -c .libs/libdrm_radeon.so.1.0.1T /usr/lib/libdrm_radeon.so.1.0.1
libtool: install: (cd /usr/lib && { ln -s -f libdrm_radeon.so.1.0.1 libdrm_radeon.so.1 || { rm -f libdrm_radeon.so.1 && ln -s libdrm_radeon.so.1.0.1 libdrm_radeon.so.1; }; })
libtool: install: (cd /usr/lib && { ln -s -f libdrm_radeon.so.1.0.1 libdrm_radeon.so || { rm -f libdrm_radeon.so && ln -s libdrm_radeon.so.1.0.1 libdrm_radeon.so; }; })
libtool: install: /usr/bin/install -c .libs/libdrm_radeon.lai /usr/lib/libdrm_radeon.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include/libdrm'
/usr/bin/install -c -m 644 radeon_bo.h radeon_cs.h radeon_surface.h radeon_bo_gem.h radeon_cs_gem.h radeon_bo_int.h radeon_cs_int.h r600_pci_ids.h '/usr/include/libdrm'
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libdrm_radeon.pc '/usr/lib/pkgconfig'
Making install in amdgpu
/bin/mkdir -p '/usr/lib'
/bin/bash ../libtool   --mode=install /usr/bin/install -c   libdrm_amdgpu.la '/usr/lib'
libtool: warning: relinking 'libdrm_amdgpu.la'
libtool: install: (cd /home/ubuntu/Masaüstü/libdrm-2.4.78/amdgpu; /bin/bash "/home/ubuntu/Masaüstü/libdrm-2.4.78/libtool"  --silent --tag CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -I../include/drm -g -O2 -version-number 1:0:0 -no-undefined -o libdrm_amdgpu.la -rpath /usr/lib amdgpu_bo.lo amdgpu_cs.lo amdgpu_device.lo amdgpu_gpu_info.lo amdgpu_vamgr.lo util_hash.lo util_hash_table.lo ../libdrm.la )
libtool: install: /usr/bin/install -c .libs/libdrm_amdgpu.so.1.0.0T /usr/lib/libdrm_amdgpu.so.1.0.0
libtool: install: (cd /usr/lib && { ln -s -f libdrm_amdgpu.so.1.0.0 libdrm_amdgpu.so.1 || { rm -f libdrm_amdgpu.so.1 && ln -s libdrm_amdgpu.so.1.0.0 libdrm_amdgpu.so.1; }; })
libtool: install: (cd /usr/lib && { ln -s -f libdrm_amdgpu.so.1.0.0 libdrm_amdgpu.so || { rm -f libdrm_amdgpu.so && ln -s libdrm_amdgpu.so.1.0.0 libdrm_amdgpu.so; }; })
libtool: install: /usr/bin/install -c .libs/libdrm_amdgpu.lai /usr/lib/libdrm_amdgpu.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include/libdrm'
/usr/bin/install -c -m 644 amdgpu.h '/usr/include/libdrm'
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libdrm_amdgpu.pc '/usr/lib/pkgconfig'
Making install in tests
Making install in util
Making install in kms
Making install in modeprint
Making install in proptest
Making install in modetest
Making install in vbltest
Making install in kmstest
Making install in radeon
Making install in nouveau


Kurulmuş görünüyor sanki ama sonra:

./autogen.sh --prefix=/opt/xorg

dediğimde:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:38: installing './compile'
configure.ac:37: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if gcc supports -Werror=unknown-warning-option... no
checking if gcc supports -Werror=unused-command-line-argument... no
checking if gcc supports -Wall... yes
checking if gcc supports -Wpointer-arith... yes
checking if gcc supports -Wmissing-declarations... yes
checking if gcc supports -Wformat=2... yes
checking if gcc supports -Wstrict-prototypes... yes
checking if gcc supports -Wmissing-prototypes... yes
checking if gcc supports -Wnested-externs... yes
checking if gcc supports -Wbad-function-cast... yes
checking if gcc supports -Wold-style-definition... yes
checking if gcc supports -Wdeclaration-after-statement... yes
checking if gcc supports -Wunused... yes
checking if gcc supports -Wuninitialized... yes
checking if gcc supports -Wshadow... yes
checking if gcc supports -Wmissing-noreturn... yes
checking if gcc supports -Wmissing-format-attribute... yes
checking if gcc supports -Wredundant-decls... yes
checking if gcc supports -Wlogical-op... yes
checking if gcc supports -Werror=implicit... yes
checking if gcc supports -Werror=nonnull... yes
checking if gcc supports -Werror=init-self... yes
checking if gcc supports -Werror=main... yes
checking if gcc supports -Werror=missing-braces... yes
checking if gcc supports -Werror=sequence-point... yes
checking if gcc supports -Werror=return-type... yes
checking if gcc supports -Werror=trigraphs... yes
checking if gcc supports -Werror=array-bounds... yes
checking if gcc supports -Werror=write-strings... yes
checking if gcc supports -Werror=address... yes
checking if gcc supports -Werror=int-to-pointer-cast... yes
checking if gcc supports -Werror=pointer-to-int-cast... yes
checking if gcc supports -pedantic... yes
checking if gcc supports -Werror... yes
checking if gcc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-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 ar... ar
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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for LIBDRM... no
configure: error: Package requirements (libdrm >= 2.4.78) were not met:

Requested 'libdrm >= 2.4.78' but version of libdrm is 2.4.76

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBDRM_CFLAGS
and LIBDRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Şeklinde hata vermeye devam ediyor maalesef.
"People said I should accept the world. Bullshit! I don't accept the world." ― rms