>>> xdriver_xf86-video-tdfx 1.5.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-3/output-1/build/.xf86-video-tdfx-1.5.0.tar.bz2.KcqH8F/output' 'http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tdfx-1.5.0.tar.bz2' --2021-07-30 16:33:37-- http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tdfx-1.5.0.tar.bz2 Resolving xorg.freedesktop.org (xorg.freedesktop.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|2610:10:20:722:a800:ff:feda:470f|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.x.org/releases/individual/driver/xf86-video-tdfx-1.5.0.tar.bz2 [following] --2021-07-30 16:33:37-- https://www.x.org/releases/individual/driver/xf86-video-tdfx-1.5.0.tar.bz2 Resolving www.x.org (www.x.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to www.x.org (www.x.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 371315 (363K) [application/x-bzip2] Saving to: '/tmp/instance-3/output-1/build/.xf86-video-tdfx-1.5.0.tar.bz2.KcqH8F/output' 0K .......... .......... .......... .......... .......... 13% 174K 2s 50K .......... .......... .......... .......... .......... 27% 348K 1s 100K .......... .......... .......... .......... .......... 41% 165M 1s 150K .......... .......... .......... .......... .......... 55% 349K 0s 200K .......... .......... .......... .......... .......... 68% 91.4M 0s 250K .......... .......... .......... .......... .......... 82% 86.7M 0s 300K .......... .......... .......... .......... .......... 96% 110M 0s 350K .......... .. 100% 218M=0.6s 2021-07-30 16:33:39 (629 KB/s) - '/tmp/instance-3/output-1/build/.xf86-video-tdfx-1.5.0.tar.bz2.KcqH8F/output' saved [371315/371315] xf86-video-tdfx-1.5.0.tar.bz2: OK (md5: 4697f0cc69ff1ff90bc770863c158d29) xf86-video-tdfx-1.5.0.tar.bz2: OK (sha1: 8042dd0c2bc5a396b2cfeb5418b03059a089be25) xf86-video-tdfx-1.5.0.tar.bz2: OK (sha256: 2f4580e1f66901dd578d6e1f73df8150fd4b8480eb0c9653d4c5d8e0f8e78561) xf86-video-tdfx-1.5.0.tar.bz2: OK (sha512: eca3359c7db56183a1cfcce7295e41ccc349005ee1cbcf75209f1e4e8e04e887ba511712ef35efc11c940713c8327b0b8ab8b6c86facf02062b3e84c0b1af5ff) >>> xdriver_xf86-video-tdfx 1.5.0 Extracting bzcat /tmp/instance-3/dl/xdriver_xf86-video-tdfx/xf86-video-tdfx-1.5.0.tar.bz2 | tar --strip-components=1 -C /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0 -xf - >>> xdriver_xf86-video-tdfx 1.5.0 Patching Applying 0001-cross.patch using patch: patching file configure.ac Hunk #1 succeeded at 75 with fuzz 2 (offset 8 lines). >>> xdriver_xf86-video-tdfx 1.5.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xdriver_xf86-video-tdfx 1.5.0 Configuring >>> xdriver_xf86-video-tdfx 1.5.0 Autoreconfiguring libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:40: installing './compile' configure.ac:34: installing './missing' src/Makefile.am: installing './depcomp' >>> xdriver_xf86-video-tdfx 1.5.0 Patching libtool patching file /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). >>> xdriver_xf86-video-tdfx 1.5.0 Checking configure (powerpc64/powerpc64le) support/scripts/fix-configure-powerpc64.sh /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0 (cd /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0/ && rm -rf config.cache && PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-3/output-1/host/bin/powerpc64-linux-ar" AS="/tmp/instance-3/output-1/host/bin/powerpc64-linux-as" LD="/tmp/instance-3/output-1/host/bin/powerpc64-linux-ld" NM="/tmp/instance-3/output-1/host/bin/powerpc64-linux-nm" CC="/tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc" GCC="/tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc" CPP="/tmp/instance-3/output-1/host/bin/powerpc64-linux-cpp" CXX="/tmp/instance-3/output-1/host/bin/powerpc64-linux-g++" FC="/tmp/instance-3/output-1/host/bin/powerpc64-linux-gfortran" F77="/tmp/instance-3/output-1/host/bin/powerpc64-linux-gfortran" RANLIB="/tmp/instance-3/output-1/host/bin/powerpc64-linux-ranlib" READELF="/tmp/instance-3/output-1/host/bin/powerpc64-linux-readelf" STRIP="/tmp/instance-3/output-1/host/bin/powerpc64-linux-strip" OBJCOPY="/tmp/instance-3/output-1/host/bin/powerpc64-linux-objcopy" OBJDUMP="/tmp/instance-3/output-1/host/bin/powerpc64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-3/output-1/host/lib -Wl,-rpath,/tmp/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-3/output-1/host/bin/powerpc64-linux-as" DEFAULT_LINKER="/tmp/instance-3/output-1/host/bin/powerpc64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/tmp/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-3/output-1/host/powerpc64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes CONFIG_SITE=/dev/null ./configure --target=powerpc64-buildroot-linux-gnu --host=powerpc64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for powerpc64-buildroot-linux-gnu-strip... /tmp/instance-3/output-1/host/bin/powerpc64-linux-strip 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 for style of include used by make... GNU checking for powerpc64-buildroot-linux-gnu-gcc... /tmp/instance-3/output-1/host/bin/powerpc64-linux-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc accepts -g... yes checking for /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc understands -c and -o together... yes checking dependency style of /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc... none checking for /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... /tmp/instance-3/output-1/host/bin/powerpc64-linux-cpp 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 pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64-buildroot-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=unknown-warning-option... no checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=unused-command-line-argument... no checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wall... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wpointer-arith... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wmissing-declarations... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wformat=2... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wstrict-prototypes... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wmissing-prototypes... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wnested-externs... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wbad-function-cast... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wold-style-definition... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wdeclaration-after-statement... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wunused... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wuninitialized... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wshadow... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wmissing-noreturn... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wmissing-format-attribute... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wredundant-decls... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Wlogical-op... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=implicit... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=nonnull... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=init-self... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=main... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=missing-braces... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=sequence-point... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=return-type... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=trigraphs... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=array-bounds... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=write-strings... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=address... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -pedantic... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -Werror... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-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) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc... /tmp/instance-3/output-1/host/bin/powerpc64-linux-ld checking if the linker (/tmp/instance-3/output-1/host/bin/powerpc64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-3/output-1/host/bin/powerpc64-linux-nm checking the name lister (/tmp/instance-3/output-1/host/bin/powerpc64-linux-nm) 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 powerpc64-buildroot-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 /tmp/instance-3/output-1/host/bin/powerpc64-linux-ld option to reload object files... -r checking for powerpc64-buildroot-linux-gnu-objdump... /tmp/instance-3/output-1/host/bin/powerpc64-linux-objdump checking how to recognize dependent libraries... pass_all checking for powerpc64-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc64-buildroot-linux-gnu-ar... /tmp/instance-3/output-1/host/bin/powerpc64-linux-ar checking for archiver @FILE support... @ checking for powerpc64-buildroot-linux-gnu-strip... (cached) /tmp/instance-3/output-1/host/bin/powerpc64-linux-strip checking for powerpc64-buildroot-linux-gnu-ranlib... /tmp/instance-3/output-1/host/bin/powerpc64-linux-ranlib checking command to parse /tmp/instance-3/output-1/host/bin/powerpc64-linux-nm output from /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for powerpc64-buildroot-linux-gnu-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc static flag -static works... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-3/output-1/host/bin/powerpc64-linux-gcc linker (/tmp/instance-3/output-1/host/bin/powerpc64-linux-ld) 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 XORG... yes checking whether XSERVER_LIBPCIACCESS is declared... yes checking whether to include DRI support... yes checking for DRI... yes checking for PCIACCESS... yes checking xaa.h usability... no checking xaa.h presence... no checking for xaa.h... no checking whether to include XAA support... no 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 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> xdriver_xf86-video-tdfx 1.5.0 Building PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0/ make[1]: Entering directory '/tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0' Making all in src make[3]: Entering directory '/tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0/src' CC tdfx_accel.lo CC tdfx_dga.lo CC tdfx_driver.lo CC tdfx_hwcurs.lo CC tdfx_io.lo CC tdfx_priv.lo CC tdfx_sli.lo CC tdfx_video.lo CC tdfx_dri.lo tdfx_dri.c:20:10: error: unknown type name 'DRIContextType' 20 | DRIContextType contextStore); | ^~~~~~~~~~~~~~ tdfx_dri.c:22:11: error: unknown type name 'DRIContextType' 22 | DRIContextType contextStore); | ^~~~~~~~~~~~~~ tdfx_dri.c:23:51: error: unknown type name 'DRISyncType' 23 | static void TDFXDRISwapContext(ScreenPtr pScreen, DRISyncType syncType, | ^~~~~~~~~~~ tdfx_dri.c:24:11: error: unknown type name 'DRIContextType' 24 | DRIContextType readContextType, | ^~~~~~~~~~~~~~ tdfx_dri.c:26:11: error: unknown type name 'DRIContextType' 26 | DRIContextType writeContextType, | ^~~~~~~~~~~~~~ tdfx_dri.c: In function 'TDFXDoWakeupHandler': tdfx_dri.c:43:8: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 43 | pTDFX->pDRIInfo->wrap.WakeupHandler = pTDFX->coreWakeupHandler; | ^~ tdfx_dri.c:44:10: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 44 | (*pTDFX->pDRIInfo->wrap.WakeupHandler) (WAKEUPHANDLER_ARGS); | ^~ tdfx_dri.c:45:8: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 45 | pTDFX->pDRIInfo->wrap.WakeupHandler = TDFXDoWakeupHandler; | ^~ tdfx_dri.c: In function 'TDFXDoBlockHandler': tdfx_dri.c:60:8: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 60 | pTDFX->pDRIInfo->wrap.BlockHandler = pTDFX->coreBlockHandler; | ^~ tdfx_dri.c:61:10: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 61 | (*pTDFX->pDRIInfo->wrap.BlockHandler) (BLOCKHANDLER_ARGS); | ^~ tdfx_dri.c:62:8: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 62 | pTDFX->pDRIInfo->wrap.BlockHandler = TDFXDoBlockHandler; | ^~ tdfx_dri.c: In function 'TDFXDRIScreenInit': tdfx_dri.c:70:3: error: unknown type name 'DRIInfoPtr'; did you mean 'AgpInfoPtr'? 70 | DRIInfoPtr pDRIInfo; | ^~~~~~~~~~ | AgpInfoPtr tdfx_dri.c:112:5: warning: implicit declaration of function 'DRIQueryVersion'; did you mean 'X_RRQueryVersion'? [-Wimplicit-function-declaration] 112 | DRIQueryVersion(&major, &minor, &patch); | ^~~~~~~~~~~~~~~ | X_RRQueryVersion tdfx_dri.c:113:18: error: 'DRIINFO_MAJOR_VERSION' undeclared (first use in this function); did you mean 'TDFX_MAJOR_VERSION'? 113 | if (major != DRIINFO_MAJOR_VERSION || minor < DRIINFO_MINOR_VERSION) { | ^~~~~~~~~~~~~~~~~~~~~ | TDFX_MAJOR_VERSION tdfx_dri.c:113:18: note: each undeclared identifier is reported only once for each function it appears in tdfx_dri.c:113:51: error: 'DRIINFO_MINOR_VERSION' undeclared (first use in this function); did you mean 'TDFX_MINOR_VERSION'? 113 | if (major != DRIINFO_MAJOR_VERSION || minor < DRIINFO_MINOR_VERSION) { | ^~~~~~~~~~~~~~~~~~~~~ | TDFX_MINOR_VERSION tdfx_dri.c:124:14: warning: implicit declaration of function 'DRICreateInfoRec' [-Wimplicit-function-declaration] 124 | pDRIInfo = DRICreateInfoRec(); | ^~~~~~~~~~~~~~~~ tdfx_dri.c:131:8: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 131 | pTDFX->pDRIInfo = pDRIInfo; | ^~ tdfx_dri.c:133:11: error: invalid type argument of '->' (have 'int') 133 | pDRIInfo->drmDriverName = TDFXKernelDriverName; | ^~ tdfx_dri.c:134:11: error: invalid type argument of '->' (have 'int') 134 | pDRIInfo->clientDriverName = TDFXClientDriverName; | ^~ tdfx_dri.c:136:13: error: invalid type argument of '->' (have 'int') 136 | pDRIInfo->busIdString = DRICreatePCIBusID(pTDFX->PciInfo[0]); | ^~ tdfx_dri.c:148:11: error: invalid type argument of '->' (have 'int') 148 | pDRIInfo->ddxDriverMajorVersion = TDFX_MAJOR_VERSION; | ^~ tdfx_dri.c:149:11: error: invalid type argument of '->' (have 'int') 149 | pDRIInfo->ddxDriverMinorVersion = TDFX_MINOR_VERSION; | ^~ tdfx_dri.c:150:11: error: invalid type argument of '->' (have 'int') 150 | pDRIInfo->ddxDriverPatchVersion = TDFX_PATCHLEVEL; | ^~ tdfx_dri.c:151:11: error: invalid type argument of '->' (have 'int') 151 | pDRIInfo->frameBufferPhysicalAddress = (pointer) pTDFX->LinearAddr[0]; | ^~ tdfx_dri.c:152:11: error: invalid type argument of '->' (have 'int') 152 | pDRIInfo->frameBufferSize = pTDFX->FbMapSize; | ^~ tdfx_dri.c:153:11: error: invalid type argument of '->' (have 'int') 153 | pDRIInfo->frameBufferStride = pTDFX->stride; | ^~ tdfx_dri.c:154:11: error: invalid type argument of '->' (have 'int') 154 | pDRIInfo->ddxDrawableTableEntry = TDFX_MAX_DRAWABLES; | ^~ tdfx_dri.c:156:37: error: invalid type argument of '->' (have 'int') 156 | pTDFX->coreBlockHandler = pDRIInfo->wrap.BlockHandler; | ^~ tdfx_dri.c:157:11: error: invalid type argument of '->' (have 'int') 157 | pDRIInfo->wrap.BlockHandler = TDFXDoBlockHandler; | ^~ tdfx_dri.c:158:38: error: invalid type argument of '->' (have 'int') 158 | pTDFX->coreWakeupHandler = pDRIInfo->wrap.WakeupHandler; | ^~ tdfx_dri.c:159:11: error: invalid type argument of '->' (have 'int') 159 | pDRIInfo->wrap.WakeupHandler = TDFXDoWakeupHandler; | ^~ tdfx_dri.c:161:7: error: 'SAREA_MAX_DRAWABLES' undeclared (first use in this function); did you mean 'TDFX_MAX_DRAWABLES'? 161 | if (SAREA_MAX_DRAWABLES < TDFX_MAX_DRAWABLES) | ^~~~~~~~~~~~~~~~~~~ | TDFX_MAX_DRAWABLES tdfx_dri.c:162:13: error: invalid type argument of '->' (have 'int') 162 | pDRIInfo->maxDrawableTableEntry = SAREA_MAX_DRAWABLES; | ^~ tdfx_dri.c:164:13: error: invalid type argument of '->' (have 'int') 164 | pDRIInfo->maxDrawableTableEntry = TDFX_MAX_DRAWABLES; | ^~ tdfx_dri.c:177:14: error: 'XF86DRISAREARec' undeclared (first use in this function) 177 | if (sizeof(XF86DRISAREARec)+sizeof(TDFXSAREAPriv)>SAREA_MAX) { | ^~~~~~~~~~~~~~~ tdfx_dri.c:177:53: error: 'SAREA_MAX' undeclared (first use in this function); did you mean 'SHRT_MAX'? 177 | if (sizeof(XF86DRISAREARec)+sizeof(TDFXSAREAPriv)>SAREA_MAX) { | ^~~~~~~~~ | SHRT_MAX tdfx_dri.c:181:11: error: invalid type argument of '->' (have 'int') 181 | pDRIInfo->SAREASize = SAREA_MAX; | ^~ tdfx_dri.c:187:5: warning: implicit declaration of function 'DRIDestroyInfoRec' [-Wimplicit-function-declaration] 187 | DRIDestroyInfoRec(pTDFX->pDRIInfo); | ^~~~~~~~~~~~~~~~~ tdfx_dri.c:187:28: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 187 | DRIDestroyInfoRec(pTDFX->pDRIInfo); | ^~ tdfx_dri.c:188:10: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 188 | pTDFX->pDRIInfo=0; | ^~ tdfx_dri.c:191:11: error: invalid type argument of '->' (have 'int') 191 | pDRIInfo->devPrivate = pTDFXDRI; | ^~ tdfx_dri.c:192:11: error: invalid type argument of '->' (have 'int') 192 | pDRIInfo->devPrivateSize = sizeof(TDFXDRIRec); | ^~ tdfx_dri.c:193:11: error: invalid type argument of '->' (have 'int') 193 | pDRIInfo->contextSize = sizeof(TDFXDRIContextRec); | ^~ tdfx_dri.c:195:11: error: invalid type argument of '->' (have 'int') 195 | pDRIInfo->CreateContext = TDFXCreateContext; | ^~ tdfx_dri.c:195:29: error: 'TDFXCreateContext' undeclared (first use in this function); did you mean 'drmCreateContext'? 195 | pDRIInfo->CreateContext = TDFXCreateContext; | ^~~~~~~~~~~~~~~~~ | drmCreateContext tdfx_dri.c:196:11: error: invalid type argument of '->' (have 'int') 196 | pDRIInfo->DestroyContext = TDFXDestroyContext; | ^~ tdfx_dri.c:196:30: error: 'TDFXDestroyContext' undeclared (first use in this function); did you mean 'drmDestroyContext'? 196 | pDRIInfo->DestroyContext = TDFXDestroyContext; | ^~~~~~~~~~~~~~~~~~ | drmDestroyContext tdfx_dri.c:197:11: error: invalid type argument of '->' (have 'int') 197 | pDRIInfo->SwapContext = TDFXDRISwapContext; | ^~ tdfx_dri.c:197:27: error: 'TDFXDRISwapContext' undeclared (first use in this function) 197 | pDRIInfo->SwapContext = TDFXDRISwapContext; | ^~~~~~~~~~~~~~~~~~ tdfx_dri.c:198:11: error: invalid type argument of '->' (have 'int') 198 | pDRIInfo->InitBuffers = TDFXDRIInitBuffers; | ^~ tdfx_dri.c:199:11: error: invalid type argument of '->' (have 'int') 199 | pDRIInfo->MoveBuffers = TDFXDRIMoveBuffers; | ^~ tdfx_dri.c:200:11: error: invalid type argument of '->' (have 'int') 200 | pDRIInfo->OpenFullScreen = TDFXDRIOpenFullScreen; | ^~ tdfx_dri.c:201:11: error: invalid type argument of '->' (have 'int') 201 | pDRIInfo->CloseFullScreen = TDFXDRICloseFullScreen; | ^~ tdfx_dri.c:202:11: error: invalid type argument of '->' (have 'int') 202 | pDRIInfo->TransitionTo2d = TDFXDRITransitionTo2d; | ^~ tdfx_dri.c:203:11: error: invalid type argument of '->' (have 'int') 203 | pDRIInfo->TransitionTo3d = TDFXDRITransitionTo3d; | ^~ tdfx_dri.c:204:11: error: invalid type argument of '->' (have 'int') 204 | pDRIInfo->bufferRequests = DRI_ALL_WINDOWS; | ^~ tdfx_dri.c:204:30: error: 'DRI_ALL_WINDOWS' undeclared (first use in this function); did you mean 'PRIVATE_WINDOW'? 204 | pDRIInfo->bufferRequests = DRI_ALL_WINDOWS; | ^~~~~~~~~~~~~~~ | PRIVATE_WINDOW tdfx_dri.c:206:11: error: invalid type argument of '->' (have 'int') 206 | pDRIInfo->createDummyCtx = FALSE; | ^~ tdfx_dri.c:207:11: error: invalid type argument of '->' (have 'int') 207 | pDRIInfo->createDummyCtxPriv = FALSE; | ^~ tdfx_dri.c:209:8: warning: implicit declaration of function 'DRIScreenInit'; did you mean 'XvScreenInit'? [-Wimplicit-function-declaration] 209 | if (!DRIScreenInit(pScreen, pDRIInfo, &pTDFX->drmSubFD)) { | ^~~~~~~~~~~~~ | XvScreenInit tdfx_dri.c:209:47: error: 'struct _TDFXRec' has no member named 'drmSubFD' 209 | if (!DRIScreenInit(pScreen, pDRIInfo, &pTDFX->drmSubFD)) { | ^~ tdfx_dri.c:210:18: error: invalid type argument of '->' (have 'int') 210 | free(pDRIInfo->devPrivate); | ^~ tdfx_dri.c:211:13: error: invalid type argument of '->' (have 'int') 211 | pDRIInfo->devPrivate=0; | ^~ tdfx_dri.c:212:28: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 212 | DRIDestroyInfoRec(pTDFX->pDRIInfo); | ^~ tdfx_dri.c:213:10: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 213 | pTDFX->pDRIInfo=0; | ^~ tdfx_dri.c:222:49: error: 'struct _TDFXRec' has no member named 'drmSubFD' 222 | drmVersionPtr version = drmGetVersion(pTDFX->drmSubFD); | ^~ tdfx_dri.c:243:22: error: 'struct _TDFXRec' has no member named 'drmSubFD' 243 | if (drmAddMap(pTDFX->drmSubFD, (drm_handle_t)pTDFX->MMIOAddr[0], | ^~ tdfx_dri.c: In function 'TDFXDRICloseScreen': tdfx_dri.c:263:3: warning: implicit declaration of function 'DRICloseScreen'; did you mean 'fbCloseScreen'? [-Wimplicit-function-declaration] 263 | DRICloseScreen(pScreen); | ^~~~~~~~~~~~~~ | fbCloseScreen tdfx_dri.c:265:12: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 265 | if (pTDFX->pDRIInfo) { | ^~ tdfx_dri.c:266:14: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 266 | if (pTDFX->pDRIInfo->devPrivate) { | ^~ tdfx_dri.c:267:17: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 267 | free(pTDFX->pDRIInfo->devPrivate); | ^~ tdfx_dri.c:268:12: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 268 | pTDFX->pDRIInfo->devPrivate=0; | ^~ tdfx_dri.c:270:28: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 270 | DRIDestroyInfoRec(pTDFX->pDRIInfo); | ^~ tdfx_dri.c:271:10: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 271 | pTDFX->pDRIInfo=0; | ^~ tdfx_dri.c: At top level: tdfx_dri.c:278:5: error: unknown type name 'DRIContextType' 278 | DRIContextType contextStore) | ^~~~~~~~~~~~~~ tdfx_dri.c:285:6: error: unknown type name 'DRIContextType' 285 | DRIContextType contextStore) | ^~~~~~~~~~~~~~ tdfx_dri.c: In function 'TDFXDRIFinishScreenInit': tdfx_dri.c:296:8: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 296 | pTDFX->pDRIInfo->driverSwapMethod = DRI_HIDE_X_CONTEXT; | ^~ tdfx_dri.c:296:39: error: 'DRI_HIDE_X_CONTEXT' undeclared (first use in this function) 296 | pTDFX->pDRIInfo->driverSwapMethod = DRI_HIDE_X_CONTEXT; | ^~~~~~~~~~~~~~~~~~ tdfx_dri.c:298:29: error: 'struct _TDFXRec' has no member named 'pDRIInfo' 298 | pTDFXDRI=(TDFXDRIPtr)pTDFX->pDRIInfo->devPrivate; | ^~ tdfx_dri.c:316:40: error: 'XF86DRISAREARec' undeclared (first use in this function) 316 | pTDFXDRI->sarea_priv_offset = sizeof(XF86DRISAREARec); | ^~~~~~~~~~~~~~~ tdfx_dri.c:317:10: warning: implicit declaration of function 'DRIFinishScreenInit'; did you mean 'fbFinishScreenInit'? [-Wimplicit-function-declaration] 317 | return DRIFinishScreenInit(pScreen); | ^~~~~~~~~~~~~~~~~~~ | fbFinishScreenInit tdfx_dri.c: At top level: tdfx_dri.c:321:39: error: unknown type name 'DRISyncType' 321 | TDFXDRISwapContext(ScreenPtr pScreen, DRISyncType syncType, | ^~~~~~~~~~~ tdfx_dri.c:322:6: error: unknown type name 'DRIContextType' 322 | DRIContextType oldContextType, void *oldContext, | ^~~~~~~~~~~~~~ tdfx_dri.c:323:6: error: unknown type name 'DRIContextType' 323 | DRIContextType newContextType, void *newContext) | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:499: tdfx_dri.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0/src' make[2]: *** [Makefile:442: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0' make[1]: *** [Makefile:374: all] Error 2 make[1]: Leaving directory '/tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0' make: *** [package/pkg-generic.mk:270: /tmp/instance-3/output-1/build/xdriver_xf86-video-tdfx-1.5.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-3/buildroot'