Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 808618 Details for
Bug 870922
dev-games/KXL-1.1.7-r3 - KXLsound.c: error: call to undeclared function read; ISO C99 and later do
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-games:KXL-1.1.7-r3:20220917-165210.log
dev-games:KXL-1.1.7-r3:20220917-165210.log (text/plain), 25.21 KB, created by
Toralf Förster
on 2022-09-17 17:36:18 UTC
(
hide
)
Description:
dev-games:KXL-1.1.7-r3:20220917-165210.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 17:36:18 UTC
Size:
25.21 KB
patch
obsolete
> * Package: dev-games/KXL-1.1.7-r3:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking KXL-1.1.7.tar.gz to /var/tmp/portage/dev-games/KXL-1.1.7-r3/work >>>> Source unpacked in /var/tmp/portage/dev-games/KXL-1.1.7-r3/work >>>> Preparing source in /var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7 ... > * Applying KXL-1.1.7-m4.patch ... > [ ok ] > * Applying KXL-1.1.7-amd64.patch ... > [ ok ] > * Applying KXL-1.1.7-as-needed.patch ... > [ ok ] > * Applying KXL-1.1.7-ldflags.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal --system-acdir=/var/tmp/portage/dev-games/KXL-1.1.7-r3/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: KXL-1.1.7/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7 ... > * econf: updating KXL-1.1.7/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating KXL-1.1.7/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/KXL-1.1.7-r3 --htmldir=/usr/share/doc/KXL-1.1.7-r3/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... clang >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 the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >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 clang... /usr/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-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 how to run the C preprocessor... clang -E >checking for X... libraries , headers >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for egrep... (cached) /bin/grep -E >checking for fcntl.h... yes >checking for malloc.h... yes >checking for sys/ioctl.h... yes >checking for sys/time.h... (cached) yes >checking for linux/joystick.h... yes >checking for linux/soundcard.h... yes >checking whether clang needs -traditional... no >checking return type of signal handlers... void >checking for select... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating KXL.spec >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating docs/Makefile >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >'/var/tmp/portage/dev-games/KXL-1.1.7-r3/temp/clang14.log' -> '/var/tmp/clang/dev-games/KXL-1.1.7-r3/clang14.log' >'/var/tmp/portage/dev-games/KXL-1.1.7-r3/temp/clang15.log' -> '/var/tmp/clang/dev-games/KXL-1.1.7-r3/clang15.log' >>>> Compiling source in /var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7 ... >make -j4 >Making all in src >make[1]: Entering directory '/var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7/src' >/bin/sh ../libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o KXLmisc.lo KXLmisc.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o KXLsound.lo KXLsound.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o KXLjoystick.lo KXLjoystick.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o KXLvisual.lo KXLvisual.c >libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c KXLsound.c -fPIC -DPIC -o .libs/KXLsound.o >libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c KXLmisc.c -fPIC -DPIC -o .libs/KXLmisc.o >libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c KXLvisual.c -fPIC -DPIC -o .libs/KXLvisual.o >libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"KXL\" -DVERSION=\"1.1.7\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_SOUNDCARD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c KXLjoystick.c -fPIC -DPIC -o .libs/KXLjoystick.o >KXLsound.c:75:9: error: call to undeclared function 'read'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (read(KXL_SoundData.Pipe[0], &Command,sizeof(Command)) != sizeof(... > ^ >KXLsound.c:75:9: note: did you mean 'fread'? >/usr/include/stdio.h:675:15: note: 'fread' declared here >extern size_t fread (void *__restrict __ptr, size_t __size, > ^ >KXLsound.c:165:9: error: call to undeclared function 'write'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > write(KXL_SoundData.Device, KXL_SoundData.PBuff, fragment_size); > ^ >KXLsound.c:165:9: note: did you mean 'fwrite'? >/usr/include/stdio.h:681:15: note: 'fwrite' declared here >extern size_t fwrite (const void *__restrict __ptr, size_t __size, > ^ >KXLsound.c:188:3: error: call to undeclared function 'write'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > write(KXL_SoundData.Pipe[1], &SendCommand, sizeof(SendCommand)); > ^ >KXLjoystick.c:19:21: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of typeKXLsound.c :'const char *'206 :11: warning: passing 'Uint8[256]' (aka 'unsigned char[256]') to >converts parameter of type 'char *' between pointers to integer >converts types where one between pointers to integer types > where one is of the unique plain 'char' type is and the other is not > [-Wpointer-sign] >of the sprintf(filename,"%s/%s.wav", path, fname); > ^~~~~~~~ >unique/usr/include/stdio.h:358:38: note: passing argument to parameter plain'__s' here > 'char'extern int sprintf (char *__restrict __s, > ^ > type and the other is not > [-Wpointer-sign] > KXL_joydev = open(devname, O_RDONLY); > ^~~~~~~ >/usr/include/fcntl.hKXLsound.c::207:21: warning: passing209 'Uint8[256]' :(aka 'unsigned char[256]') to > parameter of type 'const char *' converts30: note: passing argument between pointers to integer > types where to parameter '__file' here >one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] >extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); if ((file = fopen(filename,"r")) == NULL) { > ^~~~~~~~ > >/usr/include/stdio.h:258:44: ^ note: passing argument to parameter '__filename' > here > >extern FILE *fopen (const char *__restrict __filename, > ^ >KXLjoystick.c:30:25: warning: format specifies type 'int' but the argument has > type 'Sint32' (aka 'long') [-Wformat] > name, axis, buttons, version >> 16, (version >> 8) & 0xff, ver... > ^~~~~~~~~~~~~ >KXLjoystick.c:30:40: warning: format specifies type 'int' but the argument has > type 'long' [-Wformat] > ...name, axis, buttons, version >> 16, (version >> 8) & 0xff, version & 0xff); > ^~~~~~~~~~~~~~~~~~~~~ >KXLjoystick.c:30:63: warning: format specifies type 'int' but the argument has > type 'long' [-Wformat] > ...axis, buttons, version >> 16, (version >> 8) & 0xff, version & 0xff); > ^~~~~~~~~~~~~~ >KXLsound.c:262:7: error: call to undeclared function 'pipe'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (pipe(KXL_SoundData.Pipe) < 0) { > ^ >KXLsound.c:267:27: error: call to undeclared function 'fork'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if ((KXL_SoundData.ID = fork()) < 0) { > ^ >KXLsound.c:273:5: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(KXL_SoundData.Pipe[1]); > ^ >KXLsound.c:277:5: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(KXL_SoundData.Pipe[0]); > ^ >KXLsound.c:291:5: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(KXL_SoundData.Device); > ^ >2 warnings and 8 errors generated. >KXLjoystick.c:39:5: error: call to undeclared function 'close'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(KXL_joydev); > ^ >KXLjoystick.c:50:9: error: call to undeclared function 'read'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (read(KXL_joydev, my, JS_RETURN) == JS_RETURN) {KXLvisual.c: >299:11: warning: passing 'Uint8[1024]' (aka 'unsigned char[1024]') ^ > >KXLjoystick.c:50:9: note: did you to parameter ofmean 'fread'? > type 'char *' converts between pointers to integer types > where one /usr/include/stdio.his of the unique plain 'char' type :675and:15: note: 'fread' declared here > the other is not > extern size_t fread (void *__restrict __ptr, size_t __size, > ^ >[-Wpointer-sign] > sprintf(KXL_DName, "%s", name); > ^~~~~~~~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >4 warnings and 2 errors generated. >KXLvisual.c:315:42: warning: passing 'Uint8[1024]' (aka 'unsigned char[1024]') > to parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (!(KXL_Root->Display = XOpenDisplay(KXL_DName))) { > ^~~~~~~~~ >/usr/include/X11/Xlib.h:1485:1: note: passing argument to parameter here >); >^ >KXLvisual.c:329:15: warning: invalid conversion specifier 'b' > [-Wformat-invalid-specifier] > "%bpp:%dbpp color not support.\n" > ~^ >KXLvisual.c:331:30: warning: data argument not used by format string > [-Wformat-extra-args] > KXL_Root->Depth, KXL_Root->Depth); > ^ >KXLvisual.c:350:48: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > XStoreName(KXL_Root->Display, KXL_Root->Win, title); > ^~~~~ >/usr/include/X11/Xlib.h:3409:1: note: passing argument to parameter here >); >^ >KXLvisual.c:359:12: warning: passing 'char[53]' to parameter of type 'Uint8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > KXL_Font("-adobe-courier-bold-r-normal--14-*-*-*-*-*-iso8859-1", > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./KXL.h:274:29: note: passing argument to parameter 'str' here >void KXL_Font(Uint8 *str, Uint8 r, Uint8 g, Uint8 b); > ^ >make[1]: *** [Makefile:447: KXLsound.lo] Error 1 >make[1]: *** Waiting for unfinished jobs.... >KXLvisual.c:369:3: error: call to undeclared function > 'XkbSetDetectableAutoRepeat'; ISO C99 and later do not support implicit > function declarations [-Werror,-Wimplicit-function-declaration] > XkbSetDetectableAutoRepeat(KXL_Root->Display, True, > ^ >KXLvisual.c:438:59: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > KXL_Root->WinFont = XLoadQueryFont(KXL_Root->Display, str); > ^~~ >/usr/include/X11/Xlib.h:1397:1: note: passing argument to parameter here >); >^ >make[1]: *** [Makefile:447: KXLjoystick.lo] Error 1 >KXLvisual.c:464:33: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > x, y, str, strlen(str)); > ^~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >KXLvisual.c:464:21: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > x, y, str, strlen(str)); > ^~~ >/usr/include/X11/Xlib.h:2420:31: note: passing argument to parameter here > _Xconst char* /* string */, > ^ >KXLvisual.c:474:52: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return XTextWidth(KXL_Root->WinFont, str, strlen(str)); > ^~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >KXLvisual.c:474:40: warning: passing 'Uint8 *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > return XTextWidth(KXL_Root->WinFont, str, strlen(str)); > ^~~ >/usr/include/X11/Xlib.h:3446:31: note: passing argument to parameter here > _Xconst char* /* string */, > ^ >KXLvisual.c:589:13: warning: assigning to 'char *' from 'Uint8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > img->data = (Uint8 *)KXL_Malloc(img->bytes_per_line * new->Height); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >KXLvisual.c:614:13: warning: assigning to 'char *' from 'Uint8 *' > (aka 'unsigned char *') converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > img->data = (Uint8 *)KXL_Malloc(img->bytes_per_line * new->Height); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >13 warnings and 1 error generated. >make[1]: *** [Makefile:447: KXLvisual.lo] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7/src' >make: *** [Makefile:437: all-recursive] Error 1 > * ERROR: dev-games/KXL-1.1.7-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-games/KXL-1.1.7-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-games/KXL-1.1.7-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-games:KXL-1.1.7-r3:20220917-165210.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-games/KXL-1.1.7-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-games/KXL-1.1.7-r3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7' > * S: '/var/tmp/portage/dev-games/KXL-1.1.7-r3/work/KXL-1.1.7' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 870922
:
808612
|
808615
| 808618 |
808621
|
808624
|
808627
|
808630
|
808633