D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/eggdrop-1.10.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sTgiBi sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OZqb5F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build + rm -rf eggdrop-1.10.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/eggdrop-1.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd eggdrop-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OR7lWj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd eggdrop-1.10.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CPPFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS' + CPPFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./misc/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./misc/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./misc/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./misc/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./misc/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./misc/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking This is Eggdrop's GNU configure script. It's going to run a bunch of tests to hopefully make your compile work without much twiddling. checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed 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 wchar.h... yes checking for minix/config.h... no checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required checking for icc... no checking whether the compiler understands -pipe... yes checking whether the compiler understands -Wall... yes checking for a BSD-compatible install... /usr/bin/install -c checking for make... make checking whether make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking whether head -n 1 works... yes checking for strip... strip checking for gawk... gawk checking for basename... basename checking for uname... uname checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for library containing gethostbyname... none required checking for library containing socket... none required checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for library containing dlopen... none required checking for tan in -lm... yes checking target system type... x86_64-mageia-linux-gnu checking system type... Linux checking system release... 6.6.79-server-1.mga10 checking module loading capabilities... checking for dl.h... no checking for dlfcn.h... yes checking for loader.h... no checking for rld.h... no checking for mach-o/dyld.h... no checking for mach-o/rld.h... no checking for dlopen... yes checking for load... no checking for NSLinkModule... no checking for shl_load... no checking for rld_load... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for locale.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdio.h... (cached) yes checking for stdarg.h... yes checking for stddef.h... yes checking for sys/file.h... yes checking for sys/param.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for wchar.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for flexible array members... yes checking for intptr_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gcc options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... yes checking for working volatile... yes checking for socklen_t... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in eggint.h (assuming C99 compatible system) checking for clock_gettime... yes checking for dprintf... yes checking for explicit_bzero... yes checking for memset_explicit... no checking for explicit_memset... no checking for getrandom... yes checking for inet_aton... yes checking for memset_s... no checking for snprintf... yes checking for strlcpy... yes checking for vsnprintf... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for b64_ntop... no checking for b64_ntop with -lresolv... yes checking for getpagesize... yes checking for working mmap... yes configure: Autoconfiguring Tcl with tclConfig.sh checking for correct TEA configuration... ok (TEA 3.10) configure: configuring Eggdrop 1.10.0 checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking platform... unix checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking for Tcl linker... ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@} checking for Tcl version... 8.6.16 checking for Tcl library flags... -L/usr/lib64 -ltcl8.6 -lz -lpthread -lm checking for Tcl header flags... -I/usr/include checking whether C compiler accepts -Og... yes checking for system IPv6 support... yes checking for struct in6_addr... yes checking for the in6addr_any constant... yes checking for the in6addr_loopback constant... yes checking for struct sockaddr_in6... yes checking whether to enable TLS support... yes checking for openssl/ssl.h... yes checking for openssl/x509v3.h... yes checking for X509_digest in -lcrypto... yes checking for SSL_accept in -lssl... yes checking for EVP_sha1... yes checking for a2i_IPADDRESS... yes checking for EVP_md5... yes checking for OPENSSL_buf2hexstr... yes checking for OPENSSL_hexstr2buf... yes checking for OpenSSL... yes checking for ASN1_STRING_get0_data... yes checking for EVP_PKEY_get1_EC_KEY... yes checking for openssl/md5.h... yes checking for MD5_Init... yes checking for MD5_Update... yes checking for MD5_Final... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating src/compat/Makefile config.status: creating src/md5/Makefile config.status: creating src/mod/Makefile config.status: creating config.h config.status: executing eggint.h commands config.status: creating eggint.h : __EGGINT_H config.status: executing replace-if-changed commands creating lush.h config.status: executing catch-make-rebuild commands configure: WARNING: unrecognized options: --disable-dependency-tracking Operating System: Linux 6.6.79-server-1.mga10 IPv6 Support: yes Tcl version: 8.6.16 (threaded) SSL/TLS Support: yes (OpenSSL 3.5.0 8 Apr 2025) Threaded DNS core: yes If you experience any problems compiling Eggdrop, please read the compile guide, found in doc/COMPILE-GUIDE. Type 'make config' to configure the modules, or type 'make iconfig' to interactively choose which modules to compile. + make config Detecting modules....................... done. Calculating dependencies...................... done. Building ./src/mod/Makefile... done. make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/mod' Configuring module 'compress'. configure: creating cache ../../../config.cache checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for gzopen in -lz... yes 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 zlib.h... yes configure: updating cache ../../../config.cache configure: creating ./config.status config.status: creating Makefile Configuring module 'dns'. configure: loading cache ../../../config.cache checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking for sys/types.h... (cached) yes checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for netdb.h... yes checking for resolv.h... yes checking for a working resolver library... yes () configure: updating cache ../../../config.cache configure: creating ./config.status config.status: creating Makefile Configuring module 'python'. configure: loading cache ../../../config.cache checking for grep that handles long lines and -e... /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking for python3-config... no checking for python3.12-config... no checking for python3.11-config... no checking for python3.10-config... no checking for python3.9-config... no checking for python3.8-config... no checking for python-config... no checking for gawk... gawk checking python version is >= 3.8.0... no () configure: WARNING: Eggdrop requires python version 3.8.0 or higher There was an issue with your python installation. Please read python.mod/config.log for more details. The python module will be disabled. configure: updating cache ../../../config.cache configure: creating ./config.status config.status: creating Makefile make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/mod' Building ./src/mod/Makefile... done. You can now compile the bot, using "make". + /usr/bin/make -O -j48 V=1 VERBOSE=1 'LD=gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'SHLIB_LD=gcc -shared -nostartfiles -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'MOD_LD=gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' Making core eggdrop files... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c inet_aton.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:40: inet_aton.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c strlcpy.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:40: strlcpy.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c base64.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c in6.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c explicit_bzero.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/md5' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c md5c.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/md5' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c snprintf.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src/compat' make[1]: *** [Makefile:74: compatibility] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c dns.c dns.c:748:17: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 748 | {"dnslookup", tcl_dnslookup}, | ^~~~~~~~~~~~~ dns.c:748:17: note: (near initialization for 'tcldns_cmds[0].func') dns.c:714:12: note: 'tcl_dnslookup' declared here 714 | static int tcl_dnslookup STDVAR | ^~~~~~~~~~~~~ make[1]: *** [Makefile:86: dns.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c tcluser.c tcluser.c: In function 'tcl_setuser': tcluser.c:707:10: error: too many arguments to function '*(func + 168)'; expected 0, have 3 707 | (func[IRC_CHECK_THIS_USER]) (argv[1], 1, NULL); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ tcluser.c:725:10: error: too many arguments to function '*(func + 168)'; expected 0, have 3 725 | (func[IRC_CHECK_THIS_USER]) (argv[1], 0, NULL); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ tcluser.c: At top level: tcluser.c:731:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 731 | {"countusers", tcl_countusers}, | ^~~~~~~~~~~~~~ tcluser.c:731:24: note: (near initialization for 'tcluser_cmds[0].func') tcluser.c:36:12: note: 'tcl_countusers' declared here 36 | static int tcl_countusers STDVAR | ^~~~~~~~~~~~~~ tcluser.c:732:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 732 | {"validuser", tcl_validuser}, | ^~~~~~~~~~~~~ tcluser.c:732:25: note: (near initialization for 'tcluser_cmds[1].func') tcluser.c:44:12: note: 'tcl_validuser' declared here 44 | static int tcl_validuser STDVAR | ^~~~~~~~~~~~~ tcluser.c:733:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 733 | {"finduser", tcl_finduser}, | ^~~~~~~~~~~~ tcluser.c:733:26: note: (near initialization for 'tcluser_cmds[2].func') tcluser.c:53:12: note: 'tcl_finduser' declared here 53 | static int tcl_finduser STDVAR | ^~~~~~~~~~~~ tcluser.c:734:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 734 | {"passwdok", tcl_passwdOk}, | ^~~~~~~~~~~~ tcluser.c:734:26: note: (near initialization for 'tcluser_cmds[3].func') tcluser.c:73:12: note: 'tcl_passwdOk' declared here 73 | static int tcl_passwdOk STDVAR | ^~~~~~~~~~~~ tcluser.c:735:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 735 | {"chattr", tcl_chattr}, | ^~~~~~~~~~ tcluser.c:735:28: note: (near initialization for 'tcluser_cmds[4].func') tcluser.c:84:12: note: 'tcl_chattr' declared here 84 | static int tcl_chattr STDVAR | ^~~~~~~~~~ tcluser.c:736:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 736 | {"botattr", tcl_botattr}, | ^~~~~~~~~~~ tcluser.c:736:27: note: (near initialization for 'tcluser_cmds[5].func') tcluser.c:167:12: note: 'tcl_botattr' declared here 167 | static int tcl_botattr STDVAR | ^~~~~~~~~~~ tcluser.c:737:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 737 | {"matchattr", tcl_matchattr}, | ^~~~~~~~~~~~~ tcluser.c:737:25: note: (near initialization for 'tcluser_cmds[6].func') tcluser.c:250:12: note: 'tcl_matchattr' declared here 250 | static int tcl_matchattr STDVAR | ^~~~~~~~~~~~~ tcluser.c:738:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 738 | {"matchchanattr", tcl_matchattr}, | ^~~~~~~~~~~~~ tcluser.c:738:25: note: (near initialization for 'tcluser_cmds[7].func') tcluser.c:250:12: note: 'tcl_matchattr' declared here 250 | static int tcl_matchattr STDVAR | ^~~~~~~~~~~~~ tcluser.c:739:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 739 | {"adduser", tcl_adduser}, | ^~~~~~~~~~~ tcluser.c:739:27: note: (near initialization for 'tcluser_cmds[8].func') tcluser.c:284:12: note: 'tcl_adduser' declared here 284 | static int tcl_adduser STDVAR | ^~~~~~~~~~~ tcluser.c:740:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 740 | {"addbot", tcl_addbot}, | ^~~~~~~~~~ tcluser.c:740:28: note: (near initialization for 'tcluser_cmds[9].func') tcluser.c:306:12: note: 'tcl_addbot' declared here 306 | static int tcl_addbot STDVAR | ^~~~~~~~~~ tcluser.c:741:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 741 | {"deluser", tcl_deluser}, | ^~~~~~~~~~~ tcluser.c:741:27: note: (near initialization for 'tcluser_cmds[10].func') tcluser.c:454:12: note: 'tcl_deluser' declared here 454 | static int tcl_deluser STDVAR | ^~~~~~~~~~~ tcluser.c:742:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 742 | {"delhost", tcl_delhost}, | ^~~~~~~~~~~ tcluser.c:742:27: note: (near initialization for 'tcluser_cmds[11].func') tcluser.c:463:12: note: 'tcl_delhost' declared here 463 | static int tcl_delhost STDVAR | ^~~~~~~~~~~ tcluser.c:743:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 743 | {"userlist", tcl_userlist}, | ^~~~~~~~~~~~ tcluser.c:743:26: note: (near initialization for 'tcluser_cmds[12].func') tcluser.c:475:12: note: 'tcl_userlist' declared here 475 | static int tcl_userlist STDVAR | ^~~~~~~~~~~~ tcluser.c:744:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 744 | {"save", tcl_save}, | ^~~~~~~~ tcluser.c:744:30: note: (near initialization for 'tcluser_cmds[13].func') tcluser.c:512:12: note: 'tcl_save' declared here 512 | static int tcl_save STDVAR | ^~~~~~~~ tcluser.c:745:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 745 | {"reload", tcl_reload}, | ^~~~~~~~~~ tcluser.c:745:28: note: (near initialization for 'tcluser_cmds[14].func') tcluser.c:518:12: note: 'tcl_reload' declared here 518 | static int tcl_reload STDVAR | ^~~~~~~~~~ tcluser.c:746:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 746 | {"chhandle", tcl_chhandle}, | ^~~~~~~~~~~~ tcluser.c:746:26: note: (near initialization for 'tcluser_cmds[15].func') tcluser.c:524:12: note: 'tcl_chhandle' declared here 524 | static int tcl_chhandle STDVAR | ^~~~~~~~~~~~ tcluser.c:747:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 747 | {"chnick", tcl_chhandle}, | ^~~~~~~~~~~~ tcluser.c:747:26: note: (near initialization for 'tcluser_cmds[16].func') tcluser.c:524:12: note: 'tcl_chhandle' declared here 524 | static int tcl_chhandle STDVAR | ^~~~~~~~~~~~ tcluser.c:748:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 748 | {"getting-users", tcl_getting_users}, | ^~~~~~~~~~~~~~~~~ tcluser.c:748:21: note: (near initialization for 'tcluser_cmds[17].func') tcluser.c:559:12: note: 'tcl_getting_users' declared here 559 | static int tcl_getting_users STDVAR | ^~~~~~~~~~~~~~~~~ tcluser.c:749:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 749 | {"isignore", tcl_isignore}, | ^~~~~~~~~~~~ tcluser.c:749:26: note: (near initialization for 'tcluser_cmds[18].func') tcluser.c:575:12: note: 'tcl_isignore' declared here 575 | static int tcl_isignore STDVAR | ^~~~~~~~~~~~ tcluser.c:750:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 750 | {"newignore", tcl_newignore}, | ^~~~~~~~~~~~~ tcluser.c:750:25: note: (near initialization for 'tcluser_cmds[19].func') tcluser.c:583:12: note: 'tcl_newignore' declared here 583 | static int tcl_newignore STDVAR | ^~~~~~~~~~~~~ tcluser.c:751:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 751 | {"killignore", tcl_killignore}, | ^~~~~~~~~~~~~~ tcluser.c:751:24: note: (near initialization for 'tcluser_cmds[20].func') tcluser.c:601:12: note: 'tcl_killignore' declared here 601 | static int tcl_killignore STDVAR | ^~~~~~~~~~~~~~ tcluser.c:752:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 752 | {"ignorelist", tcl_ignorelist}, | ^~~~~~~~~~~~~~ tcluser.c:752:24: note: (near initialization for 'tcluser_cmds[21].func') tcluser.c:609:12: note: 'tcl_ignorelist' declared here 609 | static int tcl_ignorelist STDVAR | ^~~~~~~~~~~~~~ tcluser.c:753:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 753 | {"getuser", tcl_getuser}, | ^~~~~~~~~~~ tcluser.c:753:27: note: (near initialization for 'tcluser_cmds[22].func') tcluser.c:632:12: note: 'tcl_getuser' declared here 632 | static int tcl_getuser STDVAR | ^~~~~~~~~~~ tcluser.c:754:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 754 | {"setuser", tcl_setuser}, | ^~~~~~~~~~~ tcluser.c:754:27: note: (near initialization for 'tcluser_cmds[23].func') tcluser.c:682:12: note: 'tcl_setuser' declared here 682 | static int tcl_setuser STDVAR | ^~~~~~~~~~~ make[1]: *** [Makefile:86: tcluser.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c language.c language.c:714:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 714 | {"language", "n", cmd_loadlanguage, NULL}, | ^~~~~~~~~~~~~~~~ language.c:714:22: note: (near initialization for 'langdcc[0].func') language.c:444:5: note: 'cmd_loadlanguage' declared here 444 | int cmd_loadlanguage(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~~~~~~ language.c:715:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 715 | {"+lang", "n", cmd_plslang, NULL}, | ^~~~~~~~~~~ language.c:715:22: note: (near initialization for 'langdcc[1].func') language.c:469:12: note: 'cmd_plslang' declared here 469 | static int cmd_plslang(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~ language.c:716:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 716 | {"-lang", "n", cmd_mnslang, NULL}, | ^~~~~~~~~~~ language.c:716:22: note: (near initialization for 'langdcc[2].func') language.c:481:12: note: 'cmd_mnslang' declared here 481 | static int cmd_mnslang(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~ language.c:717:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 717 | {"+lsec", "n", cmd_plslsec, NULL}, | ^~~~~~~~~~~ language.c:717:22: note: (near initialization for 'langdcc[3].func') language.c:495:12: note: 'cmd_plslsec' declared here 495 | static int cmd_plslsec(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~ language.c:718:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 718 | {"-lsec", "n", cmd_mnslsec, NULL}, | ^~~~~~~~~~~ language.c:718:22: note: (near initialization for 'langdcc[4].func') language.c:506:12: note: 'cmd_mnslsec' declared here 506 | static int cmd_mnslsec(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~ language.c:719:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 719 | {"ldump", "n", cmd_languagedump, NULL}, | ^~~~~~~~~~~~~~~~ language.c:719:22: note: (near initialization for 'langdcc[5].func') language.c:525:12: note: 'cmd_languagedump' declared here 525 | static int cmd_languagedump(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~~~~~~ language.c:720:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 720 | {"lstat", "n", cmd_languagestatus, NULL}, | ^~~~~~~~~~~~~~~~~~ language.c:720:22: note: (near initialization for 'langdcc[6].func') language.c:592:12: note: 'cmd_languagestatus' declared here 592 | static int cmd_languagestatus(struct userrec *u, int idx, char *par) | ^~~~~~~~~~~~~~~~~~ language.c:721:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct userrec *, int, char *)' [-Wincompatible-pointer-types] 721 | {"relang", "n", cmd_relang, NULL}, | ^~~~~~~~~~ language.c:721:22: note: (near initialization for 'langdcc[7].func') language.c:518:12: note: 'cmd_relang' declared here 518 | static int cmd_relang(struct userrec *u, int idx, char *par) | ^~~~~~~~~~ language.c:726:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 726 | {"language", tcl_language}, | ^~~~~~~~~~~~ language.c:726:28: note: (near initialization for 'langtcls[0].func') language.c:640:12: note: 'tcl_language' declared here 640 | static int tcl_language STDVAR | ^~~~~~~~~~~~ language.c:727:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 727 | {"addlang", tcl_plslang}, | ^~~~~~~~~~~ language.c:727:29: note: (near initialization for 'langtcls[1].func') language.c:664:12: note: 'tcl_plslang' declared here 664 | static int tcl_plslang STDVAR | ^~~~~~~~~~~ language.c:728:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 728 | {"dellang", tcl_mnslang}, | ^~~~~~~~~~~ language.c:728:29: note: (near initialization for 'langtcls[2].func') language.c:675:12: note: 'tcl_mnslang' declared here 675 | static int tcl_mnslang STDVAR | ^~~~~~~~~~~ language.c:729:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 729 | {"addlangsection", tcl_addlangsection}, | ^~~~~~~~~~~~~~~~~~ language.c:729:22: note: (near initialization for 'langtcls[3].func') language.c:688:12: note: 'tcl_addlangsection' declared here 688 | static int tcl_addlangsection STDVAR | ^~~~~~~~~~~~~~~~~~ language.c:730:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 730 | {"dellangsection", tcl_dellangsection}, | ^~~~~~~~~~~~~~~~~~ language.c:730:22: note: (near initialization for 'langtcls[4].func') language.c:696:12: note: 'tcl_dellangsection' declared here 696 | static int tcl_dellangsection STDVAR | ^~~~~~~~~~~~~~~~~~ language.c:731:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 731 | {"relang", tcl_relang}, | ^~~~~~~~~~ language.c:731:30: note: (near initialization for 'langtcls[5].func') language.c:707:12: note: 'tcl_relang' declared here 707 | static int tcl_relang STDVAR | ^~~~~~~~~~ make[1]: *** [Makefile:86: language.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c modules.c modules.c: In function 'module_load': modules.c:843:9: error: too many arguments to function '(char * (*)(void))f'; expected 0, have 1 843 | e = (((char *(*)()) f) (global_table)); | ~^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ modules.c: In function 'module_unload': modules.c:879:15: error: too many arguments to function '(char * (*)(void))*(f + 8)'; expected 0, have 1 879 | e = (((char *(*)()) f[MODCALL_CLOSE]) (user)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ modules.c: In function 'add_hook': modules.c:1099:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 1099 | if (match_noterej == false_func) | ^~ modules.c: In function 'del_hook': modules.c:1162:17: error: assignment to 'void (*)(int, char *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 1162 | qserver = null_func; | ^ modules.c:130:6: note: 'null_func' declared here 130 | void null_func() | ^~~~~~~~~ modules.c:1170:23: error: assignment to 'int (*)(struct userrec *, char *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 1170 | match_noterej = false_func; | ^ modules.c:134:5: note: 'false_func' declared here 134 | int false_func() | ^~~~~~~~~~ modules.c: In function 'do_module_report': modules.c:1206:11: error: too many arguments to function 'f'; expected 0, have 2 1206 | f(idx, details); | ^ ~~~ make[1]: *** [Makefile:86: modules.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c tcl.c tcl.c: In function 'add_cd_tcl_cmds': tcl.c:361:18: error: assignment to 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'IntFunc' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 361 | info->proc = table->callback; | ^ In file included from main.h:79, from tcl.c:28: eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tcl.c: In function 'add_tcl_objcommands': tcl.c:384:57: error: passing argument 3 of 'Tcl_CreateObjCommand' from incompatible pointer type [-Wincompatible-pointer-types] 384 | Tcl_CreateObjCommand(interp, table[i].name, table[i].func, (ClientData) 0, | ~~~~~~~~^~~~~ | | | IntFunc {aka int (*)(void)} In file included from /usr/include/tcl.h:2424, from ../lush.h:4, from main.h:42: /usr/include/tclDecls.h:322:70: note: expected 'int (*)(void *, Tcl_Interp *, int, struct Tcl_Obj * const*)' but argument is of type 'IntFunc' {aka 'int (*)(void)'} 322 | const char *cmdName, Tcl_ObjCmdProc *proc, | ~~~~~~~~~~~~~~~~^~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ make[1]: *** [Makefile:86: tcl.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS \ '-DCCFLAGS="gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS"' \ '-DLDFLAGS="gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread"' \ '-DSTRIPFLAGS="touch"' -c ./main.c ./main.c: In function 'mainloop': ./main.c:895:13: error: too many arguments to function 'startfunc'; expected 0, have 1 895 | startfunc(NULL); | ^~~~~~~~~ ~~~~ make[1]: *** [Makefile:68: main.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c flags.c flags.c: In function 'set_user_flagrec': flags.c:1278:7: error: too many arguments to function 'shareout'; expected 0, have 4 1278 | shareout(NULL, "a %s %s\n", u->handle, buffer); | ^~~~~~~~ ~~~~ flags.c:1303:9: error: too many arguments to function 'shareout'; expected 0, have 5 1303 | shareout(ch, "a %s %s %s\n", u->handle, buffer, chname); | ^~~~~~~~ ~~ make[1]: *** [Makefile:86: flags.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c userrec.c userrec.c: In function 'change_handle': userrec.c:704:5: error: too many arguments to function 'shareout'; expected 0, have 4 704 | shareout(NULL, "h %s %s\n", u->handle, newh); | ^~~~~~~~ ~~~~ userrec.c: In function 'adduser': userrec.c:782:5: error: too many arguments to function 'shareout'; expected 0, have 6 782 | shareout(NULL, "n %s %s %s %s\n", handle, host && host[0] ? host : "none", | ^~~~~~~~ ~~~~ userrec.c: In function 'deluser': userrec.c:856:5: error: too many arguments to function 'shareout'; expected 0, have 3 856 | shareout(NULL, "k %s\n", handle); | ^~~~~~~~ ~~~~ userrec.c: In function 'del_host_or_account': userrec.c:923:5: error: too many arguments to function 'shareout'; expected 0, have 5 923 | shareout(NULL, "-%s %s %s\n", type ? "a" : "h", handle, host); | ^~~~~~~~ ~~~~ userrec.c: In function 'add_host_or_account': userrec.c:950:7: error: too many arguments to function 'shareout'; expected 0, have 5 950 | shareout(NULL, "+b%s %s %s\n", type ? "a" : "h", handle, arg); | ^~~~~~~~ ~~~~ userrec.c:952:7: error: too many arguments to function 'shareout'; expected 0, have 5 952 | shareout(NULL, "+%s %s %s\n", type ? "a" : "h", handle, arg); | ^~~~~~~~ ~~~~ make[1]: *** [Makefile:86: userrec.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c tclmisc.c tclmisc.c:813:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 813 | {"logfile", tcl_logfile}, | ^~~~~~~~~~~ tclmisc.c:813:25: note: (near initialization for 'tclmisc_cmds[0].func') tclmisc.c:61:12: note: 'tcl_logfile' declared here 61 | static int tcl_logfile STDVAR | ^~~~~~~~~~~ tclmisc.c:814:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 814 | {"putlog", tcl_putlog}, | ^~~~~~~~~~ tclmisc.c:814:26: note: (near initialization for 'tclmisc_cmds[1].func') tclmisc.c:138:12: note: 'tcl_putlog' declared here 138 | static int tcl_putlog STDVAR | ^~~~~~~~~~ tclmisc.c:815:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 815 | {"putcmdlog", tcl_putcmdlog}, | ^~~~~~~~~~~~~ tclmisc.c:815:23: note: (near initialization for 'tclmisc_cmds[2].func') tclmisc.c:149:12: note: 'tcl_putcmdlog' declared here 149 | static int tcl_putcmdlog STDVAR | ^~~~~~~~~~~~~ tclmisc.c:816:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 816 | {"putxferlog", tcl_putxferlog}, | ^~~~~~~~~~~~~~ tclmisc.c:816:22: note: (near initialization for 'tclmisc_cmds[3].func') tclmisc.c:160:12: note: 'tcl_putxferlog' declared here 160 | static int tcl_putxferlog STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:817:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 817 | {"putloglev", tcl_putloglev}, | ^~~~~~~~~~~~~ tclmisc.c:817:23: note: (near initialization for 'tclmisc_cmds[4].func') tclmisc.c:171:12: note: 'tcl_putloglev' declared here 171 | static int tcl_putloglev STDVAR | ^~~~~~~~~~~~~ tclmisc.c:818:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 818 | {"timer", tcl_timer}, | ^~~~~~~~~ tclmisc.c:818:27: note: (near initialization for 'tclmisc_cmds[5].func') tclmisc.c:269:12: note: 'tcl_timer' declared here 269 | static int tcl_timer STDVAR | ^~~~~~~~~ tclmisc.c:819:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 819 | {"utimer", tcl_utimer}, | ^~~~~~~~~~ tclmisc.c:819:26: note: (near initialization for 'tclmisc_cmds[6].func') tclmisc.c:288:12: note: 'tcl_utimer' declared here 288 | static int tcl_utimer STDVAR | ^~~~~~~~~~ tclmisc.c:820:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 820 | {"killtimer", tcl_killtimer}, | ^~~~~~~~~~~~~ tclmisc.c:820:23: note: (near initialization for 'tclmisc_cmds[7].func') tclmisc.c:307:12: note: 'tcl_killtimer' declared here 307 | static int tcl_killtimer STDVAR | ^~~~~~~~~~~~~ tclmisc.c:821:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 821 | {"killutimer", tcl_killutimer}, | ^~~~~~~~~~~~~~ tclmisc.c:821:22: note: (near initialization for 'tclmisc_cmds[8].func') tclmisc.c:317:12: note: 'tcl_killutimer' declared here 317 | static int tcl_killutimer STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:822:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 822 | {"timers", tcl_timers}, | ^~~~~~~~~~ tclmisc.c:822:26: note: (near initialization for 'tclmisc_cmds[9].func') tclmisc.c:328:12: note: 'tcl_timers' declared here 328 | static int tcl_timers STDVAR | ^~~~~~~~~~ tclmisc.c:823:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 823 | {"utimers", tcl_utimers}, | ^~~~~~~~~~~ tclmisc.c:823:25: note: (near initialization for 'tclmisc_cmds[10].func') tclmisc.c:336:12: note: 'tcl_utimers' declared here 336 | static int tcl_utimers STDVAR | ^~~~~~~~~~~ tclmisc.c:824:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 824 | {"unixtime", tcl_unixtime}, | ^~~~~~~~~~~~ tclmisc.c:824:24: note: (near initialization for 'tclmisc_cmds[11].func') tclmisc.c:393:12: note: 'tcl_unixtime' declared here 393 | static int tcl_unixtime STDVAR | ^~~~~~~~~~~~ tclmisc.c:825:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 825 | {"strftime", tcl_strftime}, | ^~~~~~~~~~~~ tclmisc.c:825:24: note: (near initialization for 'tclmisc_cmds[12].func') tclmisc.c:418:12: note: 'tcl_strftime' declared here 418 | static int tcl_strftime STDVAR | ^~~~~~~~~~~~ tclmisc.c:826:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 826 | {"ctime", tcl_ctime}, | ^~~~~~~~~ tclmisc.c:826:27: note: (near initialization for 'tclmisc_cmds[13].func') tclmisc.c:405:12: note: 'tcl_ctime' declared here 405 | static int tcl_ctime STDVAR | ^~~~~~~~~ tclmisc.c:827:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 827 | {"myip", tcl_myip}, | ^~~~~~~~ tclmisc.c:827:28: note: (near initialization for 'tclmisc_cmds[14].func') tclmisc.c:444:12: note: 'tcl_myip' declared here 444 | static int tcl_myip STDVAR | ^~~~~~~~ tclmisc.c:828:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 828 | {"rand", tcl_rand}, | ^~~~~~~~ tclmisc.c:828:28: note: (near initialization for 'tclmisc_cmds[15].func') tclmisc.c:455:12: note: 'tcl_rand' declared here 455 | static int tcl_rand STDVAR | ^~~~~~~~ tclmisc.c:829:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 829 | {"sendnote", tcl_sendnote}, | ^~~~~~~~~~~~ tclmisc.c:829:24: note: (near initialization for 'tclmisc_cmds[16].func') tclmisc.c:482:12: note: 'tcl_sendnote' declared here 482 | static int tcl_sendnote STDVAR | ^~~~~~~~~~~~ tclmisc.c:830:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 830 | {"dumpfile", tcl_dumpfile}, | ^~~~~~~~~~~~ tclmisc.c:830:24: note: (near initialization for 'tclmisc_cmds[17].func') tclmisc.c:496:12: note: 'tcl_dumpfile' declared here 496 | static int tcl_dumpfile STDVAR | ^~~~~~~~~~~~ tclmisc.c:831:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 831 | {"dccdumpfile", tcl_dccdumpfile}, | ^~~~~~~~~~~~~~~ tclmisc.c:831:21: note: (near initialization for 'tclmisc_cmds[18].func') tclmisc.c:509:12: note: 'tcl_dccdumpfile' declared here 509 | static int tcl_dccdumpfile STDVAR | ^~~~~~~~~~~~~~~ tclmisc.c:832:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 832 | {"backup", tcl_backup}, | ^~~~~~~~~~ tclmisc.c:832:26: note: (near initialization for 'tclmisc_cmds[19].func') tclmisc.c:528:12: note: 'tcl_backup' declared here 528 | static int tcl_backup STDVAR | ^~~~~~~~~~ tclmisc.c:833:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 833 | {"exit", tcl_die}, | ^~~~~~~ tclmisc.c:833:29: note: (near initialization for 'tclmisc_cmds[20].func') tclmisc.c:536:12: note: 'tcl_die' declared here 536 | static int tcl_die STDVAR | ^~~~~~~ tclmisc.c:834:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 834 | {"die", tcl_die}, | ^~~~~~~ tclmisc.c:834:29: note: (near initialization for 'tclmisc_cmds[21].func') tclmisc.c:536:12: note: 'tcl_die' declared here 536 | static int tcl_die STDVAR | ^~~~~~~ tclmisc.c:835:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 835 | {"unames", tcl_unames}, | ^~~~~~~~~~ tclmisc.c:835:26: note: (near initialization for 'tclmisc_cmds[22].func') tclmisc.c:574:12: note: 'tcl_unames' declared here 574 | static int tcl_unames STDVAR | ^~~~~~~~~~ tclmisc.c:836:20: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 836 | {"unloadmodule", tcl_unloadmodule}, | ^~~~~~~~~~~~~~~~ tclmisc.c:836:20: note: (near initialization for 'tclmisc_cmds[23].func') tclmisc.c:566:12: note: 'tcl_unloadmodule' declared here 566 | static int tcl_unloadmodule STDVAR | ^~~~~~~~~~~~~~~~ tclmisc.c:837:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 837 | {"loadmodule", tcl_loadmodule}, | ^~~~~~~~~~~~~~ tclmisc.c:837:22: note: (near initialization for 'tclmisc_cmds[24].func') tclmisc.c:553:12: note: 'tcl_loadmodule' declared here 553 | static int tcl_loadmodule STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:838:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 838 | {"checkmodule", tcl_loadmodule}, | ^~~~~~~~~~~~~~ tclmisc.c:838:22: note: (near initialization for 'tclmisc_cmds[25].func') tclmisc.c:553:12: note: 'tcl_loadmodule' declared here 553 | static int tcl_loadmodule STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:839:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 839 | {"modules", tcl_modules}, | ^~~~~~~~~~~ tclmisc.c:839:25: note: (near initialization for 'tclmisc_cmds[26].func') tclmisc.c:580:12: note: 'tcl_modules' declared here 580 | static int tcl_modules STDVAR | ^~~~~~~~~~~ tclmisc.c:840:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 840 | {"loadhelp", tcl_loadhelp}, | ^~~~~~~~~~~~ tclmisc.c:840:24: note: (near initialization for 'tclmisc_cmds[27].func') tclmisc.c:615:12: note: 'tcl_loadhelp' declared here 615 | static int tcl_loadhelp STDVAR | ^~~~~~~~~~~~ tclmisc.c:841:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 841 | {"unloadhelp", tcl_unloadhelp}, | ^~~~~~~~~~~~~~ tclmisc.c:841:22: note: (near initialization for 'tclmisc_cmds[28].func') tclmisc.c:623:12: note: 'tcl_unloadhelp' declared here 623 | static int tcl_unloadhelp STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:842:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 842 | {"reloadhelp", tcl_reloadhelp}, | ^~~~~~~~~~~~~~ tclmisc.c:842:22: note: (near initialization for 'tclmisc_cmds[29].func') tclmisc.c:631:12: note: 'tcl_reloadhelp' declared here 631 | static int tcl_reloadhelp STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:843:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 843 | {"duration", tcl_duration}, | ^~~~~~~~~~~~ tclmisc.c:843:24: note: (near initialization for 'tclmisc_cmds[30].func') tclmisc.c:344:12: note: 'tcl_duration' declared here 344 | static int tcl_duration STDVAR | ^~~~~~~~~~~~ tclmisc.c:844:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 844 | {"binds", tcl_binds}, | ^~~~~~~~~ tclmisc.c:844:27: note: (near initialization for 'tclmisc_cmds[31].func') tclmisc.c:189:12: note: 'tcl_binds' declared here 189 | static int tcl_binds STDVAR | ^~~~~~~~~ tclmisc.c:845:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 845 | {"callevent", tcl_callevent}, | ^~~~~~~~~~~~~ tclmisc.c:845:23: note: (near initialization for 'tclmisc_cmds[32].func') tclmisc.c:639:12: note: 'tcl_callevent' declared here 639 | static int tcl_callevent STDVAR | ^~~~~~~~~~~~~ tclmisc.c:846:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 846 | {"stripcodes", tcl_stripcodes}, | ^~~~~~~~~~~~~~ tclmisc.c:846:22: note: (near initialization for 'tclmisc_cmds[33].func') tclmisc.c:651:12: note: 'tcl_stripcodes' declared here 651 | static int tcl_stripcodes STDVAR | ^~~~~~~~~~~~~~ tclmisc.c:847:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 847 | {"matchaddr", tcl_matchaddr}, | ^~~~~~~~~~~~~ tclmisc.c:847:23: note: (near initialization for 'tclmisc_cmds[34].func') tclmisc.c:728:12: note: 'tcl_matchaddr' declared here 728 | static int tcl_matchaddr STDVAR | ^~~~~~~~~~~~~ tclmisc.c:848:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 848 | {"matchcidr", tcl_matchcidr}, | ^~~~~~~~~~~~~ tclmisc.c:848:23: note: (near initialization for 'tclmisc_cmds[35].func') tclmisc.c:739:12: note: 'tcl_matchcidr' declared here 739 | static int tcl_matchcidr STDVAR | ^~~~~~~~~~~~~ tclmisc.c:849:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 849 | {"matchstr", tcl_matchstr}, | ^~~~~~~~~~~~ tclmisc.c:849:24: note: (near initialization for 'tclmisc_cmds[36].func') tclmisc.c:750:12: note: 'tcl_matchstr' declared here 750 | static int tcl_matchstr STDVAR | ^~~~~~~~~~~~ tclmisc.c:850:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 850 | {"status", tcl_status}, | ^~~~~~~~~~ tclmisc.c:850:26: note: (near initialization for 'tclmisc_cmds[37].func') tclmisc.c:761:12: note: 'tcl_status' declared here 761 | static int tcl_status STDVAR | ^~~~~~~~~~ tclmisc.c:851:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 851 | {"rfcequal", tcl_rfcequal}, | ^~~~~~~~~~~~ tclmisc.c:851:24: note: (near initialization for 'tclmisc_cmds[38].func') tclmisc.c:803:12: note: 'tcl_rfcequal' declared here 803 | static int tcl_rfcequal STDVAR | ^~~~~~~~~~~~ tclmisc.c:852:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 852 | {"md5", tcl_md5}, | ^~~~~~~ tclmisc.c:852:29: note: (near initialization for 'tclmisc_cmds[39].func') tclmisc.c:699:12: note: 'tcl_md5' declared here 699 | static int tcl_md5 STDVAR | ^~~~~~~ make[1]: *** [Makefile:86: tclmisc.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c botcmd.c botcmd.c: In function 'bot_filereq': botcmd.c:1155:9: error: too many arguments to function 'f'; expected 0, have 3 1155 | f(idx, from, path); | ^ ~~~ make[1]: *** [Makefile:86: botcmd.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c users.c users.c: In function 'delignore': users.c:89:9: error: too many arguments to function 'shareout'; expected 0, have 3 89 | shareout(NULL, "-i %s\n", mask); | ^~~~~~~~ ~~~~ users.c: In function 'addignore': users.c:138:7: error: too many arguments to function 'shareout'; expected 0, have 7 138 | shareout(NULL, "+i %s %li %c %s %s\n", mask, expire_time - now, | ^~~~~~~~ ~~~~ make[1]: *** [Makefile:86: users.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c tclhash.c tclhash.c:213:14: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 213 | {"bind", tcl_bind, (void *) 0}, | ^~~~~~~~ tclhash.c:213:14: note: (near initialization for 'cd_cmd_table[0].callback') tclhash.c:210:12: note: 'tcl_bind' declared here 210 | static int tcl_bind STDVAR; | ^~~~~~~~ tclhash.c:214:14: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 214 | {"unbind", tcl_bind, (void *) 1}, | ^~~~~~~~ tclhash.c:214:14: note: (near initialization for 'cd_cmd_table[1].callback') tclhash.c:210:12: note: 'tcl_bind' declared here 210 | static int tcl_bind STDVAR; | ^~~~~~~~ tclhash.c: In function 'init_bind': tclhash.c:222:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 222 | H_unld = add_bind_table("unld", HT_STACKABLE, builtin_char); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from main.h:88, from tclhash.c:29: tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:50:12: note: 'builtin_char' declared here 50 | static int builtin_char STDVAR; | ^~~~~~~~~~~~ In file included from main.h:79: eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:223:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 223 | H_time = add_bind_table("time", HT_STACKABLE, builtin_5int); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:48:12: note: 'builtin_5int' declared here 48 | static int builtin_5int STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:224:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 224 | H_cron = add_bind_table("cron", HT_STACKABLE, builtin_cron); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:49:12: note: 'builtin_cron' declared here 49 | static int builtin_cron STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:225:38: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 225 | H_note = add_bind_table("note", 0, builtin_3char); | ^~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:47:12: note: 'builtin_3char' declared here 47 | static int builtin_3char STDVAR; | ^~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:226:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 226 | H_nkch = add_bind_table("nkch", HT_STACKABLE, builtin_2char); | ^~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:46:12: note: 'builtin_2char' declared here 46 | static int builtin_2char STDVAR; | ^~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:227:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 227 | H_load = add_bind_table("load", HT_STACKABLE, builtin_char); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:50:12: note: 'builtin_char' declared here 50 | static int builtin_char STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:228:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 228 | H_link = add_bind_table("link", HT_STACKABLE, builtin_2char); | ^~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:46:12: note: 'builtin_2char' declared here 46 | static int builtin_2char STDVAR; | ^~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:229:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 229 | H_filt = add_bind_table("filt", HT_STACKABLE, builtin_idxchar); | ^~~~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:54:12: note: 'builtin_idxchar' declared here 54 | static int builtin_idxchar STDVAR; | ^~~~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:230:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 230 | H_disc = add_bind_table("disc", HT_STACKABLE, builtin_char); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:50:12: note: 'builtin_char' declared here 50 | static int builtin_char STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:231:36: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 231 | H_dcc = add_bind_table("dcc", 0, builtin_dcc); | ^~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:57:12: note: 'builtin_dcc' declared here 57 | static int builtin_dcc STDVAR; | ^~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:232:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 232 | H_chpt = add_bind_table("chpt", HT_STACKABLE, builtin_chpt); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:51:12: note: 'builtin_chpt' declared here 51 | static int builtin_chpt STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:233:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 233 | H_chon = add_bind_table("chon", HT_STACKABLE, builtin_charidx); | ^~~~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:55:12: note: 'builtin_charidx' declared here 55 | static int builtin_charidx STDVAR; | ^~~~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:234:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 234 | H_chof = add_bind_table("chof", HT_STACKABLE, builtin_charidx); | ^~~~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:55:12: note: 'builtin_charidx' declared here 55 | static int builtin_charidx STDVAR; | ^~~~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:235:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 235 | H_chjn = add_bind_table("chjn", HT_STACKABLE, builtin_chjn); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:52:12: note: 'builtin_chjn' declared here 52 | static int builtin_chjn STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:236:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 236 | H_chat = add_bind_table("chat", HT_STACKABLE, builtin_chat); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:56:12: note: 'builtin_chat' declared here 56 | static int builtin_chat STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:237:36: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 237 | H_bot = add_bind_table("bot", 0, builtin_3char); | ^~~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:47:12: note: 'builtin_3char' declared here 47 | static int builtin_3char STDVAR; | ^~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:238:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 238 | H_bcst = add_bind_table("bcst", HT_STACKABLE, builtin_chat); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:56:12: note: 'builtin_chat' declared here 56 | static int builtin_chat STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:239:49: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 239 | H_away = add_bind_table("away", HT_STACKABLE, builtin_chat); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:56:12: note: 'builtin_chat' declared here 56 | static int builtin_chat STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:240:47: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 240 | H_act = add_bind_table("act", HT_STACKABLE, builtin_chat); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:56:12: note: 'builtin_chat' declared here 56 | static int builtin_chat STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:241:50: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 241 | H_event = add_bind_table("evnt", HT_STACKABLE, builtin_evnt); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:53:12: note: 'builtin_evnt' declared here 53 | static int builtin_evnt STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:242:47: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 242 | H_die = add_bind_table("die", HT_STACKABLE, builtin_char); | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:50:12: note: 'builtin_char' declared here 50 | static int builtin_char STDVAR; | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:243:47: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 243 | H_log = add_bind_table("log", HT_STACKABLE, builtin_log); | ^~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:58:12: note: 'builtin_log' declared here 58 | static int builtin_log STDVAR; | ^~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:245:47: error: passing argument 3 of 'add_bind_table' from incompatible pointer type [-Wincompatible-pointer-types] 245 | H_tls = add_bind_table("tls", HT_STACKABLE, builtin_idx); | ^~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.h:78:67: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 78 | tcl_bind_list_t *add_bind_table(const char *nme, int flg, IntFunc func); | ~~~~~~~~^~~~ tclhash.c:43:12: note: 'builtin_idx' declared here 43 | static int builtin_idx STDVAR; | ^~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ In file included from main.h:87: tclhash.c: In function 'builtin_3char': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:526:3: note: in expansion of macro 'CHECKVALIDITY' 526 | CHECKVALIDITY(builtin_3char); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:520:12: note: 'builtin_3char' declared here 520 | static int builtin_3char STDVAR | ^~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:527:3: error: too many arguments to function 'F'; expected 0, have 3 527 | F(argv[1], argv[2], argv[3]); | ^ ~~~~~~~ tclhash.c: In function 'builtin_2char': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:537:3: note: in expansion of macro 'CHECKVALIDITY' 537 | CHECKVALIDITY(builtin_2char); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:531:12: note: 'builtin_2char' declared here 531 | static int builtin_2char STDVAR | ^~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:538:3: error: too many arguments to function 'F'; expected 0, have 2 538 | F(argv[1], argv[2]); | ^ ~~~~~~~ tclhash.c: In function 'builtin_5int': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:548:3: note: in expansion of macro 'CHECKVALIDITY' 548 | CHECKVALIDITY(builtin_5int); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:542:12: note: 'builtin_5int' declared here 542 | static int builtin_5int STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:549:3: error: too many arguments to function 'F'; expected 0, have 5 549 | F(atoi(argv[1]), atoi(argv[2]), atoi(argv[3]), atoi(argv[4]), atoi(argv[5])); | ^ ~~~~~~~~~~~~~ tclhash.c: In function 'builtin_cron': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:559:3: note: in expansion of macro 'CHECKVALIDITY' 559 | CHECKVALIDITY(builtin_cron); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:553:12: note: 'builtin_cron' declared here 553 | static int builtin_cron STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:560:3: error: too many arguments to function 'F'; expected 0, have 5 560 | F(atoi(argv[1]), atoi(argv[2]), atoi(argv[3]), atoi(argv[4]), atoi(argv[5])); | ^ ~~~~~~~~~~~~~ tclhash.c: In function 'builtin_char': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:570:3: note: in expansion of macro 'CHECKVALIDITY' 570 | CHECKVALIDITY(builtin_char); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:564:12: note: 'builtin_char' declared here 564 | static int builtin_char STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:571:3: error: too many arguments to function 'F'; expected 0, have 1 571 | F(argv[1]); | ^ ~~~~~~~ tclhash.c: In function 'builtin_chpt': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:581:3: note: in expansion of macro 'CHECKVALIDITY' 581 | CHECKVALIDITY(builtin_chpt); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:575:12: note: 'builtin_chpt' declared here 575 | static int builtin_chpt STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:582:3: error: too many arguments to function 'F'; expected 0, have 3 582 | F(argv[1], argv[2], atoi(argv[3])); | ^ ~~~~~~~ tclhash.c: In function 'builtin_chjn': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:592:3: note: in expansion of macro 'CHECKVALIDITY' 592 | CHECKVALIDITY(builtin_chjn); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:586:12: note: 'builtin_chjn' declared here 586 | static int builtin_chjn STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:593:3: error: too many arguments to function 'F'; expected 0, have 6 593 | F(argv[1], argv[2], atoi(argv[3]), argv[4][0], | ^ ~~~~~~~ tclhash.c: In function 'builtin_evnt': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:604:3: note: in expansion of macro 'CHECKVALIDITY' 604 | CHECKVALIDITY(builtin_evnt); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:598:12: note: 'builtin_evnt' declared here 598 | static int builtin_evnt STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:606:5: error: too many arguments to function 'F'; expected 0, have 1 606 | F(argv[1]); | ^ ~~~~~~~ tclhash.c:608:5: error: too many arguments to function 'F'; expected 0, have 2 608 | F(argv[1], argv[2]); | ^ ~~~~~~~ tclhash.c: In function 'builtin_idxchar': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:621:3: note: in expansion of macro 'CHECKVALIDITY' 621 | CHECKVALIDITY(builtin_idxchar); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:613:12: note: 'builtin_idxchar' declared here 613 | static int builtin_idxchar STDVAR | ^~~~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:627:9: error: too many arguments to function '(char * (*)(void))F'; expected 0, have 2 627 | r = (((char *(*)()) F) (idx, argv[2])); | ~^~~~~~~~~~~~~~~~ ~~~ tclhash.c: In function 'builtin_charidx': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:641:3: note: in expansion of macro 'CHECKVALIDITY' 641 | CHECKVALIDITY(builtin_charidx); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:634:12: note: 'builtin_charidx' declared here 634 | static int builtin_charidx STDVAR | ^~~~~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:647:39: error: too many arguments to function 'F'; expected 0, have 2 647 | Tcl_AppendResult(irp, int_to_base10(F(argv[1], idx)), NULL); | ^ ~~~~~~~ tclhash.c: In function 'builtin_chat': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:659:3: note: in expansion of macro 'CHECKVALIDITY' 659 | CHECKVALIDITY(builtin_chat); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:652:12: note: 'builtin_chat' declared here 652 | static int builtin_chat STDVAR | ^~~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:661:3: error: too many arguments to function 'F'; expected 0, have 3 661 | F(argv[1], ch, argv[3]); | ^ ~~~~~~~ tclhash.c: In function 'builtin_dcc': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:672:3: note: in expansion of macro 'CHECKVALIDITY' 672 | CHECKVALIDITY(builtin_dcc); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:665:12: note: 'builtin_dcc' declared here 665 | static int builtin_dcc STDVAR | ^~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:693:3: error: too many arguments to function 'F'; expected 0, have 3 693 | F(dcc[idx].user, idx, argv[3]); | ^ ~~~~~~~~~~~~~ tclhash.c: In function 'builtin_log': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:705:3: note: in expansion of macro 'CHECKVALIDITY' 705 | CHECKVALIDITY(builtin_log); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:699:12: note: 'builtin_log' declared here 699 | static int builtin_log STDVAR | ^~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:706:3: error: too many arguments to function 'F'; expected 0, have 3 706 | F(argv[1], argv[2], argv[3]); | ^ ~~~~~~~ tclhash.c: In function 'builtin_idx': tclegg.h:132:38: error: passing argument 2 of 'check_validity' from incompatible pointer type [-Wincompatible-pointer-types] 132 | if (!check_validity(argv[0], (a))) { \ | ^~~ | | | int (*)(void *, Tcl_Interp *, int, char **) tclhash.c:717:3: note: in expansion of macro 'CHECKVALIDITY' 717 | CHECKVALIDITY(builtin_idx); | ^~~~~~~~~~~~~ tclhash.c:500:39: note: expected 'IntFunc' {aka 'int (*)(void)'} but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 500 | int check_validity(char *nme, IntFunc func) | ~~~~~~~~^~~~ tclhash.c:711:12: note: 'builtin_idx' declared here 711 | static int builtin_idx STDVAR | ^~~~~~~~~~~ eggdrop.h:280:15: note: 'IntFunc' declared here 280 | typedef int (*IntFunc) (); | ^~~~~~~ tclhash.c:718:3: error: too many arguments to function 'F'; expected 0, have 1 718 | F(atoi(argv[1])); | ^ ~~~~~~~~~~~~~ make[1]: *** [Makefile:86: tclhash.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c userent.c userent.c: In function 'def_set': userent.c:150:7: error: too many arguments to function 'shareout'; expected 0, have 5 150 | shareout(NULL, "c %s %s %s\n", e->type->name, u->handle, | ^~~~~~~~ ~~~~ userent.c: In function 'pass_set': userent.c:359:5: error: too many arguments to function 'shareout'; expected 0, have 4 359 | shareout(NULL, "c PASS %s %s\n", u->handle, pass ? pass : ""); | ^~~~~~~~ ~~~~ userent.c: In function 'botaddr_set': userent.c:715:5: error: too many arguments to function 'shareout'; expected 0, have 8 715 | shareout(NULL, "c BOTADDR %s %s %s%d %s%d\n", u->handle, bi->address, | ^~~~~~~~ ~~~~ userent.c: In function 'xtra_set': userent.c:937:5: error: too many arguments to function 'shareout'; expected 0, have 5 937 | shareout(NULL, "c XTRA %s %s %s\n", u->handle, new->key, | ^~~~~~~~ ~~~~ userent.c: In function 'fprint_set': userent.c:1409:5: error: too many arguments to function 'shareout'; expected 0, have 4 1409 | shareout(NULL, "c FPRINT %s %s\n", u->handle, e->u.string ? e->u.string : ""); | ^~~~~~~~ ~~~~ make[1]: *** [Makefile:86: userent.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c mem.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c rfc1459.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c tcldcc.c tcldcc.c: In function 'tcl_setchan': tcldcc.c:265:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 265 | (func[CONSOLE_DOSTORE]) (idx); | ~~~~~^~~~~~~~~~~~~~~~~~ ~~~ tcldcc.c: In function 'tcl_do_console': tcldcc.c:348:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 348 | (func[CONSOLE_DOSTORE]) (i); | ~~~~~^~~~~~~~~~~~~~~~~~ ~ tcldcc.c: In function 'tcl_strip': tcldcc.c:405:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 405 | (func[CONSOLE_DOSTORE]) (i); | ~~~~~^~~~~~~~~~~~~~~~~~ ~ tcldcc.c: In function 'tcl_echo': tcldcc.c:436:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 436 | (func[CONSOLE_DOSTORE]) (i); | ~~~~~^~~~~~~~~~~~~~~~~~ ~ tcldcc.c: In function 'tcl_page': tcldcc.c:473:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 473 | (func[CONSOLE_DOSTORE]) (i); | ~~~~~^~~~~~~~~~~~~~~~~~ ~ tcldcc.c: At top level: tcldcc.c:1467:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1467 | {"putdcc", tcl_putdcc}, | ^~~~~~~~~~ tcldcc.c:1467:26: note: (near initialization for 'tcldcc_cmds[0].func') tcldcc.c:69:12: note: 'tcl_putdcc' declared here 69 | static int tcl_putdcc STDVAR | ^~~~~~~~~~ tcldcc.c:1468:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1468 | {"putdccraw", tcl_putdccraw}, | ^~~~~~~~~~~~~ tcldcc.c:1468:23: note: (near initialization for 'tcldcc_cmds[1].func') tcldcc.c:103:12: note: 'tcl_putdccraw' declared here 103 | static int tcl_putdccraw STDVAR | ^~~~~~~~~~~~~ tcldcc.c:1469:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1469 | {"putidx", tcl_putdcc}, | ^~~~~~~~~~ tcldcc.c:1469:26: note: (near initialization for 'tcldcc_cmds[2].func') tcldcc.c:69:12: note: 'tcl_putdcc' declared here 69 | static int tcl_putdcc STDVAR | ^~~~~~~~~~ tcldcc.c:1470:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1470 | {"dccsimul", tcl_dccsimul}, | ^~~~~~~~~~~~ tcldcc.c:1470:24: note: (near initialization for 'tcldcc_cmds[3].func') tcldcc.c:133:12: note: 'tcl_dccsimul' declared here 133 | static int tcl_dccsimul STDVAR | ^~~~~~~~~~~~ tcldcc.c:1471:20: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1471 | {"dccbroadcast", tcl_dccbroadcast}, | ^~~~~~~~~~~~~~~~ tcldcc.c:1471:20: note: (near initialization for 'tcldcc_cmds[4].func') tcldcc.c:158:12: note: 'tcl_dccbroadcast' declared here 158 | static int tcl_dccbroadcast STDVAR | ^~~~~~~~~~~~~~~~ tcldcc.c:1472:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1472 | {"hand2idx", tcl_hand2idx}, | ^~~~~~~~~~~~ tcldcc.c:1472:24: note: (near initialization for 'tcldcc_cmds[5].func') tcldcc.c:171:12: note: 'tcl_hand2idx' declared here 171 | static int tcl_hand2idx STDVAR | ^~~~~~~~~~~~ tcldcc.c:1473:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1473 | {"getchan", tcl_getchan}, | ^~~~~~~~~~~ tcldcc.c:1473:25: note: (near initialization for 'tcldcc_cmds[6].func') tcldcc.c:189:12: note: 'tcl_getchan' declared here 189 | static int tcl_getchan STDVAR | ^~~~~~~~~~~ tcldcc.c:1474:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1474 | {"setchan", tcl_setchan}, | ^~~~~~~~~~~ tcldcc.c:1474:25: note: (near initialization for 'tcldcc_cmds[7].func') tcldcc.c:212:12: note: 'tcl_setchan' declared here 212 | static int tcl_setchan STDVAR | ^~~~~~~~~~~ tcldcc.c:1475:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1475 | {"dccputchan", tcl_dccputchan}, | ^~~~~~~~~~~~~~ tcldcc.c:1475:22: note: (near initialization for 'tcldcc_cmds[8].func') tcldcc.c:270:12: note: 'tcl_dccputchan' declared here 270 | static int tcl_dccputchan STDVAR | ^~~~~~~~~~~~~~ tcldcc.c:1476:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1476 | {"console", tcl_console}, | ^~~~~~~~~~~ tcldcc.c:1476:25: note: (near initialization for 'tcldcc_cmds[9].func') tcldcc.c:353:12: note: 'tcl_console' declared here 353 | static int tcl_console STDVAR | ^~~~~~~~~~~ tcldcc.c:1477:20: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1477 | {"resetconsole", tcl_resetconsole}, | ^~~~~~~~~~~~~~~~ tcldcc.c:1477:20: note: (near initialization for 'tcldcc_cmds[10].func') tcldcc.c:359:12: note: 'tcl_resetconsole' declared here 359 | static int tcl_resetconsole STDVAR | ^~~~~~~~~~~~~~~~ tcldcc.c:1478:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1478 | {"strip", tcl_strip}, | ^~~~~~~~~ tcldcc.c:1478:27: note: (near initialization for 'tcldcc_cmds[11].func') tcldcc.c:366:12: note: 'tcl_strip' declared here 366 | static int tcl_strip STDVAR | ^~~~~~~~~ tcldcc.c:1479:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1479 | {"echo", tcl_echo}, | ^~~~~~~~ tcldcc.c:1479:28: note: (near initialization for 'tcldcc_cmds[12].func') tcldcc.c:410:12: note: 'tcl_echo' declared here 410 | static int tcl_echo STDVAR | ^~~~~~~~ tcldcc.c:1480:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1480 | {"page", tcl_page}, | ^~~~~~~~ tcldcc.c:1480:28: note: (near initialization for 'tcldcc_cmds[13].func') tcldcc.c:441:12: note: 'tcl_page' declared here 441 | static int tcl_page STDVAR | ^~~~~~~~ tcldcc.c:1481:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1481 | {"control", tcl_control}, | ^~~~~~~~~~~ tcldcc.c:1481:25: note: (near initialization for 'tcldcc_cmds[14].func') tcldcc.c:478:12: note: 'tcl_control' declared here 478 | static int tcl_control STDVAR | ^~~~~~~~~~~ tcldcc.c:1482:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1482 | {"valididx", tcl_valididx}, | ^~~~~~~~~~~~ tcldcc.c:1482:24: note: (near initialization for 'tcldcc_cmds[15].func') tcldcc.c:512:12: note: 'tcl_valididx' declared here 512 | static int tcl_valididx STDVAR | ^~~~~~~~~~~~ tcldcc.c:1483:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1483 | {"killdcc", tcl_killdcc}, | ^~~~~~~~~~~ tcldcc.c:1483:25: note: (near initialization for 'tcldcc_cmds[16].func') tcldcc.c:526:12: note: 'tcl_killdcc' declared here 526 | static int tcl_killdcc STDVAR | ^~~~~~~~~~~ tcldcc.c:1484:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1484 | {"putbot", tcl_putbot}, | ^~~~~~~~~~ tcldcc.c:1484:26: note: (near initialization for 'tcldcc_cmds[17].func') tcldcc.c:559:12: note: 'tcl_putbot' declared here 559 | static int tcl_putbot STDVAR | ^~~~~~~~~~ tcldcc.c:1485:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1485 | {"putallbots", tcl_putallbots}, | ^~~~~~~~~~~~~~ tcldcc.c:1485:22: note: (near initialization for 'tcldcc_cmds[18].func') tcldcc.c:577:12: note: 'tcl_putallbots' declared here 577 | static int tcl_putallbots STDVAR | ^~~~~~~~~~~~~~ tcldcc.c:1486:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1486 | {"idx2hand", tcl_idx2hand}, | ^~~~~~~~~~~~ tcldcc.c:1486:24: note: (near initialization for 'tcldcc_cmds[19].func') tcldcc.c:588:12: note: 'tcl_idx2hand' declared here 588 | static int tcl_idx2hand STDVAR | ^~~~~~~~~~~~ tcldcc.c:1487:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1487 | {"bots", tcl_bots}, | ^~~~~~~~ tcldcc.c:1487:28: note: (near initialization for 'tcldcc_cmds[20].func') tcldcc.c:618:12: note: 'tcl_bots' declared here 618 | static int tcl_bots STDVAR | ^~~~~~~~ tcldcc.c:1488:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1488 | {"botlist", tcl_botlist}, | ^~~~~~~~~~~ tcldcc.c:1488:25: note: (near initialization for 'tcldcc_cmds[21].func') tcldcc.c:629:12: note: 'tcl_botlist' declared here 629 | static int tcl_botlist STDVAR | ^~~~~~~~~~~ tcldcc.c:1489:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1489 | {"dcclist", tcl_dcclist}, | ^~~~~~~~~~~ tcldcc.c:1489:25: note: (near initialization for 'tcldcc_cmds[22].func') tcldcc.c:777:12: note: 'tcl_dcclist' declared here 777 | static int tcl_dcclist STDVAR | ^~~~~~~~~~~ tcldcc.c:1490:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1490 | {"socklist", tcl_socklist}, | ^~~~~~~~~~~~ tcldcc.c:1490:24: note: (near initialization for 'tcldcc_cmds[23].func') tcldcc.c:769:12: note: 'tcl_socklist' declared here 769 | static int tcl_socklist STDVAR | ^~~~~~~~~~~~ tcldcc.c:1491:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1491 | {"whom", tcl_whom}, | ^~~~~~~~ tcldcc.c:1491:28: note: (near initialization for 'tcldcc_cmds[24].func') tcldcc.c:784:12: note: 'tcl_whom' declared here 784 | static int tcl_whom STDVAR | ^~~~~~~~ tcldcc.c:1492:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1492 | {"dccused", tcl_dccused}, | ^~~~~~~~~~~ tcldcc.c:1492:25: note: (near initialization for 'tcldcc_cmds[25].func') tcldcc.c:858:12: note: 'tcl_dccused' declared here 858 | static int tcl_dccused STDVAR | ^~~~~~~~~~~ tcldcc.c:1493:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1493 | {"getdccidle", tcl_getdccidle}, | ^~~~~~~~~~~~~~ tcldcc.c:1493:22: note: (near initialization for 'tcldcc_cmds[26].func') tcldcc.c:869:12: note: 'tcl_getdccidle' declared here 869 | static int tcl_getdccidle STDVAR | ^~~~~~~~~~~~~~ tcldcc.c:1494:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1494 | {"getdccaway", tcl_getdccaway}, | ^~~~~~~~~~~~~~ tcldcc.c:1494:22: note: (near initialization for 'tcldcc_cmds[27].func') tcldcc.c:888:12: note: 'tcl_getdccaway' declared here 888 | static int tcl_getdccaway STDVAR | ^~~~~~~~~~~~~~ tcldcc.c:1495:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1495 | {"setdccaway", tcl_setdccaway}, | ^~~~~~~~~~~~~~ tcldcc.c:1495:22: note: (near initialization for 'tcldcc_cmds[28].func') tcldcc.c:906:12: note: 'tcl_setdccaway' declared here 906 | static int tcl_setdccaway STDVAR | ^~~~~~~~~~~~~~ tcldcc.c:1496:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1496 | {"islinked", tcl_islinked}, | ^~~~~~~~~~~~ tcldcc.c:1496:24: note: (near initialization for 'tcldcc_cmds[29].func') tcldcc.c:604:12: note: 'tcl_islinked' declared here 604 | static int tcl_islinked STDVAR | ^~~~~~~~~~~~ tcldcc.c:1497:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1497 | {"link", tcl_link}, | ^~~~~~~~ tcldcc.c:1497:28: note: (near initialization for 'tcldcc_cmds[30].func') tcldcc.c:926:12: note: 'tcl_link' declared here 926 | static int tcl_link STDVAR | ^~~~~~~~ tcldcc.c:1498:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1498 | {"unlink", tcl_unlink}, | ^~~~~~~~~~ tcldcc.c:1498:26: note: (near initialization for 'tcldcc_cmds[31].func') tcldcc.c:950:12: note: 'tcl_unlink' declared here 950 | static int tcl_unlink STDVAR | ^~~~~~~~~~ tcldcc.c:1499:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1499 | {"connect", tcl_connect}, | ^~~~~~~~~~~ tcldcc.c:1499:25: note: (near initialization for 'tcldcc_cmds[32].func') tcldcc.c:974:12: note: 'tcl_connect' declared here 974 | static int tcl_connect STDVAR | ^~~~~~~~~~~ tcldcc.c:1500:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1500 | {"listen", tcl_listen}, | ^~~~~~~~~~ tcldcc.c:1500:26: note: (near initialization for 'tcldcc_cmds[33].func') tcldcc.c:1259:12: note: 'tcl_listen' declared here 1259 | static int tcl_listen STDVAR | ^~~~~~~~~~ tcldcc.c:1501:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1501 | {"boot", tcl_boot}, | ^~~~~~~~ tcldcc.c:1501:28: note: (near initialization for 'tcldcc_cmds[34].func') tcldcc.c:1344:12: note: 'tcl_boot' declared here 1344 | static int tcl_boot STDVAR | ^~~~~~~~ tcldcc.c:1502:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1502 | {"rehash", tcl_rehash}, | ^~~~~~~~~~ tcldcc.c:1502:26: note: (near initialization for 'tcldcc_cmds[35].func') tcldcc.c:1378:12: note: 'tcl_rehash' declared here 1378 | static int tcl_rehash STDVAR | ^~~~~~~~~~ tcldcc.c:1503:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1503 | {"restart", tcl_restart}, | ^~~~~~~~~~~ tcldcc.c:1503:25: note: (near initialization for 'tcldcc_cmds[36].func') tcldcc.c:1393:12: note: 'tcl_restart' declared here 1393 | static int tcl_restart STDVAR | ^~~~~~~~~~~ tcldcc.c:1504:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1504 | {"traffic", tcl_traffic}, | ^~~~~~~~~~~ tcldcc.c:1504:25: note: (near initialization for 'tcldcc_cmds[37].func') tcldcc.c:1413:12: note: 'tcl_traffic' declared here 1413 | static int tcl_traffic STDVAR | ^~~~~~~~~~~ make[1]: *** [Makefile:86: tcldcc.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c tls.c tls.c: In function 'ssl_info': tls.c:772:7: error: too many arguments to function 'data->cb'; expected 0, have 1 772 | data->cb(sock); | ^~~~ ~~~~ In file included from main.h:79, from tls.c:27: eggdrop.h:665:11: note: declared here 665 | IntFunc cb; | ^~ tls.c: At top level: tls.c:1109:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1109 | {"istls", tcl_istls}, | ^~~~~~~~~ tls.c:1109:21: note: (near initialization for 'tcltls_cmds[0].func') tls.c:985:12: note: 'tcl_istls' declared here 985 | static int tcl_istls STDVAR | ^~~~~~~~~ tls.c:1110:18: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1110 | {"starttls", tcl_starttls}, | ^~~~~~~~~~~~ tls.c:1110:18: note: (near initialization for 'tcltls_cmds[1].func') tls.c:1006:12: note: 'tcl_starttls' declared here 1006 | static int tcl_starttls STDVAR | ^~~~~~~~~~~~ tls.c:1111:17: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 1111 | {"tlsstatus", tcl_tlsstatus}, | ^~~~~~~~~~~~~ tls.c:1111:17: note: (near initialization for 'tcltls_cmds[2].func') tls.c:1037:12: note: 'tcl_tlsstatus' declared here 1037 | static int tcl_tlsstatus STDVAR | ^~~~~~~~~~~~~ make[1]: *** [Makefile:86: tls.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c dcc.c dcc.c: In function 'dcc_bot': dcc.c:517:16: error: too many arguments to function 'C_bot[i].func'; expected 0, have 2 517 | (C_bot[i].func) (idx, msg); | ~~~~~~~~~^~~~~~ ~~~ In file included from main.h:86, from dcc.c:26: cmdt.h:36:11: note: declared here 36 | IntFunc func; | ^~~~ make[1]: *** [Makefile:86: dcc.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c bg.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c cmds.c cmds.c: In function 'do_console': cmds.c:769:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 769 | (func[CONSOLE_DOSTORE]) (dest); | ~~~~~^~~~~~~~~~~~~~~~~~ ~~~~ cmds.c: In function 'remove_from_handle': cmds.c:2003:14: error: too many arguments to function '*(func + 168)'; expected 0, have 3 2003 | (func[IRC_CHECK_THIS_USER]) (handle, 2, host); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ cmds.c: In function 'cmd_chattr': cmds.c:2240:10: error: too many arguments to function '*(func + 168)'; expected 0, have 3 2240 | (func[IRC_CHECK_THIS_USER]) (hand, 0, NULL); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~~~ cmds.c: In function 'cmd_chat': cmds.c:2512:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 2512 | (func[CONSOLE_DOSTORE]) (idx); | ~~~~~^~~~~~~~~~~~~~~~~~ ~~~ cmds.c: In function 'cmd_echo': cmds.c:2539:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 2539 | (func[CONSOLE_DOSTORE]) (idx); | ~~~~~^~~~~~~~~~~~~~~~~~ ~~~ cmds.c: In function 'cmd_strip': cmds.c:2706:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 2706 | (func[CONSOLE_DOSTORE]) (dest); | ~~~~~^~~~~~~~~~~~~~~~~~ ~~~~ cmds.c: In function 'cmd_page': cmds.c:2830:10: error: too many arguments to function '*(func + 32)'; expected 0, have 1 2830 | (func[CONSOLE_DOSTORE]) (idx); | ~~~~~^~~~~~~~~~~~~~~~~~ ~~~ cmds.c: In function 'cmd_mns_user': cmds.c:3137:10: error: too many arguments to function '*(func + 168)'; expected 0, have 3 3137 | (func[IRC_CHECK_THIS_USER]) (handle, 1, NULL); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ cmds.c: In function 'cmd_pls_host': cmds.c:3171:12: error: too many arguments to function '*(func + 168)'; expected 0, have 3 3171 | (func[IRC_CHECK_THIS_USER]) (handle, 0, NULL); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ make[1]: *** [Makefile:86: cmds.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c misc_file.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c match.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c chanprog.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c dccutil.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c botmsg.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c net.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c misc.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_TCL_THREADS -c botnet.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eggdrop-1.10.0-build/eggdrop-1.10.0/src' make: *** [Makefile:243: eggdrop] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OR7lWj (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OR7lWj (%build) I: [iurt_root_command] ERROR: chroot