* Package: app-dicts/eblook-1.6.1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking eblook-1.6.1.tar.gz to /var/tmp/portage/app-dicts/eblook-1.6.1/work >>> Source unpacked in /var/tmp/portage/app-dicts/eblook-1.6.1/work >>> Preparing source in /var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1 ... * Applying eblook-1.6.1-LDFLAGS.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1 ... * econf: updating eblook-1.6.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating eblook-1.6.1/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 --libdir=/usr/lib64 --with-eb-conf=/etc/eb.conf checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu 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 gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking dependency style of clang... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E 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 /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking how to run the C preprocessor... clang -E -w checking for ANSI C header files... no 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... clang++ checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... none checking how to run the C++ preprocessor... clang++ -E -w checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-file... no checking for file... /usr/bin/file checking if clang static flag works... yes checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC checking if clang PIC flag -fPIC works... yes checking if clang supports -c -o file.o... 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 how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... no checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC checking if clang++ PIC flag -fPIC works... yes checking if clang++ supports -c -o file.o... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ANSI C... (cached) none needed checking dependency style of clang... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for sys/types.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for size_t... (cached) yes checking size of size_t... 8 checking for int... yes checking size of int... 4 checking for ssize_t... yes checking for working memcmp... yes checking for iconv... yes checking for memcpy... yes checking for nl_langinfo... yes checking for setlocale... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for vsnprintf... yes checking for isatty... yes checking for strcasecmp... yes checking for strdup... (cached) yes checking for memset... yes checking whether time.h and sys/time.h may both be included... yes checking for function prototypes... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for ssize_t... (cached) yes checking for eb.conf... /etc/eb.conf checking for EB Library... yes configure: creating ./config.status config.status: creating Makefile config.status: creating dos/Makefile config.status: creating dos/config.h config.status: creating config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/app-dicts/eblook-1.6.1/temp/clang14.log' -> '/var/tmp/clang/app-dicts/eblook-1.6.1/clang14.log' '/var/tmp/portage/app-dicts/eblook-1.6.1/temp/clang15.log' -> '/var/tmp/clang/app-dicts/eblook-1.6.1/clang15.log' >>> Compiling source in /var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1' Making all in dos make[2]: Entering directory '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1/dos' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1/dos' make[2]: Entering directory '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1' clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c eblook.c clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c codeconv.c clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c getopt.c clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c getopt1.c In file included from codeconv.c:27: ./codeconv.h:48:29: error: unknown type name 'FILE' extern int xvfprintf PROTO((FILE *fp, const char *fmt, va_list ap)); ^ ./codeconv.h:49:28: error: unknown type name 'FILE' extern int xfprintf PROTO((FILE *fp, const char *fmt, ...)); ^ ./codeconv.h:51:43: error: unknown type name 'FILE' extern int xfputs PROTO((const char *str, FILE *fp)); ^ ./codeconv.h:53:49: error: unknown type name 'FILE' extern char *xfgets PROTO((char *str, int size, FILE *fp)); ^ ./codeconv.h:57:8: error: unknown type name 'size_t' extern size_t current_to_euc PROTO((char **current, size_t *in_len, ^ ./codeconv.h:57:53: error: unknown type name 'size_t' extern size_t current_to_euc PROTO((char **current, size_t *in_len, ^ ./codeconv.h:58:21: error: unknown type name 'size_t' char **euc, size_t *out_len)); ^ codeconv.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int match_str(str,str_list) ^ clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c bmp2ppm.c codeconv.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iconv_test(ctoe, etoc) ^ codeconv.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iconv_setup(current_code_name) ^ codeconv.c:278:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enum CONV_MODE detect_conv_mode(encoding) ^ codeconv.c:278:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codeconv.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] locale_init(encoding) ^ codeconv.c:351:13: warning: implicit conversion from 'size_t' (aka 'unsigned long') to 'int' changes value from 18446744073709551615 to -1 [-Wconstant-conversion] return CODECONV_ERROR; ~~~~~~ ^~~~~~~~~~~~~~ ./codeconv.h:36:25: note: expanded from macro 'CODECONV_ERROR' #define CODECONV_ERROR ((size_t)-1) ^~~~~~~~~~ codeconv.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xputs_raw(str, len, fp) ^ codeconv.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codeconv.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_nbsp(str, len) ^ codeconv.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xputs2(str, len, fp) ^ clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c bmp_in.c codeconv.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codeconv.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xfputs(str, fp) ^ codeconv.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xputs(str) ^ codeconv.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xvfprintf(fp, fmt, ap) ^ eblook.c:422:7: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit (0); ^ eblook.c:422:7: note: include the header or explicitly provide a declaration for 'exit' codeconv.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xfgets(str, size, fp) ^ codeconv.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jis_to_euc(euc, jis, len) ^ eblook.c:487:10: error: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] codeconv.c if (!strncmp (USER_INIT_FILE, "~/", 2)) { ^ :631eblook.c::487:10: note: include the header or explicitly provide a declaration for 'strncmp' eblook.c:497:7: error: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcpy (buff, getenv ("HOME")); ^ eblook.c:497:7: note: include the header or explicitly provide a declaration for 'strcpy' 1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] euc_to_jis(jis, euc, len) ^ eblook.c:497:21: error: call to undeclared function 'getenv'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcpy (buff, getenv ("HOME")); ^ eblook.c:497:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] strcpy (buff, getenv ("HOME")); ^~~~~~~~~~~~~~~ eblook.c:498:7: error: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcat (buff, USER_INIT_FILE + 1); ^ eblook.c:498:7: note: include the header or explicitly provide a declaration for 'strcat' eblook.c:498:36: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat (buff, USER_INIT_FILE + 1); ~~~~~~~~~~~~~~~^~~ eblook.c:498:36: note: use array indexing to silence this warning strcat (buff, USER_INIT_FILE + 1); ^ & [ ] codeconv.c:651:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size_t current_to_euc (in_buf,in_len,out_buf,out_len) ^ codeconv.c:760:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] size_t euc_to_current (in_buf,in_len,out_buf,out_len) ^ eblook.c:584:6: error: call to undeclared library function 'strcasecmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strcasecmp (s, "JIS") == 0) ^ eblook.c:584:6: note: include the header or explicitly provide a declaration for 'strcasecmp' codeconv.c:760:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eblook.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not 21 warnings and 7 errors generated. supported in C2x [-Wdeprecated-non-prototype] main (argc, argv) ^ eblook.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_command (command_line, size, stream) ^ eblook.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] excute_command (command_line) ^ eblook.c:735:7: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strcmp (argv[0], "quit") == 0) ^ eblook.c:735:7: note: include the header or explicitly provide a declaration for 'strcmp' eblook.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_command_line (command_line, argv) ^ eblook.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_book (argc, argv) ^ eblook.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_info (argc, argv) ^ eblook.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_list (argc, argv) ^ eblook.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_select (argc, argv) ^ eblook.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_subinfo (argc, argv) ^ eblook.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C make[2]: *** [Makefile:342: codeconv.o] Error 1 and is not supported in make[2]: *** Waiting for unfinished jobs.... C2x [-Wdeprecated-non-prototype] command_copyright (argc, argv) ^ eblook.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_menu (argc, argv) ^ eblook.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_search (argc, argv) ^ eblook.c:1103:22: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] length = pattern ? atoi (pattern) : 0; ^ eblook.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_content (argc, argv) ^ eblook.c:1132:17: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] length = s ? (atoi (s) / EB_SIZE_PAGE) : 0; ^ eblook.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_pbm(argc, argv) ^ eblook.c:1178:9: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] w = atoi(argv[2]); ^ eblook.c:1187:65: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] ret = eb_read_rawtext(¤t_book, w*h/8, (char *)buffer, &len); ^~~~ /usr/include/eb/text.h:145:26: note: passing argument to parameter 'text_length' here char *text, ssize_t *text_length); ^ eblook.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_xbm(argc, argv) ^ eblook.c:1253:9: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] w = atoi(argv[2]); ^ eblook.c:1262:65: warning: incompatible pointer types passing 'int *' to parameter of type 'ssize_t *' (aka 'long *') [-Wincompatible-pointer-types] ret = eb_read_rawtext(¤t_book, w*h/8, (char *)buffer, &len); ^~~~ /usr/include/eb/text.h:145:26: note: passing argument to parameter 'text_length' here char *text, ssize_t *text_length); ^ eblook.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_bmp(argc, argv) ^ eblook.c:1324:41: error: call to undeclared library function 'strerror' with type 'char *(int)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] xprintf("NG: fopen %s: %s\n", argv[2], strerror(errno)); ^ eblook.c:1324:41: note: include the header or explicitly provide a declaration for 'strerror' eblook.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_jpeg(argc, argv) ^ eblook.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_dump (argc, argv) ^ eblook.c:1522:17: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] length = s ? (atoi (s) / EB_SIZE_PAGE) : (MAX_DUMP_SIZE / EB_SIZE_PAGE); ^ eblook.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_font (argc, argv) ^ eblook.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_show (argc, argv) ^ eblook.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_set (argc, argv) ^ eblook.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_unset (argc, argv) ^ eblook.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_help (argc, argv) ^ eblook.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] internal_set_font (book, height) ^ eblook.c:1724:10: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] font = atoi (height); ^ eblook.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_dict_id (name, book) ^ eblook.c:1776:12: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if ((i = atoi (name)) > 0) { ^ eblook.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_entry_id (code, pos) ^ eblook.c:1830:17: error: call to undeclared library function 'strtol' with type 'long (const char *, char **, int)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] pos->page = strtol (code, &endp, 0); ^ eblook.c:1830:17: note: include the header or explicitly provide a declaration for 'strtol' eblook.c:1856:18: error: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if ((count = atoi (code) - 1) < 0) { ^ eblook.c:1870:2: error: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] qsort(list, num, sizeof(EB_Hit), hitcomp); ^ eblook.c:1887:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int hitcomp(a, b) ^ eblook.c:1910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_pattern (book, appendix, pattern, begin, length) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 31 warnings and 20 errors generated. bmp_in.c:63:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in make[2]: *** [Makefile:342: eblook.o] Error 1 C2x [-Wdeprecated-non-prototype] static ssize_t read_data_from_eb(buf, len) ^ bmp_in.c:63:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmp_in.c:100:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned short get_word(p) ^ bmp_in.c:100:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmp_in.c:108:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned long get_dword(p) ^ bmp_in.c:108:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmp_in.c:159:27: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] p = (unsigned char *) malloc(file_size); ^ bmp_in.c:159:27: note: include the header or explicitly provide a declaration for 'malloc' bmp_in.c:170:2: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free(p); ^ bmp_in.c:170:2: note: include the header or explicitly provide a declaration for 'free' bmp_in.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadBMP(w,h) ^ 7 warnings and 2 errors generated. make[2]: *** [Makefile:342: bmp_in.o] Error 1 bmp2ppm.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_bmp2ppm(argc, argv) ^ bmp2ppm.c:122:2: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free(p); ^ bmp2ppm.c:122:2: note: include the header or explicitly provide a declaration for 'free' bmp2ppm.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tiff_put_word(fp, w) ^ bmp2ppm.c:152:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] unsigned short w; ^ bmp2ppm.c:65:52: note: previous declaration is here static int tiff_put_word (FILE *fp, unsigned short w); ^ bmp2ppm.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tiff_put_word(fp, w) ^ bmp2ppm.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tiff_put_dword(fp, dw) ^ bmp2ppm.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmp2ppm.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tifftag_write_word(fp, id, val) ^ bmp2ppm.c:194:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] unsigned short val; ^ bmp2ppm.c:68:65: note: previous declaration is here static int tifftag_write_word (FILE *fp, int id, unsigned short val); ^ bmp2ppm.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tifftag_write_word(fp, id, val) ^ bmp2ppm.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tifftag_write_dword(fp, id, val) ^ bmp2ppm.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmp2ppm.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tifftag_write_words(fp, id, buf, bp, base, count, val) ^ bmp2ppm.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmp2ppm.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tifftag_write_string(fp, id, buf, bp, base, val) ^ bmp2ppm.c:259:13: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] count = strlen(val) + 1; ^ bmp2ppm.c:259:13: note: include the header or explicitly provide a declaration for 'strlen' bmp2ppm.c:268:5: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] memcpy(buf+*bp, val, count); ^ bmp2ppm.c:268:5: note: include the header or explicitly provide a declaration for 'memcpy' bmp2ppm.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tifftag_write_string(fp, id, buf, bp, base, val) ^ bmp2ppm.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] command_bmp2tiff(argc, argv) ^ 16 warnings and 3 errors generated. make[2]: *** [Makefile:342: bmp2ppm.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1' make[1]: *** [Makefile:473: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1' make: *** [Makefile:233: all] Error 2 * ERROR: app-dicts/eblook-1.6.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-dicts/eblook-1.6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-dicts/eblook-1.6.1::gentoo'`. * The complete build log is located at '/var/log/portage/app-dicts:eblook-1.6.1:20220917-150443.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-dicts/eblook-1.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-dicts/eblook-1.6.1/temp/environment'. * Working directory: '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1' * S: '/var/tmp/portage/app-dicts/eblook-1.6.1/work/eblook-1.6.1'