Diff of the two buildlogs: -- --- b1/build.log 2021-06-24 19:18:12.829233614 +0000 +++ b2/build.log 2021-06-24 19:20:37.915814143 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 27 13:40:54 -12 2022 -I: pbuilder-time-stamp: 1658972454 +I: Current time: Fri Jun 25 09:18:15 +14 2021 +I: pbuilder-time-stamp: 1624562295 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./siggen_2.3.10-11.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.c7KY0ckP/trustedkeys.kbx': General error -gpgv: Signature made Tue Dec 1 14:38:13 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.aHtSl8_K/trustedkeys.kbx': General error +gpgv: Signature made Wed Dec 2 16:38:13 2020 +14 gpgv: using RSA key 6201FBFFDBBDE07822EABB9696FCAC0D387B5847 gpgv: issuer "debian@alteholz.de" gpgv: Can't check signature: No public key @@ -37,137 +37,171 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15229/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2877/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2877/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2877/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='1f2500afa67a49c2bd4de06087d3f307' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='15229' - PS1='# ' - PS2='> ' + INVOCATION_ID=e1d3489e10484ea2bf10955161558a32 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2877 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.lugSExWdVr/pbuilderrc_5KjL --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.lugSExWdVr/b1 --logfile b1/build.log siggen_2.3.10-11.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.lugSExWdVr/pbuilderrc_pXWl --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.lugSExWdVr/b2 --logfile b2/build.log --extrapackages usrmerge siggen_2.3.10-11.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-1 (2021-06-10) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 26 03:47 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/15229/tmp/hooks/D02_print_environment finished + total 5784 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 25 09:19 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 24 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/2877/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -238,7 +272,7 @@ Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main i386 libncurses6 i386 6.2+20201114-2 [110 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 libncurses-dev i386 6.2+20201114-2 [373 kB] -Fetched 19.0 MB in 0s (71.0 MB/s) +Fetched 19.0 MB in 3s (7065 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -389,9 +423,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (1517 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21649 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/siggen-2.3.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/siggen-2.3.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package siggen dpkg-buildpackage: info: source version 2.3.10-11 dpkg-buildpackage: info: source distribution unstable @@ -411,7 +477,7 @@ dh_clean debian/rules build dh_auto_build -- CFLAGS="-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix - make -j18 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix + make -j10 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2" tones signalgen swgen siggen sweepgen fsynth soundinfo smix make[1]: Entering directory '/build/siggen-2.3.10' Makefile:46: warning: ignoring prerequisites on suffix rule definition gcc -c -g -O2 -I. -I/usr/include/ncurses tones.c @@ -424,14 +490,6 @@ gcc -c -g -O2 -I. -I/usr/include/ncurses configsubs.c gcc -c -g -O2 -I. -I/usr/include/ncurses sgen.c gcc -c -g -O2 -I. -I/usr/include/ncurses swgen.c -gcc -c -g -O2 -I. -I/usr/include/ncurses siggen.c -gcc -c -g -O2 -I. -I/usr/include/ncurses sigscr.c -gcc -c -g -O2 -I. -I/usr/include/ncurses scrsubs.c -gcc -c -g -O2 -I. -I/usr/include/ncurses scfio.c -gcc -c -g -O2 -I. -I/usr/include/ncurses sweepgen.c -gcc -c -g -O2 -I. -I/usr/include/ncurses sweepscr.c -gcc -c -g -O2 -I. -I/usr/include/ncurses fsynth.c -gcc -c -g -O2 -I. -I/usr/include/ncurses fsynscr.c In file included from wavsubs.c:70: wavsubs.c: In function 'Winit': wavsubs.h:83:47: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] @@ -457,6 +515,21 @@ wavsubs.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | isriff(f) | ^~~~~~ +misc.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] + 38 | delay(us) + | ^~~~~ +misc.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] + 52 | err_rpt(err,msg) + | ^~~~~~~ +misc.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] + 67 | hcf(x,y) + | ^~~ +misc.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] + 91 | parse(s,aa,sep) + | ^~~~~ +misc.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] + 131 | mstosamples(ms,sr) + | ^~~~~~~~~~~ wavsubs.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] 124 | wavnextchunk(f,p) | ^~~~~~~~~~~~ @@ -477,18 +550,6 @@ wavsubs.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] 213 | riffhdr(f,N) | ^~~~~~~ -wavsubs.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] - 231 | wavwritefmt(f,W) - | ^~~~~~~~~~~ -wavsubs.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] - 261 | wavread(f,W,buf,N) - | ^~~~~~~ -wavsubs.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] - 287 | wavwrite(f,W,buf,N) - | ^~~~~~~~ -wavsubs.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] - 307 | fprintfmt(f,W) - | ^~~~~~~~~ configsubs.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] 88 | init_conf_files(local,home,global,v) | ^~~~~~~~~~~~~~~ @@ -501,24 +562,21 @@ configsubs.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] 121 | close_conf_files() | ^~~~~~~~~~~~~~~~ -misc.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] - 38 | delay(us) - | ^~~~~ -misc.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] - 52 | err_rpt(err,msg) - | ^~~~~~~ -misc.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] - 67 | hcf(x,y) - | ^~~ -misc.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] - 91 | parse(s,aa,sep) - | ^~~~~ -misc.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] - 131 | mstosamples(ms,sr) +wavsubs.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] + 231 | wavwritefmt(f,W) | ^~~~~~~~~~~ +wavsubs.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] + 261 | wavread(f,W,buf,N) + | ^~~~~~~ DAC.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | is16bit(fd) | ^~~~~~~ +wavsubs.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] + 287 | wavwrite(f,W,buf,N) + | ^~~~~~~~ +wavsubs.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] + 307 | fprintfmt(f,W) + | ^~~~~~~~~ DAC.c: In function 'is16bit': DAC.c:53:8: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 53 | if (ioctl(fd, SNDCTL_DSP_GETFMTS , &fmts) < 0) { @@ -542,6 +600,25 @@ DAC.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] 155 | DACopen(fnm,mode,samples,fmt,stereo) | ^~~~~~~ +sgen.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] + 119 | help(e) + | ^~~~ +sgen.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] + 164 | main(argc,argv) + | ^~~~ +tones.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] + 97 | help(e) + | ^~~~ +sgen.c: In function 'main': +sgen.c:206:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 206 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); + | ^~~~~~~ +tones.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] + 156 | main(argc,argv) + | ^~~~ +swgen.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] + 108 | help(e) + | ^~~~ wavfile.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | fWAVdebug(f) | ^~~~~~~~~ @@ -550,12 +627,18 @@ | ^~~~~~~~ In file included from wavfile.c:94: wavfile.c: In function 'fWAVopen': +swgen.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] + 153 | main(argc,argv) + | ^~~~ wavsubs.h:83:47: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 83 | #define NewWavValues() ((struct WavValues *)malloc(sizeof(struct WavValues))) | ^~~~~~ wavfile.c:148:22: note: in expansion of macro 'NewWavValues' 148 | if (W==NULL && (W=NewWavValues())==NULL) { | ^~~~~~~~~~~~ +tonesgen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] + 168 | init_samples(fo,fdo,N,S,F,St,Ch,Wn) + | ^~~~~~~~~~~~ wavsubs.h:83:47: warning: incompatible implicit declaration of built-in function 'malloc' 83 | #define NewWavValues() ((struct WavValues *)malloc(sizeof(struct WavValues))) | ^~~~~~ @@ -571,31 +654,32 @@ 163 | fWAVwrfile(f,bf,bfn,Ns,samplerate,afmt,stereo) | ^~~~~~~~~~ wavfile.c: In function 'fWAVwrfile': +sgen.c:252:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 252 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ wavfile.c:170:7: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] 170 | if (fWAVwrhdr(f,Ns,samplerate,afmt,stereo)==-1) return(-1); | ^~~~~~~~~ +tones.c: In function 'main': +tones.c:220:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 220 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); + | ^~~~~~~ wavfile.c: At top level: wavfile.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] 188 | fWAVwrhdr(f,Ns,samplerate,afmt,stereo) | ^~~~~~~~~ -generator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] - 99 | mk8bit(bf,ip,N) - | ^~~~~~ -generator.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] - 117 | mixplaybuf(a,b,c,N,afmt) - | ^~~~~~~~~~ -generator.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] - 137 | chanmix(a,b,Nb,c,Nc,N,afmt) - | ^~~~~~~ -sigscr.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] - 185 | WinGen(fd) - | ^~~~~~ -generator.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] - 166 | do_antiphase(a,b,N,afmt) - | ^~~~~~~~~~~~ -tones.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] - 97 | help(e) - | ^~~~ +swgen.c: In function 'main': +swgen.c:201:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 201 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); + | ^~~~~~~ +tonesgen.c: In function 'init_samples': +tonesgen.c:191:9: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] + 191 | if (i=genAllWaveforms(&WavForms,&WavBufs,1,S,AFMT_S16_LE)) return(i); + | ^~~~~~~~~~~~~~~ +sgen.c:292:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] + 292 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) { + | ^~~~~~~ + | open wavfile.c: In function 'fWAVwrhdr': wavfile.c:198:3: warning: implicit declaration of function 'riffhdr' [-Wimplicit-function-declaration] 198 | riffhdr(f,(Ns<<(afmt==16))+36); @@ -607,102 +691,250 @@ wavfile.c:219:1: warning: return type defaults to 'int' [-Wimplicit-int] 219 | fWAVrdsamples(f,bf,N) | ^~~~~~~~~~~~~ -tones.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] - 156 | main(argc,argv) - | ^~~~ wavfile.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] 232 | writecyclic(fd,bf,bfn,Ns) | ^~~~~~~~~~~ wavfile.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] 252 | playloop(fd,bf,bfn,N) | ^~~~~~~~ +generator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] + 99 | mk8bit(bf,ip,N) + | ^~~~~~ wavfile.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] 277 | fWAVsamplerate() | ^~~~~~~~~~~~~~ +generator.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] + 117 | mixplaybuf(a,b,c,N,afmt) + | ^~~~~~~~~~ wavfile.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] 283 | fWAVafmt() | ^~~~~~~~ +sgen.c:299:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] + 299 | if ((frag_size=getfragsize(fd))<0) + | ^~~~~~~~~~~ +tonesgen.c:193:10: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] + 193 | if ((i=setwaveform("off",&Silence,NULL))) return(i); + | ^~~~~~~~~~~ +generator.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] + 137 | chanmix(a,b,Nb,c,Nc,N,afmt) + | ^~~~~~~ wavfile.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] 289 | fWAVstereo() | ^~~~~~~~~~ +tones.c:249:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 249 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ wavfile.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] 295 | fWAVsamples() | ^~~~~~~~~~~ +swgen.c:239:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 239 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ +generator.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] + 166 | do_antiphase(a,b,N,afmt) + | ^~~~~~~~~~~~ +tonesgen.c: At top level: +tonesgen.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] + 231 | do_loadable_waveforms(aa,n,T) + | ^~~~~~~~~~~~~~~~~~~~~ +sgen.c:341:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] + 341 | if ((playsamples=mstosamples(playtime,samplerate))==0) + | ^~~~~~~~~~~ +tones.c:287:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] + 287 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&stereo))<0) { + | ^~~~~~~ + | open +tonesgen.c: In function 'do_loadable_waveforms': +tonesgen.c:243:2: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 243 | err_rpt(errno,bf); + | ^~~~~~~ generator.c: In function 'maketone': generator.c:200:6: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] 200 | n=generate((fr)?wf:"OFF",bf,bn,fr,G,N,-1,afmt); | ^~~~~~~~ -scrsubs.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] - 41 | doinput(c,aa,H,HF,f) - | ^~~~~~~ generator.c: At top level: -sigscr.c: In function 'WinGen': -sigscr.c:194:4: warning: implicit declaration of function 'WinGenInit'; did you mean 'WinGen'? [-Wimplicit-function-declaration] - 194 | WinGenInit(); - | ^~~~~~~~~~ - | WinGen generator.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] 211 | mksweep(bf,bfn,FMbuf,wavbuf,Fmin,Fmax,N,afmt) | ^~~~~~~ -tonesgen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] - 168 | init_samples(fo,fdo,N,S,F,St,Ch,Wn) - | ^~~~~~~~~~~~ generator.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] 254 | mkcos(bf,bfn,freq,A,N,R,afmt) | ^~~~~ -tones.c: In function 'main': +sgen.c:363:7: warning: implicit declaration of function 'mknull' [-Wimplicit-function-declaration] + 363 | mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt); + | ^~~~~~ generator.c: In function 'mkcos': -tones.c:220:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 220 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); - | ^~~~~~~ generator.c:260:11: warning: implicit declaration of function 'mksin'; did you mean 'sin'? [-Wimplicit-function-declaration] 260 | return(mksin(bf,bfn,freq,A,N,90+R,afmt)); | ^~~~~ | sin +tonesgen.c: In function 'loadWavFile': generator.c: At top level: -sigscr.c:197:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] - 197 | doinfo(Mmain,0,&Finfo2); - | ^~~~~~ +tonesgen.c:282:3: warning: implicit declaration of function 'fprintfmt'; did you mean 'fprintf'? [-Wimplicit-function-declaration] + 282 | fprintfmt(stdout,W); + | ^~~~~~~~~ + | fprintf generator.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] 268 | mksin(bf,bfn,freq,A,N,R,afmt) | ^~~~~ +tones.c:294:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] + 294 | if ((frag_size=getfragsize(fd))<0) + | ^~~~~~~~~~~ +swgen.c:297:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] + 297 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) { + | ^~~~~~~ + | open generator.c: In function 'mksin': generator.c:295:11: warning: implicit declaration of function 'hcf' [-Wimplicit-function-declaration] 295 | n=N/(h=hcf(N,freq)); /* n = N/hcf(N,freq) is number of samples to create */ | ^~~ -sigscr.c:199:4: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] - 199 | dispfield(ff,hh,&Finfo,f); - | ^~~~~~~~~ - | dupfield +tonesgen.c: At top level: +tonesgen.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] + 325 | setwaveform(s,WFs,WFN) + | ^~~~~~~~~~~ +tonesgen.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] + 358 | flush_samples() + | ^~~~~~~~~~~~~ +sgen.c:386:8: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] + 386 | if (generate(wf,lbuf,lbuf_size,freq,Gain,samplerate*freqX,ratio,afmt)==0) { + | ^~~~~~~~ +tonesgen.c: In function 'flush_samples': +tonesgen.c:366:7: warning: implicit declaration of function 'newsamples'; did you mean 'getsamples'? [-Wimplicit-function-declaration] + 366 | newsamples(Buff,Silence,&cp,n,10000); + | ^~~~~~~~~~ + | getsamples +tones.c:340:21: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] + 340 | if (wfmt && (fWAVwrhdr(f,0,samplerate,afmt,stereo)<0)) { + | ^~~~~~~~~ +sgen.c:392:3: warning: implicit declaration of function 'do_antiphase' [-Wimplicit-function-declaration] + 392 | do_antiphase(rbuf,lbuf,samplerate*freqX,afmt); + | ^~~~~~~~~~~~ +tonesgen.c:367:7: warning: implicit declaration of function 'writesamples'; did you mean 'init_samples'? [-Wimplicit-function-declaration] + 367 | writesamples(Buff,n); + | ^~~~~~~~~~~~ + | init_samples +tonesgen.c: At top level: +tonesgen.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] + 379 | newsamples(bf,wav,cp,N,F,G) + | ^~~~~~~~~~ +swgen.c:304:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] + 304 | if ((frag_size=getfragsize(fd))<0) + | ^~~~~~~~~~~ +tonesgen.c:408:1: warning: return type defaults to 'int' [-Wimplicit-int] + 408 | addsamples(bf,wav,cp,N,F,G,L) + | ^~~~~~~~~~ +tones.c:344:10: warning: implicit declaration of function 'fWAVinit' [-Wimplicit-function-declaration] + 344 | if (fWAVinit(0,samplerate,afmt,stereo)) { + | ^~~~~~~~ +tonesgen.c:473:1: warning: return type defaults to 'int' [-Wimplicit-int] + 473 | doToneCmd(s) + | ^~~~~~~~~ +sgen.c:394:7: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] + 394 | mixplaybuf(plbuf,lbuf,rbuf,samplerate*freqX,afmt); + | ^~~~~~~~~~ +tones.c:354:18: warning: implicit declaration of function 'fWAVdebug' [-Wimplicit-function-declaration] + 354 | if (vflg>1) fWAVdebug(stdout); + | ^~~~~~~~~ +tonesgen.c: In function 'doToneCmd': +tonesgen.c:493:23: warning: implicit declaration of function 'docmdwaveform'; did you mean 'setwaveform'? [-Wimplicit-function-declaration] + 493 | } else if (GenErr=docmdwaveform(s)) { + | ^~~~~~~~~~~~~ + | setwaveform +sgen.c:402:5: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] + 402 | st=writecyclic(fd,plbuf,plbuf_size,n); + | ^~~~~~~~~~~ +swgen.c:345:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] + 345 | if ((playsamples=mstosamples(playtime,samplerate))==0) + | ^~~~~~~~~~~ +sgen.c:404:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 404 | close(fd); + | ^~~~~ + | pclose +tones.c:367:4: warning: implicit declaration of function 'init_samples' [-Wimplicit-function-declaration] + 367 | init_samples(f,fd,frag_size,samplerate,afmt,stereo,channels,&TWn); + | ^~~~~~~~~~~~ +tonesgen.c:494:14: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] + 494 | GenErr=docmdfile(s); + | ^~~~~~~~~ +sgen.c:406:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] + 406 | playloop(fd,plbuf,plbuf_size,frag_size); + | ^~~~~~~~ +swgen.c:375:8: warning: implicit declaration of function 'mksweep'; did you mean 'mkstemp'? [-Wimplicit-function-declaration] + 375 | mksweep(tbuf,tbuf_size,(short int *)FMbuf,swbuf,Frqmin,Frqmax,samplerate*freqX,afmt)==0) { + | ^~~~~~~ + | mkstemp +tonesgen.c:502:12: warning: implicit declaration of function 'doToneDur'; did you mean 'doToneCmd'? [-Wimplicit-function-declaration] + 502 | return(doToneDur(s,&t)); + | ^~~~~~~~~ + | doToneCmd +tones.c:368:19: warning: implicit declaration of function 'do_loadable_waveforms' [-Wimplicit-function-declaration] + 368 | if (LWn && (st=do_loadable_waveforms(LWaa,LWn,TWn,vflg))) exit(st); + | ^~~~~~~~~~~~~~~~~~~~~ +sgen.c:413:5: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] + 413 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); + | ^~~~~~~~~~ +tonesgen.c:504:23: warning: implicit declaration of function 'doDefDB' [-Wimplicit-function-declaration] + 504 | if (*s=='@') return(doDefDB(s+1)); + | ^~~~~~~ +swgen.c:386:3: warning: implicit declaration of function 'mk8bit' [-Wimplicit-function-declaration] + 386 | mk8bit(FM8buf,FMbuf,samplerate*freqX); + | ^~~~~~ +tones.c:373:10: warning: implicit declaration of function 'doToneCmd' [-Wimplicit-function-declaration] + 373 | if (st=doToneCmd(argv[i])) { + | ^~~~~~~~~ +tones.c:377:21: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] + 377 | if (fi!=NULL) ftones(fi,infile); + | ^~~~~~ +tonesgen.c:511:14: warning: implicit declaration of function 'docmdtones' [-Wimplicit-function-declaration] + 511 | GenErr=docmdtones(s,t); + | ^~~~~~~~~~ +tonesgen.c: At top level: +swgen.c:387:10: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] + 387 | mixplaybuf(plbuf,tbuf,FM8buf,samplerate*freqX,afmt); + | ^~~~~~~~~~ +tonesgen.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] + 522 | doDefDB(s) + | ^~~~~~~ +tonesgen.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] + 539 | doToneDur(s,t) + | ^~~~~~~~~ +tonesgen.c:564:1: warning: return type defaults to 'int' [-Wimplicit-int] + 564 | docmdtones(s,t) + | ^~~~~~~~~~ +swgen.c:404:7: warning: implicit declaration of function 'mknull' [-Wimplicit-function-declaration] + 404 | mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt); + | ^~~~~~ +tones.c:382:6: warning: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration] + 382 | flush_samples(); + | ^~~~~~~~~~~~~ +tonesgen.c: In function 'docmdtones': +tones.c:383:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 383 | close(fd); + | ^~~~~ + | pclose +tonesgen.c:579:19: warning: implicit declaration of function 'ConvNote' [-Wimplicit-function-declaration] + 579 | else if ((f=ConvNote(&s))==0) { + | ^~~~~~~~ +tones.c:386:16: warning: implicit declaration of function 'getsamples' [-Wimplicit-function-declaration] + 386 | (fWAVwrhdr(f,getsamples(),samplerate,afmt,stereo)<0)) { + | ^~~~~~~~~~ +swgen.c:411:6: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] + 411 | st=writecyclic(fd,plbuf,plbuf_size,n); + | ^~~~~~~~~~~ +swgen.c:413:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 413 | close(fd); + | ^~~~~ + | pclose +swgen.c:415:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] + 415 | playloop(fd,plbuf,plbuf_size,frag_size); + | ^~~~~~~~ +swgen.c:422:5: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] + 422 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); + | ^~~~~~~~~~ generator.c: At top level: generator.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int] 327 | mksquare(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~~ -tonesgen.c: In function 'init_samples': -tonesgen.c:191:9: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] - 191 | if (i=genAllWaveforms(&WavForms,&WavBufs,1,S,AFMT_S16_LE)) return(i); - | ^~~~~~~~~~~~~~~ -scrsubs.c: In function 'doinput': -scrsubs.c:65:15: warning: implicit declaration of function 'reverse_attr' [-Wimplicit-function-declaration] - 65 | aa[i]->attr=reverse_attr(aa[i]->attr); - | ^~~~~~~~~~~~ -tones.c:249:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 249 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ -scfio.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] - 111 | reverse_attr(a) - | ^~~~~~~~~~~~ -sigscr.c:204:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] - 204 | if ((i=time(NULL))-t) { t=i; dotime(&Ftime); } - | ^~~~~~ - | ctime -swgen.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] - 108 | help(e) - | ^~~~ generator.c: In function 'mksquare': -scfio.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] - 147 | actfrac(k,att,ip,w,o,DP) - | ^~~~~~~ generator.c:333:11: warning: implicit declaration of function 'mkpulse' [-Wimplicit-function-declaration] 333 | return(mkpulse(bf,bfn,freq,A,N,50,afmt)); | ^~~~~~~ @@ -710,93 +942,88 @@ generator.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] 342 | mkpulse(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~ -tonesgen.c:193:10: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] - 193 | if ((i=setwaveform("off",&Silence,NULL))) return(i); - | ^~~~~~~~~~~ -swgen.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] - 153 | main(argc,argv) - | ^~~~ -sgen.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] - 119 | help(e) - | ^~~~ generator.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] 385 | mksawtooth(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~~~~ -scrsubs.c:72:9: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] - 72 | fn=next_field(aa,f); - | ^~~~~~~~~~ - | newfield -tones.c:287:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] - 287 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&stereo))<0) { - | ^~~~~~~ - | open -tonesgen.c: At top level: -tonesgen.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] - 231 | do_loadable_waveforms(aa,n,T) - | ^~~~~~~~~~~~~~~~~~~~~ generator.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] 428 | mktriangle(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~~~~ -sgen.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] - 164 | main(argc,argv) - | ^~~~ generator.c:474:1: warning: return type defaults to 'int' [-Wimplicit-int] 474 | mknoise(bf,bfn,freq,A,N,R,afmt) | ^~~~~~~ -sigscr.c:205:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] - 205 | if (playsamples(fd)<0) { - | ^~~~~~~~~~~ -scfio.c: In function 'actfrac': -scfio.c:189:6: warning: implicit declaration of function 'putfrac'; did you mean 'actfrac'? [-Wimplicit-function-declaration] - 189 | putfrac(att,*ip,w,DP); - | ^~~~~~~ - | actfrac -scfio.c: At top level: -scfio.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] - 202 | putfrac(att,n,w,DP) - | ^~~~~~~ -tonesgen.c: In function 'do_loadable_waveforms': -tonesgen.c:243:2: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 243 | err_rpt(errno,bf); - | ^~~~~~~ +tonesgen.c: At top level: +tonesgen.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] + 624 | ConvNote(s) + | ^~~~~~~~ generator.c: In function 'mknoise': generator.c:493:10: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] 493 | srand(time(NULL)); | ^~~~ | utimes -swgen.c: In function 'main': -tones.c:294:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] - 294 | if ((frag_size=getfragsize(fd))<0) - | ^~~~~~~~~~~ -swgen.c:201:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 201 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); - | ^~~~~~~ -scfio.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] - 231 | actfstr(k,att,s,op,w) - | ^~~~~~~ -scrsubs.c:78:9: warning: implicit declaration of function 'prev_field'; did you mean 'putfield'? [-Wimplicit-function-declaration] - 78 | fn=prev_field(aa,f); - | ^~~~~~~~~~ - | putfield generator.c: At top level: generator.c:511:1: warning: return type defaults to 'int' [-Wimplicit-int] 511 | mknull(bf,bfn,freq,A,N,R,afmt) | ^~~~~~ -sgen.c: In function 'main': -sgen.c:206:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 206 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); - | ^~~~~~~ -sigscr.c:207:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 207 | return(err_rpt(errno,"Problem generating output samples.")); - | ^~~~~~~ +tonesgen.c:653:1: warning: return type defaults to 'int' [-Wimplicit-int] + 653 | docmdwaveform(s) + | ^~~~~~~~~~~~~ generator.c:562:1: warning: return type defaults to 'int' [-Wimplicit-int] 562 | generate(wf,buf,N,fr,A,S,R,afmt) | ^~~~~~~~ -tonesgen.c: In function 'loadWavFile': -tonesgen.c:282:3: warning: implicit declaration of function 'fprintfmt'; did you mean 'fprintf'? [-Wimplicit-function-declaration] - 282 | fprintfmt(stdout,W); - | ^~~~~~~~~ - | fprintf +generator.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] + 610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt) + | ^~~~~~~~~~~~~~~ +tonesgen.c:696:1: warning: return type defaults to 'int' [-Wimplicit-int] + 696 | writesamples(bf,N) + | ^~~~~~~~~~~~ +tonesgen.c: In function 'writesamples': +tonesgen.c:712:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] + 712 | write(FD,(char *)bf,n); + | ^~~~~ + | fwrite +tonesgen.c:714:6: warning: implicit declaration of function 'fWAVwrsamples'; did you mean 'newsamples'? [-Wimplicit-function-declaration] + 714 | fWAVwrsamples(FO,(char *)bf,n); + | ^~~~~~~~~~~~~ + | newsamples +tonesgen.c: At top level: +tonesgen.c:729:1: warning: return type defaults to 'int' [-Wimplicit-int] + 729 | docmdfile(fn) + | ^~~~~~~~~ +tonesgen.c: In function 'docmdfile': +tonesgen.c:742:3: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] + 742 | ftones(f,fn); + | ^~~~~~ +tonesgen.c: At top level: +tonesgen.c:751:1: warning: return type defaults to 'int' [-Wimplicit-int] + 751 | ftones(f,fn) + | ^~~~~~ +tonesgen.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] + 769 | doline(s) + | ^~~~~~ +tonesgen.c: In function 'doline': +tonesgen.c:778:9: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] + 778 | n=parse(s,aa,'\0'); + | ^~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses siggen.c +gcc -c -g -O2 -I. -I/usr/include/ncurses sigscr.c +gcc -c -g -O2 -I. -I/usr/include/ncurses scrsubs.c +gcc -c -g -O2 -I. -I/usr/include/ncurses scfio.c +gcc -c -g -O2 -I. -I/usr/include/ncurses sweepgen.c +scrsubs.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] + 41 | doinput(c,aa,H,HF,f) + | ^~~~~~~ +scrsubs.c: In function 'doinput': +scrsubs.c:65:15: warning: implicit declaration of function 'reverse_attr' [-Wimplicit-function-declaration] + 65 | aa[i]->attr=reverse_attr(aa[i]->attr); + | ^~~~~~~~~~~~ +scrsubs.c:72:9: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] + 72 | fn=next_field(aa,f); + | ^~~~~~~~~~ + | newfield +scrsubs.c:78:9: warning: implicit declaration of function 'prev_field'; did you mean 'putfield'? [-Wimplicit-function-declaration] + 78 | fn=prev_field(aa,f); + | ^~~~~~~~~~ + | putfield scrsubs.c:83:7: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] 83 | dispfield(aa,H,HF,f); | ^~~~~~~~~ @@ -805,60 +1032,13 @@ scrsubs.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] 95 | dispfield(ff,hh,HF,f) | ^~~~~~~~~ -generator.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] - 610 | genAllWaveforms(Wfs,bufs,F,samplerate,afmt) - | ^~~~~~~~~~~~~~~ -sigscr.c:210:10: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] - 210 | delay(25000); - | ^~~~~ - | nodelay -sweepscr.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] - 159 | WinGen(fd) - | ^~~~~~ -tonesgen.c: At top level: -tonesgen.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] - 325 | setwaveform(s,WFs,WFN) - | ^~~~~~~~~~~ -In file included from scfio.c:104: -scfio.c: In function 'actfstr': -scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'actfstr'? [-Wimplicit-function-declaration] - 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) - | ^~~~~~~ -scfio.c:281:4: note: in expansion of macro 'mvputfstr' - 281 | mvputfstr(y,x,att,s,w); - | ^~~~~~~~~ -scfio.c: At top level: -tones.c:340:21: warning: implicit declaration of function 'fWAVwrhdr' [-Wimplicit-function-declaration] - 340 | if (wfmt && (fWAVwrhdr(f,0,samplerate,afmt,stereo)<0)) { - | ^~~~~~~~~ -scfio.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] - 292 | putfstr(att,s,w) - | ^~~~~~~ -tonesgen.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] - 358 | flush_samples() - | ^~~~~~~~~~~~~ -fsynscr.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] - 129 | WinGen(fd) +sigscr.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] + 185 | WinGen(fd) | ^~~~~~ -swgen.c:239:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 239 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ -scfio.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] - 317 | actfopt(k,att,sp,ip,w) - | ^~~~~~~ -sigscr.c:219:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 219 | close(fd); - | ^~~~~ - | pclose scrsubs.c: In function 'dispfield': scrsubs.c:101:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] 101 | doinfo(hh[f],0,HF); | ^~~~~~ -tonesgen.c: In function 'flush_samples': -tonesgen.c:366:7: warning: implicit declaration of function 'newsamples'; did you mean 'getsamples'? [-Wimplicit-function-declaration] - 366 | newsamples(Buff,Silence,&cp,n,10000); - | ^~~~~~~~~~ - | getsamples scrsubs.c: At top level: scrsubs.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] 147 | setwaveform(sp,wv,WFS) @@ -866,88 +1046,26 @@ scrsubs.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] 168 | dohdr(y,a1,a2,a3,h1,h2,S,V) | ^~~~~ -sgen.c:252:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 252 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ -scfio.c:392:1: warning: return type defaults to 'int' [-Wimplicit-int] - 392 | putfield(fp) - | ^~~~~~~~ -tones.c:344:10: warning: implicit declaration of function 'fWAVinit' [-Wimplicit-function-declaration] - 344 | if (fWAVinit(0,samplerate,afmt,stereo)) { - | ^~~~~~~~ -sweepscr.c: In function 'WinGen': -sweepscr.c:168:10: warning: implicit declaration of function 'WinGenInit'; did you mean 'WinGen'? [-Wimplicit-function-declaration] - 168 | if (n=WinGenInit()) return(n); - | ^~~~~~~~~~ - | WinGen -sigscr.c:220:17: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] - 220 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || - | ^~~~~~~ - | popen -tonesgen.c:367:7: warning: implicit declaration of function 'writesamples'; did you mean 'init_samples'? [-Wimplicit-function-declaration] - 367 | writesamples(Buff,n); - | ^~~~~~~~~~~~ - | init_samples -tonesgen.c: At top level: -tonesgen.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] - 379 | newsamples(bf,wav,cp,N,F,G) - | ^~~~~~~~~~ -scfio.c:431:1: warning: return type defaults to 'int' [-Wimplicit-int] - 431 | actfield(k,fp) - | ^~~~~~~~ -fsynscr.c: In function 'WinGen': -fsynscr.c:142:4: warning: implicit declaration of function 'WinGenInit'; did you mean 'WinGen'? [-Wimplicit-function-declaration] - 142 | WinGenInit(); +sigscr.c: In function 'WinGen': +sigscr.c:194:4: warning: implicit declaration of function 'WinGenInit'; did you mean 'WinGen'? [-Wimplicit-function-declaration] + 194 | WinGenInit(); | ^~~~~~~~~~ | WinGen -swgen.c:297:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] - 297 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) { - | ^~~~~~~ - | open -tonesgen.c:408:1: warning: return type defaults to 'int' [-Wimplicit-int] - 408 | addsamples(bf,wav,cp,N,F,G,L) - | ^~~~~~~~~~ In file included from scrsubs.c:29: scrsubs.c: In function 'dohdr': -siggen.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] - 131 | help(e) - | ^~~~ scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) | ^~~~~~~ scrsubs.c:175:7: note: in expansion of macro 'mvputfstr' 175 | mvputfstr(y+i,0,a1,h1[i],80); | ^~~~~~~~~ -tonesgen.c:473:1: warning: return type defaults to 'int' [-Wimplicit-int] - 473 | doToneCmd(s) - | ^~~~~~~~~ -sgen.c:292:15: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] - 292 | if ((fd=DACopen(fnm=dac,"w",&samplerate,&i,&n))<0) { - | ^~~~~~~ - | open -tones.c:354:18: warning: implicit declaration of function 'fWAVdebug' [-Wimplicit-function-declaration] - 354 | if (vflg>1) fWAVdebug(stdout); - | ^~~~~~~~~ -sweepscr.c:171:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] - 171 | doinfo(Mmain,0,&Finfo2); - | ^~~~~~ scrsubs.c: At top level: -siggen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] - 168 | main(argc,argv) - | ^~~~ scrsubs.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | doinfo(s,w,SF) | ^~~~~~ -sigscr.c:221:16: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] - 221 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { - | ^~~~~~~~~~~ - | set_tabsize -fsynscr.c:145:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] - 145 | doinfo(Mmain,0,Finfo2); +sigscr.c:197:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] + 197 | doinfo(Mmain,0,&Finfo2); | ^~~~~~ -swgen.c:304:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] - 304 | if ((frag_size=getfragsize(fd))<0) - | ^~~~~~~~~~~ scrsubs.c: In function 'doinfo': scrsubs.c:198:11: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 198 | if (w) sleep(w); @@ -956,8 +1074,8 @@ scrsubs.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] 204 | dotime(F) | ^~~~~~ -sweepscr.c:173:4: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] - 173 | dispfield(ff,hh,&Finfo,f); +sigscr.c:199:4: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] + 199 | dispfield(ff,hh,&Finfo,f); | ^~~~~~~~~ | dupfield scrsubs.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] @@ -966,163 +1084,51 @@ scrsubs.c:228:1: warning: return type defaults to 'int' [-Wimplicit-int] 228 | dofatt(aa,at) | ^~~~~~ -fsynscr.c:147:4: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] - 147 | dispfield(inFs,helpMs,Finfo,f); - | ^~~~~~~~~ - | dupfield -sgen.c:299:22: warning: implicit declaration of function 'getfragsize' [-Wimplicit-function-declaration] - 299 | if ((frag_size=getfragsize(fd))<0) - | ^~~~~~~~~~~ -tones.c:367:4: warning: implicit declaration of function 'init_samples' [-Wimplicit-function-declaration] - 367 | init_samples(f,fd,frag_size,samplerate,afmt,stereo,channels,&TWn); - | ^~~~~~~~~~~~ scrsubs.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int] 237 | mergefields(aa1,aa2) | ^~~~~~~~~~~ -tonesgen.c: In function 'doToneCmd': -sigscr.c:229:6: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] - 229 | dofields(scrV); - | ^~~~~~~~ -tonesgen.c:493:23: warning: implicit declaration of function 'docmdwaveform'; did you mean 'setwaveform'? [-Wimplicit-function-declaration] - 493 | } else if (GenErr=docmdwaveform(s)) { - | ^~~~~~~~~~~~~ - | setwaveform scrsubs.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] 253 | scfeql(f1,f2) | ^~~~~~ -sweepscr.c:178:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] - 178 | if ((i=time(NULL))-t) { t=i; dotime(&Ftime); } - | ^~~~~~ - | ctime -fsynscr.c:152:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] - 152 | if ((i=time(NULL))-t) { t=i; dotime(Ftime); } /* update time every sec */ +sigscr.c:204:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] + 204 | if ((i=time(NULL))-t) { t=i; dotime(&Ftime); } | ^~~~~~ | ctime -swgen.c:345:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] - 345 | if ((playsamples=mstosamples(playtime,samplerate))==0) - | ^~~~~~~~~~~ -siggen.c: In function 'main': -siggen.c:210:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 210 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); - | ^~~~~~~ -tonesgen.c:494:14: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] - 494 | GenErr=docmdfile(s); - | ^~~~~~~~~ -tones.c:368:19: warning: implicit declaration of function 'do_loadable_waveforms' [-Wimplicit-function-declaration] - 368 | if (LWn && (st=do_loadable_waveforms(LWaa,LWn,TWn,vflg))) exit(st); - | ^~~~~~~~~~~~~~~~~~~~~ -sgen.c:341:23: warning: implicit declaration of function 'mstosamples' [-Wimplicit-function-declaration] - 341 | if ((playsamples=mstosamples(playtime,samplerate))==0) - | ^~~~~~~~~~~ +sigscr.c:205:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] + 205 | if (playsamples(fd)<0) { + | ^~~~~~~~~~~ +sigscr.c:207:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 207 | return(err_rpt(errno,"Problem generating output samples.")); + | ^~~~~~~ +sigscr.c:210:10: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] + 210 | delay(25000); + | ^~~~~ + | nodelay +sigscr.c:219:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 219 | close(fd); + | ^~~~~ + | pclose +sigscr.c:220:17: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] + 220 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || + | ^~~~~~~ + | popen +sigscr.c:221:16: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] + 221 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { + | ^~~~~~~~~~~ + | set_tabsize +sigscr.c:229:6: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] + 229 | dofields(scrV); + | ^~~~~~~~ sigscr.c:232:16: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] 232 | if (st=genAllWaveforms(&WAVEFORMS,&wavbufs,1,Lsamplerate*resolution,Lafmt)) { | ^~~~~~~~~~~~~~~ -swgen.c:375:8: warning: implicit declaration of function 'mksweep'; did you mean 'mkstemp'? [-Wimplicit-function-declaration] - 375 | mksweep(tbuf,tbuf_size,(short int *)FMbuf,swbuf,Frqmin,Frqmax,samplerate*freqX,afmt)==0) { - | ^~~~~~~ - | mkstemp -tonesgen.c:502:12: warning: implicit declaration of function 'doToneDur'; did you mean 'doToneCmd'? [-Wimplicit-function-declaration] - 502 | return(doToneDur(s,&t)); - | ^~~~~~~~~ - | doToneCmd -sweepscr.c:179:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] - 179 | if (playsamples(fd)<0) { - | ^~~~~~~~~~~ -tones.c:373:10: warning: implicit declaration of function 'doToneCmd' [-Wimplicit-function-declaration] - 373 | if (st=doToneCmd(argv[i])) { - | ^~~~~~~~~ -fsynscr.c:153:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] - 153 | if (playsamples(fd)<0) { /* do any generation */ - | ^~~~~~~~~~~ -sgen.c:363:7: warning: implicit declaration of function 'mknull' [-Wimplicit-function-declaration] - 363 | mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt); - | ^~~~~~ -siggen.c:219:20: warning: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration] - 219 | if ((resolution=set_resolution(*argv++))==0) { - | ^~~~~~~~~~~~~~ -swgen.c:386:3: warning: implicit declaration of function 'mk8bit' [-Wimplicit-function-declaration] - 386 | mk8bit(FM8buf,FMbuf,samplerate*freqX); - | ^~~~~~ -tonesgen.c:504:23: warning: implicit declaration of function 'doDefDB' [-Wimplicit-function-declaration] - 504 | if (*s=='@') return(doDefDB(s+1)); - | ^~~~~~~ -tones.c:377:21: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] - 377 | if (fi!=NULL) ftones(fi,infile); - | ^~~~~~ sigscr.c:248:8: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] 248 | f=next_field(ff,-1); | ^~~~~~~~~~ | newfield -sweepscr.c:181:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 181 | return(err_rpt(errno,"Problem generating output samples.")); - | ^~~~~~~ -fsynscr.c:155:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 155 | return(err_rpt(errno,"Problem generating output samples.")); - | ^~~~~~~ -sgen.c:386:8: warning: implicit declaration of function 'generate' [-Wimplicit-function-declaration] - 386 | if (generate(wf,lbuf,lbuf_size,freq,Gain,samplerate*freqX,ratio,afmt)==0) { - | ^~~~~~~~ -sweepscr.c:184:10: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] - 184 | delay(25000); - | ^~~~~ - | nodelay -fsynscr.c:159:2: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] - 159 | delay(NO_KEY_WAIT); /* then wait preset time - be kind */ - | ^~~~~ - | nodelay -swgen.c:387:10: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] - 387 | mixplaybuf(plbuf,tbuf,FM8buf,samplerate*freqX,afmt); - | ^~~~~~~~~~ -tonesgen.c:511:14: warning: implicit declaration of function 'docmdtones' [-Wimplicit-function-declaration] - 511 | GenErr=docmdtones(s,t); - | ^~~~~~~~~~ -tonesgen.c: At top level: -sweepscr.c:193:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 193 | close(fd); - | ^~~~~ - | pclose -tonesgen.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] - 522 | doDefDB(s) - | ^~~~~~~ -siggen.c:243:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 243 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ sigscr.c:268:4: warning: implicit declaration of function 'doinput' [-Wimplicit-function-declaration] 268 | f=doinput(c,ff,hh,&Finfo,f); | ^~~~~~~ -tones.c:382:6: warning: implicit declaration of function 'flush_samples' [-Wimplicit-function-declaration] - 382 | flush_samples(); - | ^~~~~~~~~~~~~ -fsynscr.c:169:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 169 | close(fd); - | ^~~~~ - | pclose -tonesgen.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] - 539 | doToneDur(s,t) - | ^~~~~~~~~ -sweepgen.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] - 102 | help(e) - | ^~~~ -sgen.c:392:3: warning: implicit declaration of function 'do_antiphase' [-Wimplicit-function-declaration] - 392 | do_antiphase(rbuf,lbuf,samplerate*freqX,afmt); - | ^~~~~~~~~~~~ -tonesgen.c:564:1: warning: return type defaults to 'int' [-Wimplicit-int] - 564 | docmdtones(s,t) - | ^~~~~~~~~~ -swgen.c:404:7: warning: implicit declaration of function 'mknull' [-Wimplicit-function-declaration] - 404 | mknull(silbuf,plbuf_size,0,0,samplerate*freqX,0,afmt); - | ^~~~~~ -sweepgen.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] - 139 | main(argc,argv) - | ^~~~ -tones.c:383:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 383 | close(fd); - | ^~~~~ - | pclose -sweepscr.c:194:17: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] - 194 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || - | ^~~~~~~ - | popen sigscr.c:271:2: warning: implicit declaration of function 'scfeql' [-Wimplicit-function-declaration] 271 | scfeql(ff[i],ff[f]); | ^~~~~~ @@ -1130,126 +1136,22 @@ sigscr.c:278:1: warning: return type defaults to 'int' [-Wimplicit-int] 278 | WinGenInit() | ^~~~~~~~~~ -fsynscr.c:170:17: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] - 170 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || - | ^~~~~~~ - | popen -siggen.c:286:13: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] - 286 | if ((DAC=DACopen(dac,"w",&samplerate,&i,&n))<0) { - | ^~~~~~~ - | open -sgen.c:394:7: warning: implicit declaration of function 'mixplaybuf' [-Wimplicit-function-declaration] - 394 | mixplaybuf(plbuf,lbuf,rbuf,samplerate*freqX,afmt); - | ^~~~~~~~~~ -tonesgen.c: In function 'docmdtones': -tones.c:386:16: warning: implicit declaration of function 'getsamples' [-Wimplicit-function-declaration] - 386 | (fWAVwrhdr(f,getsamples(),samplerate,afmt,stereo)<0)) { - | ^~~~~~~~~~ -tonesgen.c:579:19: warning: implicit declaration of function 'ConvNote' [-Wimplicit-function-declaration] - 579 | else if ((f=ConvNote(&s))==0) { - | ^~~~~~~~ -swgen.c:411:6: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] - 411 | st=writecyclic(fd,plbuf,plbuf_size,n); - | ^~~~~~~~~~~ -sweepscr.c:195:16: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] - 195 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { - | ^~~~~~~~~~~ - | set_tabsize -fsynscr.c:171:16: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] - 171 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { - | ^~~~~~~~~~~ - | set_tabsize -swgen.c:413:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 413 | close(fd); - | ^~~~~ - | pclose -sweepgen.c: In function 'main': -sweepgen.c:179:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 179 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); - | ^~~~~~~ -tonesgen.c: At top level: -tonesgen.c:624:1: warning: return type defaults to 'int' [-Wimplicit-int] - 624 | ConvNote(s) - | ^~~~~~~~ -siggen.c:295:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] - 295 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { - | ^~~~~~~~~~~ -sgen.c:402:5: warning: implicit declaration of function 'writecyclic' [-Wimplicit-function-declaration] - 402 | st=writecyclic(fd,plbuf,plbuf_size,n); - | ^~~~~~~~~~~ sigscr.c: In function 'WinGenInit': sigscr.c:296:4: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] 296 | setwaveform(&Fwav1V,wf,WAVEFORMS); | ^~~~~~~~~~~ -tonesgen.c:653:1: warning: return type defaults to 'int' [-Wimplicit-int] - 653 | docmdwaveform(s) - | ^~~~~~~~~~~~~ -sweepscr.c:203:6: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] - 203 | dofields(scrV); - | ^~~~~~~~ -swgen.c:415:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] - 415 | playloop(fd,plbuf,plbuf_size,frag_size); - | ^~~~~~~~ -sgen.c:404:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] - 404 | close(fd); - | ^~~~~ - | pclose -fsynscr.c:179:6: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] - 179 | dofields(setV); - | ^~~~~~~~ -tonesgen.c:696:1: warning: return type defaults to 'int' [-Wimplicit-int] - 696 | writesamples(bf,N) +scfio.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] + 111 | reverse_attr(a) | ^~~~~~~~~~~~ -siggen.c:320:4: warning: implicit declaration of function 'WinGen' [-Wimplicit-function-declaration] - 320 | WinGen(DAC); - | ^~~~~~ -siggen.c: At top level: -siggen.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] - 326 | set_resolution(p) - | ^~~~~~~~~~~~~~ -sweepgen.c:188:27: warning: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration] - 188 | if ((resolution=set_resolution(*argv++))==0) { - | ^~~~~~~~~~~~~~ -tonesgen.c: In function 'writesamples': -sgen.c:406:10: warning: implicit declaration of function 'playloop' [-Wimplicit-function-declaration] - 406 | playloop(fd,plbuf,plbuf_size,frag_size); - | ^~~~~~~~ -tonesgen.c:712:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] - 712 | write(FD,(char *)bf,n); - | ^~~~~ - | fwrite -swgen.c:422:5: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] - 422 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); - | ^~~~~~~~~~ +scfio.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] + 147 | actfrac(k,att,ip,w,o,DP) + | ^~~~~~~ sigscr.c:336:4: warning: implicit declaration of function 'dofatt' [-Wimplicit-function-declaration] 336 | dofatt(scrV,att_h4); dofatt(scrP,att_h3); | ^~~~~~ -sweepscr.c:208:23: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] - 208 | if (st=genAllWaveforms(&WAVEFORMS,&wavbufs,1,Lsamplerate*resolution,AFMT_S16_LE)) { - | ^~~~~~~~~~~~~~~ -fsynscr.c:182:16: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] - 182 | if (st=genAllWaveforms(&WAVEFORMS,&wavbufs,1,Lsamplerate,Lafmt)) { - | ^~~~~~~~~~~~~~~ sigscr.c:343:4: warning: implicit declaration of function 'dohdr' [-Wimplicit-function-declaration] 343 | dohdr(0,att_h1,att_h2,att_h3,hl,oh,sig,VERS); | ^~~~~ -sgen.c:413:5: warning: implicit declaration of function 'fWAVwrfile' [-Wimplicit-function-declaration] - 413 | st=fWAVwrfile(f,plbuf,plbuf_size,n,samplerate,afmt,stereo); - | ^~~~~~~~~~ -tonesgen.c:714:6: warning: implicit declaration of function 'fWAVwrsamples'; did you mean 'newsamples'? [-Wimplicit-function-declaration] - 714 | fWAVwrsamples(FO,(char *)bf,n); - | ^~~~~~~~~~~~~ - | newsamples -tonesgen.c: At top level: -tonesgen.c:729:1: warning: return type defaults to 'int' [-Wimplicit-int] - 729 | docmdfile(fn) - | ^~~~~~~~~ -sweepgen.c:221:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 221 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ -fsynth.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] - 80 | help(e) - | ^~~~ In file included from sigscr.c:29: scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) @@ -1261,65 +1163,101 @@ sigscr.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] 360 | playsamples(fd) | ^~~~~~~~~~~ -fsynscr.c:202:8: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] - 202 | f=next_field(inFs,-1); /* find first valid input field */ - | ^~~~~~~~~~ - | newfield -fsynth.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] - 114 | main(argc,argv) - | ^~~~ -tonesgen.c: In function 'docmdfile': -sweepscr.c:223:8: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] - 223 | f=next_field(ff,-1); - | ^~~~~~~~~~ - | newfield -tonesgen.c:742:3: warning: implicit declaration of function 'ftones' [-Wimplicit-function-declaration] - 742 | ftones(f,fn); - | ^~~~~~ -tonesgen.c: At top level: -tonesgen.c:751:1: warning: return type defaults to 'int' [-Wimplicit-int] - 751 | ftones(f,fn) - | ^~~~~~ -tonesgen.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] - 769 | doline(s) - | ^~~~~~ -sweepgen.c:253:13: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] - 253 | if ((DAC=DACopen(dac,"w",&samplerate,&i,&n))<0) { - | ^~~~~~~ - | open -sweepscr.c:234:9: warning: implicit declaration of function 'doinput' [-Wimplicit-function-declaration] - 234 | f=doinput(c,ff,hh,&Finfo,f); - | ^~~~~~~ -fsynscr.c:226:9: warning: implicit declaration of function 'doinput' [-Wimplicit-function-declaration] - 226 | f=doinput(c,inFs,helpMs,Finfo,f); - | ^~~~~~~ -fsynscr.c: At top level: -fsynscr.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] - 230 | WinGenInit() - | ^~~~~~~~~~ -tonesgen.c: In function 'doline': -sweepscr.c: At top level: -tonesgen.c:778:9: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] - 778 | n=parse(s,aa,'\0'); - | ^~~~~ -sweepscr.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] - 255 | WinGenInit() - | ^~~~~~~~~~ +scfio.c: In function 'actfrac': +scfio.c:189:6: warning: implicit declaration of function 'putfrac'; did you mean 'actfrac'? [-Wimplicit-function-declaration] + 189 | putfrac(att,*ip,w,DP); + | ^~~~~~~ + | actfrac +scfio.c: At top level: +scfio.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] + 202 | putfrac(att,n,w,DP) + | ^~~~~~~ +scfio.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] + 231 | actfstr(k,att,s,op,w) + | ^~~~~~~ sigscr.c: In function 'playsamples': sigscr.c:384:14: warning: implicit declaration of function 'getfreeobufs' [-Wimplicit-function-declaration] 384 | if ((i=getfreeobufs(fd))<=0) return(i); | ^~~~~~~~~~~~ -fsynth.c: In function 'main': -fsynth.c:154:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 154 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); - | ^~~~~~~ -sweepgen.c:262:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] - 262 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { - | ^~~~~~~~~~~ +In file included from scfio.c:104: +scfio.c: In function 'actfstr': +scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'actfstr'? [-Wimplicit-function-declaration] + 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) + | ^~~~~~~ +scfio.c:281:4: note: in expansion of macro 'mvputfstr' + 281 | mvputfstr(y,x,att,s,w); + | ^~~~~~~~~ +scfio.c: At top level: +scfio.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] + 292 | putfstr(att,s,w) + | ^~~~~~~ sigscr.c:439:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 439 | if (write(fd,frag,fragsize)<0) return(-1); | ^~~~~ | fwrite +scfio.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] + 317 | actfopt(k,att,sp,ip,w) + | ^~~~~~~ +scfio.c:392:1: warning: return type defaults to 'int' [-Wimplicit-int] + 392 | putfield(fp) + | ^~~~~~~~ +scfio.c:431:1: warning: return type defaults to 'int' [-Wimplicit-int] + 431 | actfield(k,fp) + | ^~~~~~~~ +siggen.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] + 131 | help(e) + | ^~~~ +siggen.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] + 168 | main(argc,argv) + | ^~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses sweepscr.c +siggen.c: In function 'main': +siggen.c:210:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 210 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); + | ^~~~~~~ +siggen.c:219:20: warning: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration] + 219 | if ((resolution=set_resolution(*argv++))==0) { + | ^~~~~~~~~~~~~~ +siggen.c:243:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 243 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ +siggen.c:286:13: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] + 286 | if ((DAC=DACopen(dac,"w",&samplerate,&i,&n))<0) { + | ^~~~~~~ + | open +sweepgen.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] + 102 | help(e) + | ^~~~ +sweepgen.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] + 139 | main(argc,argv) + | ^~~~ +siggen.c:295:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] + 295 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { + | ^~~~~~~~~~~ +sweepgen.c: In function 'main': +sweepgen.c:179:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 179 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); + | ^~~~~~~ +siggen.c:320:4: warning: implicit declaration of function 'WinGen' [-Wimplicit-function-declaration] + 320 | WinGen(DAC); + | ^~~~~~ +siggen.c: At top level: +siggen.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] + 326 | set_resolution(p) + | ^~~~~~~~~~~~~~ +sweepgen.c:188:27: warning: implicit declaration of function 'set_resolution' [-Wimplicit-function-declaration] + 188 | if ((resolution=set_resolution(*argv++))==0) { + | ^~~~~~~~~~~~~~ +sweepgen.c:221:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 221 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ +sweepgen.c:253:13: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] + 253 | if ((DAC=DACopen(dac,"w",&samplerate,&i,&n))<0) { + | ^~~~~~~ + | open +sweepgen.c:262:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] + 262 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { + | ^~~~~~~~~~~ sweepgen.c:284:4: warning: implicit declaration of function 'WinGen' [-Wimplicit-function-declaration] 284 | WinGen(DAC); | ^~~~~~ @@ -1327,44 +1265,76 @@ sweepgen.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] 291 | set_resolution(p) | ^~~~~~~~~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses fsynth.c +gcc -c -g -O2 -I. -I/usr/include/ncurses fsynscr.c +sweepscr.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] + 159 | WinGen(fd) + | ^~~~~~ +sweepscr.c: In function 'WinGen': +sweepscr.c:168:10: warning: implicit declaration of function 'WinGenInit'; did you mean 'WinGen'? [-Wimplicit-function-declaration] + 168 | if (n=WinGenInit()) return(n); + | ^~~~~~~~~~ + | WinGen +sweepscr.c:171:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] + 171 | doinfo(Mmain,0,&Finfo2); + | ^~~~~~ +sweepscr.c:173:4: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] + 173 | dispfield(ff,hh,&Finfo,f); + | ^~~~~~~~~ + | dupfield +sweepscr.c:178:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] + 178 | if ((i=time(NULL))-t) { t=i; dotime(&Ftime); } + | ^~~~~~ + | ctime +sweepscr.c:179:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] + 179 | if (playsamples(fd)<0) { + | ^~~~~~~~~~~ +sweepscr.c:181:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 181 | return(err_rpt(errno,"Problem generating output samples.")); + | ^~~~~~~ +sweepscr.c:184:10: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] + 184 | delay(25000); + | ^~~~~ + | nodelay +sweepscr.c:193:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 193 | close(fd); + | ^~~~~ + | pclose +sweepscr.c:194:17: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] + 194 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || + | ^~~~~~~ + | popen +sweepscr.c:195:16: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] + 195 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { + | ^~~~~~~~~~~ + | set_tabsize +sweepscr.c:203:6: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] + 203 | dofields(scrV); + | ^~~~~~~~ +sweepscr.c:208:23: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] + 208 | if (st=genAllWaveforms(&WAVEFORMS,&wavbufs,1,Lsamplerate*resolution,AFMT_S16_LE)) { + | ^~~~~~~~~~~~~~~ +sweepscr.c:223:8: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] + 223 | f=next_field(ff,-1); + | ^~~~~~~~~~ + | newfield +sweepscr.c:234:9: warning: implicit declaration of function 'doinput' [-Wimplicit-function-declaration] + 234 | f=doinput(c,ff,hh,&Finfo,f); + | ^~~~~~~ +sweepscr.c: At top level: +sweepscr.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] + 255 | WinGenInit() + | ^~~~~~~~~~ sweepscr.c: In function 'WinGenInit': sweepscr.c:273:4: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] 273 | setwaveform(&Fwav1V,wf,WAVEFORMS); | ^~~~~~~~~~~ -fsynscr.c: In function 'WinGenInit': -fsynth.c:185:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 185 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ -fsynscr.c:283:4: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] - 283 | setwaveform(Fwave,wf,WAVEFORMS); - | ^~~~~~~~~~~ -fsynscr.c:291:4: warning: implicit declaration of function 'dohdr' [-Wimplicit-function-declaration] - 291 | dohdr(0,att_h1,att_h2,att_h3,hl,oh,sig,VERS); - | ^~~~~ -fsynth.c:219:13: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] - 219 | if ((DAC=DACopen(dac,"w",&samplerate,&i,&stereo))<0) { - | ^~~~~~~ - | open sweepscr.c:315:4: warning: implicit declaration of function 'dofatt' [-Wimplicit-function-declaration] 315 | dofatt(scrV,att_h4); dofatt(scrP,att_h3); | ^~~~~~ -In file included from fsynscr.c:29: -scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] - 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) - | ^~~~~~~ -fsynscr.c:293:4: note: in expansion of macro 'mvputfstr' - 293 | mvputfstr(CARDLINE,0,att_h3,McardL,80); - | ^~~~~~~~~ sweepscr.c:321:4: warning: implicit declaration of function 'dohdr' [-Wimplicit-function-declaration] 321 | dohdr(0,att_h1,att_h2,att_h3,hl,oh,sig,VERS); | ^~~~~ -fsynth.c:227:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] - 227 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { - | ^~~~~~~~~~~ -fsynscr.c: At top level: -fsynscr.c:334:1: warning: return type defaults to 'int' [-Wimplicit-int] - 334 | playsamples(fd) - | ^~~~~~~~~~~ In file included from sweepscr.c:29: scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) @@ -1376,28 +1346,123 @@ sweepscr.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int] 337 | playsamples(fd) | ^~~~~~~~~~~ +sweepscr.c: In function 'playsamples': +sweepscr.c:365:14: warning: implicit declaration of function 'getfreeobufs' [-Wimplicit-function-declaration] + 365 | if ((i=getfreeobufs(fd))<=0) return(i); + | ^~~~~~~~~~~~ +sweepscr.c:379:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] + 379 | if (write(fd,frag,fragsize)<0) return(-1); + | ^~~~~ + | fwrite +gcc -c -g -O2 -I. -I/usr/include/ncurses soundinfo.c +fsynth.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] + 80 | help(e) + | ^~~~ +fsynth.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] + 114 | main(argc,argv) + | ^~~~ +fsynth.c: In function 'main': +fsynth.c:154:13: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 154 | else exit(err_rpt(EINVAL,"must be '-b 8' or '-b 16'.")); + | ^~~~~~~ +fsynth.c:185:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 185 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ +fsynth.c:219:13: warning: implicit declaration of function 'DACopen'; did you mean 'open'? [-Wimplicit-function-declaration] + 219 | if ((DAC=DACopen(dac,"w",&samplerate,&i,&stereo))<0) { + | ^~~~~~~ + | open +fsynth.c:227:18: warning: implicit declaration of function 'setfragsize' [-Wimplicit-function-declaration] + 227 | if ((fragsize=setfragsize(DAC,Nfragbufs,Bufspersec,samplerate,afmt,stereo))<0) { + | ^~~~~~~~~~~ fsynth.c:249:4: warning: implicit declaration of function 'WinGen' [-Wimplicit-function-declaration] 249 | WinGen(DAC); | ^~~~~~ +fsynscr.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] + 129 | WinGen(fd) + | ^~~~~~ +fsynscr.c: In function 'WinGen': +fsynscr.c:142:4: warning: implicit declaration of function 'WinGenInit'; did you mean 'WinGen'? [-Wimplicit-function-declaration] + 142 | WinGenInit(); + | ^~~~~~~~~~ + | WinGen +fsynscr.c:145:4: warning: implicit declaration of function 'doinfo' [-Wimplicit-function-declaration] + 145 | doinfo(Mmain,0,Finfo2); + | ^~~~~~ +fsynscr.c:147:4: warning: implicit declaration of function 'dispfield'; did you mean 'dupfield'? [-Wimplicit-function-declaration] + 147 | dispfield(inFs,helpMs,Finfo,f); + | ^~~~~~~~~ + | dupfield +fsynscr.c:152:36: warning: implicit declaration of function 'dotime'; did you mean 'ctime'? [-Wimplicit-function-declaration] + 152 | if ((i=time(NULL))-t) { t=i; dotime(Ftime); } /* update time every sec */ + | ^~~~~~ + | ctime +fsynscr.c:153:11: warning: implicit declaration of function 'playsamples' [-Wimplicit-function-declaration] + 153 | if (playsamples(fd)<0) { /* do any generation */ + | ^~~~~~~~~~~ +fsynscr.c:155:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 155 | return(err_rpt(errno,"Problem generating output samples.")); + | ^~~~~~~ +fsynscr.c:159:2: warning: implicit declaration of function 'delay'; did you mean 'nodelay'? [-Wimplicit-function-declaration] + 159 | delay(NO_KEY_WAIT); /* then wait preset time - be kind */ + | ^~~~~ + | nodelay +fsynscr.c:169:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] + 169 | close(fd); + | ^~~~~ + | pclose +fsynscr.c:170:17: warning: implicit declaration of function 'DACopen'; did you mean 'popen'? [-Wimplicit-function-declaration] + 170 | if ((fd=DACopen(dac,"w",&Lsamplerate,&Lafmt,&Lstereo))<0 || + | ^~~~~~~ + | popen +fsynscr.c:171:16: warning: implicit declaration of function 'setfragsize'; did you mean 'set_tabsize'? [-Wimplicit-function-declaration] + 171 | (fragsize=setfragsize(fd,LNfb,Bufspersec,Lsamplerate,Lafmt,Lstereo))<0) { + | ^~~~~~~~~~~ + | set_tabsize +fsynscr.c:179:6: warning: implicit declaration of function 'dofields' [-Wimplicit-function-declaration] + 179 | dofields(setV); + | ^~~~~~~~ +fsynscr.c:182:16: warning: implicit declaration of function 'genAllWaveforms' [-Wimplicit-function-declaration] + 182 | if (st=genAllWaveforms(&WAVEFORMS,&wavbufs,1,Lsamplerate,Lafmt)) { + | ^~~~~~~~~~~~~~~ +fsynscr.c:202:8: warning: implicit declaration of function 'next_field'; did you mean 'newfield'? [-Wimplicit-function-declaration] + 202 | f=next_field(inFs,-1); /* find first valid input field */ + | ^~~~~~~~~~ + | newfield +fsynscr.c:226:9: warning: implicit declaration of function 'doinput' [-Wimplicit-function-declaration] + 226 | f=doinput(c,inFs,helpMs,Finfo,f); + | ^~~~~~~ +fsynscr.c: At top level: +fsynscr.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] + 230 | WinGenInit() + | ^~~~~~~~~~ +fsynscr.c: In function 'WinGenInit': +fsynscr.c:283:4: warning: implicit declaration of function 'setwaveform' [-Wimplicit-function-declaration] + 283 | setwaveform(Fwave,wf,WAVEFORMS); + | ^~~~~~~~~~~ +fsynscr.c:291:4: warning: implicit declaration of function 'dohdr' [-Wimplicit-function-declaration] + 291 | dohdr(0,att_h1,att_h2,att_h3,hl,oh,sig,VERS); + | ^~~~~ +In file included from fsynscr.c:29: +scfio.h:45:52: warning: implicit declaration of function 'putfstr'; did you mean 'mvputfstr'? [-Wimplicit-function-declaration] + 45 | #define mvputfstr(L,C,A,P,W) ((move(L,C)==ERR)?ERR:putfstr(A,P,W)) + | ^~~~~~~ +fsynscr.c:293:4: note: in expansion of macro 'mvputfstr' + 293 | mvputfstr(CARDLINE,0,att_h3,McardL,80); + | ^~~~~~~~~ +fsynscr.c: At top level: +fsynscr.c:334:1: warning: return type defaults to 'int' [-Wimplicit-int] + 334 | playsamples(fd) + | ^~~~~~~~~~~ fsynscr.c: In function 'playsamples': fsynscr.c:361:12: warning: implicit declaration of function 'getfreeobufs' [-Wimplicit-function-declaration] 361 | if ((i=getfreeobufs(fd))<=0) return(i); | ^~~~~~~~~~~~ -sweepscr.c: In function 'playsamples': -sweepscr.c:365:14: warning: implicit declaration of function 'getfreeobufs' [-Wimplicit-function-declaration] - 365 | if ((i=getfreeobufs(fd))<=0) return(i); - | ^~~~~~~~~~~~ fsynscr.c:392:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 392 | if (write(fd,frag,fragsize)<0) return(-1); | ^~~~~ | fwrite -sweepscr.c:379:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] - 379 | if (write(fd,frag,fragsize)<0) return(-1); - | ^~~~~ - | fwrite -gcc -c -g -O2 -I. -I/usr/include/ncurses soundinfo.c gcc -c -g -O2 -I. -I/usr/include/ncurses smix.c -gcc -c -g -O2 -I. -I/usr/include/ncurses mixer.c soundinfo.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] 121 | main(argc,argv) | ^~~~ @@ -1405,19 +1470,12 @@ soundinfo.c:142:26: warning: implicit declaration of function 'help' [-Wimplicit-function-declaration] 142 | { if (*p=='h') exit(help(EFAIL)); | ^~~~ -smix.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] - 107 | main(argc,argv) - | ^~~~ soundinfo.c:147:15: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] 147 | exit(help(err_rpt(EINVAL,fname))); | ^~~~~~~ -smix.c: In function 'main': soundinfo.c:156:6: warning: implicit declaration of function 'do_mix' [-Wimplicit-function-declaration] 156 | do_mix(fd,fnm); | ^~~~~~ -smix.c:156:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] - 156 | exit(err_rpt(EINVAL,fname)); - | ^~~~~~~ soundinfo.c:162:6: warning: implicit declaration of function 'do_dsp' [-Wimplicit-function-declaration] 162 | do_dsp(fd,fnm); | ^~~~~~ @@ -1428,9 +1486,6 @@ soundinfo.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] 185 | do_dsp(fd,dev) | ^~~~~~ -smix.c:164:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] - 164 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); - | ^~~~~~~~~~~~~~~ soundinfo.c: In function 'do_dsp': soundinfo.c:194:8: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] 194 | if (ioctl(fd, SNDCTL_DSP_GETCAPS , &caps) < 0) { @@ -1440,33 +1495,32 @@ soundinfo.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] 250 | do_mix(fd,dev) | ^~~~~~ +soundinfo.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] + 315 | err_rpt(err,msg) + | ^~~~~~~ +gcc -c -g -O2 -I. -I/usr/include/ncurses mixer.c +smix.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] + 107 | main(argc,argv) + | ^~~~ +smix.c: In function 'main': +smix.c:156:10: warning: implicit declaration of function 'err_rpt' [-Wimplicit-function-declaration] + 156 | exit(err_rpt(EINVAL,fname)); + | ^~~~~~~ +smix.c:164:4: warning: implicit declaration of function 'init_conf_files' [-Wimplicit-function-declaration] + 164 | init_conf_files(configfile,DEF_CONF_FILENAME,DEF_GLOBAL_CONF_FILE,vflg); + | ^~~~~~~~~~~~~~~ smix.c:174:15: warning: implicit declaration of function 'mixinit' [-Wimplicit-function-declaration] 174 | if ((mixer=mixinit(mixname)) < 0) { | ^~~~~~~ smix.c:178:19: warning: implicit declaration of function 'help' [-Wimplicit-function-declaration] 178 | if (hflg) exit(help()); | ^~~~ -soundinfo.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] - 315 | err_rpt(err,msg) - | ^~~~~~~ smix.c:199:10: warning: implicit declaration of function 'docmdfile' [-Wimplicit-function-declaration] 199 | { st=docmdfile(infile,fpr,fpw); /* do any command file first */ | ^~~~~~~~~ -mixer.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] - 36 | mixinit(DEV) - | ^~~~~~~ smix.c:200:11: warning: implicit declaration of function 'docmds' [-Wimplicit-function-declaration] 200 | st+=docmds(argc,argv,fpw); | ^~~~~~ -mixer.c: In function 'mixinit': -mixer.c:40:9: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] - 40 | (ioctl(mixFD, SOUND_MIXER_READ_DEVMASK, &devmask) >= 0) && - | ^~~~~ - | iscntrl -mixer.c: At top level: -mixer.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] - 54 | isdev(dev) - | ^~~~~ smix.c:205:11: warning: implicit declaration of function 'docmdline' [-Wimplicit-function-declaration] 205 | st+=docmdline("show",fpw); | ^~~~~~~~~ @@ -1474,15 +1528,9 @@ smix.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 210 | docmdfile(fn,f,fo) | ^~~~~~~~~ -mixer.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] - 73 | SET_MIX_INPUT_DEV(d) - | ^~~~~~~~~~~~~~~~~ smix.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] 220 | docmdline(s,fo) | ^~~~~~~~~ -mixer.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] - 83 | GET_MIX_INPUT_DEV() - | ^~~~~~~~~~~~~~~~~ smix.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] 239 | docmds(c,v,fo) | ^~~~~~ @@ -1506,6 +1554,7 @@ smix.c:273:6: warning: implicit declaration of function 'doallvols' [-Wimplicit-function-declaration] 273 | doallvols(devmask,p,fo); | ^~~~~~~~~ +gcc tones.o tonesgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o tones smix.c:279:3: warning: implicit declaration of function 'dovol' [-Wimplicit-function-declaration] 279 | dovol(d,p,fo); | ^~~~~ @@ -1544,14 +1593,31 @@ smix.c:421:1: warning: return type defaults to 'int' [-Wimplicit-int] 421 | err_rpt(err,msg) | ^~~~~~~ -gcc soundinfo.o -o soundinfo +mixer.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] + 36 | mixinit(DEV) + | ^~~~~~~ +mixer.c: In function 'mixinit': +mixer.c:40:9: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] + 40 | (ioctl(mixFD, SOUND_MIXER_READ_DEVMASK, &devmask) >= 0) && + | ^~~~~ + | iscntrl +mixer.c: At top level: +mixer.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] + 54 | isdev(dev) + | ^~~~~ +mixer.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] + 73 | SET_MIX_INPUT_DEV(d) + | ^~~~~~~~~~~~~~~~~ +mixer.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] + 83 | GET_MIX_INPUT_DEV() + | ^~~~~~~~~~~~~~~~~ +gcc sgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o signalgen gcc swgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o swgen gcc siggen.o sigscr.o scrsubs.o generator.o misc.o DAC.o scfio.o configsubs.o -lncurses -lm -o siggen gcc sweepgen.o sweepscr.o scrsubs.o generator.o misc.o DAC.o scfio.o configsubs.o -lncurses -lm -o sweepgen +gcc soundinfo.o -o soundinfo gcc fsynth.o fsynscr.o scrsubs.o generator.o misc.o DAC.o scfio.o configsubs.o -lncurses -lm -o fsynth -gcc sgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o signalgen gcc smix.o mixer.o configsubs.o -lncurses -lm -o smix -gcc tones.o tonesgen.o generator.o misc.o wavfile.o wavsubs.o DAC.o configsubs.o -lm -o tones make[1]: Leaving directory '/build/siggen-2.3.10' touch build-stamp fakeroot debian/rules binary @@ -1575,20 +1641,22 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'siggen' in '../siggen_2.3.10-11_i386.deb'. dpkg-deb: building package 'siggen-dbgsym' in '../siggen-dbgsym_2.3.10-11_i386.deb'. +dpkg-deb: building package 'siggen' in '../siggen_2.3.10-11_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../siggen_2.3.10-11_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/2877/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2877/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/15229 and its subdirectories -I: Current time: Wed Jul 27 13:41:12 -12 2022 -I: pbuilder-time-stamp: 1658972472 +I: removing directory /srv/workspace/pbuilder/2877 and its subdirectories +I: Current time: Fri Jun 25 09:20:37 +14 2021 +I: pbuilder-time-stamp: 1624562437