purgen@purgen-K50C ~/xf86-video-sis $ autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
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: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:40: installing './compile'
configure.ac:40: installing './config.guess'
configure.ac:40: installing './config.sub'
configure.ac:34: installing './install-sh'
configure.ac:34: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
purgen@purgen-K50C ~/xf86-video-sis $ automake
purgen@purgen-K50C ~/xf86-video-sis $ ./configure --prefix=/usr --disable-static
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 gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -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-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports-Wall... yes
checking if gcc -std=gnu99 supports-Wpointer-arith... yes
checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if gcc -std=gnu99 supports-Wformat=2... yes
checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports-Wnested-externs... yes
checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if gcc -std=gnu99 supports-Wold-style-definition... yes
checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports-Wunused... yes
checking if gcc -std=gnu99 supports-Wuninitialized... yes
checking if gcc -std=gnu99 supports-Wshadow... yes
checking if gcc -std=gnu99 supports-Wcast-qual... yes
checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports-Wredundant-decls... yes
checking if gcc -std=gnu99 supports-Werror=implicit... yes
checking if gcc -std=gnu99 supports-Werror=nonnull... yes
checking if gcc -std=gnu99 supports-Werror=init-self... yes
checking if gcc -std=gnu99 supports-Werror=main... yes
checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if gcc -std=gnu99 supports-Werror=return-type... yes
checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if gcc -std=gnu99 supports-Werror=write-strings... yes
checking if gcc -std=gnu99 supports-Werror=address... yes
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports-pedantic... yes
checking if gcc -std=gnu99 supports-Werror... yes
checking if gcc -std=gnu99 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 -std=gnu99... /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 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 -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 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 XINERAMA is defined... yes
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 XORG... yes
checking for XEXT... yes
checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for DRI... yes
checking xaa.h usability... no
checking xaa.h presence... no
checking for xaa.h... no
checking whether to include XAA support... no
checking whether XSERVER_LIBPCIACCESS is declared... yes
checking for PCIACCESS... 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 man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
purgen@purgen-K50C ~/xf86-video-sis $ su
Пароль:
purgen-K50C xf86-video-sis # make
make all-recursive
make[1]: Вход в каталог `/home/purgen/xf86-video-sis'
Making all in src
make[2]: Вход в каталог `/home/purgen/xf86-video-sis/src'
CC init301.lo
CC init.lo
CC initextx.lo
initextx.c: In function 'SiSBuildBuiltInModeList':
initextx.c:256:11: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [enabled by default]
pSiS->SiS_Pr->SiS_RefIndex[i].YRes);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from sis.h:36,
from initextx.h:38,
from initextx.c:36:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'const char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
initextx.c:405:5: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [enabled by default]
strcpy(current->name, SiS_PlasmaMode[l].name);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from sis.h:36,
from initextx.h:38,
from initextx.c:36:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected 'char * restrict' but argument is of type 'const char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
initextx.c:489:5: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [enabled by default]
pSiS->SiS_Pr->CP_VDisplay[i]);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from sis.h:36,
from initextx.h:38,
from initextx.c:36:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'const char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
CC sis300_accel.lo
CC sis310_accel.lo
CC sis6326_video.lo
CC sis_accel.lo
CC sis_cursor.lo
CC sis_dac.lo
CC sis_dga.lo
CC sis_driver.lo
sis_driver.c: In function 'SiSGenerateModeListFromMetaModes':
sis_driver.c:1553:18: warning: passing argument 1 of 'SiSGetModeFromName' discards 'const' qualifier from pointer target type [enabled by default]
mode2 = SiSGetModeFromName(mode1->name, j);
^
sis_driver.c:1308:1: note: expected 'char *' but argument is of type 'const char *'
SiSGetModeFromName(char* str, DisplayModePtr i)
^
sis_driver.c: In function 'SISPreInit':
sis_driver.c:6068:7: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [enabled by default]
strcpy(newm->name, tempm->name);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from sis.h:36,
from sis_driver.c:50:
/usr/include/x86_64-linux-gnu/bits/string3.h:102:1: note: expected 'char * restrict' but argument is of type 'const char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
CC sis_memcpy.lo
CC sis_opt.lo
CC sis_setup.lo
CC sis_shadow.lo
CC sis_utility.lo
sis_utility.c: In function 'SiSHandleSiSDirectCommand':
sis_utility.c:1613:13: warning: passing argument 2 of 'sisutil_prepare_string' discards 'const' qualifier from pointer target type [enabled by default]
sisutil_prepare_string(sdcbuf, mypScrn->monitor->id);
^
sis_utility.c:853:1: note: expected 'char *' but argument is of type 'const char *'
sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring)
^
sis_utility.c:1636:16: warning: passing argument 2 of 'sisutil_prepare_string' discards 'const' qualifier from pointer target type [enabled by default]
sisutil_prepare_string(sdcbuf, pSiSEnt->pScrn_1->monitor->id);
^
sis_utility.c:853:1: note: expected 'char *' but argument is of type 'const char *'
sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring)
^
CC sis_vb.lo
CC sis_vga.lo
CC sis_video.lo
CC sis_dri.lo
CCLD sis_drv.la
make[2]: Выход из каталога `/home/purgen/xf86-video-sis/src'
Making all in man
make[2]: Вход в каталог `/home/purgen/xf86-video-sis/man'
GEN sis.4
make[2]: Выход из каталога `/home/purgen/xf86-video-sis/man'
make[2]: Вход в каталог `/home/purgen/xf86-video-sis'
make[2]: Выход из каталога `/home/purgen/xf86-video-sis'
make[1]: Выход из каталога `/home/purgen/xf86-video-sis'
purgen-K50C xf86-video-sis # sudo make install
Making install in src
make[1]: Вход в каталог `/home/purgen/xf86-video-sis/src'
make[2]: Вход в каталог `/home/purgen/xf86-video-sis/src'
make[2]: Цель `install-exec-am' не требует выполнения команд.
/bin/mkdir -p '/usr/lib/xorg/modules/drivers'
/bin/bash ../libtool --mode=install /usr/bin/install -c sis_drv.la '/usr/lib/xorg/modules/drivers'
libtool: install: /usr/bin/install -c .libs/sis_drv.so /usr/lib/xorg/modules/drivers/sis_drv.so
libtool: install: /usr/bin/install -c .libs/sis_drv.lai /usr/lib/xorg/modules/drivers/sis_drv.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib/xorg/modules/drivers
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/xorg/modules/drivers
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.
----------------------------------------------------------------------
make[2]: Выход из каталога `/home/purgen/xf86-video-sis/src'
make[1]: Выход из каталога `/home/purgen/xf86-video-sis/src'
Making install in man
make[1]: Вход в каталог `/home/purgen/xf86-video-sis/man'
make[2]: Вход в каталог `/home/purgen/xf86-video-sis/man'
make[2]: Цель `install-exec-am' не требует выполнения команд.
/bin/mkdir -p '/usr/share/man/man4'
/usr/bin/install -c -m 644 sis.4 '/usr/share/man/man4'
make[2]: Выход из каталога `/home/purgen/xf86-video-sis/man'
make[1]: Выход из каталога `/home/purgen/xf86-video-sis/man'
make[1]: Вход в каталог `/home/purgen/xf86-video-sis'
make[2]: Вход в каталог `/home/purgen/xf86-video-sis'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Выход из каталога `/home/purgen/xf86-video-sis'
make[1]: Выход из каталога `/home/purgen/xf86-video-sis'
purgen-K50C xf86-video-sis #