Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- checking for netdb.h... yes
- checking for pwd.h... yes
- checking for grp.h... yes
- checking for strings.h... (cached) yes
- checking for regex.h... yes
- checking for syslog.h... yes
- checking for ulimit.h... yes
- checking for sys/pte.h... no
- checking for sys/stream.h... no
- checking for sys/select.h... yes
- checking for sys/file.h... yes
- checking for sys/ioctl.h... yes
- checking for sys/mman.h... yes
- checking for sys/param.h... (cached) yes
- checking for sys/random.h... yes
- checking for sys/socket.h... yes
- checking for sys/stat.h... (cached) yes
- checking for sys/time.h... (cached) yes
- checking for sys/times.h... yes
- checking for sys/types.h... (cached) yes
- checking for sys/wait.h... yes
- checking for netinet/in.h... yes
- checking for arpa/inet.h... yes
- checking for sys/ptem.h... no
- checking for sys/resource.h... yes
- checking for working alloca.h... (cached) yes
- checking for alloca... (cached) checking for uid_t in sys/types.h... yes
- checking for working chown... yes
- checking whether getpgrp requires zero arguments... yes
- checking for working strcoll... yes
- checking for __setostype... no
- checking for wait3... yes
- checking for mkfifo... yes
- checking for dup2... yes
- checking for eaccess... yes
- checking for fcntl... yes
- checking for getdtablesize... yes
- checking for getentropy... yes
- checking for getgroups... yes
- checking for gethostname... yes
- checking for getpagesize... (cached) yes
- checking for getpeername... yes
- checking for getrandom... yes
- checking for getrlimit... yes
- checking for getrusage... yes
- checking for gettimeofday... yes
- checking for kill... yes
- checking for killpg... yes
- checking for lstat... yes
- checking for pselect... yes
- checking for readlink... yes
- checking for select... yes
- checking for setdtablesize... no
- checking for setitimer... yes
- checking for tcgetpgrp... yes
- checking for uname... yes
- checking for ulimit... yes
- checking for waitpid... yes
- checking for rename... yes
- checking for bcopy... yes
- checking for bzero... yes
- checking for confstr... yes
- checking for faccessat... yes
- checking for fnmatch... yes
- checking for getaddrinfo... yes
- checking for gethostbyname... yes
- checking for getservbyname... yes
- checking for getservent... yes
- checking for inet_aton... yes
- checking for imaxdiv... yes
- checking for memmove... yes
- checking for pathconf... yes
- checking for putenv... (cached) yes
- checking for raise... yes
- checking for random... yes
- checking for regcomp... yes
- checking for regexec... yes
- checking for setenv... (cached) yes
- checking for setlinebuf... yes
- checking for setlocale... (cached) yes
- checking for setvbuf... yes
- checking for siginterrupt... yes
- checking for strchr... yes
- checking for sysconf... yes
- checking for syslog... yes
- checking for tcgetattr... yes
- checking for times... yes
- checking for ttyname... yes
- checking for tzset... yes
- checking for unsetenv... yes
- checking for vasprintf... yes
- checking for asprintf... (cached) yes
- checking for isascii... yes
- checking for isblank... yes
- checking for isgraph... yes
- checking for isprint... yes
- checking for isspace... yes
- checking for isxdigit... yes
- checking for getpwent... yes
- checking for getpwnam... yes
- checking for getpwuid... yes
- checking for mkstemp... yes
- checking for mkdtemp... yes
- checking for arc4random... yes
- checking for getcwd... (cached) yes
- checking for memset... yes
- checking for strcasecmp... (cached) yes
- checking for strcasestr... yes
- checking for strerror... yes
- checking for strftime... yes
- checking for strnlen... (cached) yes
- checking for strpbrk... yes
- checking for strstr... yes
- checking for strtod... yes
- checking for strtol... yes
- checking for strtoul... (cached) yes
- checking for strtoll... yes
- checking for strtoull... yes
- checking for strtoumax... yes
- checking for dprintf... yes
- checking for strchrnul... yes
- checking for strdup... (cached) yes
- checking for libaudit.h... no
- checking whether AUDIT_USER_TTY is declared... yes
- checking whether confstr is declared... yes
- checking whether printf is declared... yes
- checking whether sbrk is declared... yes
- checking whether setregid is declared... yes
- checking whether strcpy is declared... yes
- checking whether strsignal is declared... yes
- checking for setresuid... yes
- checking for setresgid... yes
- checking whether strtold is declared... yes
- checking for broken strtold... no
- checking whether strtol is declared... yes
- checking whether strtoll is declared... yes
- checking whether strtoul is declared... yes
- checking whether strtoull is declared... yes
- checking whether strtoumax is declared... yes
- checking for working mktime... no
- checking for argz.h... (cached) yes
- checking for errno.h... yes
- checking for fcntl.h... yes
- checking for malloc.h... yes
- checking for stdio_ext.h... yes
- checking for working mmap... (cached) yes
- checking for __argz_count... yes
- checking for __argz_next... yes
- checking for __argz_stringify... yes
- checking for dcgettext... yes
- checking for mempcpy... (cached) yes
- checking for munmap... (cached) yes
- checking for mremap... yes
- checking for stpcpy... (cached) yes
- checking for strcspn... yes
- checking for wctype.h... yes
- checking for wchar.h... (cached) yes
- checking for langinfo.h... yes
- checking for mbstr.h... no
- checking for mbrlen... yes
- checking for mbscasecmp... no
- checking for mbscmp... no
- checking for mbsnrtowcs... yes
- checking for mbsrtowcs... yes
- checking for mbschr... no
- checking for wcrtomb... (cached) yes
- checking for wcscoll... yes
- checking for wcsdup... yes
- checking for wcwidth... yes
- checking for wctype... yes
- checking for wcswidth... yes
- checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
- checking for iswlower... yes
- checking for iswupper... yes
- checking for towlower... yes
- checking for towupper... yes
- checking for iswctype... yes
- checking for wchar_t in wchar.h... yes
- checking for wctype_t in wctype.h... yes
- checking for wint_t in wctype.h... yes
- checking for wcwidth broken with unicode combining characters... no
- checking for locale_charset... no
- checking size of wchar_t... 4
- checking for dlopen in -ldl... yes
- checking for dlopen... yes
- checking for dlclose... yes
- checking for dlsym... yes
- checking type of array argument to getgroups... gid_t
- checking for off_t... yes
- checking for mode_t... yes
- checking for uid_t in sys/types.h... (cached) yes
- checking for pid_t... yes
- checking for size_t... (cached) yes
- checking for uintptr_t... yes
- checking for ssize_t... yes
- checking for time_t... yes
- checking for long long int... (cached) yes
- checking for unsigned long long int... (cached) yes
- checking for sig_atomic_t in signal.h... yes
- checking size of char... 1
- checking size of short... 2
- checking size of int... 4
- checking size of long... 8
- checking size of char *... 8
- checking size of size_t... 8
- checking size of double... 8
- checking size of long long... 8
- checking for u_int... yes
- checking for u_long... yes
- checking for bits16_t... no
- checking for u_bits16_t... no
- checking for bits32_t... no
- checking for u_bits32_t... no
- checking for bits64_t... no
- checking for ptrdiff_t... (cached) yes
- checking whether stat file-mode macros are broken... no
- checking whether #! works in shell scripts... yes
- checking if dup2 fails to clear the close-on-exec flag... configure: WARNING: cannot check dup2 if cross compiling -- defaulting to no
- no
- checking whether pgrps need synchronization... configure: WARNING: cannot check pgrp synchronization if cross compiling -- defaulting to no
- no
- checking for type of signal functions... posix
- checking for sys_errlist and sys_nerr... yes
- checking whether sys_siglist is declared... no
- checking for sys_siglist in system C library... configure: WARNING: cannot check for sys_siglist if cross compiling -- defaulting to no
- no
- checking for _sys_siglist in signal.h or unistd.h... no
- checking for _sys_siglist in system C library... configure: WARNING: cannot check for _sys_siglist if cross compiling -- defaulting to no
- no
- checking for clock_t... yes
- checking for sigset_t... yes
- checking for socklen_t... yes
- checking for quad_t... yes
- checking for type of struct rlimit fields... rlim_t
- checking for intmax_t... yes
- checking for uintmax_t... yes
- checking size of intmax_t... 8
- checking for struct termios.c_line... yes
- checking for struct termio.c_line... yes
- checking for struct dirent.d_ino... checking for struct dirent.d_ino... yes
- yes
- checking for struct dirent.d_fileno... checking for struct dirent.d_fileno... yes
- yes
- checking for struct dirent.d_namlen... checking for struct dirent.d_namlen... no
- no
- checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
- checking for struct timeval in sys/time.h and time.h... yes
- checking for struct stat.st_blocks... yes
- checking whether struct tm is in sys/time.h or time.h... time.h
- checking for struct tm.tm_zone... yes
- checking for struct timezone in sys/time.h and time.h... yes
- checking for offset of exit status in return status from wait... configure: WARNING: cannot check WEXITSTATUS offset if cross compiling -- defaulting to 0
- 0
- checking for struct timespec in <time.h>... yes
- checking for struct stat.st_atim.tv_nsec... yes
- checking whether struct stat.st_atim is of type struct timespec... yes
- checking for sbrk... yes
- checking for working sbrk... configure: WARNING: cannot check working sbrk if cross-compiling
- yes
- checking for the existence of strsignal... yes
- checking if opendir() opens non-directories... configure: WARNING: cannot check opendir if cross compiling -- defaulting to no
- no
- checking whether ulimit can substitute for getdtablesize... configure: WARNING: cannot check ulimit if cross compiling -- defaulting to no
- no
- checking whether fpurge is declared... no
- checking to see if getenv can be redefined... configure: WARNING: cannot check getenv redefinition if cross compiling -- defaulting to yes
- yes
- checking if getcwd() will dynamically allocate memory with 0 size... configure: WARNING: cannot check whether getcwd allocates memory when cross-compiling -- defaulting to no
- no
- checking for presence of POSIX-style sigsetjmp/siglongjmp... configure: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to yes
- present
- checking whether or not strcoll and strcmp differ... configure: WARNING: cannot check strcoll if cross compiling -- defaulting to no
- no
- checking for standard-conformant snprintf... configure: WARNING: cannot check standard snprintf if cross-compiling
- yes
- checking for standard-conformant vsnprintf... configure: WARNING: cannot check standard vsnprintf if cross-compiling
- yes
- checking for usable strtoimax... checking for strtoimax... yes
- checking whether strtoimax is declared... yes
- yes
- checking for standard-conformant putenv declaration... yes
- checking for standard-conformant unsetenv declaration... yes
- checking for printf floating point output in hex notation... configure: WARNING: cannot check printf if cross compiling -- defaulting to no
- no
- checking whether fnmatch can be used to check bracket equivalence classes... configure: WARNING: cannot check fnmatch if cross compiling -- defaulting to no
- no
- checking if signal handlers must be reinstalled when invoked... configure: WARNING: cannot check signal handling if cross compiling -- defaulting to no
- no
- checking for presence of necessary job control definitions... present
- checking for presence of named pipes... configure: WARNING: cannot check for named pipes if cross-compiling -- defaulting to missing
- missing
- checking whether termios.h defines TIOCGWINSZ... no
- checking whether sys/ioctl.h defines TIOCGWINSZ... yes
- checking for TIOCSTAT in sys/ioctl.h... no
- checking for FIONREAD in sys/ioctl.h... yes
- checking whether WCONTINUED flag to waitpid is unavailable or available but broken... configure: WARNING: cannot check WCONTINUED if cross compiling -- defaulting to no
- no
- checking for speed_t in sys/types.h... no
- checking whether getpw functions are declared in pwd.h... yes
- checking for unusable real-time signals due to large values... configure: WARNING: cannot check real-time signals if cross compiling -- defaulting to yes
- yes
- checking for tgetent... no
- checking for tgetent in -ltermcap... no
- checking for tgetent in -ltinfo... no
- checking for tgetent in -lcurses... no
- checking for tgetent in -lncurses... yes
- checking which library has the termcap functions... using libncurses
- checking whether /dev/fd is available... standard
- checking whether /dev/stdin stdout stderr are available... present
- checking for default mail directory... /var/mail
- checking shared object configuration for loadable builtins... supported
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating builtins/Makefile
- config.status: creating lib/readline/Makefile
- config.status: creating lib/glob/Makefile
- config.status: creating lib/intl/Makefile
- config.status: creating lib/malloc/Makefile
- config.status: creating lib/sh/Makefile
- config.status: creating lib/termcap/Makefile
- config.status: creating lib/tilde/Makefile
- config.status: creating doc/Makefile
- config.status: creating support/Makefile
- config.status: creating po/Makefile.in
- config.status: creating examples/loadables/Makefile
- config.status: creating examples/loadables/Makefile.inc
- config.status: creating examples/loadables/Makefile.sample
- config.status: creating examples/loadables/perl/Makefile
- config.status: creating support/bash.pc
- config.status: creating support/bashbug.sh
- config.status: creating config.h
- config.status: executing po-directories commands
- config.status: creating po/POTFILES
- config.status: creating po/Makefile
- config.status: executing stamp-h commands
- lfs:/mnt/lfs/sources/bash-5.2.37$ make | tee make1.txt
- rm -f mksyntax
- gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -DCROSS_COMPILING -rdynamic -g -DCROSS_COMPILING -o mksyntax ./mksyntax.c
- rm -f mksignames.o
- rm -f buildsignames.o
- rm -f unwind_prot.o
- make[1]: warning: -j16 forced in submake: resetting jobserver mode.
- make[1]: Entering directory '/mnt/lfs/sources/bash-5.2.37/builtins'
- gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -DCROSS_COMPILING -DBUILDTOOL -c ./support/mksignames.c
- gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -DCROSS_COMPILING -DBUILDTOOL -o buildsignames.o -c ./support/signames.c
- rm -f alias.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c unwind_prot.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c alias.c
- rm -f xmalloc.o
- rm -f mkbuiltins.o
- rm -f signames.o
- gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -Wno-parentheses -Wno-format-security -g -DCROSS_COMPILING mkbuiltins.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c xmalloc.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c ./support/signames.c
- rm -f shell.o
- rm -f eval.o
- rm -f general.o
- rm -f make_cmd.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c shell.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c eval.c
- rm -f print_cmd.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c general.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c make_cmd.c
- rm -f dispose_cmd.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c print_cmd.c
- rm -f copy_cmd.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c dispose_cmd.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c copy_cmd.c
- make[1]: warning: -j16 forced in submake: resetting jobserver mode.
- make[1]: Entering directory '/mnt/lfs/sources/bash-5.2.37/support'
- rm -f man2html.o
- gcc -c -DHAVE_CONFIG_H -DSHELL -I/mnt/lfs/sources/bash-5.2.37 -I.. -Wno-parentheses -Wno-format-security -g man2html.c
- mkbuiltins.c: In function 'main':
- mkbuiltins.c:232:1: warning: old-style function definition [-Wold-style-definition]
- 232 | main (argc, argv)
- | ^~~~
- mkbuiltins.c:267:29: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 267 | error_directory = xmalloc (2 + strlen (argv[arg_index]));
- | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c:307:34: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 307 | temp_struct_filename = xmalloc (15);
- | ^~~~~~~ ~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c:312:13: error: too many arguments to function 'file_error'; expected 0, have 1
- 312 | file_error (temp_struct_filename);
- | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:206:6: note: declared here
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:320:13: error: too many arguments to function 'file_error'; expected 0, have 1
- 320 | file_error (extern_filename);
- | ^~~~~~~~~~ ~~~~~~~~~~~~~~~
- mkbuiltins.c:206:6: note: declared here
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:324:7: error: too many arguments to function 'write_file_headers'; expected 0, have 2
- 324 | write_file_headers (structfile, externfile);
- | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:209:6: note: declared here
- 209 | void write_file_headers ();
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c:341:7: error: too many arguments to function 'extract_info'; expected 0, have 3
- 341 | extract_info (arg, structfile, externfile);
- | ^~~~~~~~~~~~ ~~~
- mkbuiltins.c:204:6: note: declared here
- 204 | void extract_info ();
- | ^~~~~~~~~~~~
- mkbuiltins.c:348:7: error: too many arguments to function 'write_file_footers'; expected 0, have 2
- 348 | write_file_footers (structfile, externfile);
- | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:210:6: note: declared here
- 210 | void write_file_footers ();
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c:352:11: error: too many arguments to function 'write_longdocs'; expected 0, have 2
- 352 | write_longdocs (structfile, saved_builtins);
- | ^~~~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:214:6: note: declared here
- 214 | void write_longdocs ();
- | ^~~~~~~~~~~~~~
- ./support/mksignames.c: In function 'write_signames':
- ./support/mksignames.c:48:1: warning: old-style function definition [-Wold-style-definition]
- 48 | write_signames (stream)
- | ^~~~~~~~~~~~~~
- mkbuiltins.c: In function 'array_create':
- mkbuiltins.c:387:1: warning: old-style function definition [-Wold-style-definition]
- 387 | array_create (width)
- | ^~~~~~~~~~~~
- mkbuiltins.c:392:20: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 392 | array = (ARRAY *)xmalloc (sizeof (ARRAY));
- | ^~~~~~~ ~~~~~~~~~~~~~~
- ./support/mksignames.c: In function 'main':
- ./support/mksignames.c:74:1: warning: old-style function definition [-Wold-style-definition]
- 74 | main (argc, argv)
- | ^~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c: In function 'copy_string_array':
- mkbuiltins.c:407:1: warning: old-style function definition [-Wold-style-definition]
- 407 | copy_string_array (array)
- | ^~~~~~~~~~~~~~~~~
- mkbuiltins.c:422:26: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 422 | copy->array = (char **)xmalloc ((1 + array->sindex) * sizeof (char *));
- | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./mksyntax.c: In function 'cdesc':
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- ./mksyntax.c:108:1: warning: old-style function definition [-Wold-style-definition]
- 108 | cdesc (i)
- | ^~~~~
- mkbuiltins.c:68:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
- | ^~~~~~~ ~~~~~~~~~~~~~~
- mkbuiltins.c:425:22: note: in expansion of macro 'savestring'
- 425 | copy->array[i] = savestring (array->array[i]);
- | ^~~~~~~~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c: In function 'array_add':
- mkbuiltins.c:434:1: warning: old-style function definition [-Wold-style-definition]
- 434 | array_add (element, array)
- | ^~~~~~~~~
- mkbuiltins.c:439:29: error: too many arguments to function 'xrealloc'; expected 0, have 2
- 439 | array->array = (char **)xrealloc
- | ^~~~~~~~
- 440 | (array->array, (array->size += array->growth_rate) * array->width);
- | ~~~~~~~~~~~~
- ./mksyntax.c: In function 'getcstr':
- ./mksyntax.c:152:1: warning: old-style function definition [-Wold-style-definition]
- 152 | getcstr (f)
- | ^~~~~~~
- mkbuiltins.c:62:27: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~~
- ./mksyntax.c: In function 'addcstr':
- ./mksyntax.c:164:1: warning: old-style function definition [-Wold-style-definition]
- 164 | addcstr (str, flag)
- | ^~~~~~~
- mkbuiltins.c: In function 'array_free':
- ./mksyntax.c: In function 'addcchar':
- ./mksyntax.c:186:1: warning: old-style function definition [-Wold-style-definition]
- 186 | addcchar (c, flag)
- | ^~~~~~~~
- mkbuiltins.c:448:1: warning: old-style function definition [-Wold-style-definition]
- 448 | array_free (array)
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'find_directive':
- ./mksyntax.c: In function 'dump_lflags':
- mkbuiltins.c:497:1: warning: old-style function definition [-Wold-style-definition]
- 497 | find_directive (directive)
- | ^~~~~~~~~~~~~~
- ./mksyntax.c:255:1: warning: old-style function definition [-Wold-style-definition]
- 255 | dump_lflags (fp, ind)
- | ^~~~~~~~~~~
- mkbuiltins.c: In function 'extract_info':
- mkbuiltins.c:527:1: warning: old-style function definition [-Wold-style-definition]
- 527 | extract_info (filename, structfile, externfile)
- | ^~~~~~~~~~~~
- mkbuiltins.c:530:1: error: number of arguments doesn't match prototype
- 530 | {
- | ^
- ./mksyntax.c: In function 'wcomment':
- ./mksyntax.c:281:1: warning: old-style function definition [-Wold-style-definition]
- 281 | wcomment (fp, i)
- | ^~~~~~~~
- ./mksyntax.c: In function 'dump_lsyntax':
- ./mksyntax.c:293:1: warning: old-style function definition [-Wold-style-definition]
- 293 | dump_lsyntax (fp)
- | ^~~~~~~~~~~~
- mkbuiltins.c:204:6: error: prototype declaration
- 204 | void extract_info ();
- | ^~~~~~~~~~~~
- ./mksyntax.c: In function 'main':
- mkbuiltins.c:539:5: error: too many arguments to function 'file_error'; expected 0, have 1
- 539 | file_error (filename);
- | ^~~~~~~~~~ ~~~~~~~~
- ./mksyntax.c:314:1: warning: old-style function definition [-Wold-style-definition]
- 314 | main(argc, argv)
- | ^~~~
- mkbuiltins.c:206:6: note: declared here
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:544:5: error: too many arguments to function 'file_error'; expected 0, have 1
- 544 | file_error (filename);
- | ^~~~~~~~~~ ~~~~~~~~
- mkbuiltins.c:206:6: note: declared here
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:547:12: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 547 | buffer = xmalloc (1 + file_size);
- | ^~~~~~~ ~~~~~~~~~~~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c:550:5: error: too many arguments to function 'file_error'; expected 0, have 1
- 550 | file_error (filename);
- | ^~~~~~~~~~ ~~~~~~~~
- mkbuiltins.c:206:6: note: declared here
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:566:22: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 566 | defs = (DEF_FILE *)xmalloc (sizeof (DEF_FILE));
- | ^~~~~~~ ~~~~~~~~~~~~~~~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c:603:23: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 603 | directive = xmalloc (j);
- | ^~~~~~~ ~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c:612:15: error: too many arguments to function 'line_error'; expected 0, have 3
- 612 | line_error (defs, "Unknown directive `%s'", directive);
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:630:13: error: too many arguments to function 'add_documentation'; expected 0, have 2
- 630 | add_documentation (defs, line);
- | ^~~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:220:6: note: declared here
- 220 | void add_documentation ();
- | ^~~~~~~~~~~~~~~~~
- mkbuiltins.c:660:3: error: too many arguments to function 'write_builtins'; expected 0, have 3
- 660 | write_builtins (defs, structfile, externfile);
- | ^~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:215:6: note: declared here
- 215 | void write_builtins ();
- | ^~~~~~~~~~~~~~
- mkbuiltins.c:663:3: error: too many arguments to function 'free_defs'; expected 0, have 1
- 663 | free_defs (defs);
- | ^~~~~~~~~ ~~~~
- mkbuiltins.c:219:6: note: declared here
- 219 | void free_defs ();
- | ^~~~~~~~~
- mkbuiltins.c: In function 'free_builtin':
- mkbuiltins.c:669:1: warning: old-style function definition [-Wold-style-definition]
- 669 | free_builtin (builtin)
- | ^~~~~~~~~~~~
- rm -f error.o
- rm -f expr.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c error.c
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c expr.c
- mkbuiltins.c: In function 'free_defs':
- mkbuiltins.c:692:1: warning: old-style function definition [-Wold-style-definition]
- 692 | free_defs (defs)
- | ^~~~~~~~~
- mkbuiltins.c:694:1: error: number of arguments doesn't match prototype
- 694 | {
- | ^
- mkbuiltins.c:219:6: error: prototype declaration
- 219 | void free_defs ();
- | ^~~~~~~~~
- mkbuiltins.c: In function 'strip_whitespace':
- mkbuiltins.c:725:1: warning: old-style function definition [-Wold-style-definition]
- 725 | strip_whitespace (string)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c:731:3: error: too many arguments to function 'remove_trailing_whitespace'; expected 0, have 1
- 731 | remove_trailing_whitespace (string);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
- mkbuiltins.c:223:6: note: declared here
- 223 | void remove_trailing_whitespace ();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'remove_trailing_whitespace':
- mkbuiltins.c:737:1: warning: old-style function definition [-Wold-style-definition]
- 737 | remove_trailing_whitespace (string)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:739:1: error: number of arguments doesn't match prototype
- 739 | {
- | ^
- mkbuiltins.c:223:6: error: prototype declaration
- 223 | void remove_trailing_whitespace ();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'get_arg':
- mkbuiltins.c:755:1: warning: old-style function definition [-Wold-style-definition]
- 755 | get_arg (for_whom, defs, string)
- | ^~~~~~~
- mkbuiltins.c:764:5: error: too many arguments to function 'line_error'; expected 0, have 3
- 764 | line_error (defs, "%s requires an argument", for_whom);
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:68:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
- | ^~~~~~~ ~~~~~~~~~~~~~~
- mkbuiltins.c:766:11: note: in expansion of macro 'savestring'
- 766 | return (savestring (new));
- | ^~~~~~~~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- rm -f flags.o
- mkbuiltins.c: In function 'must_be_building':
- mkbuiltins.c:771:1: warning: old-style function definition [-Wold-style-definition]
- 771 | must_be_building (directive, defs)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c:774:1: error: number of arguments doesn't match prototype
- 774 | {
- | ^
- mkbuiltins.c:222:6: error: prototype declaration
- 222 | void must_be_building ();
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c:776:5: error: too many arguments to function 'line_error'; expected 0, have 3
- 776 | line_error (defs, "%s must be inside of a $BUILTIN block", directive);
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'current_builtin':
- mkbuiltins.c:781:1: warning: old-style function definition [-Wold-style-definition]
- 781 | current_builtin (directive, defs)
- | ^~~~~~~~~~~~~~~
- mkbuiltins.c:785:3: error: too many arguments to function 'must_be_building'; expected 0, have 2
- 785 | must_be_building (directive, defs);
- | ^~~~~~~~~~~~~~~~ ~~~~~~~~~
- mkbuiltins.c:771:1: note: declared here
- 771 | must_be_building (directive, defs)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'add_documentation':
- mkbuiltins.c:795:1: warning: old-style function definition [-Wold-style-definition]
- 795 | add_documentation (defs, line)
- | ^~~~~~~~~~~~~~~~~
- mkbuiltins.c:798:1: error: number of arguments doesn't match prototype
- 798 | {
- | ^
- mkbuiltins.c:220:6: error: prototype declaration
- 220 | void add_documentation ();
- | ^~~~~~~~~~~~~~~~~
- mkbuiltins.c:803:3: error: too many arguments to function 'remove_trailing_whitespace'; expected 0, have 1
- 803 | remove_trailing_whitespace (line);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:737:1: note: declared here
- 737 | remove_trailing_whitespace (string)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'builtin_handler':
- mkbuiltins.c:816:1: warning: old-style function definition [-Wold-style-definition]
- 816 | builtin_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~
- mkbuiltins.c:827:7: error: too many arguments to function 'line_error'; expected 0, have 3
- 827 | line_error (defs, "%s found before $END", self);
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:840:25: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 840 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC));
- | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:62:14: note: declared here
- 62 | static char *xmalloc (), *xrealloc ();
- | ^~~~~~~
- mkbuiltins.c:849:7: error: too many arguments to function 'is_special_builtin'; expected 0, have 1
- 849 | if (is_special_builtin (name))
- | ^~~~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:194:12: note: declared here
- 194 | static int is_special_builtin ();
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c:851:7: error: too many arguments to function 'is_assignment_builtin'; expected 0, have 1
- 851 | if (is_assignment_builtin (name))
- | ^~~~~~~~~~~~~~~~~~~~~ ~~~~
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c flags.c
- mkbuiltins.c:195:12: note: declared here
- 195 | static int is_assignment_builtin ();
- | ^~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:853:7: error: too many arguments to function 'is_localvar_builtin'; expected 0, have 1
- 853 | if (is_localvar_builtin (name))
- | ^~~~~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:196:12: note: declared here
- 196 | static int is_localvar_builtin ();
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:855:7: error: too many arguments to function 'is_posix_builtin'; expected 0, have 1
- 855 | if (is_posix_builtin (name))
- | ^~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:197:12: note: declared here
- 197 | static int is_posix_builtin ();
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c:857:7: error: too many arguments to function 'is_arrayvar_builtin'; expected 0, have 1
- 857 | if (is_arrayvar_builtin (name))
- | ^~~~~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:198:12: note: declared here
- 198 | static int is_arrayvar_builtin ();
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'function_handler':
- mkbuiltins.c:868:1: warning: old-style function definition [-Wold-style-definition]
- 868 | function_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c:879:7: error: too many arguments to function 'line_error'; expected 0, have 2
- 879 | line_error (defs, "syntax error: no current builtin for $FUNCTION directive");
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:883:5: error: too many arguments to function 'line_error'; expected 0, have 4
- 883 | line_error (defs, "%s already has a function (%s)",
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'docname_handler':
- mkbuiltins.c:893:1: warning: old-style function definition [-Wold-style-definition]
- 893 | docname_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~
- mkbuiltins.c:903:5: error: too many arguments to function 'line_error'; expected 0, have 4
- 903 | line_error (defs, "%s already had a docname (%s)",
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'short_doc_handler':
- mkbuiltins.c:913:1: warning: old-style function definition [-Wold-style-definition]
- 913 | short_doc_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~~~
- mkbuiltins.c:923:5: error: too many arguments to function 'line_error'; expected 0, have 4
- 923 | line_error (defs, "%s already has short documentation (%s)",
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'comment_handler':
- mkbuiltins.c:933:1: warning: old-style function definition [-Wold-style-definition]
- 933 | comment_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'depends_on_handler':
- mkbuiltins.c:943:1: warning: old-style function definition [-Wold-style-definition]
- 943 | depends_on_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'produces_handler':
- mkbuiltins.c:964:1: warning: old-style function definition [-Wold-style-definition]
- 964 | produces_handler (self, defs, arg)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c:977:5: error: too many arguments to function 'line_error'; expected 0, have 4
- 977 | line_error (defs, "%s already has a %s definition", defs->filename, self);
- | ^~~~~~~~~~ ~~~~
- mkbuiltins.c:207:6: note: declared here
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c:988:9: error: too many arguments to function 'file_error'; expected 0, have 1
- 988 | file_error (defs->production);
- | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~
- mkbuiltins.c:206:6: note: declared here
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'end_handler':
- mkbuiltins.c:998:1: warning: old-style function definition [-Wold-style-definition]
- 998 | end_handler (self, defs, arg)
- | ^~~~~~~~~~~
- mkbuiltins.c:1003:3: error: too many arguments to function 'must_be_building'; expected 0, have 2
- 1003 | must_be_building (self, defs);
- | ^~~~~~~~~~~~~~~~ ~~~~
- mkbuiltins.c:771:1: note: declared here
- 771 | must_be_building (directive, defs)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'line_error':
- mkbuiltins.c:1016:1: warning: old-style function definition [-Wold-style-definition]
- 1016 | line_error (defs, format, arg1, arg2)
- | ^~~~~~~~~~
- mkbuiltins.c:1019:1: error: number of arguments doesn't match prototype
- 1019 | {
- | ^
- mkbuiltins.c:207:6: error: prototype declaration
- 207 | void line_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'file_error':
- mkbuiltins.c:1030:1: warning: old-style function definition [-Wold-style-definition]
- 1030 | file_error (filename)
- | ^~~~~~~~~~
- mkbuiltins.c:1032:1: error: number of arguments doesn't match prototype
- 1032 | {
- | ^
- mkbuiltins.c:206:6: error: prototype declaration
- 206 | void file_error ();
- | ^~~~~~~~~~
- mkbuiltins.c: In function 'xmalloc':
- mkbuiltins.c:1046:1: warning: old-style function definition [-Wold-style-definition]
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c: In function 'xrealloc':
- mkbuiltins.c:1057:1: warning: old-style function definition [-Wold-style-definition]
- 1057 | xrealloc (pointer, bytes)
- | ^~~~~~~~
- mkbuiltins.c: In function 'copy_builtin':
- mkbuiltins.c:1090:1: warning: old-style function definition [-Wold-style-definition]
- 1090 | copy_builtin (builtin)
- | ^~~~~~~~~~~~
- mkbuiltins.c:1095:25: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 1095 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC));
- | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c:68:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
- | ^~~~~~~ ~~~~~~~~~~~~~~
- mkbuiltins.c:1097:15: note: in expansion of macro 'savestring'
- 1097 | new->name = savestring (builtin->name);
- | ^~~~~~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c:68:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
- | ^~~~~~~ ~~~~~~~~~~~~~~
- mkbuiltins.c:1098:19: note: in expansion of macro 'savestring'
- 1098 | new->shortdoc = savestring (builtin->shortdoc);
- | ^~~~~~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c:68:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
- | ^~~~~~~ ~~~~~~~~~~~~~~
- mkbuiltins.c:1103:25: note: in expansion of macro 'savestring'
- 1103 | builtin->function ? savestring (builtin->function) : (char *)NULL;
- | ^~~~~~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c:68:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
- | ^~~~~~~ ~~~~~~~~~~~~~~
- mkbuiltins.c:1105:25: note: in expansion of macro 'savestring'
- 1105 | builtin->docname ? savestring (builtin->docname) : (char *)NULL;
- | ^~~~~~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c: In function 'save_builtin':
- mkbuiltins.c:1112:1: warning: old-style function definition [-Wold-style-definition]
- 1112 | save_builtin (builtin)
- | ^~~~~~~~~~~~
- mkbuiltins.c: In function 'write_file_headers':
- mkbuiltins.c:1190:1: warning: old-style function definition [-Wold-style-definition]
- 1190 | write_file_headers (structfile, externfile)
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1192:1: error: number of arguments doesn't match prototype
- 1192 | {
- | ^
- mkbuiltins.c:209:6: error: prototype declaration
- 209 | void write_file_headers ();
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'write_file_footers':
- mkbuiltins.c:1217:1: warning: old-style function definition [-Wold-style-definition]
- 1217 | write_file_footers (structfile, externfile)
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1219:1: error: number of arguments doesn't match prototype
- 1219 | {
- | ^
- mkbuiltins.c:210:6: error: prototype declaration
- 210 | void write_file_footers ();
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'write_builtins':
- mkbuiltins.c:1233:1: warning: old-style function definition [-Wold-style-definition]
- 1233 | write_builtins (defs, structfile, externfile)
- | ^~~~~~~~~~~~~~
- mkbuiltins.c:1236:1: error: number of arguments doesn't match prototype
- 1236 | {
- | ^
- mkbuiltins.c:215:6: error: prototype declaration
- 215 | void write_builtins ();
- | ^~~~~~~~~~~~~~
- mkbuiltins.c:1253:19: error: too many arguments to function 'write_ifdefs'; expected 0, have 2
- 1253 | write_ifdefs (externfile, builtin->dependencies->array);
- | ^~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:211:6: note: declared here
- 211 | void write_ifdefs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c:1254:19: error: too many arguments to function 'write_ifdefs'; expected 0, have 2
- 1254 | write_ifdefs (structfile, builtin->dependencies->array);
- | ^~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:211:6: note: declared here
- 211 | void write_ifdefs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c:1320:21: error: too many arguments to function 'write_endifs'; expected 0, have 2
- 1320 | write_endifs (externfile, builtin->dependencies->array);
- | ^~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:212:6: note: declared here
- 212 | void write_endifs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c:1323:21: error: too many arguments to function 'write_endifs'; expected 0, have 2
- 1323 | write_endifs (structfile, builtin->dependencies->array);
- | ^~~~~~~~~~~~ ~~~~~~~~~~
- mkbuiltins.c:212:6: note: declared here
- 212 | void write_endifs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c:1330:15: error: too many arguments to function 'write_documentation'; expected 0, have 4
- 1330 | write_documentation
- | ^~~~~~~~~~~~~~~~~~~
- 1331 | (documentation_file, builtin->longdoc->array, 0, TEXINFO);
- | ~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:213:6: note: declared here
- 213 | void write_documentation ();
- | ^~~~~~~~~~~~~~~~~~~
- rm -f hashcmd.o
- mkbuiltins.c: In function 'write_longdocs':
- mkbuiltins.c:1339:1: warning: old-style function definition [-Wold-style-definition]
- 1339 | write_longdocs (stream, builtins)
- | ^~~~~~~~~~~~~~
- mkbuiltins.c:1342:1: error: number of arguments doesn't match prototype
- 1342 | {
- | ^
- mkbuiltins.c:214:6: error: prototype declaration
- 214 | void write_longdocs ();
- | ^~~~~~~~~~~~~~
- mkbuiltins.c:1353:9: error: too many arguments to function 'write_ifdefs'; expected 0, have 2
- 1353 | write_ifdefs (stream, builtin->dependencies->array);
- | ^~~~~~~~~~~~ ~~~~~~
- mkbuiltins.c:211:6: note: declared here
- 211 | void write_ifdefs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c:1362:31: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 1362 | sarray[0] = (char *)xmalloc (l + 1);
- | ^~~~~~~ ~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c:1365:11: error: too many arguments to function 'write_documentation'; expected 0, have 4
- 1365 | write_documentation (stream, sarray, 0, STRING_ARRAY|HELPFILE);
- | ^~~~~~~~~~~~~~~~~~~ ~~~~~~
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c hashcmd.c
- mkbuiltins.c:213:6: note: declared here
- 213 | void write_documentation ();
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1369:9: error: too many arguments to function 'write_documentation'; expected 0, have 4
- 1369 | write_documentation (stream, builtin->longdoc->array, 0, STRING_ARRAY);
- | ^~~~~~~~~~~~~~~~~~~ ~~~~~~
- mkbuiltins.c:213:6: note: declared here
- 213 | void write_documentation ();
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1372:9: error: too many arguments to function 'write_endifs'; expected 0, have 2
- 1372 | write_endifs (stream, builtin->dependencies->array);
- | ^~~~~~~~~~~~ ~~~~~~
- mkbuiltins.c:212:6: note: declared here
- 212 | void write_endifs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c: In function 'write_dummy_declarations':
- mkbuiltins.c:1378:1: warning: old-style function definition [-Wold-style-definition]
- 1378 | write_dummy_declarations (stream, builtins)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'write_ifdefs':
- mkbuiltins.c:1404:1: warning: old-style function definition [-Wold-style-definition]
- 1404 | write_ifdefs (stream, defines)
- | ^~~~~~~~~~~~
- mkbuiltins.c:1407:1: error: number of arguments doesn't match prototype
- 1407 | {
- | ^
- mkbuiltins.c:211:6: error: prototype declaration
- 211 | void write_ifdefs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c: In function 'write_endifs':
- mkbuiltins.c:1435:1: warning: old-style function definition [-Wold-style-definition]
- 1435 | write_endifs (stream, defines)
- | ^~~~~~~~~~~~
- mkbuiltins.c:1438:1: error: number of arguments doesn't match prototype
- 1438 | {
- | ^
- mkbuiltins.c:212:6: error: prototype declaration
- 212 | void write_endifs ();
- | ^~~~~~~~~~~~
- mkbuiltins.c: In function 'write_documentation':
- mkbuiltins.c:1462:1: warning: old-style function definition [-Wold-style-definition]
- 1462 | write_documentation (stream, documentation, indentation, flags)
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1466:1: error: number of arguments doesn't match prototype
- 1466 | {
- | ^
- mkbuiltins.c:213:6: error: prototype declaration
- 213 | void write_documentation ();
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'write_helpfiles':
- mkbuiltins.c:1593:1: warning: old-style function definition [-Wold-style-definition]
- 1593 | write_helpfiles (builtins)
- | ^~~~~~~~~~~~~~~
- mkbuiltins.c:1595:1: error: number of arguments doesn't match prototype
- 1595 | {
- | ^
- mkbuiltins.c:217:5: error: prototype declaration
- 217 | int write_helpfiles ();
- | ^~~~~~~~~~~~~~~
- mkbuiltins.c:1614:26: error: too many arguments to function 'xmalloc'; expected 0, have 1
- 1614 | helpfile = (char *)xmalloc (hdlen + strlen (bname) + 1);
- | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c:1046:1: note: declared here
- 1046 | xmalloc (bytes)
- | ^~~~~~~
- mkbuiltins.c:1625:7: error: too many arguments to function 'write_documentation'; expected 0, have 4
- 1625 | write_documentation (helpfp, builtin->longdoc->array, 4, PLAINTEXT);
- | ^~~~~~~~~~~~~~~~~~~ ~~~~~~
- mkbuiltins.c:1462:1: note: declared here
- 1462 | write_documentation (stream, documentation, indentation, flags)
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function '_find_in_table':
- mkbuiltins.c:1635:1: warning: old-style function definition [-Wold-style-definition]
- 1635 | _find_in_table (name, name_table)
- | ^~~~~~~~~~~~~~
- mkbuiltins.c: In function 'is_special_builtin':
- mkbuiltins.c:1647:1: warning: old-style function definition [-Wold-style-definition]
- 1647 | is_special_builtin (name)
- | ^~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'is_assignment_builtin':
- mkbuiltins.c:1654:1: warning: old-style function definition [-Wold-style-definition]
- 1654 | is_assignment_builtin (name)
- | ^~~~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'is_localvar_builtin':
- mkbuiltins.c:1661:1: warning: old-style function definition [-Wold-style-definition]
- 1661 | is_localvar_builtin (name)
- | ^~~~~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'is_posix_builtin':
- mkbuiltins.c:1668:1: warning: old-style function definition [-Wold-style-definition]
- 1668 | is_posix_builtin (name)
- | ^~~~~~~~~~~~~~~~
- mkbuiltins.c: In function 'is_arrayvar_builtin':
- mkbuiltins.c:1675:1: warning: old-style function definition [-Wold-style-definition]
- 1675 | is_arrayvar_builtin (name)
- | ^~~~~~~~~~~~~~~~~~~
- make[1]: *** [Makefile:223: mkbuiltins.o] Error 1
- make[1]: Leaving directory '/mnt/lfs/sources/bash-5.2.37/builtins'
- rm -f hashlib.o
- x86_64-lfs-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-lfs-linux-gnu"' -DCONF_VENDOR='"lfs"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -Wno-parentheses -Wno-format-security -g -O2 -c hashlib.c
- make: *** [Makefile:762: builtins/builtext.h] Error 1
- make: *** Waiting for unfinished jobs....
- gcc -rdynamic -g man2html.o -o man2html -ldl
- make[1]: Leaving directory '/mnt/lfs/sources/bash-5.2.37/support'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement