xephyr with gl accelerated komplilierung scheitert.
Hallo zusammen, ich war jetzt denk ich mal 10 Jahre hier gar nicht mehr aktiv und bin auch ein bisschen aus der Übung.
Mein Anliegen: Ich versuche xephyr mit glx unterstüztung zu komplilieren. von autogen.sh bis zu configure läuft soweit alles fehlerfrei durch aber ich hänge die Ausgaben trotzdem nochmal mit an. Am make scheitert es dann, ich weiss nicht wo ich da ansetzen kann. Meine Vermutung ist da die source 10 Jahre alt ist , irgendeine aktualisierung im Compilier da ne Rolle spielt und die Source angepasst werden muss.
Distro ist Mageia 5
Source https://github.com/fenghaitao/xserve...lerated-xephyr
Code:
[root@workstation xserver-with-gl-accelerated-xephyr-master]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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... /usr/bin/grep
checking for egrep... /usr/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... /usr/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 -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 -Wlogical-op... 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 for doxygen... no
configure: WARNING: doxygen not found - documentation targets will be skipped
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/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 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... dlltool
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 mt... no
checking if : 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... no
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 bash... /usr/bin/bash
checking if dolt supports this host... yes, replacing libtool
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for dtrace... not_found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking size of unsigned long... 8
checking for pid_t... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for vprintf... yes
checking for _doprnt... no
checking for geteuid... yes
checking for getuid... yes
checking for link... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for getopt... yes
checking for getopt_long... yes
checking for vsnprintf... yes
checking for walkcontext... no
checking for backtrace... yes
checking for getisax... no
checking for getzoneid... no
checking for shmctl64... no
checking for strcasestr... yes
checking for ffs... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getdtablesize... yes
checking for getifaddrs... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for strlcat... no
checking for strlcpy... no
checking for mmap... yes
checking for sqrt in -lm... yes
checking for cbrt in -lm... yes
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
checking dbm.h usability... no
checking dbm.h presence... no
checking for dbm.h... no
checking rpcsvc/dbm.h usability... no
checking rpcsvc/dbm.h presence... no
checking for rpcsvc/dbm.h... no
checking linux/agpgart.h usability... yes
checking linux/agpgart.h presence... yes
checking for linux/agpgart.h... yes
checking sys/agpio.h usability... no
checking sys/agpio.h presence... no
checking for sys/agpio.h... no
checking sys/agpgart.h usability... no
checking sys/agpgart.h presence... no
checking for sys/agpgart.h... no
checking linux/apm_bios.h usability... yes
checking linux/apm_bios.h presence... yes
checking for linux/apm_bios.h... yes
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking asm/mtrr.h usability... yes
checking asm/mtrr.h presence... yes
checking for asm/mtrr.h... yes
checking sys/memrange.h usability... no
checking sys/memrange.h presence... no
checking for sys/memrange.h... no
checking machine/mtrr.h usability... no
checking machine/mtrr.h presence... no
checking for machine/mtrr.h... no
checking for sys/linker.h... no
checking for SYSV IPC... yes
checking machine/apmvar.h usability... no
checking machine/apmvar.h presence... no
checking for machine/apmvar.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace in -lc... yes
checking for root directory for font files... /usr/share/fonts/X11
checking for directory for misc files... ${FONTROOTDIR}/misc
checking for directory for OTF files... ${FONTROOTDIR}/OTF
checking for directory for TTF files... ${FONTROOTDIR}/TTF
checking for directory for Type1 files... ${FONTROOTDIR}/Type1
checking for directory for 75dpi files... ${FONTROOTDIR}/75dpi
checking for directory for 100dpi files... ${FONTROOTDIR}/100dpi
checking for ${prefix}/etc/X11/fontpath.d... no
checking for default font path... ${FONTROOTDIR}/misc/,${FONTROOTDIR}/TTF/,${FONTROOTDIR}/OTF/,${FONTROOTDIR}/Type1/,${FONTROOTDIR}/100dpi/,${FONTROOTDIR}/75dpi/
checking to see if we can install the Xorg server as root... yes
checking if Xtrans should support UNIX socket connections... yes
checking if Xtrans should support TCP socket connections... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for getaddrinfo... yes
checking if IPv6 support should be built... yes
checking for struct sockaddr_in.sin_len... no
checking for socklen_t... yes
checking for struct msghdr.msg_control... yes
checking if Xtrans should support os-specific local connections... no
checking for authdes_seccreate... no
checking for authdes_create... yes
checking for library containing getsecretkey... none required
checking if Secure RPC authentication ("SUN-DES-1") should be supported... yes
checking for X.Org SGML entities ... checking for NONE/share/sgml/X11/defs.ent... no
no
checking for ps2pdf... /usr/bin/ps2pdf
checking for linuxdoc... no
checking whether to build documentation... no
checking whether to build pdf documentation... yes
checking for UDEV... yes
checking for DBUS... yes
checking for HAL... no
checking for glibc...... yes
checking for clock_gettime... yes
checking for a useful monotonic clock ...... yes
checking for XLIB... yes
checking for GL... yes
checking for DRIPROTO... yes
checking for DRI... yes
checking for DRI2PROTO... yes
checking for LIBDRM... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcasestr... (cached) yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
checking for GLIB... yes
checking whether the linker supports -wrap... yes
checking for SHA1Init... no
checking for CC_SHA1_Init... no
checking for SHA1Init in -lmd... no
checking for sha1_begin in -lsha1... no
checking for gcry_md_open in -lgcrypt... yes
checking for SHA1_Init in -lcrypto... yes
checking for OPENSSL... yes
checking for SHA1 implementation... libgcrypt
checking for XSERVERCFLAGS... yes
checking for XSERVERLIBS... yes
checking if SVR4 needs to be defined... no
checking whether to build Xvfb DDX... yes
checking for XNESTMODULES... yes
checking whether to build Xnest DDX... yes
checking whether to build Xorg DDX... yes
checking for symbol visibility support... yes
checking for PCIACCESS... yes
checking for pci_system_init_dev_mem... yes
checking for pci_device_enable... yes
checking for pci_device_is_boot_vga... yes
checking for pci_device_vgaarb_init... yes
checking for DGA... yes
checking for DGA... yes
checking for XF86VIDMODE... yes
checking for XF86VIDMODE... yes
checking for XORG_MODULES... yes
checking for perl... /usr/bin/perl
checking whether to build XWin DDX... no
checking dependency style of $(CC)... none
checking for DMXMODULES... no
checking whether to build Xdmx DDX... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glx/Makefile
config.status: creating include/Makefile
config.status: creating composite/Makefile
config.status: creating damageext/Makefile
config.status: creating dbe/Makefile
config.status: creating dix/Makefile
config.status: creating doc/Makefile
config.status: creating fb/Makefile
config.status: creating record/Makefile
config.status: creating config/Makefile
config.status: creating mi/Makefile
config.status: creating miext/Makefile
config.status: creating miext/damage/Makefile
config.status: creating miext/shadow/Makefile
config.status: creating miext/cw/Makefile
config.status: creating miext/rootless/Makefile
config.status: creating os/Makefile
config.status: creating randr/Makefile
config.status: creating render/Makefile
config.status: creating xkb/Makefile
config.status: creating Xext/Makefile
config.status: creating Xi/Makefile
config.status: creating xfixes/Makefile
config.status: creating exa/Makefile
config.status: creating hw/Makefile
config.status: creating hw/xfree86/Makefile
config.status: creating hw/xfree86/common/Makefile
config.status: creating hw/xfree86/common/xf86Build.h
config.status: creating hw/xfree86/ddc/Makefile
config.status: creating hw/xfree86/dixmods/Makefile
config.status: creating hw/xfree86/dixmods/extmod/Makefile
config.status: creating hw/xfree86/doc/Makefile
config.status: creating hw/xfree86/doc/devel/Makefile
config.status: creating hw/xfree86/doc/man/Makefile
config.status: creating hw/xfree86/doc/sgml/Makefile
config.status: creating hw/xfree86/dri/Makefile
config.status: creating hw/xfree86/dri2/Makefile
config.status: creating hw/xfree86/exa/Makefile
config.status: creating hw/xfree86/fbdevhw/Makefile
config.status: creating hw/xfree86/i2c/Makefile
config.status: creating hw/xfree86/int10/Makefile
config.status: creating hw/xfree86/loader/Makefile
config.status: creating hw/xfree86/modes/Makefile
config.status: creating hw/xfree86/os-support/Makefile
config.status: creating hw/xfree86/os-support/bsd/Makefile
config.status: creating hw/xfree86/os-support/bus/Makefile
config.status: creating hw/xfree86/os-support/hurd/Makefile
config.status: creating hw/xfree86/os-support/misc/Makefile
config.status: creating hw/xfree86/os-support/linux/Makefile
config.status: creating hw/xfree86/os-support/sco/Makefile
config.status: creating hw/xfree86/os-support/solaris/Makefile
config.status: creating hw/xfree86/os-support/sysv/Makefile
config.status: creating hw/xfree86/parser/Makefile
config.status: creating hw/xfree86/ramdac/Makefile
config.status: creating hw/xfree86/shadowfb/Makefile
config.status: creating hw/xfree86/vbe/Makefile
config.status: creating hw/xfree86/vgahw/Makefile
config.status: creating hw/xfree86/x86emu/Makefile
config.status: creating hw/xfree86/xaa/Makefile
config.status: creating hw/xfree86/xf8_16bpp/Makefile
config.status: creating hw/xfree86/utils/Makefile
config.status: creating hw/xfree86/utils/cvt/Makefile
config.status: creating hw/xfree86/utils/gtf/Makefile
config.status: creating hw/dmx/config/Makefile
config.status: creating hw/dmx/doc/Makefile
config.status: creating hw/dmx/examples/Makefile
config.status: creating hw/dmx/input/Makefile
config.status: creating hw/dmx/glxProxy/Makefile
config.status: creating hw/dmx/Makefile
config.status: creating hw/vfb/Makefile
config.status: creating hw/xnest/Makefile
config.status: creating hw/xwin/Makefile
config.status: creating hw/xwin/glx/Makefile
config.status: creating hw/xquartz/Makefile
config.status: creating hw/xquartz/GL/Makefile
config.status: creating hw/xquartz/bundle/Makefile
config.status: creating hw/xquartz/doc/Makefile
config.status: creating hw/xquartz/mach-startup/Makefile
config.status: creating hw/xquartz/pbproxy/Makefile
config.status: creating hw/xquartz/xpr/Makefile
config.status: creating hw/kdrive/Makefile
config.status: creating hw/kdrive/ephyr/Makefile
config.status: creating hw/kdrive/fake/Makefile
config.status: creating hw/kdrive/fbdev/Makefile
config.status: creating hw/kdrive/linux/Makefile
config.status: creating hw/kdrive/src/Makefile
config.status: creating test/Makefile
config.status: creating test/xi2/Makefile
config.status: creating xorg-server.pc
config.status: creating include/do-not-use-config.h
config.status: include/do-not-use-config.h is unchanged
config.status: creating include/xorg-server.h
config.status: include/xorg-server.h is unchanged
config.status: creating include/dix-config.h
config.status: include/dix-config.h is unchanged
config.status: creating include/xorg-config.h
config.status: include/xorg-config.h is unchanged
config.status: creating include/xkb-config.h
config.status: include/xkb-config.h is unchanged
config.status: creating include/xwin-config.h
config.status: include/xwin-config.h is unchanged
config.status: creating include/kdrive-config.h
config.status: include/kdrive-config.h is unchanged
config.status: creating include/version-config.h
config.status: include/version-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make
Code:
In file included from ../include/scrnintstr.h:52:0,
from window.c:106:
window.c: In Funktion »CreateRootWindow«:
../include/regionstr.h:136:17: Fehler: Vergleich wird stets als »true« ausgewertet da die Adresse von »box« nie NULL wird [-Werror=address]
if ((_rect) != NULL) \
^
window.c:421:5: Anmerkung: bei Substitution des Makros »REGION_INIT«
REGION_INIT(pScreen, &pWin->clipList, &box, 1);
^
../include/regionstr.h:136:17: Fehler: Vergleich wird stets als »true« ausgewertet da die Adresse von »box« nie NULL wird [-Werror=address]
if ((_rect) != NULL) \
^
window.c:422:5: Anmerkung: bei Substitution des Makros »REGION_INIT«
REGION_INIT(pScreen, &pWin->winSize, &box, 1);
^
../include/regionstr.h:136:17: Fehler: Vergleich wird stets als »true« ausgewertet da die Adresse von »box« nie NULL wird [-Werror=address]
if ((_rect) != NULL) \
^
window.c:423:5: Anmerkung: bei Substitution des Makros »REGION_INIT«
REGION_INIT(pScreen, &pWin->borderSize, &box, 1);
^
../include/regionstr.h:136:17: Fehler: Vergleich wird stets als »true« ausgewertet da die Adresse von »box« nie NULL wird [-Werror=address]
if ((_rect) != NULL) \
^
window.c:424:5: Anmerkung: bei Substitution des Makros »REGION_INIT«
REGION_INIT(pScreen, &pWin->borderClip, &box, 1);
^
window.c: In Funktion »ClippedRegionFromBox«:
window.c:499:15: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
window.c: In Funktion »SetWinSize«:
window.c:1595:12: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
window.c: In Funktion »SetBorderSize«:
window.c:1640:16: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
window.c: In Funktion »MakeBoundingRegion«:
window.c:1850:17: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
window.c: In Funktion »ShapeOverlap«:
window.c:1872:15: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
window.c: In Funktion »WhereDoIGoInTheStack«:
window.c:1973:15: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
window.c: In Funktion »NotClippedByChildren«:
window.c:3030:15: Warnung: Variable »pScreen« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
ScreenPtr pScreen;
^
cc1: Einige Warnungen werden als Fehler behandelt
Makefile:706: recipe for target 'window.lo' failed
make[2]: *** [window.lo] Error 1
make[2]: Leaving directory '/home/zyrus/Downloads/xserver-with-gl-accelerated-xephyr-master/dix'
Makefile:586: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/zyrus/Downloads/xserver-with-gl-accelerated-xephyr-master/dix'
Makefile:721: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1