gfitch@jumpgate ~/X11-drm/drm $ ./autogen.sh --prefix=$(pkg-config --variable=prefix libdrm) --libdir=$(pkg-config --variable=libdir libdrm) --includedir=$(pkg-config --variable=includedir libdrm) autoreconf-2.63: Entering directory `.' autoreconf-2.63: configure.ac: not using Gettext autoreconf-2.63: running: aclocal autoreconf-2.63: configure.ac: tracing autoreconf-2.63: running: libtoolize --copy libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-2.63: running: /usr/bin/autoconf-2.63 autoreconf-2.63: running: /usr/bin/autoheader-2.63 autoreconf-2.63: running: automake --add-missing --copy --no-force autoreconf-2.63: Leaving directory `.' configure: WARNING: unrecognized options: --enable-maintainer-mode 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 build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 dependency style of gcc... gcc3 checking for a sed that does not truncate output... /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/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/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 for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -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 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/x86_64-pc-linux-gnu/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 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 dependency style of gcc... (cached) gcc3 checking for ANSI C header files... (cached) 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 pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PTHREADSTUBS... 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 -Wunsafe-loop-optimizations... yes checking whether gcc supports -Wdeclaration-after-statement... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wno-missing-field-initializers... 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 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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline configure: creating ./config.status config.status: creating Makefile config.status: creating libdrm/Makefile config.status: creating libdrm/intel/Makefile config.status: creating shared-core/Makefile config.status: creating tests/Makefile config.status: creating tests/modeprint/Makefile config.status: creating tests/modetest/Makefile config.status: creating libdrm.pc config.status: creating libdrm/config.h config.status: libdrm/config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --enable-maintainer-mode gfitch@jumpgate ~/X11-drm/drm $ make Making all in libdrm make[1]: Entering directory `/home/gfitch/X11-drm/drm/libdrm' make all-recursive make[2]: Entering directory `/home/gfitch/X11-drm/drm/libdrm' Making all in . make[3]: Entering directory `/home/gfitch/X11-drm/drm/libdrm' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drm.lo -MD -MP -MF .deps/xf86drm.Tpo -c -o xf86drm.lo xf86drm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drm.lo -MD -MP -MF .deps/xf86drm.Tpo -c xf86drm.c -fPIC -DPIC -o .libs/xf86drm.o xf86drm.c: In function ‘drmOpenDevice’: xf86drm.c:308: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result xf86drm.c:321: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result xf86drm.c:364: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result xf86drm.c: In function ‘drmAddMap’: xf86drm.c:934: warning: cast from pointer to integer of different size xf86drm.c: In function ‘drmRmMap’: xf86drm.c:942: warning: cast to pointer from integer of different size xf86drm.c: In function ‘drmAddContextPrivateMapping’: xf86drm.c:2058: warning: cast to pointer from integer of different size xf86drm.c: In function ‘drmGetContextPrivateMapping’: xf86drm.c:2075: warning: cast from pointer to integer of different size mv -f .deps/xf86drm.Tpo .deps/xf86drm.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmHash.lo -MD -MP -MF .deps/xf86drmHash.Tpo -c -o xf86drmHash.lo xf86drmHash.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmHash.lo -MD -MP -MF .deps/xf86drmHash.Tpo -c xf86drmHash.c -fPIC -DPIC -o .libs/xf86drmHash.o mv -f .deps/xf86drmHash.Tpo .deps/xf86drmHash.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmRandom.lo -MD -MP -MF .deps/xf86drmRandom.Tpo -c -o xf86drmRandom.lo xf86drmRandom.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmRandom.lo -MD -MP -MF .deps/xf86drmRandom.Tpo -c xf86drmRandom.c -fPIC -DPIC -o .libs/xf86drmRandom.o mv -f .deps/xf86drmRandom.Tpo .deps/xf86drmRandom.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmSL.lo -MD -MP -MF .deps/xf86drmSL.Tpo -c -o xf86drmSL.lo xf86drmSL.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmSL.lo -MD -MP -MF .deps/xf86drmSL.Tpo -c xf86drmSL.c -fPIC -DPIC -o .libs/xf86drmSL.o mv -f .deps/xf86drmSL.Tpo .deps/xf86drmSL.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmMode.lo -MD -MP -MF .deps/xf86drmMode.Tpo -c -o xf86drmMode.lo xf86drmMode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT xf86drmMode.lo -MD -MP -MF .deps/xf86drmMode.Tpo -c xf86drmMode.c -fPIC -DPIC -o .libs/xf86drmMode.o mv -f .deps/xf86drmMode.Tpo .deps/xf86drmMode.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -I../shared-core -g -O2 -version-number 2:4:0 -no-undefined -o libdrm.la -rpath /usr/lib64 xf86drm.lo xf86drmHash.lo xf86drmRandom.lo xf86drmSL.lo xf86drmMode.lo libtool: link: gcc -shared .libs/xf86drm.o .libs/xf86drmHash.o .libs/xf86drmRandom.o .libs/xf86drmSL.o .libs/xf86drmMode.o -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.4.0 libtool: link: (cd ".libs" && rm -f "libdrm.so.2" && ln -s "libdrm.so.2.4.0" "libdrm.so.2") libtool: link: (cd ".libs" && rm -f "libdrm.so" && ln -s "libdrm.so.2.4.0" "libdrm.so") libtool: link: ( cd ".libs" && rm -f "libdrm.la" && ln -s "../libdrm.la" "libdrm.la" ) make[3]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm' Making all in intel make[3]: Entering directory `/home/gfitch/X11-drm/drm/libdrm/intel' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT intel_bufmgr.lo -MD -MP -MF .deps/intel_bufmgr.Tpo -c -o intel_bufmgr.lo intel_bufmgr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT intel_bufmgr.lo -MD -MP -MF .deps/intel_bufmgr.Tpo -c intel_bufmgr.c -fPIC -DPIC -o .libs/intel_bufmgr.o mv -f .deps/intel_bufmgr.Tpo .deps/intel_bufmgr.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT intel_bufmgr_fake.lo -MD -MP -MF .deps/intel_bufmgr_fake.Tpo -c -o intel_bufmgr_fake.lo intel_bufmgr_fake.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT intel_bufmgr_fake.lo -MD -MP -MF .deps/intel_bufmgr_fake.Tpo -c intel_bufmgr_fake.c -fPIC -DPIC -o .libs/intel_bufmgr_fake.o intel_bufmgr_fake.c: In function ‘_fence_wait_internal’: intel_bufmgr_fake.c:290: warning: ‘iw’ may be used uninitialized in this function mv -f .deps/intel_bufmgr_fake.Tpo .deps/intel_bufmgr_fake.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT intel_bufmgr_gem.lo -MD -MP -MF .deps/intel_bufmgr_gem.Tpo -c -o intel_bufmgr_gem.lo intel_bufmgr_gem.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT intel_bufmgr_gem.lo -MD -MP -MF .deps/intel_bufmgr_gem.Tpo -c intel_bufmgr_gem.c -fPIC -DPIC -o .libs/intel_bufmgr_gem.o mv -f .deps/intel_bufmgr_gem.Tpo .deps/intel_bufmgr_gem.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT mm.lo -MD -MP -MF .deps/mm.Tpo -c -o mm.lo mm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libdrm -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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -MT mm.lo -MD -MP -MF .deps/mm.Tpo -c mm.c -fPIC -DPIC -o .libs/mm.o mv -f .deps/mm.Tpo .deps/mm.Plo /bin/sh ../../libtool --tag=CC --mode=link 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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -version-number 1:0:0 -no-undefined -o libdrm_intel.la -rpath /usr/lib64 intel_bufmgr.lo intel_bufmgr_fake.lo intel_bufmgr_gem.lo mm.lo ../libdrm.la libtool: link: gcc -shared .libs/intel_bufmgr.o .libs/intel_bufmgr_fake.o .libs/intel_bufmgr_gem.o .libs/mm.o -Wl,-rpath -Wl,/home/gfitch/X11-drm/drm/libdrm/.libs ../.libs/libdrm.so -Wl,-soname -Wl,libdrm_intel.so.1 -o .libs/libdrm_intel.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libdrm_intel.so.1" && ln -s "libdrm_intel.so.1.0.0" "libdrm_intel.so.1") libtool: link: (cd ".libs" && rm -f "libdrm_intel.so" && ln -s "libdrm_intel.so.1.0.0" "libdrm_intel.so") libtool: link: ( cd ".libs" && rm -f "libdrm_intel.la" && ln -s "../libdrm_intel.la" "libdrm_intel.la" ) make[3]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm/intel' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm' make[1]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm' Making all in shared-core make[1]: Entering directory `/home/gfitch/X11-drm/drm/shared-core' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gfitch/X11-drm/drm/shared-core' Making all in tests make[1]: Entering directory `/home/gfitch/X11-drm/drm/tests' Making all in modeprint make[2]: Entering directory `/home/gfitch/X11-drm/drm/tests/modeprint' gcc -DHAVE_CONFIG_H -I. -I../../libdrm -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -g -O2 -MT modeprint.o -MD -MP -MF .deps/modeprint.Tpo -c -o modeprint.o modeprint.c modeprint.c: In function ‘printProperty’: modeprint.c:104: warning: format ‘%lld’ expects type ‘long long int’, but argument 2 has type ‘uint64_t’ modeprint.c:119: warning: format ‘%lld’ expects type ‘long long int’, but argument 2 has type ‘uint64_t’ modeprint.c:127: warning: format ‘%lld’ expects type ‘long long int’, but argument 2 has type ‘uint64_t’ modeprint.c:135: warning: format ‘%lld’ expects type ‘long long int’, but argument 2 has type ‘uint64_t’ mv -f .deps/modeprint.Tpo .deps/modeprint.Po /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -g -O2 -o modeprint modeprint.o ../../libdrm/libdrm.la ../../libdrm/intel/libdrm_intel.la libtool: link: gcc -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -g -O2 -o .libs/modeprint modeprint.o ../../libdrm/.libs/libdrm.so ../../libdrm/intel/.libs/libdrm_intel.so /home/gfitch/X11-drm/drm/libdrm/.libs/libdrm.so make[2]: Leaving directory `/home/gfitch/X11-drm/drm/tests/modeprint' Making all in modetest make[2]: Entering directory `/home/gfitch/X11-drm/drm/tests/modetest' gcc -DHAVE_CONFIG_H -I. -I../../libdrm -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -g -O2 -MT modetest.o -MD -MP -MF .deps/modetest.Tpo -c -o modetest.o modetest.c modetest.c: In function ‘dump_framebuffers’: modetest.c:231: warning: too few arguments for format mv -f .deps/modetest.Tpo .deps/modetest.Po /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -g -O2 -o modetest modetest.o ../../libdrm/libdrm.la ../../libdrm/intel/libdrm_intel.la libtool: link: gcc -I../../shared-core -I../../libdrm/intel/ -I../../libdrm -g -O2 -o .libs/modetest modetest.o ../../libdrm/.libs/libdrm.so ../../libdrm/intel/.libs/libdrm_intel.so /home/gfitch/X11-drm/drm/libdrm/.libs/libdrm.so make[2]: Leaving directory `/home/gfitch/X11-drm/drm/tests/modetest' make[2]: Entering directory `/home/gfitch/X11-drm/drm/tests' gcc -DHAVE_CONFIG_H -I. -I../libdrm -I ../shared-core -I ../libdrm -g -O2 -MT dristat.o -MD -MP -MF .deps/dristat.Tpo -c -o dristat.o dristat.c In file included from dristat.c:36: ../libdrm/xf86drm.c: In function ‘drmOpenDevice’: ../libdrm/xf86drm.c:308: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result ../libdrm/xf86drm.c:321: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result ../libdrm/xf86drm.c:364: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result ../libdrm/xf86drm.c: In function ‘drmAddMap’: ../libdrm/xf86drm.c:934: warning: cast from pointer to integer of different size ../libdrm/xf86drm.c: In function ‘drmRmMap’: ../libdrm/xf86drm.c:942: warning: cast to pointer from integer of different size ../libdrm/xf86drm.c: In function ‘drmAddContextPrivateMapping’: ../libdrm/xf86drm.c:2058: warning: cast to pointer from integer of different size ../libdrm/xf86drm.c: In function ‘drmGetContextPrivateMapping’: ../libdrm/xf86drm.c:2075: warning: cast from pointer to integer of different size dristat.c: In function ‘getvm’: dristat.c:111: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘drm_handle_t’ dristat.c:111: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 7 has type ‘drm_handle_t’ dristat.c: In function ‘getclients’: dristat.c:136: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result mv -f .deps/dristat.Tpo .deps/dristat.Po /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../libdrm -I ../shared-core -I ../libdrm -g -O2 -MT drmtest.lo -MD -MP -MF .deps/drmtest.Tpo -c -o drmtest.lo drmtest.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../libdrm -I ../shared-core -I ../libdrm -g -O2 -MT drmtest.lo -MD -MP -MF .deps/drmtest.Tpo -c drmtest.c -fPIC -DPIC -o .libs/drmtest.o mv -f .deps/drmtest.Tpo .deps/drmtest.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -I ../shared-core -I ../libdrm -g -O2 -o libdrmtest.la drmtest.lo ../libdrm/libdrm.la libtool: link: ar cru .libs/libdrmtest.a .libs/drmtest.o libtool: link: ranlib .libs/libdrmtest.a libtool: link: ( cd ".libs" && rm -f "libdrmtest.la" && ln -s "../libdrmtest.la" "libdrmtest.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -I ../shared-core -I ../libdrm -g -O2 -o dristat dristat.o libdrmtest.la libtool: link: gcc -I ../shared-core -I ../libdrm -g -O2 -o .libs/dristat dristat.o ./.libs/libdrmtest.a /home/gfitch/X11-drm/drm/libdrm/.libs/libdrm.so gcc -DHAVE_CONFIG_H -I. -I../libdrm -I ../shared-core -I ../libdrm -g -O2 -MT drmstat.o -MD -MP -MF .deps/drmstat.Tpo -c -o drmstat.o drmstat.c drmstat.c: In function ‘main’: drmstat.c:281: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘drm_handle_t’ drmstat.c:118: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result drmstat.c:222: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:238: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:253: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:270: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:283: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:297: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:301: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:316: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:319: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:322: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result drmstat.c:340: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result mv -f .deps/drmstat.Tpo .deps/drmstat.Po /bin/sh ../libtool --tag=CC --mode=link gcc -I ../shared-core -I ../libdrm -g -O2 -o drmstat drmstat.o libdrmtest.la libtool: link: gcc -I ../shared-core -I ../libdrm -g -O2 -o .libs/drmstat drmstat.o ./.libs/libdrmtest.a /home/gfitch/X11-drm/drm/libdrm/.libs/libdrm.so make[2]: Leaving directory `/home/gfitch/X11-drm/drm/tests' make[1]: Leaving directory `/home/gfitch/X11-drm/drm/tests' make[1]: Entering directory `/home/gfitch/X11-drm/drm' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/gfitch/X11-drm/drm' gfitch@jumpgate ~/X11-drm/drm $ su pam_mount password: jumpgate drm # make install Making install in libdrm make[1]: Entering directory `/home/gfitch/X11-drm/drm/libdrm' Making install in . make[2]: Entering directory `/home/gfitch/X11-drm/drm/libdrm' make[3]: Entering directory `/home/gfitch/X11-drm/drm/libdrm' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/lib64" || /bin/mkdir -p "/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libdrm.la' '/usr/lib64/libdrm.la' libtool: install: /usr/bin/install -c .libs/libdrm.so.2.4.0 /usr/lib64/libdrm.so.2.4.0 libtool: install: (cd /usr/lib64 && { 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/lib64 && { 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/lib64/libdrm.la libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/lib64 ---------------------------------------------------------------------- Libraries have been installed in: /usr/lib64 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. ---------------------------------------------------------------------- test -z "/usr/include" || /bin/mkdir -p "/usr/include" /usr/bin/install -c -m 644 'xf86drm.h' '/usr/include/xf86drm.h' /usr/bin/install -c -m 644 'xf86drmMode.h' '/usr/include/xf86drmMode.h' make[3]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm' Making install in intel make[2]: Entering directory `/home/gfitch/X11-drm/drm/libdrm/intel' make[3]: Entering directory `/home/gfitch/X11-drm/drm/libdrm/intel' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/lib64" || /bin/mkdir -p "/usr/lib64" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'libdrm_intel.la' '/usr/lib64/libdrm_intel.la' libtool: install: warning: relinking `libdrm_intel.la' libtool: install: (cd /home/gfitch/X11-drm/drm/libdrm/intel; /bin/sh /home/gfitch/X11-drm/drm/libtool --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 -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -version-number 1:0:0 -no-undefined -o libdrm_intel.la -rpath /usr/lib64 intel_bufmgr.lo intel_bufmgr_fake.lo intel_bufmgr_gem.lo mm.lo ../libdrm.la ) libtool: relink: gcc -shared .libs/intel_bufmgr.o .libs/intel_bufmgr_fake.o .libs/intel_bufmgr_gem.o .libs/mm.o -L/usr/lib64 -ldrm -Wl,-soname -Wl,libdrm_intel.so.1 -o .libs/libdrm_intel.so.1.0.0 libtool: install: /usr/bin/install -c .libs/libdrm_intel.so.1.0.0T /usr/lib64/libdrm_intel.so.1.0.0 libtool: install: (cd /usr/lib64 && { 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/lib64 && { 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/lib64/libdrm_intel.la libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/lib64 ---------------------------------------------------------------------- Libraries have been installed in: /usr/lib64 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. ---------------------------------------------------------------------- test -z "/usr/include" || /bin/mkdir -p "/usr/include" /usr/bin/install -c -m 644 'intel_bufmgr.h' '/usr/include/intel_bufmgr.h' make[3]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm/intel' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm/intel' make[1]: Leaving directory `/home/gfitch/X11-drm/drm/libdrm' Making install in shared-core make[1]: Entering directory `/home/gfitch/X11-drm/drm/shared-core' make[2]: Entering directory `/home/gfitch/X11-drm/drm/shared-core' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/include/drm" || /bin/mkdir -p "/usr/include/drm" /usr/bin/install -c -m 644 'drm.h' '/usr/include/drm/drm.h' /usr/bin/install -c -m 644 'drm_mode.h' '/usr/include/drm/drm_mode.h' /usr/bin/install -c -m 644 'drm_sarea.h' '/usr/include/drm/drm_sarea.h' /usr/bin/install -c -m 644 'i915_drm.h' '/usr/include/drm/i915_drm.h' /usr/bin/install -c -m 644 'mach64_drm.h' '/usr/include/drm/mach64_drm.h' /usr/bin/install -c -m 644 'mga_drm.h' '/usr/include/drm/mga_drm.h' /usr/bin/install -c -m 644 'nouveau_drm.h' '/usr/include/drm/nouveau_drm.h' /usr/bin/install -c -m 644 'r128_drm.h' '/usr/include/drm/r128_drm.h' /usr/bin/install -c -m 644 'radeon_drm.h' '/usr/include/drm/radeon_drm.h' /usr/bin/install -c -m 644 'savage_drm.h' '/usr/include/drm/savage_drm.h' /usr/bin/install -c -m 644 'sis_drm.h' '/usr/include/drm/sis_drm.h' /usr/bin/install -c -m 644 'via_drm.h' '/usr/include/drm/via_drm.h' /usr/bin/install -c -m 644 'r300_reg.h' '/usr/include/drm/r300_reg.h' /usr/bin/install -c -m 644 'via_3d_reg.h' '/usr/include/drm/via_3d_reg.h' /usr/bin/install -c -m 644 'xgi_drm.h' '/usr/include/drm/xgi_drm.h' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/shared-core' make[1]: Leaving directory `/home/gfitch/X11-drm/drm/shared-core' Making install in tests make[1]: Entering directory `/home/gfitch/X11-drm/drm/tests' Making install in modeprint make[2]: Entering directory `/home/gfitch/X11-drm/drm/tests/modeprint' make[3]: Entering directory `/home/gfitch/X11-drm/drm/tests/modeprint' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/gfitch/X11-drm/drm/tests/modeprint' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/tests/modeprint' Making install in modetest make[2]: Entering directory `/home/gfitch/X11-drm/drm/tests/modetest' make[3]: Entering directory `/home/gfitch/X11-drm/drm/tests/modetest' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/gfitch/X11-drm/drm/tests/modetest' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/tests/modetest' make[2]: Entering directory `/home/gfitch/X11-drm/drm/tests' make[3]: Entering directory `/home/gfitch/X11-drm/drm/tests' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/gfitch/X11-drm/drm/tests' make[2]: Leaving directory `/home/gfitch/X11-drm/drm/tests' make[1]: Leaving directory `/home/gfitch/X11-drm/drm/tests' make[1]: Entering directory `/home/gfitch/X11-drm/drm' make[2]: Entering directory `/home/gfitch/X11-drm/drm' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/lib64/pkgconfig" || /bin/mkdir -p "/usr/lib64/pkgconfig" /usr/bin/install -c -m 644 'libdrm.pc' '/usr/lib64/pkgconfig/libdrm.pc' make[2]: Leaving directory `/home/gfitch/X11-drm/drm' make[1]: Leaving directory `/home/gfitch/X11-drm/drm' jumpgate drm # exit exit gfitch@jumpgate ~/X11-drm/drm $ cd linux-core gfitch@jumpgate ~/X11-drm/drm/linux-core $ ls Config.in drm_drv.c drm_regman.c i915_drv.h mga_drv.c nouveau_state.c nv_drv.c radeon_mem.c via_fence.c Doxyfile drm_fence.c drm_sarea.h i915_execbuf.c mga_drv.h nouveau_swmthd.c nv_drv.h radeon_microcode.h via_irq.c Kconfig drm_fops.c drm_scatter.c i915_fence.c mga_ioc32.c nouveau_swmthd.h r128_cce.c radeon_state.c via_map.c Makefile drm_gem.c drm_sman.c i915_gem.c mga_irq.c nv04_fb.c r128_drm.h savage_bci.c via_mm.c Makefile.kernel drm_hashtab.c drm_sman.h i915_gem_debug.c mga_state.c nv04_fifo.c r128_drv.c savage_drm.h via_verifier.c README.drm drm_hashtab.h drm_stub.c i915_gem_proc.c mga_ucode.h nv04_graph.c r128_drv.h savage_drv.c via_verifier.h ati_pcigart.c drm_internal.h drm_sysfs.c i915_gem_tiling.c mga_warp.c nv04_instmem.c r128_ioc32.c savage_drv.h via_video.c drm-gem.txt drm_ioc32.c drm_ttm.c i915_ioc32.c nouveau_bo.c nv04_mc.c r128_irq.c savage_state.c xgi_cmdlist.c drm.h drm_ioctl.c drm_vm.c i915_irq.c nouveau_dma.c nv04_timer.c r128_state.c sis_drm.h xgi_cmdlist.h drmP.h drm_irq.c drm_vm_nopage_compat.c i915_mem.c nouveau_dma.h nv10_fb.c r300_cmdbuf.c sis_drv.c xgi_drm.h drm_agpsupport.c drm_lock.c ffb_context.c i915_opregion.c nouveau_drm.h nv10_fifo.c r300_reg.h sis_drv.h xgi_drv.c drm_auth.c drm_memory.c ffb_drv.c i915_suspend.c nouveau_drv.c nv10_graph.c r600_blit.c sis_mm.c xgi_drv.h drm_bo.c drm_memory.h ffb_drv.h imagine_drv.c nouveau_drv.h nv20_graph.c r600_cmdbuf.c tdfx_drv.c xgi_fb.c drm_bo_lock.c drm_memory_debug.c i810_dma.c linux nouveau_fence.c nv40_fb.c r600_cp.c tdfx_drv.h xgi_fence.c drm_bo_move.c drm_memory_debug.h i810_drm.h mach64_dma.c nouveau_fifo.c nv40_fifo.c r600_microcode.h via_3d_reg.h xgi_ioc32.c drm_bufs.c drm_mm.c i810_drv.c mach64_drm.h nouveau_ioc32.c nv40_graph.c radeon_cp.c via_buffer.c xgi_misc.c drm_compat.c drm_mode.h i810_drv.h mach64_drv.c nouveau_irq.c nv40_mc.c radeon_cs.c via_dma.c xgi_misc.h drm_compat.h drm_object.c i915_buffer.c mach64_drv.h nouveau_mem.c nv50_fifo.c radeon_drm.h via_dmablit.c xgi_pcie.c drm_context.c drm_objects.h i915_compat.c mach64_irq.c nouveau_notifier.c nv50_graph.c radeon_drv.c via_dmablit.h xgi_regs.h drm_core.h drm_os_linux.h i915_dma.c mach64_state.c nouveau_object.c nv50_grctx.h radeon_drv.h via_drm.h drm_dma.c drm_pci.c i915_drm.h mga_dma.c nouveau_reg.h nv50_instmem.c radeon_ioc32.c via_drv.c drm_drawable.c drm_proc.c i915_drv.c mga_drm.h nouveau_sgdma.c nv50_mc.c radeon_irq.c via_drv.h gfitch@jumpgate ~/X11-drm/drm/linux-core $ make DRM_MODULES="r600" sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt make -C /lib/modules/2.6.32-gentoo/source SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo' CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_auth.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_bufs.o /home/gfitch/X11-drm/drm/linux-core/drm_bufs.c: In function ‘drm_rmmap_locked’: /home/gfitch/X11-drm/drm/linux-core/drm_bufs.c:402: warning: enumeration value ‘_DRM_GEM’ not handled in switch CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_context.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_dma.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_drawable.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_drv.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_fops.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_ioctl.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_irq.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_lock.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_memory.o /home/gfitch/X11-drm/drm/linux-core/drm_memory.c: In function ‘agp_remap’: /home/gfitch/X11-drm/drm/linux-core/drm_memory.c:290: warning: assignment from incompatible pointer type CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_proc.o /home/gfitch/X11-drm/drm/linux-core/drm_proc.c: In function ‘drm_gem_one_name_info’: /home/gfitch/X11-drm/drm/linux-core/drm_proc.c:602: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ /home/gfitch/X11-drm/drm/linux-core/drm_proc.c:610: warning: format ‘%9d’ expects type ‘int’, but argument 4 has type ‘size_t’ /home/gfitch/X11-drm/drm/linux-core/drm_proc.c: In function ‘drm__vma_info’: /home/gfitch/X11-drm/drm/linux-core/drm_proc.c:691: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’ CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_stub.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_vm.o /home/gfitch/X11-drm/drm/linux-core/drm_vm.c: In function ‘drm_vm_shm_close’: /home/gfitch/X11-drm/drm/linux-core/drm_vm.c:261: warning: enumeration value ‘_DRM_GEM’ not handled in switch CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_sysfs.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_pci.o CC [M] /home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.o /home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_bind_pages’: /home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.c:520: error: implicit declaration of function ‘phys_to_gart’ /home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.c:520: warning: assignment makes pointer from integer without a cast /home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_populate’: /home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.c:589: warning: assignment makes pointer from integer without a cast make[2]: *** [/home/gfitch/X11-drm/drm/linux-core/drm_agpsupport.o] Error 1 make[1]: *** [_module_/home/gfitch/X11-drm/drm/linux-core] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo' make: *** [modules] Error 2 gfitch@jumpgate ~/X11-drm/drm/linux-core $