I: pbuilder: network access will be disabled during build I: Current time: Mon May 27 17:09:39 +14 2024 I: pbuilder-time-stamp: 1716779379 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [ctn_3.2.0~dfsg-7.dsc] I: copying [./ctn_3.2.0~dfsg.orig.tar.xz] I: copying [./ctn_3.2.0~dfsg-7.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Nov 17 02:54:19 2020 +14 gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 gpgv: issuer "tille@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ctn_3.2.0~dfsg-7.dsc: no acceptable signature found dpkg-source: info: extracting ctn in ctn-3.2.0~dfsg dpkg-source: info: unpacking ctn_3.2.0~dfsg.orig.tar.xz dpkg-source: info: unpacking ctn_3.2.0~dfsg-7.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10_all_patches.patch dpkg-source: info: applying 11_csh-to-bash.patch dpkg-source: info: applying 20_mysql_4.2.patch dpkg-source: info: applying 20_prevent_installing_examples.patch dpkg-source: info: applying 30_hardening.patch dpkg-source: info: applying 40_spelling.patch dpkg-source: info: applying 50_clang_FTBFS_Wreturn-type.patch dpkg-source: info: applying mayhem.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/25308/tmp/hooks/D01_modify_environment starting debug: Running on codethink11-arm64. 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 '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 27 17:09 /bin/sh -> /bin/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/25308/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/25308/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-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=25308 PS4='+ ' 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/r-b-build.dGe2GRFe/pbuilderrc_taVN --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dGe2GRFe/b2 --logfile b2/build.log --extrapackages usrmerge ctn_3.2.0~dfsg-7.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 25 06:47 /bin -> usr/bin I: user script /srv/workspace/pbuilder/25308/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libmotif-dev, libxaw7-dev, flex, libfl-dev, bison, zlib1g-dev, default-libmysqlclient-dev, libx11-dev, libxt-dev, x11proto-core-dev, csh | c-shell dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libmotif-dev; however: Package libmotif-dev is not installed. pbuilder-satisfydepends-dummy depends on libxaw7-dev; however: Package libxaw7-dev is not installed. pbuilder-satisfydepends-dummy depends on flex; however: Package flex is not installed. pbuilder-satisfydepends-dummy depends on libfl-dev; however: Package libfl-dev is not installed. pbuilder-satisfydepends-dummy depends on bison; however: Package bison is not installed. pbuilder-satisfydepends-dummy depends on zlib1g-dev; however: Package zlib1g-dev is not installed. pbuilder-satisfydepends-dummy depends on default-libmysqlclient-dev; however: Package default-libmysqlclient-dev is not installed. pbuilder-satisfydepends-dummy depends on libx11-dev; however: Package libx11-dev is not installed. pbuilder-satisfydepends-dummy depends on libxt-dev; however: Package libxt-dev is not installed. pbuilder-satisfydepends-dummy depends on x11proto-core-dev; however: Package x11proto-core-dev is not installed. pbuilder-satisfydepends-dummy depends on csh | c-shell; however: Package csh is not installed. Package c-shell is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bison{a} bsdextrautils{a} csh{a} debhelper{a} default-libmysqlclient-dev{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} flex{a} fontconfig-config{a} fonts-dejavu-core{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli-dev{a} libbrotli1{a} libbsd0{a} libdebhelper-perl{a} libelf1{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libfl-dev{a} libfl2{a} libfontconfig-dev{a} libfontconfig1{a} libfontconfig1-dev{a} libfreetype-dev{a} libfreetype6{a} libice-dev{a} libice6{a} libicu72{a} libjpeg62-turbo{a} libmagic-mgc{a} libmagic1{a} libmariadb-dev{a} libmariadb-dev-compat{a} libmariadb3{a} libmotif-common{a} libmotif-dev{a} libmrm4{a} libpipeline1{a} libpkgconf3{a} libpng-dev{a} libpng16-16{a} libpthread-stubs0-dev{a} libsm-dev{a} libsm6{a} libssl-dev{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libuil4{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxaw7{a} libxaw7-dev{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxft-dev{a} libxft2{a} libxm4{a} libxml2{a} libxmu-dev{a} libxmu-headers{a} libxmu6{a} libxpm-dev{a} libxpm4{a} libxrender-dev{a} libxrender1{a} libxt-dev{a} libxt6{a} m4{a} man-db{a} mariadb-common{a} mysql-common{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} uil{a} uuid-dev{a} x11-common{a} x11proto-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl libpng-tools lynx wget 0 packages upgraded, 102 newly installed, 0 to remove and 0 not upgraded. Need to get 38.0 MB of archives. After unpacking 138 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 flex arm64 2.6.4-8.1 [430 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 x11-common all 1:7.7+23 [252 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 libmotif-common all 2.3.8-3 [40.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 libxau6 arm64 1:1.0.9-1 [19.7 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 libbsd0 arm64 0.11.7-2 [115 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 libxcb1 arm64 1.15-1 [143 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 libx11-data all 2:1.8.4-2 [292 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 libx11-6 arm64 2:1.8.4-2 [736 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 libexpat1 arm64 2.5.0-1 [84.8 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 libbrotli1 arm64 1.0.9-2+b6 [269 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 libpng16-16 arm64 1.6.39-2 [269 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 libfreetype6 arm64 2.12.1+dfsg-4 [369 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 fonts-dejavu-core all 2.37-6 [1068 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 fontconfig-config arm64 2.14.1-4 [315 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libfontconfig1 arm64 2.14.1-4 [381 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 libjpeg62-turbo arm64 1:2.1.5-2 [171 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 libxext6 arm64 2:1.3.4-1+b1 [51.7 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libxrender1 arm64 1:0.9.10-1.1 [32.0 kB] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libxft2 arm64 2.3.6-1 [58.7 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 libice6 arm64 2:1.0.10-1 [55.6 kB] Get: 23 http://deb.debian.org/debian bookworm/main arm64 libsm6 arm64 2:1.2.3-1 [34.0 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 libxt6 arm64 1:1.2.1-1.1 [172 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 libxmu6 arm64 2:1.1.3-3 [57.2 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libxm4 arm64 2.3.8-3 [930 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 libmrm4 arm64 2.3.8-3 [86.6 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 libuil4 arm64 2.3.8-3 [150 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 41 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 42 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 bison arm64 2:3.8.2+dfsg-1+b1 [1152 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 csh arm64 20110502-7+b1 [237 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 46 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 47 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 48 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 49 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 50 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 51 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 52 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 53 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 54 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 55 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.2 [620 kB] Get: 56 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 57 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 58 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 59 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 60 http://deb.debian.org/debian bookworm/main arm64 mysql-common all 5.8+1.1.0 [6636 B] Get: 61 http://deb.debian.org/debian bookworm/main arm64 mariadb-common all 1:10.11.2-1 [22.4 kB] Get: 62 http://deb.debian.org/debian bookworm/main arm64 libmariadb3 arm64 1:10.11.2-1 [155 kB] Get: 63 http://deb.debian.org/debian bookworm/main arm64 libssl-dev arm64 3.0.8-1 [2296 kB] Get: 64 http://deb.debian.org/debian bookworm/main arm64 zlib1g-dev arm64 1:1.2.13.dfsg-1 [913 kB] Get: 65 http://deb.debian.org/debian bookworm/main arm64 libmariadb-dev arm64 1:10.11.2-1 [248 kB] Get: 66 http://deb.debian.org/debian bookworm/main arm64 libmariadb-dev-compat arm64 1:10.11.2-1 [21.2 kB] Get: 67 http://deb.debian.org/debian bookworm/main arm64 default-libmysqlclient-dev arm64 1.1.0 [3092 B] Get: 68 http://deb.debian.org/debian bookworm/main arm64 libbrotli-dev arm64 1.0.9-2+b6 [279 kB] Get: 69 http://deb.debian.org/debian bookworm/main arm64 libexpat1-dev arm64 2.5.0-1 [135 kB] Get: 70 http://deb.debian.org/debian bookworm/main arm64 libfl2 arm64 2.6.4-8.1 [103 kB] Get: 71 http://deb.debian.org/debian bookworm/main arm64 libfl-dev arm64 2.6.4-8.1 [105 kB] Get: 72 http://deb.debian.org/debian bookworm/main arm64 libpng-dev arm64 1.6.39-2 [354 kB] Get: 73 http://deb.debian.org/debian bookworm/main arm64 libfreetype-dev arm64 2.12.1+dfsg-4 [544 kB] Get: 74 http://deb.debian.org/debian bookworm/main arm64 uuid-dev arm64 2.38.1-5+b1 [40.5 kB] Get: 75 http://deb.debian.org/debian bookworm/main arm64 libpkgconf3 arm64 1.8.1-1 [35.3 kB] Get: 76 http://deb.debian.org/debian bookworm/main arm64 pkgconf-bin arm64 1.8.1-1 [28.9 kB] Get: 77 http://deb.debian.org/debian bookworm/main arm64 pkgconf arm64 1.8.1-1 [25.9 kB] Get: 78 http://deb.debian.org/debian bookworm/main arm64 pkg-config arm64 1.8.1-1 [13.7 kB] Get: 79 http://deb.debian.org/debian bookworm/main arm64 libfontconfig-dev arm64 2.14.1-4 [406 kB] Get: 80 http://deb.debian.org/debian bookworm/main arm64 libfontconfig1-dev arm64 2.14.1-4 [268 kB] Get: 81 http://deb.debian.org/debian bookworm/main arm64 xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get: 82 http://deb.debian.org/debian bookworm/main arm64 x11proto-dev all 2022.1-1 [599 kB] Get: 83 http://deb.debian.org/debian bookworm/main arm64 libice-dev arm64 2:1.0.10-1 [66.0 kB] Get: 84 http://deb.debian.org/debian bookworm/main arm64 libxau-dev arm64 1:1.0.9-1 [23.2 kB] Get: 85 http://deb.debian.org/debian bookworm/main arm64 libxdmcp-dev arm64 1:1.1.2-3 [41.2 kB] Get: 86 http://deb.debian.org/debian bookworm/main arm64 xtrans-dev all 1.4.0-1 [98.7 kB] Get: 87 http://deb.debian.org/debian bookworm/main arm64 libpthread-stubs0-dev arm64 0.4-1 [5336 B] Get: 88 http://deb.debian.org/debian bookworm/main arm64 libxcb1-dev arm64 1.15-1 [182 kB] Get: 89 http://deb.debian.org/debian bookworm/main arm64 libx11-dev arm64 2:1.8.4-2 [817 kB] Get: 90 http://deb.debian.org/debian bookworm/main arm64 libxrender-dev arm64 1:0.9.10-1.1 [40.5 kB] Get: 91 http://deb.debian.org/debian bookworm/main arm64 libxft-dev arm64 2.3.6-1 [79.1 kB] Get: 92 http://deb.debian.org/debian bookworm/main arm64 libsm-dev arm64 2:1.2.3-1 [37.4 kB] Get: 93 http://deb.debian.org/debian bookworm/main arm64 libxt-dev arm64 1:1.2.1-1.1 [402 kB] Get: 94 http://deb.debian.org/debian bookworm/main arm64 uil arm64 2.3.8-3 [38.8 kB] Get: 95 http://deb.debian.org/debian bookworm/main arm64 libmotif-dev arm64 2.3.8-3 [2419 kB] Get: 96 http://deb.debian.org/debian bookworm/main arm64 libxpm4 arm64 1:3.5.12-1.1 [45.2 kB] Get: 97 http://deb.debian.org/debian bookworm/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] Get: 98 http://deb.debian.org/debian bookworm/main arm64 libxext-dev arm64 2:1.3.4-1+b1 [107 kB] Get: 99 http://deb.debian.org/debian bookworm/main arm64 libxmu-headers all 2:1.1.3-3 [68.5 kB] Get: 100 http://deb.debian.org/debian bookworm/main arm64 libxmu-dev arm64 2:1.1.3-3 [65.0 kB] Get: 101 http://deb.debian.org/debian bookworm/main arm64 libxpm-dev arm64 1:3.5.12-1.1 [102 kB] Get: 102 http://deb.debian.org/debian bookworm/main arm64 libxaw7-dev arm64 2:1.0.14-1 [253 kB] Fetched 38.0 MB in 1s (37.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (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 ... 19616 files and directories currently installed.) Preparing to unpack .../archives/m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package flex. Preparing to unpack .../flex_2.6.4-8.1_arm64.deb ... Unpacking flex (2.6.4-8.1) ... Selecting previously unselected package x11-common. Preparing to unpack .../x11-common_1%3a7.7+23_all.deb ... Unpacking x11-common (1:7.7+23) ... Setting up x11-common (1:7.7+23) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Selecting previously unselected package libmotif-common. (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 ... 19831 files and directories currently installed.) Preparing to unpack .../00-libmotif-common_2.3.8-3_all.deb ... Unpacking libmotif-common (2.3.8-3) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../01-libxau6_1%3a1.0.9-1_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.9-1) ... Selecting previously unselected package libbsd0:arm64. Preparing to unpack .../02-libbsd0_0.11.7-2_arm64.deb ... Unpacking libbsd0:arm64 (0.11.7-2) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../03-libxdmcp6_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../04-libxcb1_1.15-1_arm64.deb ... Unpacking libxcb1:arm64 (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../05-libx11-data_2%3a1.8.4-2_all.deb ... Unpacking libx11-data (2:1.8.4-2) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../06-libx11-6_2%3a1.8.4-2_arm64.deb ... Unpacking libx11-6:arm64 (2:1.8.4-2) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../07-libexpat1_2.5.0-1_arm64.deb ... Unpacking libexpat1:arm64 (2.5.0-1) ... Selecting previously unselected package libbrotli1:arm64. Preparing to unpack .../08-libbrotli1_1.0.9-2+b6_arm64.deb ... Unpacking libbrotli1:arm64 (1.0.9-2+b6) ... Selecting previously unselected package libpng16-16:arm64. Preparing to unpack .../09-libpng16-16_1.6.39-2_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.39-2) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../10-libfreetype6_2.12.1+dfsg-4_arm64.deb ... Unpacking libfreetype6:arm64 (2.12.1+dfsg-4) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../11-fonts-dejavu-core_2.37-6_all.deb ... Unpacking fonts-dejavu-core (2.37-6) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../12-fontconfig-config_2.14.1-4_arm64.deb ... Unpacking fontconfig-config (2.14.1-4) ... Selecting previously unselected package libfontconfig1:arm64. Preparing to unpack .../13-libfontconfig1_2.14.1-4_arm64.deb ... Unpacking libfontconfig1:arm64 (2.14.1-4) ... Selecting previously unselected package libjpeg62-turbo:arm64. Preparing to unpack .../14-libjpeg62-turbo_1%3a2.1.5-2_arm64.deb ... Unpacking libjpeg62-turbo:arm64 (1:2.1.5-2) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../15-libxext6_2%3a1.3.4-1+b1_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.4-1+b1) ... Selecting previously unselected package libxrender1:arm64. Preparing to unpack .../16-libxrender1_1%3a0.9.10-1.1_arm64.deb ... Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... Selecting previously unselected package libxft2:arm64. Preparing to unpack .../17-libxft2_2.3.6-1_arm64.deb ... Unpacking libxft2:arm64 (2.3.6-1) ... Selecting previously unselected package libice6:arm64. Preparing to unpack .../18-libice6_2%3a1.0.10-1_arm64.deb ... Unpacking libice6:arm64 (2:1.0.10-1) ... Selecting previously unselected package libsm6:arm64. Preparing to unpack .../19-libsm6_2%3a1.2.3-1_arm64.deb ... Unpacking libsm6:arm64 (2:1.2.3-1) ... Selecting previously unselected package libxt6:arm64. Preparing to unpack .../20-libxt6_1%3a1.2.1-1.1_arm64.deb ... Unpacking libxt6:arm64 (1:1.2.1-1.1) ... Selecting previously unselected package libxmu6:arm64. Preparing to unpack .../21-libxmu6_2%3a1.1.3-3_arm64.deb ... Unpacking libxmu6:arm64 (2:1.1.3-3) ... Selecting previously unselected package libxm4:arm64. Preparing to unpack .../22-libxm4_2.3.8-3_arm64.deb ... Unpacking libxm4:arm64 (2.3.8-3) ... Selecting previously unselected package libmrm4:arm64. Preparing to unpack .../23-libmrm4_2.3.8-3_arm64.deb ... Unpacking libmrm4:arm64 (2.3.8-3) ... Selecting previously unselected package libuil4:arm64. Preparing to unpack .../24-libuil4_2.3.8-3_arm64.deb ... Unpacking libuil4:arm64 (2.3.8-3) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../25-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../26-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../27-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../28-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../29-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../30-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../31-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../32-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../33-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../34-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../35-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../36-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../37-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../38-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package bison. Preparing to unpack .../39-bison_2%3a3.8.2+dfsg-1+b1_arm64.deb ... Unpacking bison (2:3.8.2+dfsg-1+b1) ... Selecting previously unselected package csh. Preparing to unpack .../40-csh_20110502-7+b1_arm64.deb ... Unpacking csh (20110502-7+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../41-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../42-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../43-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../44-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../45-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../46-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../47-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../48-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../49-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../50-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../51-libxml2_2.9.14+dfsg-1.2_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../52-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../53-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../54-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../55-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package mysql-common. Preparing to unpack .../56-mysql-common_5.8+1.1.0_all.deb ... Unpacking mysql-common (5.8+1.1.0) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../57-mariadb-common_1%3a10.11.2-1_all.deb ... Unpacking mariadb-common (1:10.11.2-1) ... Selecting previously unselected package libmariadb3:arm64. Preparing to unpack .../58-libmariadb3_1%3a10.11.2-1_arm64.deb ... Unpacking libmariadb3:arm64 (1:10.11.2-1) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../59-libssl-dev_3.0.8-1_arm64.deb ... Unpacking libssl-dev:arm64 (3.0.8-1) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../60-zlib1g-dev_1%3a1.2.13.dfsg-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ... Selecting previously unselected package libmariadb-dev. Preparing to unpack .../61-libmariadb-dev_1%3a10.11.2-1_arm64.deb ... Unpacking libmariadb-dev (1:10.11.2-1) ... Selecting previously unselected package libmariadb-dev-compat:arm64. Preparing to unpack .../62-libmariadb-dev-compat_1%3a10.11.2-1_arm64.deb ... Unpacking libmariadb-dev-compat:arm64 (1:10.11.2-1) ... Selecting previously unselected package default-libmysqlclient-dev:arm64. Preparing to unpack .../63-default-libmysqlclient-dev_1.1.0_arm64.deb ... Unpacking default-libmysqlclient-dev:arm64 (1.1.0) ... Selecting previously unselected package libbrotli-dev:arm64. Preparing to unpack .../64-libbrotli-dev_1.0.9-2+b6_arm64.deb ... Unpacking libbrotli-dev:arm64 (1.0.9-2+b6) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../65-libexpat1-dev_2.5.0-1_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.5.0-1) ... Selecting previously unselected package libfl2:arm64. Preparing to unpack .../66-libfl2_2.6.4-8.1_arm64.deb ... Unpacking libfl2:arm64 (2.6.4-8.1) ... Selecting previously unselected package libfl-dev:arm64. Preparing to unpack .../67-libfl-dev_2.6.4-8.1_arm64.deb ... Unpacking libfl-dev:arm64 (2.6.4-8.1) ... Selecting previously unselected package libpng-dev:arm64. Preparing to unpack .../68-libpng-dev_1.6.39-2_arm64.deb ... Unpacking libpng-dev:arm64 (1.6.39-2) ... Selecting previously unselected package libfreetype-dev:arm64. Preparing to unpack .../69-libfreetype-dev_2.12.1+dfsg-4_arm64.deb ... Unpacking libfreetype-dev:arm64 (2.12.1+dfsg-4) ... Selecting previously unselected package uuid-dev:arm64. Preparing to unpack .../70-uuid-dev_2.38.1-5+b1_arm64.deb ... Unpacking uuid-dev:arm64 (2.38.1-5+b1) ... Selecting previously unselected package libpkgconf3:arm64. Preparing to unpack .../71-libpkgconf3_1.8.1-1_arm64.deb ... Unpacking libpkgconf3:arm64 (1.8.1-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../72-pkgconf-bin_1.8.1-1_arm64.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:arm64. Preparing to unpack .../73-pkgconf_1.8.1-1_arm64.deb ... Unpacking pkgconf:arm64 (1.8.1-1) ... Selecting previously unselected package pkg-config:arm64. Preparing to unpack .../74-pkg-config_1.8.1-1_arm64.deb ... Unpacking pkg-config:arm64 (1.8.1-1) ... Selecting previously unselected package libfontconfig-dev:arm64. Preparing to unpack .../75-libfontconfig-dev_2.14.1-4_arm64.deb ... Unpacking libfontconfig-dev:arm64 (2.14.1-4) ... Selecting previously unselected package libfontconfig1-dev:arm64. Preparing to unpack .../76-libfontconfig1-dev_2.14.1-4_arm64.deb ... Unpacking libfontconfig1-dev:arm64 (2.14.1-4) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../77-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../78-x11proto-dev_2022.1-1_all.deb ... Unpacking x11proto-dev (2022.1-1) ... Selecting previously unselected package libice-dev:arm64. Preparing to unpack .../79-libice-dev_2%3a1.0.10-1_arm64.deb ... Unpacking libice-dev:arm64 (2:1.0.10-1) ... Selecting previously unselected package libxau-dev:arm64. Preparing to unpack .../80-libxau-dev_1%3a1.0.9-1_arm64.deb ... Unpacking libxau-dev:arm64 (1:1.0.9-1) ... Selecting previously unselected package libxdmcp-dev:arm64. Preparing to unpack .../81-libxdmcp-dev_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp-dev:arm64 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../82-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libpthread-stubs0-dev:arm64. Preparing to unpack .../83-libpthread-stubs0-dev_0.4-1_arm64.deb ... Unpacking libpthread-stubs0-dev:arm64 (0.4-1) ... Selecting previously unselected package libxcb1-dev:arm64. Preparing to unpack .../84-libxcb1-dev_1.15-1_arm64.deb ... Unpacking libxcb1-dev:arm64 (1.15-1) ... Selecting previously unselected package libx11-dev:arm64. Preparing to unpack .../85-libx11-dev_2%3a1.8.4-2_arm64.deb ... Unpacking libx11-dev:arm64 (2:1.8.4-2) ... Selecting previously unselected package libxrender-dev:arm64. Preparing to unpack .../86-libxrender-dev_1%3a0.9.10-1.1_arm64.deb ... Unpacking libxrender-dev:arm64 (1:0.9.10-1.1) ... Selecting previously unselected package libxft-dev:arm64. Preparing to unpack .../87-libxft-dev_2.3.6-1_arm64.deb ... Unpacking libxft-dev:arm64 (2.3.6-1) ... Selecting previously unselected package libsm-dev:arm64. Preparing to unpack .../88-libsm-dev_2%3a1.2.3-1_arm64.deb ... Unpacking libsm-dev:arm64 (2:1.2.3-1) ... Selecting previously unselected package libxt-dev:arm64. Preparing to unpack .../89-libxt-dev_1%3a1.2.1-1.1_arm64.deb ... Unpacking libxt-dev:arm64 (1:1.2.1-1.1) ... Selecting previously unselected package uil. Preparing to unpack .../90-uil_2.3.8-3_arm64.deb ... Unpacking uil (2.3.8-3) ... Selecting previously unselected package libmotif-dev:arm64. Preparing to unpack .../91-libmotif-dev_2.3.8-3_arm64.deb ... Unpacking libmotif-dev:arm64 (2.3.8-3) ... Selecting previously unselected package libxpm4:arm64. Preparing to unpack .../92-libxpm4_1%3a3.5.12-1.1_arm64.deb ... Unpacking libxpm4:arm64 (1:3.5.12-1.1) ... Selecting previously unselected package libxaw7:arm64. Preparing to unpack .../93-libxaw7_2%3a1.0.14-1_arm64.deb ... Unpacking libxaw7:arm64 (2:1.0.14-1) ... Selecting previously unselected package libxext-dev:arm64. Preparing to unpack .../94-libxext-dev_2%3a1.3.4-1+b1_arm64.deb ... Unpacking libxext-dev:arm64 (2:1.3.4-1+b1) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../95-libxmu-headers_2%3a1.1.3-3_all.deb ... Unpacking libxmu-headers (2:1.1.3-3) ... Selecting previously unselected package libxmu-dev:arm64. Preparing to unpack .../96-libxmu-dev_2%3a1.1.3-3_arm64.deb ... Unpacking libxmu-dev:arm64 (2:1.1.3-3) ... Selecting previously unselected package libxpm-dev:arm64. Preparing to unpack .../97-libxpm-dev_1%3a3.5.12-1.1_arm64.deb ... Unpacking libxpm-dev:arm64 (1:3.5.12-1.1) ... Selecting previously unselected package libxaw7-dev:arm64. Preparing to unpack .../98-libxaw7-dev_2%3a1.0.14-1_arm64.deb ... Unpacking libxaw7-dev:arm64 (2:1.0.14-1) ... Setting up libexpat1:arm64 (2.5.0-1) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up mysql-common (5.8+1.1.0) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libxau6:arm64 (1:1.0.9-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libbrotli1:arm64 (1.0.9-2+b6) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libmotif-common (2.3.8-3) ... Setting up libpthread-stubs0-dev:arm64 (0.4-1) ... Setting up mariadb-common (1:10.11.2-1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:arm64 (1.8.1-1) ... Setting up libexpat1-dev:arm64 (2.5.0-1) ... Setting up libjpeg62-turbo:arm64 (1:2.1.5-2) ... Setting up libx11-data (2:1.8.4-2) ... Setting up uuid-dev:arm64 (2.38.1-5+b1) ... Setting up libssl-dev:arm64 (3.0.8-1) ... Setting up libpng16-16:arm64 (1.6.39-2) ... Setting up autopoint (0.21-12) ... Setting up libmariadb3:arm64 (1:10.11.2-1) ... Setting up fonts-dejavu-core (2.37-6) ... Setting up libfl2:arm64 (2.6.4-8.1) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up bison (2:3.8.2+dfsg-1+b1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up libsub-override-perl (0.09-4) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libbsd0:arm64 (0.11.7-2) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.2) ... Setting up libbrotli-dev:arm64 (1.0.9-2+b6) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up x11proto-dev (2022.1-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libice6:arm64 (2:1.0.10-1) ... Setting up libxdmcp6:arm64 (1:1.1.2-3) ... Setting up flex (2.6.4-8.1) ... Setting up libxcb1:arm64 (1.15-1) ... Setting up gettext (0.21-12) ... Setting up libxau-dev:arm64 (1:1.0.9-1) ... Setting up csh (20110502-7+b1) ... update-alternatives: using /bin/bsd-csh to provide /bin/csh (csh) in auto mode Setting up libice-dev:arm64 (2:1.0.10-1) ... Setting up libtool (2.4.7-5) ... Setting up fontconfig-config (2.14.1-4) ... Setting up libpng-dev:arm64 (1.6.39-2) ... Setting up libfl-dev:arm64 (2.6.4-8.1) ... Setting up pkgconf:arm64 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libxdmcp-dev:arm64 (1:1.1.2-3) ... Setting up libfreetype6:arm64 (2.12.1+dfsg-4) ... Setting up pkg-config:arm64 (1.8.1-1) ... Setting up libmariadb-dev (1:10.11.2-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up libx11-6:arm64 (2:1.8.4-2) ... Setting up libfontconfig1:arm64 (2.14.1-4) ... Setting up libsm6:arm64 (2:1.2.3-1) ... Setting up libmariadb-dev-compat:arm64 (1:10.11.2-1) ... Setting up libxcb1-dev:arm64 (1.15-1) ... Setting up libxpm4:arm64 (1:3.5.12-1.1) ... Setting up libxrender1:arm64 (1:0.9.10-1.1) ... Setting up libsm-dev:arm64 (2:1.2.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libx11-dev:arm64 (2:1.8.4-2) ... Setting up libxext6:arm64 (2:1.3.4-1+b1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libfreetype-dev:arm64 (2.12.1+dfsg-4) ... Setting up libxpm-dev:arm64 (1:3.5.12-1.1) ... Setting up libxt6:arm64 (1:1.2.1-1.1) ... Setting up libxext-dev:arm64 (2:1.3.4-1+b1) ... Setting up libxrender-dev:arm64 (1:0.9.10-1.1) ... Setting up default-libmysqlclient-dev:arm64 (1.1.0) ... Setting up libxft2:arm64 (2.3.6-1) ... Setting up libxmu-headers (2:1.1.3-3) ... Setting up libxmu6:arm64 (2:1.1.3-3) ... Setting up libfontconfig-dev:arm64 (2.14.1-4) ... Setting up debhelper (13.11.4) ... Setting up libxaw7:arm64 (2:1.0.14-1) ... Setting up libxt-dev:arm64 (1:1.2.1-1.1) ... Setting up libxm4:arm64 (2.3.8-3) ... Setting up libxft-dev:arm64 (2.3.6-1) ... Setting up libfontconfig1-dev:arm64 (2.14.1-4) ... Setting up libxmu-dev:arm64 (2:1.1.3-3) ... Setting up libmrm4:arm64 (2.3.8-3) ... Setting up libuil4:arm64 (2.3.8-3) ... Setting up libxaw7-dev:arm64 (2:1.0.14-1) ... Setting up uil (2.3.8-3) ... Setting up libmotif-dev:arm64 (2.3.8-3) ... Processing triggers for libc-bin (2.36-9) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/25308/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/25308/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution I: Running cd /build/ctn-3.2.0~dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ctn_3.2.0~dfsg-7_source.changes dpkg-buildpackage: info: source package ctn dpkg-buildpackage: info: source version 3.2.0~dfsg-7 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Tille dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/ctn-3.2.0~dfsg' dh_auto_clean make -j8 clean make[2]: Entering directory '/build/ctn-3.2.0~dfsg' cd libsrc; make clean make[3]: Entering directory '/build/ctn-3.2.0~dfsg/libsrc' make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. rm -f *.a *.o make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/libsrc' cd apps; make clean make[3]: Entering directory '/build/ctn-3.2.0~dfsg/apps' make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. cd apps_include; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/apps_include' rm -f *.a *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/apps_include' cd archive_server; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/archive_server' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/archive_server' cd assoc_tool; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/assoc_tool' rm -f assoc_tool *.o *BAK *% *bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/assoc_tool' cd cfg_ctn_tables; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/cfg_ctn_tables' rm -f cfg_ctn_tables *.o *BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/cfg_ctn_tables' cd clone_study; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/clone_study' rm -f clone_study *.o *.BAK *% *~ core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/clone_study' cd create_greyscale_module; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module' rm -f *.o create_greyscale_module *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module' cd ctnnetwork; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork' rm -f *.o *.BAK core ctnnetwork kill_ctnnetwork pq_ctnnetwork enq_ctnnetwork make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork' cd ctn_version; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctn_version' rm -rf ctn_version *.o *.BAK *.bak *% core *~ debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctn_version' cd database; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/database' rm -f core *.o *.*.bak *.BAK *% dbaddpat dbaddstudy dbaddseries dbaddimage dblstpats dblststudies dblstseries dblstimages dbdelpat dbdelstudy dbdelseries dbdelimage dbnew dbremove dbdump dbnumstudies dbdeloldeststudy dbquerytest make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/database' cd dcm_add_fragments; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments' rm -rf *.o dcm_add_fragments *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments' cd dcm_create_object; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object' rm -f dcm_create_object *.o *.BAK *.bak *% core lex.c gram.c rm -f yacc.* y.tab.* lex.yy.c make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object' cd dcm_ctnto10; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10' rm -rf dcm_ctnto10 *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10' cd dcm_diff; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff' rm -rf dcm_diff *.o *.BAK *.bak *% core *~ debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff' cd dcm_dump_compressed; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed' rm -f dcm_dump_compressed *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed' cd dcm_dump_element; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element' rm -rf *.o dcm_dump_element *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element' cd dcm_dump_file; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file' rm -rf dcm_dump_file *.o *.BAK *.bak *% core dcm_dump debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file' cd dcm_make_object; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object' rm -rf dcm_make_object *.o *.BAK *.bak core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object' cd dcm_map_to_8; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8' rm -rf *.o dcm_map_to_8 *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8' cd dcm_mask_image; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image' rm -rf *.o dcm_mask_image *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image' cd dcm_modify_elements; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements' rm -rf dcm_modify_elements *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements' cd dcm_modify_object; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object' rm -f dcm_modify_object *.o *.BAK *.bak *% core lex.c gram.c rm -rf debug rm -f yacc.* y.tab.* lex.yy.c make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object' cd dcm_print_dictionary; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary' rm -rf dcm_print_dictionary dcm_dump_vector *.o *.BAK *.bak *% core debug dcm_prin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary' cd dcm_resize; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize' rm -rf *.o dcm_resize *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize' cd dcm_rm_element; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_element' rm -rf *.o dcm_rm_element *.BAK *.bak *% core debug dcm_rm_e make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_element' cd dcm_rm_group; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group' rm -rf *.o dcm_rm_group *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group' cd dcm_snoop; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop' rm -f dcm_snoop *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop' cd dcm_strip_odd_groups; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups' rm -rf dcm_strip_odd_groups *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups' cd dcm_template; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_template' rm -rf dcm_template *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_template' cd dcm_to_html; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html' rm -rf dcm_to_html *.o *.BAK *.bak *% core *~ debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html' cd dcm_to_text; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text' rm -rf dcm_to_text *.o *.BAK *.bak *% core *~ debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text' cd dcm_verify; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify' rm -rf dcm_verify *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify' cd dcm_vr_patterns; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_vr_patterns' rm -rf *.o dcm_vr_patterns *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_vr_patterns' cd dcm_w_disp; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_w_disp' rm -rf *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_w_disp' cd dicom_echo; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo' rm -rf dicom_echo *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo' cd displays; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/displays' rm -f *.o *.BAK *.bak *% core ctndisp dcm_x_disp kill_ctndisp pq_ctndisp enq_ctndisp make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/displays' cd fillRSA; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fillRSA' rm -f fillRSA fillRSAImpInterp *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fillRSA' cd fis_server; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fis_server' rm -f fis_server *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fis_server' cd gq; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/gq' rm -f core *.o *.BAK *.bak *% gqinitq gqkillq core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/gq' cd icon; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/icon' rm -f icon_append_index icon_append_file icon_dump_index icon_dump_file create_print_entry *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/icon' cd idb_viewer; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/idb_viewer' rm -f idb_viewer *.o *BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/idb_viewer' cd image_archive; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_archive' rm -f archive_server archive_agent archive_cleaner dump_commit_requests *.o *.BAK *.bak *% *~ core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_archive' cd image_server; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_server' rm -f image_server *.o *.BAK *.bak *% core test_storage fillImageDB make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_server' cd load_control; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/load_control' rm -rf load_control *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/load_control' cd mwlQuery; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery' rm -rf mwlQuery *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery' cd object_viewer; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/object_viewer' rm -f object_viewer *.o *BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/object_viewer' cd pdu_examples; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples' rm -f ex1_initiator ex2_initiator ex3_initiator ex3_acceptor ex4_initiator ex4_acceptor *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples' cd pmgr_motif; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/pmgr_motif' rm -f pmgr_motif *.o *BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/pmgr_motif' cd print_clients; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_clients' rm -f print_mgr print_client print_query test *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_clients' cd print_server; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_server' rm -rf print_server *.o *.BAK *.bak *% core debug print_se make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server' cd print_server_display; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_server_display' rm -f print_server_display *.BAK *.bak *% *.o core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server_display' cd query_client; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/query_client' rm -rf query_client *.o *.BAK *bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/query_client' cd ris_gateway; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway' rm -f ris_gateway *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway' cd rsa_ui; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/rsa_ui' rm -f rsa_ui *.o *BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/rsa_ui' cd scripts; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/scripts' make[4]: Nothing to be done for 'clean'. make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/scripts' cd send_image; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_image' rm -rf send_image *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_image' cd send_results; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_results' rm -f send_results *.o *.BAK *% *~ core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_results' cd send_study; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_study' rm -f send_study *.o *.BAK *% *~ core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_study' cd simple_pacs; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/simple_pacs' rm -f simple_pacs *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/simple_pacs' cd simple_storage; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/simple_storage' rm -rf simple_storage *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/simple_storage' cd snp_to_files; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files' rm -f snp_to_files *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files' cd storage_classes; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_classes' rm -f storage_classes *.o *.BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_classes' cd storage_commit; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_commit' rm -f storage_commit commit_agent *.o *.BAK core *% *~ make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_commit' cd tbltest; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/tbltest' rm -rf ttunique ttinsert ttdelete ttselect ttlayout ttupdate *.o *.BAK *.bak *% core debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/tbltest' cd ttdelete; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttdelete' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttdelete' cd ttinsert; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttinsert' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttinsert' cd ttlayout; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttlayout' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttlayout' cd ttselect; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttselect' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttselect' cd ttunique; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttunique' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttunique' cd ttupdate; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttupdate' rm -rf debug make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttupdate' cd wlma_ui; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/wlma_ui' rm -f wlma_ui *.o *BAK *.bak *% core make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/wlma_ui' make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/apps' cd cgi_apps; make clean make[3]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps' make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. cd archive_cgi; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps/archive_cgi' rm -f *.o archive_cgi.cgi make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps/archive_cgi' cd dd_lookup; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps/dd_lookup' rm -f *.o dd_lookup.cgi make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps/dd_lookup' cd fileview; make clean make[4]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps/fileview' rm -f *.o fileview.cgi make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps/fileview' make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps' make[2]: Leaving directory '/build/ctn-3.2.0~dfsg' # restore changed files if [ -d debian/savefiles ] ; then \ mv debian/savefiles/apps/dcm_modify_object/gram.h apps/dcm_modify_object ; \ rm -rf debian/savefiles/apps ; \ fi rm -rf debian/savefiles rm -f debian/ctn*.postinst.* debian/ctn*.prerm.* debian/intsizes.h rm -f debian/ctnmake.debian.mysql.options.full debian/test-sizes rm -f facilities/dicom/intsizes.h rm -f libsrc/*.c libsrc/*.h rm -f `find . -name \*.o -or -name \*.a` rm -rf include rm -rf lib make[1]: Leaving directory '/build/ctn-3.2.0~dfsg' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/ctn-3.2.0~dfsg' mkdir -p debian/savefiles mkdir -p debian/savefiles/apps/dcm_modify_object cp -a apps/dcm_modify_object/gram.h debian/savefiles/apps/dcm_modify_object cc debian/test-sizes.c -o debian/test-sizes sh debian/intsizes_h.sh debian/test-sizes >| debian/ctnmake.debian.mysql.options.full echo "CFLAGS=-g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security" >> debian/ctnmake.debian.mysql.options.full echo "LDFLAGS=-Wl,-z,relro -Wl,-z,now" >> debian/ctnmake.debian.mysql.options.full cat debian/ctnmake.debian.mysql.options >> debian/ctnmake.debian.mysql.options.full mv debian/intsizes.h facilities/dicom/ chmod +x /build/ctn-3.2.0~dfsg/apps/scripts/createdirectory chmod +x /build/ctn-3.2.0~dfsg/apps/scripts/checkEnvironment mkdir /build/ctn-3.2.0~dfsg/lib mkdir /build/ctn-3.2.0~dfsg/include (. debian/debian.mysql.options.env; make install) debian/test-endian.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] 4 | main() | ^~~~ TEST_ENDIAN: LITTLE_ENDIAN_ARCHITECTURE make[2]: Entering directory '/build/ctn-3.2.0~dfsg' cd apps/apps_test; make install make[3]: Entering directory '/build/ctn-3.2.0~dfsg/apps/apps_test' chmod +x test_baseline ./test_baseline make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/apps_test' cd runtime; make install make[3]: Entering directory '/build/ctn-3.2.0~dfsg/runtime' chmod +x setup.csh ./setup.csh /build/ctn-3.2.0~dfsg/debian/tmp Directory /build/ctn-3.2.0~dfsg/debian/tmp/runtime does not exist. Trying to create /build/ctn-3.2.0~dfsg/debian/tmp/runtime. cp fontmap /build/ctn-3.2.0~dfsg/debian/tmp/runtime cp queuemap /build/ctn-3.2.0~dfsg/debian/tmp/runtime cp ctn_cfg.txt /build/ctn-3.2.0~dfsg/debian/tmp/runtime make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/runtime' cd facilities; make links make[3]: Entering directory '/build/ctn-3.2.0~dfsg/facilities' /build/ctn-3.2.0~dfsg/apps/scripts/checkEnvironment DICOM_LIBSRC /build/ctn-3.2.0~dfsg/libsrc /build/ctn-3.2.0~dfsg/apps/scripts/createdirectory /build/ctn-3.2.0~dfsg/libsrc cd cfg ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/cfg' rm -f /build/ctn-3.2.0~dfsg/libsrc/cfg.c /build/ctn-3.2.0~dfsg/libsrc/cfg.h ln -s ../facilities/cfg/cfg.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/cfg/cfg.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/cfg' cd chr ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/chr' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_chr.h /build/ctn-3.2.0~dfsg/libsrc/dicom_chr.c ln -s ../facilities/chr/dicom_chr.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/chr/dicom_chr.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/chr' cd condition ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/condition' rm -f /build/ctn-3.2.0~dfsg/libsrc/condition.c /build/ctn-3.2.0~dfsg/libsrc/condition.h ln -s ../facilities/condition/condition.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/condition/condition.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/condition' cd database ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/database' rm -f /build/ctn-3.2.0~dfsg/libsrc/database.c /build/ctn-3.2.0~dfsg/libsrc/dbquery.h rm -f /build/ctn-3.2.0~dfsg/libsrc/dbprivate.h ln -s ../facilities/database/database.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/database/dbquery.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/database/dbprivate.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/database' cd ddr ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/ddr' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_ddr.h /build/ctn-3.2.0~dfsg/libsrc/ddr.c ln -s ../facilities/ddr/dicom_ddr.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/ddr/ddr.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/ddr' cd dicom ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/dicom' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom.h /build/ctn-3.2.0~dfsg/libsrc/dicom_platform.h /build/ctn-3.2.0~dfsg/libsrc/ctn_os.h ln -sf ../facilities/dicom/ctn_os.h /build/ctn-3.2.0~dfsg/libsrc ln -sf ../facilities/dicom/dicom.h /build/ctn-3.2.0~dfsg/libsrc ln -sf ../facilities/dicom/intsizes.h /build/ctn-3.2.0~dfsg/libsrc ln -sf ../facilities/dicom/dicom_platform.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/dicom' cd snp ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/snp' rm -f /build/ctn-3.2.0~dfsg/libsrc/snp.h /build/ctn-3.2.0~dfsg/libsrc/snp.c rm -f /build/ctn-3.2.0~dfsg/libsrc/snpcond.c /build/ctn-3.2.0~dfsg/libsrc/decode.c rm -f /build/ctn-3.2.0~dfsg/libsrc/dlroutines.c /build/ctn-3.2.0~dfsg/libsrc/decode.h ln -s ../facilities/snp/snp.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/snp/snp.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/snp/snpcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/snp/decode.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/snp/dlroutines.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/snp/decode.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/snp' cd dulprotocol ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/dulprotocol' rm -f /build/ctn-3.2.0~dfsg/libsrc/dul*[ch] ln -s ../facilities/dulprotocol/dulprotocol.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulconstruct.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulfsm.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulfsm.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulparse.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulpresent.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulprivate.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulprotocol.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulstructures.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulsnoop.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/dulprotocol/dulsnoop.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/dulprotocol' cd gq ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/gq' rm -f /build/ctn-3.2.0~dfsg/libsrc/gq.c /build/ctn-3.2.0~dfsg/libsrc/gq.h ln -s ../facilities/gq/gq.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/gq/gq.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/gq' cd hap ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/hap' rm -f /build/ctn-3.2.0~dfsg/libsrc/hap.h /build/ctn-3.2.0~dfsg/libsrc/hap.c /build/ctn-3.2.0~dfsg/libsrc/hapcond.c rm -f /build/ctn-3.2.0~dfsg/libsrc/hapbuildpatient.c /build/ctn-3.2.0~dfsg/libsrc/hapbuildvisit.c rm -f /build/ctn-3.2.0~dfsg/libsrc/hapbuildstudy.c /build/ctn-3.2.0~dfsg/libsrc/hapbuildresults.c rm -f /build/ctn-3.2.0~dfsg/libsrc/hapbuildinterp.c /build/ctn-3.2.0~dfsg/libsrc/hapbuildresults.c ln -s ../facilities/hap/hap.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hap/hapcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hap/hapbuildpatient.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hap/hapbuildvisit.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hap/hapbuildstudy.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hap/hapbuildresults.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hap/hapbuildinterp.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/hap' cd fis ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/fis' rm -f /build/ctn-3.2.0~dfsg/libsrc/build.c /build/ctn-3.2.0~dfsg/libsrc/fisdelete.c rm -f /build/ctn-3.2.0~dfsg/libsrc/event.c /build/ctn-3.2.0~dfsg/libsrc/fis.c rm -f /build/ctn-3.2.0~dfsg/libsrc/fiscond.c /build/ctn-3.2.0~dfsg/libsrc/fisget.c rm -f /build/ctn-3.2.0~dfsg/libsrc/fisinsert.c /build/ctn-3.2.0~dfsg/libsrc/record.c rm -f /build/ctn-3.2.0~dfsg/libsrc/update.c /build/ctn-3.2.0~dfsg/libsrc/fis.h rm -f /build/ctn-3.2.0~dfsg/libsrc/fis_private.h ln -s ../facilities/fis/build.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fisdelete.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/event.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fis.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fiscond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fisget.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fisinsert.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/record.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/update.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fis.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/fis/fis_private.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/fis' cd his ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/his' rm -f /build/ctn-3.2.0~dfsg/libsrc/hisdb.c /build/ctn-3.2.0~dfsg/libsrc/hisdb.h rm -f /build/ctn-3.2.0~dfsg/libsrc/hisprivate.h ln -s ../facilities/his/hisdb.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/his/hisdb.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/his/hisprivate.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/his' cd hunks ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/hunks' rm -f /build/ctn-3.2.0~dfsg/libsrc/hunk_man.c /build/ctn-3.2.0~dfsg/libsrc/hunk_man.h ln -s ../facilities/hunks/hunk_man.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/hunks/hunk_man.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/hunks' cd iap ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/iap' rm -f /build/ctn-3.2.0~dfsg/libsrc/iap.h /build/ctn-3.2.0~dfsg/libsrc/iap.c /build/ctn-3.2.0~dfsg/libsrc/iapcond.c ln -s ../facilities/iap/iap.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/iap/iap.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/iap/iapcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/iap' cd icpy ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/icpy' make[4]: Nothing to be done for 'links'. make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/icpy' cd idb ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/idb' rm -f /build/ctn-3.2.0~dfsg/libsrc/idb.h /build/ctn-3.2.0~dfsg/libsrc/idb.c /build/ctn-3.2.0~dfsg/libsrc/idbcond.c ln -s ../facilities/idb/idb.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/idb/idb.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/idb/idbcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/idb' cd idbmb ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/idbmb' rm -f /build/ctn-3.2.0~dfsg/libsrc/idbmb.h /build/ctn-3.2.0~dfsg/libsrc/idbmb.c /build/ctn-3.2.0~dfsg/libsrc/idbmbcond.c ln -s ../facilities/idbmb/idbmb.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/idbmb/idbmb.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/idbmb/idbmbcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/idbmb' cd icon ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/icon' rm -f /build/ctn-3.2.0~dfsg/libsrc/icon.c /build/ctn-3.2.0~dfsg/libsrc/icon.h /build/ctn-3.2.0~dfsg/libsrc/iconcond.c ln -s ../facilities/icon/icon.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/icon/icon.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/icon/iconcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/icon' cd iman ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/iman' make[4]: Nothing to be done for 'links'. make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/iman' cd info_entity ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/info_entity' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_ie.h /build/ctn-3.2.0~dfsg/libsrc/ie.c rm -f /build/ctn-3.2.0~dfsg/libsrc/iecond.c /build/ctn-3.2.0~dfsg/libsrc/tables.h ln -s ../facilities/info_entity/dicom_ie.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/info_entity/ie.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/info_entity/iecond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/info_entity/tables.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/info_entity' cd irs ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/irs' rm -f /build/ctn-3.2.0~dfsg/libsrc/irs.c rm -f /build/ctn-3.2.0~dfsg/libsrc/irscond.c rm -f /build/ctn-3.2.0~dfsg/libsrc/irs_private.h rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_irs.h ln -s ../facilities/irs/irs.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/irs/irscond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/irs/irs_private.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/irs/dicom_irs.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/irs' cd lst ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/lst' rm -f /build/ctn-3.2.0~dfsg/libsrc/lst.c /build/ctn-3.2.0~dfsg/libsrc/lst.h rm -f /build/ctn-3.2.0~dfsg/libsrc/lstprivate.h /build/ctn-3.2.0~dfsg/libsrc/lstcond.c ln -s ../facilities/lst/lst.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/lst/lst.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/lst/lstprivate.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/lst/lstcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/lst' cd manage ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/manage' rm -f /build/ctn-3.2.0~dfsg/libsrc/manage.h /build/ctn-3.2.0~dfsg/libsrc/control.c rm -f /build/ctn-3.2.0~dfsg/libsrc/delete.c /build/ctn-3.2.0~dfsg/libsrc/insert.c rm -f /build/ctn-3.2.0~dfsg/libsrc/select.c /build/ctn-3.2.0~dfsg/libsrc/set.c rm -f /build/ctn-3.2.0~dfsg/libsrc/mancond.c /build/ctn-3.2.0~dfsg/libsrc/dmanprivate.h ln -s ../facilities/manage/manage.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/control.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/delete.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/insert.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/select.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/set.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/mancond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/manage/dmanprivate.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/manage' cd messages ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/messages' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_messages.h /build/ctn-3.2.0~dfsg/libsrc/dump.c rm -f /build/ctn-3.2.0~dfsg/libsrc/msgcond.c /build/ctn-3.2.0~dfsg/libsrc/messages.c rm -f /build/ctn-3.2.0~dfsg/libsrc/msgprivate.h /build/ctn-3.2.0~dfsg/libsrc/ref_item.c ln -s ../facilities/messages/dicom_messages.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/messages/dump.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/messages/msgcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/messages/messages.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/messages/msgprivate.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/messages/ref_item.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/messages' cd motif_utl ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/motif_utl' rm -f /build/ctn-3.2.0~dfsg/libsrc/mut.h /build/ctn-3.2.0~dfsg/libsrc/motifutil.c ln -s ../facilities/motif_utl/mut.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/motif_utl/motifutil.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/motif_utl' cd objects ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/objects' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_objects.h /build/ctn-3.2.0~dfsg/libsrc/dcm.c rm -f /build/ctn-3.2.0~dfsg/libsrc/dcm1.c /build/ctn-3.2.0~dfsg/libsrc/dcmcond.c rm -f /build/ctn-3.2.0~dfsg/libsrc/dcmdict.c /build/ctn-3.2.0~dfsg/libsrc/dcmprivate.h rm -f /build/ctn-3.2.0~dfsg/libsrc/dcmsupport.c ln -s ../facilities/objects/dicom_objects.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/objects/dcm.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/objects/dcm1.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/objects/dcmcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/objects/dcmdict.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/objects/dcmprivate.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/objects/dcmsupport.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/objects' cd print ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/print' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_print.h /build/ctn-3.2.0~dfsg/libsrc/print.c rm -f /build/ctn-3.2.0~dfsg/libsrc/printcond.c ln -s ../facilities/print/dicom_print.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/print/print.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/print/printcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/print' cd services ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/services' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_services.h /build/ctn-3.2.0~dfsg/libsrc/find.c rm -f /build/ctn-3.2.0~dfsg/libsrc/move.c /build/ctn-3.2.0~dfsg/libsrc/neventreport.c rm -f /build/ctn-3.2.0~dfsg/libsrc/nget.c /build/ctn-3.2.0~dfsg/libsrc/nset.c rm -f /build/ctn-3.2.0~dfsg/libsrc/ndelete.c /build/ctn-3.2.0~dfsg/libsrc/ncreate.c rm -f /build/ctn-3.2.0~dfsg/libsrc/naction.c /build/ctn-3.2.0~dfsg/libsrc/private.c rm -f /build/ctn-3.2.0~dfsg/libsrc/private.h /build/ctn-3.2.0~dfsg/libsrc/services.c rm -f /build/ctn-3.2.0~dfsg/libsrc/srvcond.c /build/ctn-3.2.0~dfsg/libsrc/storage.c rm -f /build/ctn-3.2.0~dfsg/libsrc/verify.c /build/ctn-3.2.0~dfsg/libsrc/get.c rm -f /build/ctn-3.2.0~dfsg/libsrc/cmd_valid.c /build/ctn-3.2.0~dfsg/libsrc/send.c rm -f /build/ctn-3.2.0~dfsg/libsrc/srv1.c /build/ctn-3.2.0~dfsg/libsrc/srv2.c ln -s ../facilities/services/dicom_services.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/find.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/move.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/neventreport.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/nget.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/nset.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/ndelete.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/ncreate.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/naction.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/private.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/private.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/srvcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/storage.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/verify.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/get.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/cmd_valid.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/send.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/srv1.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/services/srv2.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/services' cd sq ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/sq' rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_sq.h /build/ctn-3.2.0~dfsg/libsrc/sequences.c rm -f /build/ctn-3.2.0~dfsg/libsrc/sqcond.c ln -s ../facilities/sq/dicom_sq.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/sq/sequences.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/sq/sqcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/sq' cd tbl ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/tbl' rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl.h /build/ctn-3.2.0~dfsg/libsrc/tbl_ufs.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tblprivate.h /build/ctn-3.2.0~dfsg/libsrc/tblcond.c rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_sqlserver.c /build/ctn-3.2.0~dfsg/libsrc/tbl_sqlserver.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_sybase.c /build/ctn-3.2.0~dfsg/libsrc/tbl_sybase.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_msql.c /build/ctn-3.2.0~dfsg/libsrc/tbl_msql.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_mysql.c /build/ctn-3.2.0~dfsg/libsrc/tbl_mysql.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_psql.c /build/ctn-3.2.0~dfsg/libsrc/tbl_psql.h rm -f /build/ctn-3.2.0~dfsg/libsrc/ufs.c ln -s ../facilities/tbl/tbl.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_ufs.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tblprivate.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tblcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_sqlserver.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_sqlserver.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_sybase.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_sybase.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_msql.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_msql.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_mysql.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_mysql.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_psql.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/tbl_psql.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tbl/ufs.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/tbl' cd tblmb ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/tblmb' rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb.h /build/ctn-3.2.0~dfsg/libsrc/tblmb_ufs.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmbprivate.h /build/ctn-3.2.0~dfsg/libsrc/tblmbcond.c rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_sqlserver.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_sqlserver.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_sybase.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_sybase.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_msql.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_msql.h rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_psql.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_psql.h rm -f /build/ctn-3.2.0~dfsg/libsrc/ufs.c ln -s ../facilities/tblmb/tblmb.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tblmb/tblmbprivate.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tblmb/tblmbcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tblmb/tblmb_psql.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/tblmb/tblmb_psql.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/tblmb' cd thread ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/thread' rm -f /build/ctn-3.2.0~dfsg/libsrc/ctnthread.h /build/ctn-3.2.0~dfsg/libsrc/ctnthread.c rm -f /build/ctn-3.2.0~dfsg/libsrc/thrcond.c ln -s ../facilities/thread/ctnthread.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/thread/ctnthread.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/thread/thrcond.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/thread' cd uid ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/uid' rm -f /build/ctn-3.2.0~dfsg/libsrc/uid.c /build/ctn-3.2.0~dfsg/libsrc/uidcond.c rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_uids.h ln -s ../facilities/uid/uid.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/uid/uidcond.c /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/uid/dicom_uids.h /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/uid' cd utility ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/utility' rm -f /build/ctn-3.2.0~dfsg/libsrc/utility.h /build/ctn-3.2.0~dfsg/libsrc/utility.c ln -s ../facilities/utility/utility.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/utility/utility.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/utility' cd xutl ; make links make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/xutl' rm -f /build/ctn-3.2.0~dfsg/libsrc/xutl.h /build/ctn-3.2.0~dfsg/libsrc/xutl.c /build/ctn-3.2.0~dfsg/libsrc/xutl_mb.c ln -s ../facilities/xutl/xutl.h /build/ctn-3.2.0~dfsg/libsrc ln -s ../facilities/xutl/xutl.c /build/ctn-3.2.0~dfsg/libsrc make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/xutl' make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities' cd libsrc; make install make[3]: Entering directory '/build/ctn-3.2.0~dfsg/libsrc' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o build.o build.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cfg.o cfg.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cmd_valid.o cmd_valid.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o condition.o condition.c condition.c: In function 'dumpstack': condition.c:462:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 462 | fprintf(lfp, "%8x %s\n", EDBStack[index].statusCode, | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int CONDITION {aka long unsigned int} | %8lx gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o control.o control.c control.c: In function 'DMAN_TempImageFile': control.c:568:9: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 568 | i = getpid(); | ^~~~~~ control.c: In function 'localHostEnt': control.c:715:14: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 715 | if (!isdigit(node[index]) && !(node[index] == '.')) { | ^~~~~~~ control.c:92:1: note: include '' or provide a declaration of 'isdigit' 91 | #include "dmanprivate.h" +++ |+#include 92 | control.c:724:21: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 724 | ipAddress = inet_addr(node); | ^~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ctnthread.o ctnthread.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o database.o database.c database.c: In function 'DB_AddPatient': database.c:513:24: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 513 | pnode.time_stamp = time((time_t *) NULL); | ^~~~ database.c:92:1: note: 'time' is defined in header ''; did you forget to '#include '? 91 | #include "dbprivate.h" +++ |+#include 92 | database.c: In function 'DB_DelImage': database.c:2170:9: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 2170 | if (unlink(inode.image.FileName) != 0) { | ^~~~~~ database.c: In function 'DB_DeleteDB': database.c:173:12: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | (void) system(temp); | ^~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm.o dcm.c dcm.c: In function 'DCM_CloseObject': dcm.c:500:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'LST_HEAD *' {aka 'void *'} [-Wformat=] 500 | fprintf(stderr, "Sequence List Address: %x\n", | ~^ | | | unsigned int | %p 501 | element->element.d.sq); | ~~~~~~~~~~~~~~~~~~~~~ | | | LST_HEAD * {aka void *} dcm.c:511:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'LST_HEAD *' {aka 'void *'} [-Wformat=] 511 | fprintf(stderr, "Fragment List Address: %x\n", | ~^ | | | unsigned int | %p 512 | element->element.d.fragments); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | LST_HEAD * {aka void *} dcm.c:521:58: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'PRV_ELEMENT_ITEM *' [-Wformat=] 521 | fprintf(stderr, "DCM_CloseObject: free %8x\n", element); | ~~^ ~~~~~~~ | | | | | PRV_ELEMENT_ITEM * | unsigned int dcm.c: In function 'DCM_GetElementValue': dcm.c:964:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 964 | if ((U32) p > elementItem->element.length) | ^ In file included from ctn_os.h:92, from dcm.c:99: dcm.c:969:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 969 | l = MIN(element->length, (elementItem->element.length - (U32) p)); | ^ dcm.c:969:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 969 | l = MIN(element->length, (elementItem->element.length - (U32) p)); | ^ dcm.c:1009:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1009 | (U32) p; | ^ dcm.c:1021:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1021 | if ((unsigned) p == elementItem->element.length) | ^ dcm.c: In function 'DCM_GetElementValueOffset': dcm.c:1153:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1153 | if ((U32) p > elementItem->element.length) | ^ dcm.c:1204:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1204 | (U32) p; | ^ dcm.c: In function 'DCM_DumpElements': dcm.c:1664:41: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'U32' {aka 'unsigned int'} [-Wformat=] 1664 | (void) printf("%04x %04x %8ld ", | ~~~^ | | | long int | %8d ...... 1667 | elementItem->element.length); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | U32 {aka unsigned int} dcm.c: In function 'DCM_FormatElements': dcm.c:1858:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1858 | printf("%sGroup: %04x, Length: %8d\n", prefix, groupItem->group, | ~~^ | | | int | %8ld 1859 | groupItem->baseLength); | ~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dcm.c: In function 'newElementItem': dcm.c:2936:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 2936 | fprintf(stderr, "newElementItem: CTN_MALLOC %8d %8d ", l, | ~~^ | | | int | %8ld 2937 | sizeof(PRV_ELEMENT_ITEM) + l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dcm.c:2941:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'PRV_ELEMENT_ITEM *' [-Wformat=] 2941 | fprintf(stderr, "%8x\n", *dst); | ~~^ ~~~~ | | | | | PRV_ELEMENT_ITEM * | unsigned int dcm.c: In function 'exportData': dcm.c:3957:21: warning: implicit declaration of function 'swab' [-Wimplicit-function-declaration] 3957 | swab(p, b, length); | ^~~~ dcm.c: In function 'verifyFormat': dcm.c:4924:21: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 4924 | if (isdigit(*src) || (*src == '-') || (*src == '\\')) { | ^~~~~~~ dcm.c:107:1: note: include '' or provide a declaration of 'isdigit' 106 | #include "dcmprivate.h" +++ |+#include 107 | dcm.c: In function 'readVRLength': dcm.c:5904:37: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 5904 | fprintf(stderr, "%2s %6d %06x %s\n", localVR, e->length, *fileOffset, | ~~~^ ~~~~~~~~~~~ | | | | unsigned int off_t {aka long int} | %06lx dcm.c: In function 'copyData': dcm.c:6822:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 6822 | (U32) p; | ^ dcm.c:6826:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 6826 | if ((unsigned) p == from->element.length) | ^ dcm.c: In function 'remapFileName': dcm.c:7023:18: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 7023 | else if (isupper(c)) | ^~~~~~~ dcm.c:7023:18: note: include '' or provide a declaration of 'isupper' dcm.c:7024:26: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 7024 | *mapName++ = tolower(c); | ^~~~~~~ dcm.c:7024:26: note: include '' or provide a declaration of 'tolower' dcm.c: In function 'DCM_PrintSequenceList': dcm.c:7247:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 7247 | printf("size: %6d offset: %6d, pixel offset: %6d\n", | ~~^ | | | int | %6ld 7248 | sqObject->objectSize, | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dcm.c:7247:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 7247 | printf("size: %6d offset: %6d, pixel offset: %6d\n", | ~~^ | | | int | %6ld 7248 | sqObject->objectSize, 7249 | sqObject->offset, | ~~~~~~~~~~~~~~~~ | | | long unsigned int dcm.c:7247:56: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 7247 | printf("size: %6d offset: %6d, pixel offset: %6d\n", | ~~^ | | | int | %6ld ...... 7250 | sqObject->pixelOffset); | ~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm1.o dcm1.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcmcond.o dcmcond.c dcmcond.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] 155 | DCM_DumpVector() | ^~~~~~~~~~~~~~ dcmcond.c: In function 'DCM_DumpVector': dcmcond.c:161:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 161 | printf("%8x %8d %s\n", messageVector[index].cond, | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int CONDITION {aka long unsigned int} | %8lx dcmcond.c:161:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 161 | printf("%8x %8d %s\n", messageVector[index].cond, | ~~^ | | | int | %8ld 162 | messageVector[index].cond, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION {aka long unsigned int} gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcmdict.o dcmdict.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcmsupport.o dcmsupport.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ddr.o ddr.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o decode.o decode.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o delete.o delete.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dlroutines.o dlroutines.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulcond.o dulcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulconstruct.o dulconstruct.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulfsm.o dulfsm.c dulfsm.c: In function 'DUL_InitializeFSM': dulfsm.c:671:71: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 671 | (void) sprintf(stateEntries[index].actionName, "%.*s", | ~~^~ | | | int 672 | sizeof(stateEntries[index].actionName) - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulfsm.c:679:66: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 679 | (void) sprintf(stateEntries[index].eventName, "%.*s", | ~~^~ | | | int 680 | sizeof(stateEntries[index].eventName) - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulfsm.c: In function 'DT_2_IndicatePData': dulfsm.c:1493:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 1493 | (void) fprintf(stderr, "PDV Lengths don't add up correctly: %d pdvs\n", | ~^ | | | int | %ld 1494 | pdvCount); | ~~~~~~~~ | | | long unsigned int dulfsm.c: In function 'readPDUHeadTCP': dulfsm.c:3503:82: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 3503 | (void) fprintf(DEBUG_DEVICE, "Read PDU HEAD TCP: type: %x, length: %ld (%x)\n", | ~^ | | | unsigned int | %lx 3504 | *type, *pduLength, *pduLength); | ~~~~~~~~~~ | | | long unsigned int gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulparse.o dulparse.c dulparse.c: In function 'parseAssociate': dulparse.c:191:50: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 191 | (void) fprintf(DEBUG_DEVICE, "PDU type: %x (%s), PDU Length: %ld\n", | ~^ | | | unsigned int | %lx 192 | (long) assoc->type, s, assoc->length); | ~~~~~~~~~~~~~~~~~~ | | | long int dulparse.c:206:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 206 | (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) type); | ~~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | long unsigned int | unsigned int | %02lx dulparse.c: In function 'parseSubItem': dulparse.c:330:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 330 | fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\n", | ~~~^ | | | unsigned int | %02lx 331 | (unsigned long) subItem->type, (unsigned long) subItem->length, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulparse.c:330:67: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 330 | fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\n", | ~~^ | | | int | %4ld 331 | (unsigned long) subItem->type, (unsigned long) subItem->length, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulparse.c: In function 'parsePresentationContext': dulparse.c:396:58: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 396 | "Parsing Presentation Context: (%2x), Length: %ld\n", | ~~^ | | | unsigned int | %2lx 397 | (unsigned long) context->type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulparse.c:399:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 399 | (void) fprintf(DEBUG_DEVICE, "Presentation Context ID: %2x\n", | ~~^ | | | unsigned int | %2lx 400 | (unsigned long) context->contextID); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulparse.c:412:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 412 | (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) *buf); | ~~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | long unsigned int | unsigned int | %02lx dulparse.c: In function 'parseUserInfo': dulparse.c:515:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 515 | (void) fprintf(DEBUG_DEVICE, "Parsing user info field (%02x), Length: %ld\n", | ~~~^ | | | unsigned int | %02lx 516 | (unsigned long) userInfo->type, (unsigned long) userInfo->length); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulparse.c:523:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 523 | "Parsing remaining %ld bytes of User Information\n", userLength); | ~~^ ~~~~~~~~~~ | | | | long int int | %d dulparse.c:524:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 524 | (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) *buf); | ~~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | long unsigned int | unsigned int | %02lx dulparse.c: In function 'parseSCUSCPRole': dulparse.c:727:31: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 727 | fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | %d %d \n ", | ~~~~~~~~~~ 729 | (unsigned long) role->type, (unsigned long) role->length, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int dulparse.c:727:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 727 | fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | %d %d \n ", | ~~~~~~~~~~ 729 | (unsigned long) role->type, (unsigned long) role->length, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulpresent.o dulpresent.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulprotocol.o dulprotocol.c dulprotocol.c: In function 'DUL_ReleaseAssociation': dulprotocol.c:1510:77: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 1510 | fprintf(stderr, "DUL_ReleaseAssociation:: non-normal condition %08x \n", cond); | ~~~^ ~~~~ | | | | | CONDITION {aka long unsigned int} | unsigned int | %08lx dulprotocol.c:1560:70: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 1560 | fprintf(stderr, "DUL_ReleaseAssociation:: final condition = %08x\n", cond); | ~~~^ ~~~~ | | | | | CONDITION {aka long unsigned int} | unsigned int | %08lx dulprotocol.c: In function 'DUL_DumpParams': dulprotocol.c:2669:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2669 | printf("MAX PDU: %d\n", params->maxPDU); | ~^ ~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld dulprotocol.c:2670:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2670 | printf("Peer MAX PDU: %d\n", params->peerMaxPDU); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dulsnoop.o dulsnoop.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dump.o dump.c dump.c: In function 'DumpNEventReportResponse': dump.c:651:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 651 | fprintf(f, "ConditionalFields: %04x\n", eventReport->conditionalFields); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int long int | %04lx dump.c: In function 'DumpNGetResponse': dump.c:689:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 689 | fprintf(f, "ConditionalFields: %04x\n", get->conditionalFields); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | unsigned int | %04lx dump.c: In function 'DumpNSetResponse': dump.c:719:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 719 | fprintf(f, "ConditionalFields: %04x\n", set->conditionalFields); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | unsigned int | %04lx dump.c: In function 'DumpNActionResponse': dump.c:750:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 750 | fprintf(f, "ConditionalFields: %04x\n", action->conditionalFields); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | unsigned int | %04lx dump.c: In function 'DumpNCreateResponse': dump.c:779:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 779 | fprintf(f, "ConditionalFields: %04x\n", create->conditionalFields); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | unsigned int | %04lx dump.c: In function 'DumpNDeleteResponse': dump.c:805:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] 805 | fprintf(f, "ConditionalFields: %04x\n", delete->conditionalFields); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | unsigned int | %04lx gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o event.o event.c event.c: In function 'requestAssociation.constprop': event.c:249:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 249 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from ctn_os.h:62, from event.c:52: In function 'sprintf', inlined from 'requestAssociation.constprop' at event.c:249:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o find.o find.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fis.o fis.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fiscond.o fiscond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fisdelete.o fisdelete.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fisget.o fisget.c fisget.c: In function 'getPatientRecord': fisget.c:177:67: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 177 | cond = TBL_Select(&h->patientHandle, criteria, fields, count, patientCallback, | ^~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getVisitRecord': fisget.c:299:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 299 | cond = TBL_Select(&h->visitHandle, criteria, fields, count, visitCallback, | ^~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getStudyRecord': fisget.c:420:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 420 | cond = TBL_Select(&h->studyHandle, criteria, fields, count, studyCallback, | ^~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'selectStudyRecord': fisget.c:513:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 513 | cond = TBL_Select(&h->studyHandle, criteria, fields, count, studyCallback, | ^~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getStudyComponentRecord': fisget.c:652:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 652 | studyComponentCallback, getList); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getSCSeriesRecord': fisget.c:763:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 763 | scSeriesCallback, getList); | ^~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getSCImageRecord': fisget.c:873:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 873 | scImageCallback, getList); | ^~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getResultsRecord': fisget.c:971:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 971 | resultsCallback, getList); | ^~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getInterpretationRecord': fisget.c:1100:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1100 | interpretationCallback, getList); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getCommitSOPRecord': fisget.c:1226:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1226 | commitSOPRefCallback, getList); | ^~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getStorageCommitReq': fisget.c:1346:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1346 | storageCommitCallback, getList); | ^~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getWorkQueueRecord': fisget.c:1427:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1427 | workQueueCallback, getList); | ^~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fisinsert.o fisinsert.c In file included from fisinsert.c:58: fisinsert.c: In function 'insertPatientRecord': tbl.h:173:28: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 185 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c:65:1: note: include '' or provide a declaration of 'strlen' 64 | #include "fis_private.h" +++ |+#include 65 | tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 185 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 185 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 185 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 185 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 187 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 187 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 187 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 187 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 189 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 189 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 189 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 189 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 191 | TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 191 | TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 191 | TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 191 | TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertStudyRecord': tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 244 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 244 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 244 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 244 | TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 246 | TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 246 | TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 246 | TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 246 | TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 248 | TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 248 | TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 248 | TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 248 | TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 250 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 250 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 250 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 250 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 252 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 252 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 252 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 252 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 262 | TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 262 | TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 262 | TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 262 | TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 264 | TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 264 | TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 264 | TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 264 | TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 266 | TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 266 | TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 266 | TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 266 | TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertStudyComponentRecord': fisinsert.c:302:51: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 302 | if ((s->Flag & FIS_K_STUDYCOMP_STUCOMUID) && (strlen(s->StuComUID) != 0)) { | ^~~~~~ fisinsert.c:302:51: note: include '' or provide a declaration of 'strlen' fisinsert.c:310:51: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 310 | if ((s->Flag & FIS_K_STUDYCOMP_STUINSUID) && (strlen(s->StuInsUID) != 0)) { | ^~~~~~ fisinsert.c:310:51: note: include '' or provide a declaration of 'strlen' tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:318:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 318 | TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:318:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 318 | TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:318:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 318 | TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:318:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 318 | TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:322:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 322 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:322:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 322 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:322:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 322 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:322:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 322 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:326:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 326 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:326:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 326 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:326:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 326 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:326:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 326 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:330:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 330 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:330:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 330 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:330:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 330 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:330:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 330 | TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:334:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 334 | TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:334:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 334 | TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:334:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 334 | TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:334:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 334 | TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:338:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 338 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:338:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 338 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:338:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 338 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:338:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 338 | TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:342:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 342 | TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:342:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 342 | TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:342:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 342 | TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:342:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 342 | TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertSCSeriesRecord': fisinsert.c:369:50: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 369 | if ((s->Flag & FIS_K_SCSERIES_SERINSUID) && (strlen(s->SerInsUID) != 0)) { | ^~~~~~ fisinsert.c:369:50: note: include '' or provide a declaration of 'strlen' fisinsert.c:377:50: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 377 | if ((s->Flag & FIS_K_SCSERIES_STUCOMUID) && (strlen(s->StuComUID) != 0)) { | ^~~~~~ fisinsert.c:377:50: note: include '' or provide a declaration of 'strlen' tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:385:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 385 | TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:385:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 385 | TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:385:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 385 | TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:385:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 385 | TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:389:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 389 | TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:389:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 389 | TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:389:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 389 | TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:389:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 389 | TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:393:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 393 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:393:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 393 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:393:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 393 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:393:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 393 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:397:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 397 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:397:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 397 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:397:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 397 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:397:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 397 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:401:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 401 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:401:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 401 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:401:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 401 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:401:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 401 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertSCImageRecord': fisinsert.c:427:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 427 | if ((s->Flag & FIS_K_SCIMAGE_SOPINSUID) && (strlen(s->SOPInsUID) != 0)) { | ^~~~~~ fisinsert.c:427:49: note: include '' or provide a declaration of 'strlen' fisinsert.c:436:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 436 | if ((s->Flag & FIS_K_SCIMAGE_SERINSUID) && (strlen(s->SerInsUID) != 0)) { | ^~~~~~ fisinsert.c:436:49: note: include '' or provide a declaration of 'strlen' fisinsert.c:444:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 444 | if ((s->Flag & FIS_K_SCIMAGE_STUCOMUID) && (strlen(s->StuComUID) != 0)) { | ^~~~~~ fisinsert.c:444:49: note: include '' or provide a declaration of 'strlen' fisinsert.c:450:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 450 | if ((s->Flag & FIS_K_SCIMAGE_SOPCLAUID) && (strlen(s->SOPClaUID) != 0)) { | ^~~~~~ fisinsert.c:450:49: note: include '' or provide a declaration of 'strlen' tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:459:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 459 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:459:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 459 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:459:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 459 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:459:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 459 | TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:463:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 463 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:463:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 463 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:463:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 463 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:463:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 463 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:467:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 467 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:467:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 467 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:467:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 467 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:467:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 467 | TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertResultsRecord': fisinsert.c:511:46: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 511 | if ((s->Flag & FIS_K_RESULTS_RESUID) && (strlen(s->ResUID) != 0)) { | ^~~~~~ fisinsert.c:511:46: note: include '' or provide a declaration of 'strlen' fisinsert.c:518:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 518 | if ((s->Flag & FIS_K_RESULTS_STUINSUID) && (strlen(s->StuInsUID) != 0)) { | ^~~~~~ fisinsert.c:518:49: note: include '' or provide a declaration of 'strlen' tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:526:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 526 | TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:526:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 526 | TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:526:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 526 | TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:526:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 526 | TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:530:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 530 | TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:530:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 530 | TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:530:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 530 | TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:530:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 530 | TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:534:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 534 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:534:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 534 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:534:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 534 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:534:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 534 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:538:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 538 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:538:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 538 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:538:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 538 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:538:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 538 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:542:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 542 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:542:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 542 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:542:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 542 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:542:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 542 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertInterpretationRecord': fisinsert.c:586:45: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 586 | if ((s->Flag & FIS_K_INTERP_INTUID) && (strlen(s->IntUID) != 0)) { | ^~~~~~ fisinsert.c:586:45: note: include '' or provide a declaration of 'strlen' fisinsert.c:593:45: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 593 | if ((s->Flag & FIS_K_INTERP_RESUID) && (strlen(s->ResUID) != 0)) { | ^~~~~~ fisinsert.c:593:45: note: include '' or provide a declaration of 'strlen' tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:601:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 601 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:601:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 601 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:601:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 601 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:601:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 601 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:605:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 605 | TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:605:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 605 | TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:605:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 605 | TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:605:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 605 | TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:609:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 609 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:609:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 609 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:609:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 609 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:609:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 609 | TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:613:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 613 | TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:613:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 613 | TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:613:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 613 | TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:613:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 613 | TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:617:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 617 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:617:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 617 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:617:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 617 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:617:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 617 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:621:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 621 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:621:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 621 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:621:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 621 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:621:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 621 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:625:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 625 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:625:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 625 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:625:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 625 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:625:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 625 | TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:629:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 629 | TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:629:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 629 | TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:629:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 629 | TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:629:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 629 | TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:633:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 633 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:633:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 633 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:633:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 633 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:633:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 633 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:637:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 637 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:637:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 637 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:637:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 637 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:637:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 637 | TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertStorageCommitReq': fisinsert.c:667:46: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 667 | if ((s->Flag & FIS_K_SCOMMIT_TRAUID) && (strlen(s->TraUID) != 0)) { | ^~~~~~ fisinsert.c:667:46: note: include '' or provide a declaration of 'strlen' fisinsert.c:674:45: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 674 | if ((s->Flag & FIS_K_SCOMMIT_REQAE) && (strlen(s->ReqAE) != 0)) { | ^~~~~~ fisinsert.c:674:45: note: include '' or provide a declaration of 'strlen' tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:682:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 682 | TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:682:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 682 | TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:682:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 682 | TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ fisinsert.c:682:9: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 682 | TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ fisinsert.c: In function 'insertCommitSOPRef': fisinsert.c:729:48: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 729 | if ((s->Flag & FIS_K_COMMITSOP_TRAUID) && (strlen(s->TraUID) != 0)) { | ^~~~~~ fisinsert.c:729:48: note: include '' or provide a declaration of 'strlen' fisinsert.c:736:51: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 736 | if ((s->Flag & FIS_K_COMMITSOP_SOPCLAUID) && (strlen(s->SOPClaUID) != 0)) { | ^~~~~~ fisinsert.c:736:51: note: include '' or provide a declaration of 'strlen' fisinsert.c:743:51: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 743 | if ((s->Flag & FIS_K_COMMITSOP_SOPINSUID) && (strlen(s->SOPInsUID) != 0)) { | ^~~~~~ fisinsert.c:743:51: note: include '' or provide a declaration of 'strlen' fisinsert.c: In function 'insertWorkQueueRecord': fisinsert.c:773:48: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 773 | if ((r->Flag & FIS_K_WORKQUEUE_TASNAM) && (strlen(r->TasNam) != 0)) { | ^~~~~~ fisinsert.c:773:48: note: include '' or provide a declaration of 'strlen' fisinsert.c:780:47: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 780 | if ((r->Flag & FIS_K_WORKQUEUE_TASID) && (strlen(r->TasID) != 0)) { | ^~~~~~ fisinsert.c:780:47: note: include '' or provide a declaration of 'strlen' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o get.o get.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gq.o gq.c gq.c: In function 'GQ_KillQueue': gq.c:171:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 171 | unlink(GQ_MakeFilename(qid)); | ^~~~~~ gq.c: In function 'access_queue': gq.c:1063:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1063 | fscanf(fd, "%d", &SEM_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gq.c:1064:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1064 | fscanf(fd, "%d", &SHM_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gq.c: In function 'GQ_GetQueue': gq.c:570:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 570 | fscanf(fd, "%d", &SEM_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gq.c:571:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 571 | fscanf(fd, "%d", &SHM_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gq.c: In function 'GQ_MakeFilename': gq.c:953:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 953 | sprintf(temp, "%d", qid); | ^~ gq.c:953:19: note: directive argument in the range [-2147483648, 200] 953 | sprintf(temp, "%d", qid); | ^~~~ In file included from /usr/include/stdio.h:906, from gq.c:55: In function 'sprintf', inlined from 'GQ_MakeFilename' at gq.c:953:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hapbuildinterp.o hapbuildinterp.c hapbuildinterp.c: In function 'i_buildSequence': hapbuildinterp.c:370:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 370 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hapbuildpatient.o hapbuildpatient.c hapbuildpatient.c: In function 'p_buildSequence': hapbuildpatient.c:322:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 322 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hapbuildresults.o hapbuildresults.c hapbuildresults.c: In function 'r_buildSequence': hapbuildresults.c:297:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 297 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hapbuildstudy.o hapbuildstudy.c hapbuildstudy.c: In function 's_buildSequence': hapbuildstudy.c:454:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 454 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hapbuildvisit.o hapbuildvisit.c hapbuildvisit.c: In function 'v_buildSequence': hapbuildvisit.c:380:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 380 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hapcond.o hapcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hisdb.o hisdb.c hisdb.c: In function 'HIS_DeleteDB': hisdb.c:158:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 158 | unlink(dbkey); | ^~~~~~ hisdb.c: In function 'HIS_DumpDB': hisdb.c:3919:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3919 | printf("\t#Visits: %d #Studies: %d\n", p.RVSequenceCount, p.RSSequenceCount); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld hisdb.c:3919:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 3919 | printf("\t#Visits: %d #Studies: %d\n", p.RVSequenceCount, p.RSSequenceCount); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld hisdb.c:3935:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3935 | printf("\t#Patients: %d #Studies: %d\n", v.RPSequenceCount, v.RSSequenceCount); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld hisdb.c:3935:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 3935 | printf("\t#Patients: %d #Studies: %d\n", v.RPSequenceCount, v.RSSequenceCount); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld hisdb.c:3951:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3951 | printf("\t#Patients: %d #Visits: %d #Results: %d\n", | ~^ | | | int | %ld 3952 | s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount); | ~~~~~~~~~~~~~~~~~ | | | long int hisdb.c:3951:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 3951 | printf("\t#Patients: %d #Visits: %d #Results: %d\n", | ~^ | | | int | %ld 3952 | s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount); | ~~~~~~~~~~~~~~~~~ | | | long int hisdb.c:3951:58: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 3951 | printf("\t#Patients: %d #Visits: %d #Results: %d\n", | ~^ | | | int | %ld 3952 | s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount); | ~~~~~~~~~~~~~~~~~ | | | long int hisdb.c:3970:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3970 | printf("\t#Studies: %d #Interpretations: %d\n", | ~^ | | | int | %ld 3971 | r.RSSequenceCount, r.RISequenceCount); | ~~~~~~~~~~~~~~~~~ | | | long int hisdb.c:3970:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 3970 | printf("\t#Studies: %d #Interpretations: %d\n", | ~^ | | | int | %ld 3971 | r.RSSequenceCount, r.RISequenceCount); | ~~~~~~~~~~~~~~~~~ | | | long int hisdb.c:3987:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 3987 | printf("\t#Results: %d\n", in.RRSequenceCount); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hunk_man.o hunk_man.c hunk_man.c: In function 'HF_Create': hunk_man.c:204:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 204 | close(GS_hunkfd); | ^~~~~ | pclose hunk_man.c: In function 'HF_Open': hunk_man.c:347:10: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 347 | if ((read(GS_hunkfd, (char *) &GS_hfh, sizeof(HunkFileHeader))) != | ^~~~ | fread hunk_man.c:379:10: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 379 | if ((lseek(GS_hunkfd, (off_t) seek_pos, SEEK_SET)) < 0) { | ^~~~~ | fseek hunk_man.c: In function 'HF_WriteCurrentHunk': hunk_man.c:554:14: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 554 | wb = write(GS_hunkfd, (char *) GS_hunkstorage, GS_hfh.hunk_length); | ^~~~~ | fwrite hunk_man.c: In function 'HF_ExclusiveLock': hunk_man.c:1281:9: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 1281 | sleep(1); | ^~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iap.o iap.c iap.c: In function 'IAP_SendImage': iap.c:172:30: warning: passing argument 5 of 'SRV_CStoreRequest' from incompatible pointer type [-Wincompatible-pointer-types] 172 | sendCallback, callbackCtx, ""); | ^~~~~~~~~~~~ | | | CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *) {aka long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *)} In file included from iap.c:84: dicom_services.h:160:46: note: expected 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, void *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, void *)'} but argument is of type 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *)'} 160 | SRV_C_STORE_REQ_CALLBACK * callback, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iapcond.o iapcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o icon.o icon.c icon.c: In function 'ICON_AppendStudyOffset': icon.c:116:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 116 | if (write(fd, (char *) studyoffset, sizeof(ICON_STUDYOFFSET)) | ^~~~~ | fwrite icon.c:120:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 120 | close(fd); | ^~~~~ | pclose icon.c: In function 'ICON_GetStudyOffsetLst': icon.c:167:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 167 | while ((fdcond = read(fd, (char *) &temp, sizeof(ICON_STUDYOFFSET))) == | ^~~~ | fread icon.c: In function 'ICON_DumpStudyOffset': icon.c:218:58: warning: format '%d' expects argument of type 'int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 218 | printf("(%03d) Accession Number = %s \toffset = %d\n", | ~^ | | | int | %ld ...... 221 | item->studyoffset.Offset); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} icon.c: In function 'ICON_GetStudyIconLst': icon.c:357:9: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 357 | if (lseek(fd, studyoffset->Offset, SEEK_SET) < 0) | ^~~~~ | fseek gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iconcond.o iconcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ie.o ie.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iecond.o iecond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o insert.o insert.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o irs.o irs.c irs.c: In function 'workRecordCallback': irs.c:100:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 100 | strcpy(w->PatID, field[i].Value.Value.String); | ^~~~~~ irs.c:65:1: note: include '' or provide a declaration of 'strcpy' 64 | #include "irs_private.h" +++ |+#include 65 | irs.c:100:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 100 | strcpy(w->PatID, field[i].Value.Value.String); | ^~~~~~ irs.c:100:5: note: include '' or provide a declaration of 'strcpy' In file included from irs.c:61: irs.c: In function 'IRS_EnterWorkRecord': tbl.h:173:28: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 263 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 263 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 263 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 263 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 263 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 263 | TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 265 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 265 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 265 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 265 | TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 267 | TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 267 | TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 267 | TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 267 | TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 269 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 269 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 269 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 269 | TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 271 | TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 271 | TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 271 | TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 271 | TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 273 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 273 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 273 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 273 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 275 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 275 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 275 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 275 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 277 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 277 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 277 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 277 | TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 279 | TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 279 | TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 279 | TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 279 | TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 281 | TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 281 | TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 281 | TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 281 | TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 283 | TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' 173 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 283 | TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 283 | TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' 177 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 283 | TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); | ^~~~~~~~~~~~~~~~~~~ irs.c:295:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 295 | if (strlen(r.StuDat) != 0) | ^~~~~~ irs.c:295:9: note: include '' or provide a declaration of 'strlen' irs.c: In function 'IRS_GetWorkQueue': irs.c:385:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 385 | memset(&r, 0, sizeof(r)); | ^~~~~~ irs.c:385:5: note: include '' or provide a declaration of 'memset' irs.c:385:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] irs.c:385:5: note: include '' or provide a declaration of 'memset' irs.c:389:29: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 389 | NULL, workRecordCallback, &s); | ^~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irs.c: In function 'IRS_GetWorkRecord': tbl.h:163:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 163 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:465:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' 465 | TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, | ^~~~~~~~~~~~~~~~~~~~~~ tbl.h:163:28: note: include '' or provide a declaration of 'strlen' 163 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:465:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' 465 | TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, | ^~~~~~~~~~~~~~~~~~~~~~ irs.c:469:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 469 | memset(&r, 0, sizeof(r)); | ^~~~~~ irs.c:469:5: note: include '' or provide a declaration of 'memset' irs.c:473:31: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 473 | &count, workRecordCallback, &s); | ^~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irs.c: In function 'IRS_SetWorkRecordComplete': tbl.h:163:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 163 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:505:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' 505 | TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, | ^~~~~~~~~~~~~~~~~~~~~~ tbl.h:163:28: note: include '' or provide a declaration of 'strlen' 163 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:505:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' 505 | TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, | ^~~~~~~~~~~~~~~~~~~~~~ irs.c:521:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 521 | strcpy(status, "COMPLETE"); | ^~~~~~ irs.c:521:5: note: include '' or provide a declaration of 'strcpy' tbl.h:188:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 188 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' 522 | TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, | ^~~~~~~~~~~~~~~~~~~~ tbl.h:188:28: note: include '' or provide a declaration of 'strlen' 188 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' 522 | TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, | ^~~~~~~~~~~~~~~~~~~~ tbl.h:192:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 192 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' 522 | TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, | ^~~~~~~~~~~~~~~~~~~~ tbl.h:192:28: note: include '' or provide a declaration of 'strlen' 192 | (v).Value.Size=strlen((s)); \ | ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' 522 | TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, | ^~~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o irscond.o irscond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lst.o lst.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lstcond.o lstcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mancond.o mancond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o messages.o messages.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o motifutil.o motifutil.c motifutil.c: In function 'MUT_ScanWidget': motifutil.c:163:31: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'void *' [-Wformat=] 163 | if (sscanf(txt, "%d", d) != 1) | ~^ ~ | | | | | void * | int * motifutil.c:167:31: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'void *' [-Wformat=] 167 | if (sscanf(txt, "%f", d) != 1) | ~^ ~ | | | | | void * | float * motifutil.c:171:32: warning: format '%hd' expects argument of type 'short int *', but argument 3 has type 'void *' [-Wformat=] 171 | if (sscanf(txt, "%hd", d) != 1) | ~~^ ~ | | | | | void * | short int * motifutil.c: In function 'MUT_DisplayConditionText': motifutil.c:198:5: warning: implicit declaration of function 'COND_CopyText' [-Wimplicit-function-declaration] 198 | COND_CopyText(text, sizeof(text)); | ^~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o move.o move.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o msgcond.o msgcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o naction.o naction.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ncreate.o ncreate.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ndelete.o ndelete.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o neventreport.o neventreport.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nget.o nget.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nset.o nset.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print.o print.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o printcond.o printcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o private.o private.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o record.o record.c record.c: In function 'newPatientRecord': record.c:176:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=] 176 | sprintf(record->PatID, "ID%-08d", patientNumber); | ^~~~~~~~~ record.c: In function 'newStudyRecord': record.c:224:29: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=] 224 | sprintf(record->AccNum, "ID%-08d", id); | ^~~~~~~~~ record.c:232:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=] 232 | sprintf(record->StuID, "ID%-08d", id); | ^~~~~~~~~ record.c: In function 'newResultsRecord': record.c:291:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=] 291 | sprintf(record->ResID, "RES%-08d", id); | ^~~~~~~~~~ record.c: In function 'newInterpretationRecord': record.c:338:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=] 338 | sprintf(record->IntID, "INT%-08d", id); | ^~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ref_item.o ref_item.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o select.o select.c select.c: In function 'queryAE': select.c:283:38: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 283 | fields, count, callbackAE, &context); | ^~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryGroupNames': select.c:427:38: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 427 | fields, count, callbackGroup, &context); | ^~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryStorageAccess': select.c:486:60: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 486 | cond = TBL_Select(handle, criteriaList, fields, count, callbackSA, &context); | ^~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryStorageControl': select.c:589:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 589 | callbackStorageControl, &context); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'querySecurityMatrix': select.c:689:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 689 | callbackSecurityMatrix, &context); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryFISAccess': select.c:787:60: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 787 | cond = TBL_Select(handle, criteriaList, fields, count, callbackFA, &context); | ^~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryPrintServerCFG': select.c:893:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 893 | callbackPrintServerCFG, &context); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryVideoImageDest': select.c:994:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 994 | callbackVideoImageDest, &context); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o send.o send.c send.c: In function 'SRV_SendDataSet': send.c:383:62: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 383 | printf("Unexepected condition after export command: %x\n", cond); | ~^ ~~~~ | | | | | CONDITION {aka long unsigned int} | unsigned int | %lx gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sequences.o sequences.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o set.o set.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snp.o snp.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snpcond.o snpcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sqcond.o sqcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o srv1.o srv1.c srv1.c: In function 'SRV_RequestServiceClass': srv1.c:440:38: warning: passing argument 7 of 'DUL_AddSinglePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 440 | 0, SOPClass, xferSyntaxes, | ^~~~~~~~~~~~ | | | char ** In file included from srv1.c:96: dulprotocol.h:389:38: note: expected 'const char **' but argument is of type 'char **' 389 | const char** xferSyntaxes, int xferSyntaxCount); | ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c:445:38: warning: passing argument 7 of 'DUL_AddMultiplePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 445 | 0, SOPClass, xferSyntaxes, | ^~~~~~~~~~~~ | | | char ** dulprotocol.h:396:38: note: expected 'const char **' but argument is of type 'char **' 396 | const char** xferSyntaxes, int xferSyntaxCount); | ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c: In function 'SRV_ProposeSOPClassWithXfer': srv1.c:678:38: warning: passing argument 7 of 'DUL_AddSinglePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 678 | 0, SOPClass, xferSyntaxesLocal, | ^~~~~~~~~~~~~~~~~ | | | char ** dulprotocol.h:389:38: note: expected 'const char **' but argument is of type 'char **' 389 | const char** xferSyntaxes, int xferSyntaxCount); | ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c:683:38: warning: passing argument 7 of 'DUL_AddMultiplePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 683 | 0, SOPClass, xferSyntaxesLocal, | ^~~~~~~~~~~~~~~~~ | | | char ** dulprotocol.h:396:38: note: expected 'const char **' but argument is of type 'char **' 396 | const char** xferSyntaxes, int xferSyntaxCount); | ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c: In function 'SRV_AcceptServiceClassWithOneXferSyntax': srv1.c:951:40: warning: passing argument 3 of 'matchProposedXferSyntax' from incompatible pointer type [-Wincompatible-pointer-types] 951 | "ACCEPT/XFER", &singleXferSyntax, 1); | ^~~~~~~~~~~~~~~~~ | | | const char ** srv1.c:315:32: note: expected 'char **' but argument is of type 'const char **' 315 | char** xferSyntaxes, int xferSyntaxCount) | ~~~~~~~^~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o srv2.o srv2.c srv2.c: In function 'SRVPRV_ReadNextPDV': srv2.c:777:45: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 777 | sprintf(msg, "DUL Error: %08x\n", cond); | ~~~^ ~~~~ | | | | | CONDITION {aka long unsigned int} | unsigned int | %08lx srv2.c: In function 'SRV_ReceiveDataSet': srv2.c:489:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | write(fd1, stream, bytesRead); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o srvcond.o srvcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o storage.o storage.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o thrcond.o thrcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o uid.o uid.c uid.c: In function 'writeUIDFile': uid.c:625:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 625 | fprintf(f, "%s %20d\n", map[index].keyWord, *map[index].value); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %20ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o uidcond.o uidcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o update.o update.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o utility.o utility.c utility.c: In function 'UTL_ConvertTimetoFloat': utility.c:355:9: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 355 | if (isdigit(*p)) { | ^~~~~~~ utility.c:62:1: note: include '' or provide a declaration of 'isdigit' 61 | #include "utility.h" +++ |+#include 62 | #ifndef _MSC_VER gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o verify.o verify.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xutl.o xutl.c xutl.c: In function 'addFont': xutl.c:48:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 48 | fprintf(stderr, "Could not allocated %d bytes for fontmap \n", | ~^ | | | int | %ld 49 | sizeof(*m)); | ~~~~~~~~~~ | | | long unsigned int gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tbl_mysql.o tbl_mysql.c tbl_mysql.c: In function 'TBL_Select': tbl_mysql.c:525:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 525 | cp = criteriaList; | ^ tbl_mysql.c: In function 'TBL_Update': tbl_mysql.c:757:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 757 | if ((cp = criteriaList) != (TBL_CRITERIA *) NULL) { | ^ tbl_mysql.c: In function 'TBL_Delete': tbl_mysql.c:1091:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1091 | cp = criteriaList; | ^ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tblcond.o tblcond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o idb.o idb.c idb.c: In function 'localIncrement': idb.c:483:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 483 | exit(1); | ^~~~ idb.c:70:1: note: include '' or provide a declaration of 'exit' 69 | #include "utility.h" +++ |+#include 70 | #ifdef CTN_USE_THREADS idb.c:483:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 483 | exit(1); | ^~~~ idb.c:483:9: note: include '' or provide a declaration of 'exit' idb.c:502:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 502 | exit(1); | ^~~~ idb.c:502:13: note: include '' or provide a declaration of 'exit' idb.c: In function 'localDecrement': idb.c:534:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 534 | exit(1); | ^~~~ idb.c:534:9: note: include '' or provide a declaration of 'exit' idb.c:553:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 553 | exit(1); | ^~~~ idb.c:553:13: note: include '' or provide a declaration of 'exit' idb.c: In function 'IDB_Open': idb.c:667:5: warning: implicit declaration of function 'THR_ObtainMutex' [-Wimplicit-function-declaration] 667 | THR_ObtainMutex(FAC_IDB); | ^~~~~~~~~~~~~~~ idb.c:679:13: warning: implicit declaration of function 'THR_ReleaseMutex' [-Wimplicit-function-declaration] 679 | THR_ReleaseMutex(FAC_IDB); | ^~~~~~~~~~~~~~~~ idb.c:693:16: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration] 693 | return COND_PushCondition(IDB_ERROR(IDB_BADDBTABPAIR), databaseName, "PatientLevel", "IDB_Open"); | ^~~~~~~~~~~~~~~~~~ idb.c:753:33: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 753 | if ((idbc = (IDB_CONTEXT *) malloc(sizeof(IDB_CONTEXT))) == (IDB_CONTEXT *) NULL) { | ^~~~~~ idb.c:753:33: note: include '' or provide a declaration of 'malloc' idb.c:753:33: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] idb.c:753:33: note: include '' or provide a declaration of 'malloc' idb.c:768:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 768 | if ((tdb = (char *) malloc(strlen(databaseName) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:768:25: note: include '' or provide a declaration of 'malloc' idb.c:779:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 779 | free(idbc); | ^~~~ idb.c:779:9: note: include '' or provide a declaration of 'free' idb.c:779:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] idb.c:779:9: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Close': idb.c:847:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 847 | free(idbc->databaseName); | ^~~~ idb.c:847:13: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Delete': idb.c:1011:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1011 | temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + (strlen(uid) +1)); | ^~~~~~ idb.c:1011:30: note: include '' or provide a declaration of 'malloc' idb.c:1365:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1365 | ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBDel_CollectStudies, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1387:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1387 | ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBDel_CollectSeries, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1410:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1410 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBDel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1433:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1433 | free(temp_node); | ^~~~ idb.c:1433:13: note: include '' or provide a declaration of 'free' idb.c:1447:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1447 | free(temp_node); | ^~~~ idb.c:1447:13: note: include '' or provide a declaration of 'free' idb.c:1461:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1461 | free(temp_node); | ^~~~ idb.c:1461:13: note: include '' or provide a declaration of 'free' idb.c:1493:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1493 | free(temp_node); | ^~~~ idb.c:1493:13: note: include '' or provide a declaration of 'free' idb.c: In function 'deleteInstanceFileCallback': idb.c:1521:17: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 1521 | if (unlink(fp->Value.Value.String) != 0) | ^~~~~~ idb.c: In function 'deleteImageFiles': idb.c:1540:23: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1540 | deleteInstanceFileCallback, bytesFreed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c: In function 'IDB_DestroyGlobalLists': idb.c:1560:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1560 | free(foo); | ^~~~ idb.c:1560:9: note: include '' or provide a declaration of 'free' idb.c:1566:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1566 | free(foo); | ^~~~ idb.c:1566:9: note: include '' or provide a declaration of 'free' idb.c:1572:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1572 | free(foo); | ^~~~ idb.c:1572:9: note: include '' or provide a declaration of 'free' idb.c:1578:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1578 | free(foo); | ^~~~ idb.c:1578:9: note: include '' or provide a declaration of 'free' idb.c: In function 'CBDel_CollectImages': idb.c:1596:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1596 | temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1); | ^~~~~~ idb.c:1596:30: note: include '' or provide a declaration of 'malloc' idb.c: In function 'CBDel_CollectSeries': idb.c:1613:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1613 | temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1); | ^~~~~~ idb.c:1613:30: note: include '' or provide a declaration of 'malloc' idb.c: In function 'CBDel_CollectStudies': idb.c:1630:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1630 | temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1); | ^~~~~~ idb.c:1630:30: note: include '' or provide a declaration of 'malloc' idb.c: In function 'IDB_Select_View': idb.c:1851:30: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1851 | CBSel_CollectPatientsStudies, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1853:13: note: in expansion of macro 'FREE_STRINGS' 1853 | FREE_STRINGS(i, GS_patstucl, numpatstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1853:13: note: in expansion of macro 'FREE_STRINGS' 1853 | FREE_STRINGS(i, GS_patstucl, numpatstucrits); | ^~~~~~~~~~~~ idb.c:1855:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1855 | free(GS_PatNodes); | ^~~~ idb.c:1855:17: note: include '' or provide a declaration of 'free' idb.c:1857:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1857 | free(GS_NullPatFlag); | ^~~~ idb.c:1857:17: note: include '' or provide a declaration of 'free' idb.c:1860:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1860 | free(GS_StuNodes); | ^~~~ idb.c:1860:17: note: include '' or provide a declaration of 'free' idb.c:1862:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1862 | free(GS_NullStuFlag); | ^~~~ idb.c:1862:17: note: include '' or provide a declaration of 'free' idb.c:1896:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1896 | free(temp); | ^~~~ idb.c:1896:21: note: include '' or provide a declaration of 'free' idb.c:1897:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1897 | if ((temp = (char *) malloc(strlen(GS_StuNodes[i].StuInsUID) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:1897:38: note: include '' or provide a declaration of 'malloc' idb.c:1905:73: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1905 | ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1909:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1909 | ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1912:13: note: in expansion of macro 'FREE_STRINGS' 1912 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1912:13: note: in expansion of macro 'FREE_STRINGS' 1912 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1914:17: note: in expansion of macro 'FREE_STRINGS' 1914 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1914:17: note: in expansion of macro 'FREE_STRINGS' 1914 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:1915:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1915 | free(GS_PatNodes); | ^~~~ idb.c:1915:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1919:17: note: in expansion of macro 'FREE_STRINGS' 1919 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1919:17: note: in expansion of macro 'FREE_STRINGS' 1919 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.c:1920:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1920 | free(GS_StuNodes); | ^~~~ idb.c:1920:17: note: include '' or provide a declaration of 'free' idb.c:1924:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1924 | free(GS_SerNodes); | ^~~~ idb.c:1924:17: note: include '' or provide a declaration of 'free' idb.c:1955:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1955 | free(temp); | ^~~~ idb.c:1955:21: note: include '' or provide a declaration of 'free' idb.c:1956:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1956 | if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:1956:38: note: include '' or provide a declaration of 'malloc' idb.c:1964:73: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1964 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1968:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 1968 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1971:13: note: in expansion of macro 'FREE_STRINGS' 1971 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1971:13: note: in expansion of macro 'FREE_STRINGS' 1971 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1973:17: note: in expansion of macro 'FREE_STRINGS' 1973 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1973:17: note: in expansion of macro 'FREE_STRINGS' 1973 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:1974:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1974 | free(GS_PatNodes); | ^~~~ idb.c:1974:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1978:17: note: in expansion of macro 'FREE_STRINGS' 1978 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1978:17: note: in expansion of macro 'FREE_STRINGS' 1978 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.c:1979:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1979 | free(GS_StuNodes); | ^~~~ idb.c:1979:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1983:17: note: in expansion of macro 'FREE_STRINGS' 1983 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:1983:17: note: in expansion of macro 'FREE_STRINGS' 1983 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.c:1984:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1984 | free(GS_SerNodes); | ^~~~ idb.c:1984:17: note: include '' or provide a declaration of 'free' idb.c:1988:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1988 | free(GS_ImaNodes); | ^~~~ idb.c:1988:17: note: include '' or provide a declaration of 'free' idb.c:2014:68: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2014 | ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances, | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2023:9: note: in expansion of macro 'FREE_STRINGS' 2023 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2023:9: note: in expansion of macro 'FREE_STRINGS' 2023 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2026:9: note: in expansion of macro 'FREE_STRINGS' 2026 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2026:9: note: in expansion of macro 'FREE_STRINGS' 2026 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2029:9: note: in expansion of macro 'FREE_STRINGS' 2029 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2029:9: note: in expansion of macro 'FREE_STRINGS' 2029 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2032:9: note: in expansion of macro 'FREE_STRINGS' 2032 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2032:9: note: in expansion of macro 'FREE_STRINGS' 2032 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.c:2154:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2154 | free(GS_PatNodes); | ^~~~ idb.c:2154:9: note: include '' or provide a declaration of 'free' idb.c:2158:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2158 | free(GS_StuNodes); | ^~~~ idb.c:2158:9: note: include '' or provide a declaration of 'free' idb.c:2162:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2162 | free(GS_SerNodes); | ^~~~ idb.c:2162:9: note: include '' or provide a declaration of 'free' idb.c:2172:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2172 | free(insnode); | ^~~~ idb.c:2172:21: note: include '' or provide a declaration of 'free' idb.c:2177:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2177 | free(GS_ImaNodes); | ^~~~ idb.c:2177:9: note: include '' or provide a declaration of 'free' idb.c:2188:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2188 | free(GS_PatNodes); | ^~~~ idb.c:2188:9: note: include '' or provide a declaration of 'free' idb.c:2192:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2192 | free(GS_StuNodes); | ^~~~ idb.c:2192:9: note: include '' or provide a declaration of 'free' idb.c:2196:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2196 | free(GS_SerNodes); | ^~~~ idb.c:2196:9: note: include '' or provide a declaration of 'free' idb.c:2206:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2206 | free(insnode); | ^~~~ idb.c:2206:21: note: include '' or provide a declaration of 'free' idb.c:2211:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2211 | free(GS_ImaNodes); | ^~~~ idb.c:2211:9: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Select_NoView': idb.c:2322:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2322 | ret_val = TBL_Select(&pathandle, criteria, field, NULL, CBSel_CollectPatients, NULL); | ^~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2324:13: note: in expansion of macro 'FREE_STRINGS' 2324 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2324:13: note: in expansion of macro 'FREE_STRINGS' 2324 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:2326:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2326 | free(GS_PatNodes); | ^~~~ idb.c:2326:17: note: include '' or provide a declaration of 'free' idb.c:2328:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2328 | free(GS_NullPatFlag); | ^~~~ idb.c:2328:17: note: include '' or provide a declaration of 'free' idb.c:2359:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2359 | free(temp); | ^~~~ idb.c:2359:21: note: include '' or provide a declaration of 'free' idb.c:2360:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 2360 | if ((temp = (char *) malloc(strlen(GS_PatNodes[i].PatID) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:2360:38: note: include '' or provide a declaration of 'malloc' idb.c:2368:73: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2368 | ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBSel_CollectStudies, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2372:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2372 | ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBSel_CollectStudies, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2376:13: note: in expansion of macro 'FREE_STRINGS' 2376 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2376:13: note: in expansion of macro 'FREE_STRINGS' 2376 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2378:17: note: in expansion of macro 'FREE_STRINGS' 2378 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2378:17: note: in expansion of macro 'FREE_STRINGS' 2378 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:2379:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2379 | free(GS_PatNodes); | ^~~~ idb.c:2379:17: note: include '' or provide a declaration of 'free' idb.c:2383:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2383 | free(GS_StuNodes); | ^~~~ idb.c:2383:17: note: include '' or provide a declaration of 'free' idb.c:2417:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2417 | free(temp); | ^~~~ idb.c:2417:21: note: include '' or provide a declaration of 'free' idb.c:2418:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 2418 | if ((temp = (char *) malloc(strlen(GS_StuNodes[i].StuInsUID) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:2418:38: note: include '' or provide a declaration of 'malloc' idb.c:2426:73: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2426 | ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2430:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2430 | ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2434:13: note: in expansion of macro 'FREE_STRINGS' 2434 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2434:13: note: in expansion of macro 'FREE_STRINGS' 2434 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2436:17: note: in expansion of macro 'FREE_STRINGS' 2436 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2436:17: note: in expansion of macro 'FREE_STRINGS' 2436 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:2437:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2437 | free(GS_PatNodes); | ^~~~ idb.c:2437:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2441:17: note: in expansion of macro 'FREE_STRINGS' 2441 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2441:17: note: in expansion of macro 'FREE_STRINGS' 2441 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.c:2442:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2442 | free(GS_StuNodes); | ^~~~ idb.c:2442:17: note: include '' or provide a declaration of 'free' idb.c:2446:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2446 | free(GS_SerNodes); | ^~~~ idb.c:2446:17: note: include '' or provide a declaration of 'free' idb.c:2477:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2477 | free(temp); | ^~~~ idb.c:2477:21: note: include '' or provide a declaration of 'free' idb.c:2478:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 2478 | if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:2478:38: note: include '' or provide a declaration of 'malloc' idb.c:2486:73: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2486 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2490:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2490 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2494:13: note: in expansion of macro 'FREE_STRINGS' 2494 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2494:13: note: in expansion of macro 'FREE_STRINGS' 2494 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2496:17: note: in expansion of macro 'FREE_STRINGS' 2496 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2496:17: note: in expansion of macro 'FREE_STRINGS' 2496 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:2497:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2497 | free(GS_PatNodes); | ^~~~ idb.c:2497:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2501:17: note: in expansion of macro 'FREE_STRINGS' 2501 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2501:17: note: in expansion of macro 'FREE_STRINGS' 2501 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.c:2502:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2502 | free(GS_StuNodes); | ^~~~ idb.c:2502:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2506:17: note: in expansion of macro 'FREE_STRINGS' 2506 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2506:17: note: in expansion of macro 'FREE_STRINGS' 2506 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.c:2507:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2507 | free(GS_SerNodes); | ^~~~ idb.c:2507:17: note: include '' or provide a declaration of 'free' idb.c:2511:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2511 | free(GS_ImaNodes); | ^~~~ idb.c:2511:17: note: include '' or provide a declaration of 'free' idb.c:2537:68: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2537 | ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances, | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2546:9: note: in expansion of macro 'FREE_STRINGS' 2546 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2546:9: note: in expansion of macro 'FREE_STRINGS' 2546 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2549:9: note: in expansion of macro 'FREE_STRINGS' 2549 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2549:9: note: in expansion of macro 'FREE_STRINGS' 2549 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2552:9: note: in expansion of macro 'FREE_STRINGS' 2552 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2552:9: note: in expansion of macro 'FREE_STRINGS' 2552 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2555:9: note: in expansion of macro 'FREE_STRINGS' 2555 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2555:9: note: in expansion of macro 'FREE_STRINGS' 2555 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.c:2687:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2687 | free(GS_PatNodes); | ^~~~ idb.c:2687:9: note: include '' or provide a declaration of 'free' idb.c:2691:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2691 | free(GS_StuNodes); | ^~~~ idb.c:2691:9: note: include '' or provide a declaration of 'free' idb.c:2695:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2695 | free(GS_SerNodes); | ^~~~ idb.c:2695:9: note: include '' or provide a declaration of 'free' idb.c:2705:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2705 | free(insnode); | ^~~~ idb.c:2705:21: note: include '' or provide a declaration of 'free' idb.c:2710:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2710 | free(GS_ImaNodes); | ^~~~ idb.c:2710:9: note: include '' or provide a declaration of 'free' idb.c:2721:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2721 | free(GS_PatNodes); | ^~~~ idb.c:2721:9: note: include '' or provide a declaration of 'free' idb.c:2725:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2725 | free(GS_StuNodes); | ^~~~ idb.c:2725:9: note: include '' or provide a declaration of 'free' idb.c:2729:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2729 | free(GS_SerNodes); | ^~~~ idb.c:2729:9: note: include '' or provide a declaration of 'free' idb.c:2739:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2739 | free(insnode); | ^~~~ idb.c:2739:21: note: include '' or provide a declaration of 'free' idb.c:2744:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2744 | free(GS_ImaNodes); | ^~~~ idb.c:2744:9: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Select_ImageLevel': idb.c:2855:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2855 | free(temp); | ^~~~ idb.c:2855:21: note: include '' or provide a declaration of 'free' idb.c:2856:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 2856 | if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) { | ^~~~~~ idb.c:2856:38: note: include '' or provide a declaration of 'malloc' idb.c:2864:73: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2864 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2868:69: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2868 | ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); | ^~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2872:13: note: in expansion of macro 'FREE_STRINGS' 2872 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2872:13: note: in expansion of macro 'FREE_STRINGS' 2872 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2874:17: note: in expansion of macro 'FREE_STRINGS' 2874 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2874:17: note: in expansion of macro 'FREE_STRINGS' 2874 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.c:2875:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2875 | free(GS_PatNodes); | ^~~~ idb.c:2875:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2879:17: note: in expansion of macro 'FREE_STRINGS' 2879 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2879:17: note: in expansion of macro 'FREE_STRINGS' 2879 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.c:2880:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2880 | free(GS_StuNodes); | ^~~~ idb.c:2880:17: note: include '' or provide a declaration of 'free' idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2884:17: note: in expansion of macro 'FREE_STRINGS' 2884 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2884:17: note: in expansion of macro 'FREE_STRINGS' 2884 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.c:2885:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2885 | free(GS_SerNodes); | ^~~~ idb.c:2885:17: note: include '' or provide a declaration of 'free' idb.c:2889:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2889 | free(GS_ImaNodes); | ^~~~ idb.c:2889:17: note: include '' or provide a declaration of 'free' idb.c:2915:68: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 2915 | ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances, | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2924:9: note: in expansion of macro 'FREE_STRINGS' 2924 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2924:9: note: in expansion of macro 'FREE_STRINGS' 2924 | FREE_STRINGS(i, GS_patcl, numpatcrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2927:9: note: in expansion of macro 'FREE_STRINGS' 2927 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2927:9: note: in expansion of macro 'FREE_STRINGS' 2927 | FREE_STRINGS(i, GS_stucl, numstucrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2930:9: note: in expansion of macro 'FREE_STRINGS' 2930 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2930:9: note: in expansion of macro 'FREE_STRINGS' 2930 | FREE_STRINGS(i, GS_sercl, numsercrits); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2933:9: note: in expansion of macro 'FREE_STRINGS' 2933 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:2933:9: note: in expansion of macro 'FREE_STRINGS' 2933 | FREE_STRINGS(i, GS_imacl, numimacrits); | ^~~~~~~~~~~~ idb.c:2966:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2966 | free(GS_PatNodes); | ^~~~ idb.c:2966:9: note: include '' or provide a declaration of 'free' idb.c:2970:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2970 | free(GS_StuNodes); | ^~~~ idb.c:2970:9: note: include '' or provide a declaration of 'free' idb.c:2974:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2974 | free(GS_SerNodes); | ^~~~ idb.c:2974:9: note: include '' or provide a declaration of 'free' idb.c:2984:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2984 | free(insnode); | ^~~~ idb.c:2984:21: note: include '' or provide a declaration of 'free' idb.c:2989:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2989 | free(GS_ImaNodes); | ^~~~ idb.c:2989:9: note: include '' or provide a declaration of 'free' idb.c:3000:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 3000 | free(GS_PatNodes); | ^~~~ idb.c:3000:9: note: include '' or provide a declaration of 'free' idb.c:3004:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 3004 | free(GS_StuNodes); | ^~~~ idb.c:3004:9: note: include '' or provide a declaration of 'free' idb.c:3008:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 3008 | free(GS_SerNodes); | ^~~~ idb.c:3008:9: note: include '' or provide a declaration of 'free' idb.c:3018:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 3018 | free(insnode); | ^~~~ idb.c:3018:21: note: include '' or provide a declaration of 'free' idb.c:3023:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 3023 | free(GS_ImaNodes); | ^~~~ idb.c:3023:9: note: include '' or provide a declaration of 'free' idb.c: In function 'CBSel_CollectPatientsStudies': idb.c:3097:49: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3097 | if ((GS_PatNodes = (IDB_PatientQuery *) malloc(sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == | ^~~~~~ idb.c:3097:49: note: include '' or provide a declaration of 'malloc' idb.c:3101:52: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 3101 | } else if ((GS_PatNodes = (IDB_PatientQuery *) realloc(GS_PatNodes, sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == | ^~~~~~~ idb.c:3101:52: note: include '' or provide a declaration of 'realloc' idb.c:3101:52: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] idb.c:3101:52: note: include '' or provide a declaration of 'realloc' idb.c:3106:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3106 | if ((GS_NullPatFlag = (long *) malloc(sizeof(long) * GS_NumPatNodes)) == | ^~~~~~ idb.c:3106:40: note: include '' or provide a declaration of 'malloc' idb.c:3110:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3110 | } else if ((GS_NullPatFlag = (long *) realloc(GS_NullPatFlag, sizeof(long) * GS_NumPatNodes)) == | ^~~~~~~ idb.c:3110:43: note: include '' or provide a declaration of 'realloc' idb.c:3116:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3116 | if ((GS_StuNodes = (IDB_StudyQuery *) malloc(sizeof(IDB_StudyQuery) * GS_NumStuNodes)) == | ^~~~~~ idb.c:3116:47: note: include '' or provide a declaration of 'malloc' idb.c:3120:50: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3120 | } else if ((GS_StuNodes = (IDB_StudyQuery *) realloc(GS_StuNodes, sizeof(IDB_StudyQuery) * GS_NumStuNodes)) == | ^~~~~~~ idb.c:3120:50: note: include '' or provide a declaration of 'realloc' idb.c:3125:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3125 | if ((GS_NullStuFlag = (long *) malloc(sizeof(long) * GS_NumStuNodes)) == (long *) NULL) { | ^~~~~~ idb.c:3125:40: note: include '' or provide a declaration of 'malloc' idb.c:3128:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3128 | } else if ((GS_NullStuFlag = (long *) realloc(GS_NullStuFlag, sizeof(long) * GS_NumStuNodes)) == | ^~~~~~~ idb.c:3128:43: note: include '' or provide a declaration of 'realloc' idb.c: In function 'CBSel_CollectPatients': idb.c:3305:49: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3305 | if ((GS_PatNodes = (IDB_PatientQuery *) malloc(sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == | ^~~~~~ idb.c:3305:49: note: include '' or provide a declaration of 'malloc' idb.c:3309:52: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3309 | } else if ((GS_PatNodes = (IDB_PatientQuery *) realloc(GS_PatNodes, sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == | ^~~~~~~ idb.c:3309:52: note: include '' or provide a declaration of 'realloc' idb.c:3314:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3314 | if ((GS_NullPatFlag = (long *) malloc(sizeof(long) * GS_NumPatNodes)) == | ^~~~~~ idb.c:3314:40: note: include '' or provide a declaration of 'malloc' idb.c:3318:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3318 | } else if ((GS_NullPatFlag = (long *) realloc(GS_NullPatFlag, sizeof(long) * GS_NumPatNodes)) == | ^~~~~~~ idb.c:3318:43: note: include '' or provide a declaration of 'realloc' idb.c: In function 'CBSel_CollectStudies': idb.c:3404:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3404 | if ((GS_StuNodes = (IDB_StudyQuery *) malloc(sizeof(IDB_StudyQuery) * GS_NumStuNodes)) == | ^~~~~~ idb.c:3404:47: note: include '' or provide a declaration of 'malloc' idb.c:3408:50: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3408 | } else if ((GS_StuNodes = (IDB_StudyQuery *) realloc(GS_StuNodes, sizeof(IDB_StudyQuery) * GS_NumStuNodes)) == | ^~~~~~~ idb.c:3408:50: note: include '' or provide a declaration of 'realloc' idb.c:3413:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3413 | if ((GS_NullStuFlag = (long *) malloc(sizeof(long) * GS_NumStuNodes)) == (long *) NULL) { | ^~~~~~ idb.c:3413:40: note: include '' or provide a declaration of 'malloc' idb.c:3416:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3416 | } else if ((GS_NullStuFlag = (long *) realloc(GS_NullStuFlag, sizeof(long) * GS_NumStuNodes)) == | ^~~~~~~ idb.c:3416:43: note: include '' or provide a declaration of 'realloc' idb.c: In function 'CBSel_CollectSeries': idb.c:3524:48: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3524 | if ((GS_SerNodes = (IDB_SeriesQuery *) malloc(sizeof(IDB_SeriesQuery) * GS_NumSerNodes)) == | ^~~~~~ idb.c:3524:48: note: include '' or provide a declaration of 'malloc' idb.c:3528:51: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3528 | } else if ((GS_SerNodes = (IDB_SeriesQuery *) realloc(GS_SerNodes, sizeof(IDB_SeriesQuery) * GS_NumSerNodes)) == | ^~~~~~~ idb.c:3528:51: note: include '' or provide a declaration of 'realloc' idb.c:3533:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3533 | if ((GS_NullSerFlag = (long *) malloc(sizeof(long) * GS_NumSerNodes)) == | ^~~~~~ idb.c:3533:40: note: include '' or provide a declaration of 'malloc' idb.c:3537:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3537 | } else if ((GS_NullSerFlag = (long *) realloc(GS_NullSerFlag, sizeof(long) * GS_NumSerNodes)) == | ^~~~~~~ idb.c:3537:43: note: include '' or provide a declaration of 'realloc' idb.c: In function 'CBSel_CollectImages': idb.c:3626:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3626 | if ((GS_ImaNodes = (IDB_ImageQuery *) malloc(sizeof(IDB_ImageQuery) * GS_NumImaNodes)) == | ^~~~~~ idb.c:3626:47: note: include '' or provide a declaration of 'malloc' idb.c:3630:50: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3630 | } else if ((GS_ImaNodes = (IDB_ImageQuery *) realloc(GS_ImaNodes, sizeof(IDB_ImageQuery) * GS_NumImaNodes)) == | ^~~~~~~ idb.c:3630:50: note: include '' or provide a declaration of 'realloc' idb.c:3635:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3635 | if ((GS_NullImaFlag = (long *) malloc(sizeof(long) * GS_NumImaNodes)) == | ^~~~~~ idb.c:3635:40: note: include '' or provide a declaration of 'malloc' idb.c:3639:43: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 3639 | } else if ((GS_NullImaFlag = (long *) realloc(GS_NullImaFlag, sizeof(long) * GS_NumImaNodes)) == | ^~~~~~~ idb.c:3639:43: note: include '' or provide a declaration of 'realloc' idb.c: In function 'CBSel_CollectInstances': idb.c:3754:44: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 3754 | if ((ile = (IDB_InstanceListElement *) malloc(sizeof(IDB_InstanceListElement))) == | ^~~~~~ idb.c:3754:44: note: include '' or provide a declaration of 'malloc' idb.c: In function 'IDB_ConvertDicomQuerytoSQL_PSView': idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3793:17: note: in expansion of macro 'FREE_STRINGS' 3793 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3793:17: note: in expansion of macro 'FREE_STRINGS' 3793 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3804:17: note: in expansion of macro 'FREE_STRINGS' 3804 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3804:17: note: in expansion of macro 'FREE_STRINGS' 3804 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3863:17: note: in expansion of macro 'FREE_STRINGS' 3863 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3863:17: note: in expansion of macro 'FREE_STRINGS' 3863 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3949:17: note: in expansion of macro 'FREE_STRINGS' 3949 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3949:17: note: in expansion of macro 'FREE_STRINGS' 3949 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3960:17: note: in expansion of macro 'FREE_STRINGS' 3960 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3960:17: note: in expansion of macro 'FREE_STRINGS' 3960 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3971:17: note: in expansion of macro 'FREE_STRINGS' 3971 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:3971:17: note: in expansion of macro 'FREE_STRINGS' 3971 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4033:17: note: in expansion of macro 'FREE_STRINGS' 4033 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4033:17: note: in expansion of macro 'FREE_STRINGS' 4033 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4044:17: note: in expansion of macro 'FREE_STRINGS' 4044 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4044:17: note: in expansion of macro 'FREE_STRINGS' 4044 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4055:17: note: in expansion of macro 'FREE_STRINGS' 4055 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4055:17: note: in expansion of macro 'FREE_STRINGS' 4055 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4066:17: note: in expansion of macro 'FREE_STRINGS' 4066 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4066:17: note: in expansion of macro 'FREE_STRINGS' 4066 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4077:17: note: in expansion of macro 'FREE_STRINGS' 4077 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4077:17: note: in expansion of macro 'FREE_STRINGS' 4077 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4088:17: note: in expansion of macro 'FREE_STRINGS' 4088 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4088:17: note: in expansion of macro 'FREE_STRINGS' 4088 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4099:17: note: in expansion of macro 'FREE_STRINGS' 4099 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4099:17: note: in expansion of macro 'FREE_STRINGS' 4099 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4110:17: note: in expansion of macro 'FREE_STRINGS' 4110 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4110:17: note: in expansion of macro 'FREE_STRINGS' 4110 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4189:17: note: in expansion of macro 'FREE_STRINGS' 4189 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4189:17: note: in expansion of macro 'FREE_STRINGS' 4189 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4200:17: note: in expansion of macro 'FREE_STRINGS' 4200 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4200:17: note: in expansion of macro 'FREE_STRINGS' 4200 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4211:17: note: in expansion of macro 'FREE_STRINGS' 4211 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4211:17: note: in expansion of macro 'FREE_STRINGS' 4211 | FREE_STRINGS(j, GS_patstucl, i); | ^~~~~~~~~~~~ idb.c: In function 'IDB_ConvertDicomQuerytoSQL': idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4241:21: note: in expansion of macro 'FREE_STRINGS' 4241 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4241:21: note: in expansion of macro 'FREE_STRINGS' 4241 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4256:21: note: in expansion of macro 'FREE_STRINGS' 4256 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4256:21: note: in expansion of macro 'FREE_STRINGS' 4256 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4315:21: note: in expansion of macro 'FREE_STRINGS' 4315 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4315:21: note: in expansion of macro 'FREE_STRINGS' 4315 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4401:21: note: in expansion of macro 'FREE_STRINGS' 4401 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4401:21: note: in expansion of macro 'FREE_STRINGS' 4401 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4412:21: note: in expansion of macro 'FREE_STRINGS' 4412 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4412:21: note: in expansion of macro 'FREE_STRINGS' 4412 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4423:21: note: in expansion of macro 'FREE_STRINGS' 4423 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4423:21: note: in expansion of macro 'FREE_STRINGS' 4423 | FREE_STRINGS(j, GS_patcl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4487:21: note: in expansion of macro 'FREE_STRINGS' 4487 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4487:21: note: in expansion of macro 'FREE_STRINGS' 4487 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4498:21: note: in expansion of macro 'FREE_STRINGS' 4498 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4498:21: note: in expansion of macro 'FREE_STRINGS' 4498 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4509:21: note: in expansion of macro 'FREE_STRINGS' 4509 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4509:21: note: in expansion of macro 'FREE_STRINGS' 4509 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4520:21: note: in expansion of macro 'FREE_STRINGS' 4520 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4520:21: note: in expansion of macro 'FREE_STRINGS' 4520 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4531:21: note: in expansion of macro 'FREE_STRINGS' 4531 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4531:21: note: in expansion of macro 'FREE_STRINGS' 4531 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4542:21: note: in expansion of macro 'FREE_STRINGS' 4542 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4542:21: note: in expansion of macro 'FREE_STRINGS' 4542 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4553:21: note: in expansion of macro 'FREE_STRINGS' 4553 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4553:21: note: in expansion of macro 'FREE_STRINGS' 4553 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4564:21: note: in expansion of macro 'FREE_STRINGS' 4564 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4564:21: note: in expansion of macro 'FREE_STRINGS' 4564 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4643:21: note: in expansion of macro 'FREE_STRINGS' 4643 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4643:21: note: in expansion of macro 'FREE_STRINGS' 4643 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4654:21: note: in expansion of macro 'FREE_STRINGS' 4654 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4654:21: note: in expansion of macro 'FREE_STRINGS' 4654 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4665:21: note: in expansion of macro 'FREE_STRINGS' 4665 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4665:21: note: in expansion of macro 'FREE_STRINGS' 4665 | FREE_STRINGS(j, GS_stucl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4681:21: note: in expansion of macro 'FREE_STRINGS' 4681 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4681:21: note: in expansion of macro 'FREE_STRINGS' 4681 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4692:21: note: in expansion of macro 'FREE_STRINGS' 4692 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4692:21: note: in expansion of macro 'FREE_STRINGS' 4692 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4703:21: note: in expansion of macro 'FREE_STRINGS' 4703 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4703:21: note: in expansion of macro 'FREE_STRINGS' 4703 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4714:21: note: in expansion of macro 'FREE_STRINGS' 4714 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4714:21: note: in expansion of macro 'FREE_STRINGS' 4714 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4725:21: note: in expansion of macro 'FREE_STRINGS' 4725 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4725:21: note: in expansion of macro 'FREE_STRINGS' 4725 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4736:21: note: in expansion of macro 'FREE_STRINGS' 4736 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4736:21: note: in expansion of macro 'FREE_STRINGS' 4736 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4747:21: note: in expansion of macro 'FREE_STRINGS' 4747 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4747:21: note: in expansion of macro 'FREE_STRINGS' 4747 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4819:21: note: in expansion of macro 'FREE_STRINGS' 4819 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4819:21: note: in expansion of macro 'FREE_STRINGS' 4819 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4830:21: note: in expansion of macro 'FREE_STRINGS' 4830 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4830:21: note: in expansion of macro 'FREE_STRINGS' 4830 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4841:21: note: in expansion of macro 'FREE_STRINGS' 4841 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4841:21: note: in expansion of macro 'FREE_STRINGS' 4841 | FREE_STRINGS(j, GS_sercl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4857:21: note: in expansion of macro 'FREE_STRINGS' 4857 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4857:21: note: in expansion of macro 'FREE_STRINGS' 4857 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4868:21: note: in expansion of macro 'FREE_STRINGS' 4868 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4868:21: note: in expansion of macro 'FREE_STRINGS' 4868 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4879:21: note: in expansion of macro 'FREE_STRINGS' 4879 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4879:21: note: in expansion of macro 'FREE_STRINGS' 4879 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4890:21: note: in expansion of macro 'FREE_STRINGS' 4890 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4890:21: note: in expansion of macro 'FREE_STRINGS' 4890 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4901:21: note: in expansion of macro 'FREE_STRINGS' 4901 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:4901:21: note: in expansion of macro 'FREE_STRINGS' 4901 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:5002:21: note: in expansion of macro 'FREE_STRINGS' 5002 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:5002:21: note: in expansion of macro 'FREE_STRINGS' 5002 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:5013:21: note: in expansion of macro 'FREE_STRINGS' 5013 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:5013:21: note: in expansion of macro 'FREE_STRINGS' 5013 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:5024:21: note: in expansion of macro 'FREE_STRINGS' 5024 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' 483 | free(list[index].Value.Value.String); | ^~~~ idb.c:5024:21: note: in expansion of macro 'FREE_STRINGS' 5024 | FREE_STRINGS(j, GS_imacl, i); | ^~~~~~~~~~~~ idb.c: In function 'IDB_ConvertDicomMetatoSQL': idb.c:5108:35: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 5108 | if ((new_regex = (char *) malloc(malloced_size)) == (char *) NULL) { | ^~~~~~ idb.c:5108:35: note: include '' or provide a declaration of 'malloc' idb.c:5149:39: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 5149 | if ((new_regex = (char *) realloc(new_regex, malloced_size)) == | ^~~~~~~ idb.c:5149:39: note: include '' or provide a declaration of 'realloc' idb.c: In function 'IDB_InsertImage': idb.c:5584:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 5584 | ret_val = TBL_Select(&inshandle, crit, field, &count, CBIns_CollectInstances, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:5621:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 5621 | free(temp_node); | ^~~~ idb.c:5621:17: note: include '' or provide a declaration of 'free' idb.c:5647:13: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 5647 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ idb.c: In function 'CBIns_CollectInstances': idb.c:5828:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 5828 | temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1); | ^~~~~~ idb.c:5828:30: note: include '' or provide a declaration of 'malloc' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o idbcond.o idbcond.c ar cvr libctn.a build.o cfg.o cmd_valid.o condition.o control.o ctnthread.o database.o dcm.o dcm1.o dcmcond.o dcmdict.o dcmsupport.o ddr.o decode.o delete.o dlroutines.o dulcond.o dulconstruct.o dulfsm.o dulparse.o dulpresent.o dulprotocol.o dulsnoop.o dump.o event.o find.o fis.o fiscond.o fisdelete.o fisget.o fisinsert.o get.o gq.o hapbuildinterp.o hapbuildpatient.o hapbuildresults.o hapbuildstudy.o hapbuildvisit.o hapcond.o hisdb.o hunk_man.o iap.o iapcond.o icon.o iconcond.o ie.o iecond.o insert.o irs.o irscond.o lst.o lstcond.o mancond.o messages.o motifutil.o move.o msgcond.o naction.o ncreate.o ndelete.o neventreport.o nget.o nset.o print.o printcond.o private.o record.o ref_item.o select.o send.o sequences.o set.o snp.o snpcond.o sqcond.o srv1.o srv2.o srvcond.o storage.o thrcond.o uid.o uidcond.o update.o utility.o verify.o xutl.o tbl_mysql.o tblcond.o idb.o idbcond.o a - build.o a - cfg.o a - cmd_valid.o a - condition.o a - control.o a - ctnthread.o a - database.o a - dcm.o a - dcm1.o a - dcmcond.o a - dcmdict.o a - dcmsupport.o a - ddr.o a - decode.o a - delete.o a - dlroutines.o a - dulcond.o a - dulconstruct.o a - dulfsm.o a - dulparse.o a - dulpresent.o a - dulprotocol.o a - dulsnoop.o a - dump.o a - event.o a - find.o a - fis.o a - fiscond.o a - fisdelete.o a - fisget.o a - fisinsert.o a - get.o a - gq.o a - hapbuildinterp.o a - hapbuildpatient.o a - hapbuildresults.o a - hapbuildstudy.o a - hapbuildvisit.o a - hapcond.o a - hisdb.o a - hunk_man.o a - iap.o a - iapcond.o a - icon.o a - iconcond.o a - ie.o a - iecond.o a - insert.o a - irs.o a - irscond.o a - lst.o a - lstcond.o a - mancond.o a - messages.o a - motifutil.o a - move.o a - msgcond.o a - naction.o a - ncreate.o a - ndelete.o a - neventreport.o a - nget.o a - nset.o a - print.o a - printcond.o a - private.o a - record.o a - ref_item.o a - select.o a - send.o a - sequences.o a - set.o a - snp.o a - snpcond.o a - sqcond.o a - srv1.o a - srv2.o a - srvcond.o a - storage.o a - thrcond.o a - uid.o a - uidcond.o a - update.o a - utility.o a - verify.o a - xutl.o a - tbl_mysql.o a - tblcond.o a - idb.o a - idbcond.o ../apps/scripts/createdirectory /build/ctn-3.2.0~dfsg/lib/ctn-mysql Directory /build/ctn-3.2.0~dfsg/lib/ctn-mysql does not exist. Trying to create /build/ctn-3.2.0~dfsg/lib/ctn-mysql. cp libctn.a /build/ctn-3.2.0~dfsg/lib/ctn-mysql install -c -m 444 cfg.h condition.h ctn_os.h ctnthread.h dbquery.h decode.h dicom.h intsizes.h dicom_ddr.h dicom_ie.h dicom_irs.h dicom_messages.h dicom_objects.h dicom_platform.h dicom_print.h dicom_services.h dicom_sq.h dicom_uids.h dulfsm.h dulprotocol.h dulsnoop.h dulstructures.h fis.h gq.h hap.h hisdb.h hunk_man.h iap.h icon.h idb.h lst.h manage.h mut.h snp.h tables.h tbl.h tbl_msql.h tbl_psql.h tbl_sqlserver.h tbl_sybase.h tbl_ufs.h utility.h xutl.h /build/ctn-3.2.0~dfsg/include make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/libsrc' cd apps; make install make[3]: Entering directory '/build/ctn-3.2.0~dfsg/apps' /build/ctn-3.2.0~dfsg/apps/scripts/createdirectory /build/ctn-3.2.0~dfsg/debian/tmp/bin Directory /build/ctn-3.2.0~dfsg/debian/tmp/bin does not exist. Trying to create /build/ctn-3.2.0~dfsg/debian/tmp/bin. cd apps_test; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/apps_test' chmod +x test_baseline ./test_baseline make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/apps_test' cd apps_include; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/apps_include' install -c -m 444 print_queue.h /build/ctn-3.2.0~dfsg/include install -c -m 444 iqueues.h /build/ctn-3.2.0~dfsg/include install -c -m 444 UxXt.h /build/ctn-3.2.0~dfsg/include make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/apps_include' cd clone_study; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/clone_study' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o clone_study.o clone_study.c clone_study.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] 242 | main(int argc, char **argv) | ^~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o remap.o remap.c remap.c: In function 'newPatientName': remap.c:144:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 144 | sprintf(name, "LAST%05x^FIRST", v); | ~~~^ ~ | | | | | long unsigned int | unsigned int | %05lx remap.c: In function 'newPatientID': remap.c:160:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 160 | sprintf(string, "PID%08d", v); | ~~~^ ~ | | | | int long unsigned int | %08ld remap.c: In function 'newAccessionNumber': remap.c:177:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 177 | sprintf(string, "ACC%08d", v); | ~~~^ ~ | | | | int long unsigned int | %08ld gcc -o clone_study -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql clone_study.o remap.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz install clone_study /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/clone_study' cd create_greyscale_module; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o create_greyscale_module.o create_greyscale_module.c create_greyscale_module.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] 63 | main(int argc, char **argv) | ^~~~ gcc -o create_greyscale_module -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib create_greyscale_module.o -Wl,-z,relro -Wl,-z,now -lctn -lz install create_greyscale_module /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module' cd ctnnetwork; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork' gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP ctnnetwork.c ctnnetwork.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] 109 | main(int argc, char **argv) | ^~~~ ctnnetwork.c: In function 'main': ctnnetwork.c:267:24: warning: implicit declaration of function 'GetUnusedSlot' [-Wimplicit-function-declaration] 267 | slot = GetUnusedSlot(&element); | ^~~~~~~~~~~~~ ctnnetwork.c:272:24: warning: implicit declaration of function 'FindSlot' [-Wimplicit-function-declaration] 272 | slot = FindSlot(&element); | ^~~~~~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP ctnnetwork_x_support.c gcc -o ctnnetwork -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib ctnnetwork.o ctnnetwork_x_support.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz -lXt -lX11 -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP kill_ctnnetwork.c kill_ctnnetwork.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] 58 | main(int argc, char *argv[]) | ^~~~ kill_ctnnetwork.c: In function 'main': kill_ctnnetwork.c:86:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 86 | sleep(5); | ^~~~~ gcc -o kill_ctnnetwork kill_ctnnetwork.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP pq_ctnnetwork.c pq_ctnnetwork.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] 60 | main(int argc, char *argv[]) | ^~~~ pq_ctnnetwork.c: In function 'print_element': pq_ctnnetwork.c:103:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 103 | printf("\tAssociation_id: %d\n", n->association_id); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld gcc -o pq_ctnnetwork pq_ctnnetwork.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP enq_ctnnetwork.c enq_ctnnetwork.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] 59 | main(int argc, char *argv[]) | ^~~~ gcc -o enq_ctnnetwork enq_ctnnetwork.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm install ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin install kill_ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin install pq_ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin install enq_ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork' cd ctn_version; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctn_version' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ctn_version.o ctn_version.c ctn_version.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] 66 | main(int argc, char **argv) | ^~~~ gcc -o ctn_version -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib ctn_version.o -Wl,-z,relro -Wl,-z,now -lctn install ctn_version /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctn_version' cd dcm_add_fragments; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_add_fragments.o dcm_add_fragments.c dcm_add_fragments.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] 93 | main(int argc, char **argv) | ^~~~ gcc -o dcm_add_fragments -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_add_fragments.o -Wl,-z,relro -Wl,-z,now -lctn -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib install dcm_add_fragments /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments' cd dcm_create_object; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -DYYDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gram_mod.o gram_mod.c y.tab.c: In function 'yyparse': y.tab.c:293:23: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] gram.y:95:27: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 95 | printf("Cannot make element for TAG (%x, %x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | $1, $2); | ~~~~~~~~ | | | long unsigned int gram.y:95:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 95 | printf("Cannot make element for TAG (%x, %x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | $1, $2); | | | | long unsigned int gram.y:237:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 237 | sprintf($$,"%ld",DCM_MAKETAG(group,elem)); | ^~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -DYYDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lex_mod.o lex_mod.c lex.l: In function 'yylex': lex.l:74:32: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] 74 | sscanf(yytext, "%x", &yylval.num); | ^~~~ ~~~~~~~~~~~ | | | long unsigned int * lex.yy.c: In function 'yy_init_buffer': lex.yy.c:1350:33: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -DYYDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_create_object.o dcm_create_object.c dcm_create_object.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] 86 | main(int argc, char **argv) | ^~~~ dcm_create_object.c: In function 'addpixels': dcm_create_object.c:414:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 414 | if (read(fd, p, size) != size) { | ^~~~ | fread gcc -o dcm_create_object -g gram_mod.o lex_mod.o dcm_create_object.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install dcm_create_object /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object' cd dcm_ctnto10; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_ctnto10.o dcm_ctnto10.c gcc -o dcm_ctnto10 -g dcm_ctnto10.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -Wl,-z,relro -Wl,-z,now -lctn install dcm_ctnto10 /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10' cd dcm_diff; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_diff.o dcm_diff.c dcm_diff.c: In function 'compareTextAttribute': dcm_diff.c:105:46: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 105 | printf(" TEXT %04x %04x %32s\n %4d %s\n %4d %s\n", | ~~^ | | | int | %4ld ...... 109 | strlen(c1), c1, strlen(c2), c2); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} dcm_diff.c:105:62: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 105 | printf(" TEXT %04x %04x %32s\n %4d %s\n %4d %s\n", | ~~^ | | | int | %4ld ...... 109 | strlen(c1), c1, strlen(c2), c2); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} dcm_diff.c: At top level: dcm_diff.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] 360 | main(int argc, char **argv) | ^~~~ dcm_diff.c: In function 'main': dcm_diff.c:455:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 455 | printf("Differences encountered: %5d\n", differences); | ~~^ ~~~~~~~~~~~ | | | | int long int | %5ld gcc -o dcm_diff -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_diff.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_diff /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff' cd dcm_dump_compressed; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_dump_compressed.o dcm_dump_compressed.c dcm_dump_compressed.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] 119 | main(int argc, char **argv) | ^~~~ dcm_dump_compressed.c: In function 'dumpCallback': dcm_dump_compressed.c:113:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | write(fd, buf, bytesExported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o dcm_dump_compressed -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_dump_compressed.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_dump_compressed /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed' cd dcm_dump_element; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_dump_element.o dcm_dump_element.c dcm_dump_element.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] 236 | main(int argc, char **argv) | ^~~~ dcm_dump_element.c: In function 'main': dcm_dump_element.c:291:27: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] 291 | if (sscanf(*argv++, "%x", &ng) != 1) | ~^ ~~~ | | | | | long unsigned int * | unsigned int * | %lx dcm_dump_element.c:293:27: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] 293 | if (sscanf(*argv++, "%x", &ne) != 1) | ~^ ~~~ | | | | | long unsigned int * | unsigned int * | %lx dcm_dump_element.c:362:12: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 362 | (void) write(fd, element.d.ot, rtnSize); | ^~~~~ | fwrite dcm_dump_element.c:363:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 363 | close(fd); | ^~~~~ | pclose gcc -o dcm_dump_element -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_dump_element.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_dump_element /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element' cd dcm_dump_file; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_dump_file.o dcm_dump_file.c dcm_dump_file.c:105:1: warning: return type defaults to 'int' [-Wimplicit-int] 105 | main(int argc, char **argv) | ^~~~ gcc -o dcm_dump_file -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_dump_file.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_dump_file /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file' cd dcm_make_object; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_make_object.o dcm_make_object.c dcm_make_object.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] 84 | main(int argc, char **argv) | ^~~~ dcm_make_object.c: In function 'addpixels': dcm_make_object.c:392:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 392 | if (read(fd, p, size) != size) { | ^~~~ | fread gcc -o dcm_make_object -g dcm_make_object.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install dcm_make_object /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object' cd dcm_map_to_8; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_map_to_8.o dcm_map_to_8.c dcm_map_to_8.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | main(int argc, char **argv) | ^~~~ gcc -o dcm_map_to_8 -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_map_to_8.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_map_to_8 /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8' cd dcm_mask_image; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_mask_image.o dcm_mask_image.c dcm_mask_image.c:154:1: warning: return type defaults to 'int' [-Wimplicit-int] 154 | maskLeft8(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~ dcm_mask_image.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int] 171 | maskLeft16(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~~ dcm_mask_image.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] 188 | maskRight8(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~~ dcm_mask_image.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] 205 | maskRight16(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~~~ dcm_mask_image.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] 222 | maskTop8(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~ dcm_mask_image.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] 239 | maskTop16(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~ dcm_mask_image.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int] 256 | maskBottom8(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~~~ dcm_mask_image.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] 273 | maskBottom16(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~~~~ dcm_mask_image.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] 290 | maskLeft(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~ dcm_mask_image.c:299:1: warning: return type defaults to 'int' [-Wimplicit-int] 299 | maskRight(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~ dcm_mask_image.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] 308 | maskTop(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~ dcm_mask_image.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] 317 | maskBottom(void* p, int value, PIXEL_PARAMS* params) | ^~~~~~~~~~ dcm_mask_image.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] 325 | main(int argc, char **argv) | ^~~~ gcc -o dcm_mask_image -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_mask_image.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_mask_image /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image' cd dcm_modify_elements; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_modify_elements.o dcm_modify_elements.c dcm_modify_elements.c: In function 'addpixels': dcm_modify_elements.c:424:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 424 | if (read(fd, p, size) != size) { | ^~~~ | fread dcm_modify_elements.c:426:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 426 | close(fd); | ^~~~~ | pclose gcc -o dcm_modify_elements -g dcm_modify_elements.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install dcm_modify_elements /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements' cd dcm_modify_object; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object' yacc -d gram.y mv y.tab.c gram.c mv y.tab.h gram.h gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gram.o gram.c y.tab.c: In function 'yyparse': y.tab.c:1087:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] gram.y:105:27: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] 105 | printf("Cannot make element for TAG (%x, %x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | $1, $2); | ~~~~~~~~ | | | long unsigned int gram.y:105:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 105 | printf("Cannot make element for TAG (%x, %x)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | $1, $2); | | | | long unsigned int gram.y:247:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 247 | sprintf($$,"%ld",DCM_MAKETAG(group,elem)); | ^~~~~ flex lex.l mv lex.yy.c lex.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lex.o lex.c lex.l: In function 'yylex': lex.l:74:32: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] 74 | sscanf(yytext, "%x", &yylval.num); | ^~~~ ~~~~~~~~~~~ | | | long unsigned int * gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_modify_object.o dcm_modify_object.c dcm_modify_object.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] 85 | main(int argc, char **argv) | ^~~~ dcm_modify_object.c: In function 'addPixels': dcm_modify_object.c:444:19: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 444 | bytesRead = read(fd, p, remainingBytes); | ^~~~ | fread gcc -o dcm_modify_object -g gram.o lex.o dcm_modify_object.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn -lfl install dcm_modify_object /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object' cd dcm_print_dictionary; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_print_dictionary.o dcm_print_dictionary.c dcm_print_dictionary.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | main(int argc, char **argv) | ^~~~ gcc -o dcm_print_dictionary -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql dcm_print_dictionary.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_print_dictionary /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary' cd dcm_resize; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_resize.o dcm_resize.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pixavg.o pixavg.c gcc -o dcm_resize -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_resize.o pixavg.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_resize /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize' cd dcm_rm_element; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_element' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_rm_element.o dcm_rm_element.c gcc -o dcm_rm_element -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_rm_element.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_rm_element /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_element' cd dcm_rm_group; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_rm_group.o dcm_rm_group.c dcm_rm_group.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] 75 | main(int argc, char **argv) | ^~~~ gcc -o dcm_rm_group -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_rm_group.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_rm_group /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group' cd dcm_snoop; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_snoop.o dcm_snoop.c dcm_snoop.c: In function 'main': dcm_snoop.c:150:25: warning: passing argument 1 of 'DUL_RegPDUCall' from incompatible pointer type [-Wincompatible-pointer-types] 150 | if ((DUL_RegPDUCall(callITOA_PDU, CALLBACK_ITOA_PDU, NULL)) != DUL_NORMAL) { | ^~~~~~~~~~~~ | | | void (*)(int, int, u_char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *) {aka void (*)(int, int, unsigned char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *)} In file included from dcm_snoop.c:95: /build/ctn-3.2.0~dfsg/include/dulprotocol.h:367:23: note: expected 'void (*)()' but argument is of type 'void (*)(int, int, u_char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *)' {aka 'void (*)(int, int, unsigned char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *)'} 367 | DUL_RegPDUCall(void (*callback) (), int callbackType, void *ctx); | ~~~~~~~^~~~~~~~~~~~ dcm_snoop.c:156:25: warning: passing argument 1 of 'DUL_RegPDUCall' from incompatible pointer type [-Wincompatible-pointer-types] 156 | if ((DUL_RegPDUCall(callATOI_PDU, CALLBACK_ATOI_PDU, NULL)) != DUL_NORMAL) { | ^~~~~~~~~~~~ | | | void (*)(int, int, u_char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *) {aka void (*)(int, int, unsigned char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *)} /build/ctn-3.2.0~dfsg/include/dulprotocol.h:367:23: note: expected 'void (*)()' but argument is of type 'void (*)(int, int, u_char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *)' {aka 'void (*)(int, int, unsigned char, char *, int, DUL_ASSOCIATESERVICEPARAMETERS *, void *)'} 367 | DUL_RegPDUCall(void (*callback) (), int callbackType, void *ctx); | ~~~~~~~^~~~~~~~~~~~ dcm_snoop.c: In function 'sortDataPDU': dcm_snoop.c:379:54: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'u_long' {aka 'long unsigned int'} [-Wformat=] 379 | printf("Command PDV fragment : Length = %u\n", pdvLength); | ~^ ~~~~~~~~~ | | | | | u_long {aka long unsigned int} | unsigned int | %lu dcm_snoop.c:386:55: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'u_long' {aka 'long unsigned int'} [-Wformat=] 386 | printf("Data set PDV fragment : Length = %u\n", pdvLength); | ~^ ~~~~~~~~~ | | | | | u_long {aka long unsigned int} | unsigned int | %lu gcc -o dcm_snoop -O -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_snoop.o -Wl,-z,relro -Wl,-z,now -lctn -lz install dcm_snoop /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop' cd dcm_strip_odd_groups; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_strip_odd_groups.o dcm_strip_odd_groups.c gcc -o dcm_strip_odd_groups -g dcm_strip_odd_groups.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install dcm_strip_odd_groups /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups' cd dcm_template; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_template' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_template.o dcm_template.c gcc -o dcm_template -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_template.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_template /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_template' cd dcm_to_html; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_to_html.o dcm_to_html.c dcm_to_html.c:435:1: warning: return type defaults to 'int' [-Wimplicit-int] 435 | main(int argc, char **argv) | ^~~~ gcc -o dcm_to_html -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_to_html.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_to_html /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html' cd dcm_to_text; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_to_text.o dcm_to_text.c dcm_to_text.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int] 237 | main(int argc, char **argv) | ^~~~ gcc -o dcm_to_text -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_to_text.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_to_text /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text' cd dcm_verify; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_verify.o dcm_verify.c dcm_verify.c: In function 'printElement': dcm_verify.c:561:40: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'S32' {aka 'int'} [-Wformat=] 561 | printf(" %08x, %2d, %s, %ld\n", element->tag, element->length, | ~~^ | | | long int | %d 562 | element->description, *element->d.sl); | ~~~~~~~~~~~~~~ | | | S32 {aka int} dcm_verify.c:569:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'U32' {aka 'unsigned int'} [-Wformat=] 569 | printf(" %08x, %2d, %s, %lu\n", element->tag, element->length, | ~~^ | | | long unsigned int | %u 570 | element->description, *element->d.ul); | ~~~~~~~~~~~~~~ | | | U32 {aka unsigned int} gcc -o dcm_verify -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_verify.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_verify /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify' cd dcm_vr_patterns; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_vr_patterns' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dcm_vr_patterns.o dcm_vr_patterns.c gcc -o dcm_vr_patterns -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_vr_patterns.o -Wl,-z,relro -Wl,-z,now -lctn install dcm_vr_patterns /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_vr_patterns' cd dicom_echo; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dicom_echo.o dicom_echo.c dicom_echo.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] 102 | main(int argc, char **argv) | ^~~~ gcc -o dicom_echo -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib dicom_echo.o -Wl,-z,relro -Wl,-z,now -lctn install dicom_echo /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo' cd displays; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/displays' gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include ctndisp.c ctndisp.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] 139 | main(int argc, char **argv) | ^~~~ ctndisp.c: In function 'main': ctndisp.c:316:17: warning: implicit declaration of function 'CTNDISP_UnDisplayImageData'; did you mean 'CTNDISP_DisplayImageData'? [-Wimplicit-function-declaration] 316 | CTNDISP_UnDisplayImageData(&cur_img, &xcur_img); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | CTNDISP_DisplayImageData gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include ctndisp_x_support.c ctndisp_x_support.c: In function 'CTNDISP_UnDisplayImageData': ctndisp_x_support.c:179:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 179 | free(img->data); | ^~~~ ctndisp_x_support.c:66:1: note: include '' or provide a declaration of 'free' 65 | #include "ctndisp.h" +++ |+#include 66 | ctndisp_x_support.c:179:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 179 | free(img->data); | ^~~~ ctndisp_x_support.c:179:9: note: include '' or provide a declaration of 'free' ctndisp_x_support.c: In function 'CTNDISP_AdjustImageDepth': ctndisp_x_support.c:437:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 437 | new_data = (unsigned char *) malloc(npels * G_store_depth); | ^~~~~~ ctndisp_x_support.c:437:34: note: include '' or provide a declaration of 'malloc' ctndisp_x_support.c:437:34: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] ctndisp_x_support.c:437:34: note: include '' or provide a declaration of 'malloc' ctndisp_x_support.c:453:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 453 | free(img->data); | ^~~~ ctndisp_x_support.c:453:9: note: include '' or provide a declaration of 'free' ctndisp_x_support.c:513:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 513 | free(img->data); | ^~~~ ctndisp_x_support.c:513:5: note: include '' or provide a declaration of 'free' gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include image_utils.c image_utils.c: In function 'getFileStream': image_utils.c:259:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 259 | bytesRead = read(fd, *ptr, *fileSize); | ^~~~ | fread image_utils.c:266:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 266 | close(fd); | ^~~~~ | pclose gcc -o ctndisp -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib ctndisp.o ctndisp_x_support.o image_utils.o -Wl,-z,relro -Wl,-z,now -lctn -lXt -lX11 -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include dcm_x_disp.c dcm_x_disp.c: In function 'main': dcm_x_disp.c:297:5: warning: implicit declaration of function 'AdjustImageDepth' [-Wimplicit-function-declaration] 297 | AdjustImageDepth(&next_img); | ^~~~~~~~~~~~~~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include dcm_x_utils.c gcc -o dcm_x_disp -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib dcm_x_disp.o dcm_x_utils.o image_utils.o -Wl,-z,relro -Wl,-z,now -lctn -lXt -lX11 -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include kill_ctndisp.c kill_ctndisp.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] 63 | main(int argc, char *argv[]) | ^~~~ gcc -o kill_ctndisp kill_ctndisp.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include pq_ctndisp.c pq_ctndisp.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] 63 | main(int argc, char *argv[]) | ^~~~ gcc -o pq_ctndisp pq_ctndisp.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn -lm gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include enq_ctndisp.c enq_ctndisp.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] 58 | main(int argc, char *argv[]) | ^~~~ gcc -o enq_ctndisp enq_ctndisp.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn -lm install ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin install dcm_x_disp /build/ctn-3.2.0~dfsg/debian/tmp/bin install kill_ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin install pq_ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin install enq_ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/displays' cd fillRSA; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fillRSA' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fillRSA.o fillRSA.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o work.o work.c gcc -o fillRSA -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz fillRSA.o work.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fillRSAImpInterp.o fillRSAImpInterp.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o workImpInterp.o workImpInterp.c workImpInterp.c: In function 'work': workImpInterp.c:167:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 167 | printf("%d\n", strlen(interpretation.IntTex)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld workImpInterp.c:169:5: warning: implicit declaration of function 'UTL_GetDicomDate' [-Wimplicit-function-declaration] 169 | UTL_GetDicomDate(interpretation.IntAppDat); | ^~~~~~~~~~~~~~~~ workImpInterp.c:170:5: warning: implicit declaration of function 'UTL_GetDicomTime' [-Wimplicit-function-declaration] 170 | UTL_GetDicomTime(interpretation.IntAppTim); | ^~~~~~~~~~~~~~~~ gcc -o fillRSAImpInterp -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz fillRSAImpInterp.o workImpInterp.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm install fillRSA /build/ctn-3.2.0~dfsg/debian/tmp/bin install fillRSAImpInterp /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fillRSA' cd fis_server; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fis_server' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fis_server.o fis_server.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o requests.o requests.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nget.o nget.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nset.o nset.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ncreate.o ncreate.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o fis_server -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql fis_server.o association.o requests.o nget.o nset.o ncreate.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz -lm install fis_server /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fis_server' cd gq; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/gq' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gqinitq.o gqinitq.c gcc -o gqinitq gqinitq.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gqkillq.o gqkillq.c gqkillq.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] 56 | main(int argc, char *argv[]) | ^~~~ gcc -o gqkillq gqkillq.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install gqinitq /build/ctn-3.2.0~dfsg/debian/tmp/bin install gqkillq /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/gq' cd icon; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/icon' gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_append_index.c icon_append_index.c: In function 'getFileSize': icon_append_index.c:146:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 146 | close(fd); | ^~~~~ | pclose gcc -o icon_append_index -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_append_index.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_append_file.c gcc -o icon_append_file -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_append_file.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_dump_index.c icon_dump_index.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] 61 | main(int argc, char *argv[]) | ^~~~ gcc -o icon_dump_index -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_dump_index.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_dump_file.c icon_dump_file.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] 61 | main(int argc, char *argv[]) | ^~~~ gcc -o icon_dump_file -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_dump_file.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include create_print_entry.c create_print_entry.c:93: warning: "MAXPATHLEN" redefined 93 | #define MAXPATHLEN 150 | In file included from /build/ctn-3.2.0~dfsg/include/ctn_os.h:92, from create_print_entry.c:65: /usr/include/aarch64-linux-gnu/sys/param.h:48: note: this is the location of the previous definition 48 | # define MAXPATHLEN PATH_MAX | create_print_entry.c: In function 'makeDBEntry': create_print_entry.c:380:23: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 380 | "%.*s", sizeof(query.Image.FileName) - 2, prefmtImgfile); | ~~^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int gcc -o create_print_entry -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include create_print_entry.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install icon_append_index /build/ctn-3.2.0~dfsg/debian/tmp/bin install icon_append_file /build/ctn-3.2.0~dfsg/debian/tmp/bin install icon_dump_index /build/ctn-3.2.0~dfsg/debian/tmp/bin install icon_dump_file /build/ctn-3.2.0~dfsg/debian/tmp/bin install create_print_entry /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/icon' cd image_archive; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_archive' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o archive_server.o archive_server.c archive_server.c:424:1: warning: return type defaults to 'int' [-Wimplicit-int] 424 | main(int argc, char **argv) | ^~~~ archive_server.c: In function 'main': archive_server.c:609:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 609 | setuid(getuid()); /* Return to proper uid */ | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o requests.o requests.c requests.c: In function 'serviceRequests': requests.c:190:5: warning: implicit declaration of function 'queueInitialize' [-Wimplicit-function-declaration] 190 | queueInitialize(); | ^~~~~~~~~~~~~~~ requests.c:192:5: warning: implicit declaration of function 'queueNewAssociation' [-Wimplicit-function-declaration] 192 | queueNewAssociation(service->callingAPTitle); | ^~~~~~~~~~~~~~~~~~~ requests.c:193:5: warning: implicit declaration of function 'queueNetworkNewAssociation' [-Wimplicit-function-declaration] 193 | queueNetworkNewAssociation(service->callingAPTitle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ requests.c:276:5: warning: implicit declaration of function 'queueClosedAssociation' [-Wimplicit-function-declaration] 276 | queueClosedAssociation(service->callingAPTitle, receivedImageCount); | ^~~~~~~~~~~~~~~~~~~~~~ requests.c:278:7: warning: implicit declaration of function 'queueDisplayImage' [-Wimplicit-function-declaration] 278 | queueDisplayImage(service->callingAPTitle, lastImageInAssociation); | ^~~~~~~~~~~~~~~~~ requests.c: In function 'storeRequest': requests.c:505:5: warning: implicit declaration of function 'queueNewImage' [-Wimplicit-function-declaration] 505 | queueNewImage(params->callingAPTitle, imageCount); | ^~~~~~~~~~~~~ requests.c: In function 'storageCallback': requests.c:565:5: warning: implicit declaration of function 'networkqueuePartialImage' [-Wimplicit-function-declaration] 565 | networkqueuePartialImage(callingAPTitle, percentage); | ^~~~~~~~~~~~~~~~~~~~~~~~ requests.c:568:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 568 | printf("%8d bytes received of %8d estimated \n", received, estimate); | ~~^ ~~~~~~~~ | | | | int long unsigned int | %8ld requests.c:568:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 568 | printf("%8d bytes received of %8d estimated \n", received, estimate); | ~~^ ~~~~~~~~ | | | | int long unsigned int | %8ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o find.o find.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o move.o move.c move.c: In function 'moveCallback': move.c:424:11: warning: implicit declaration of function 'queueTransmitAssociation' [-Wimplicit-function-declaration] 424 | queueTransmitAssociation(params->callingAPTitle, | ^~~~~~~~~~~~~~~~~~~~~~~~ move.c:459:13: warning: implicit declaration of function 'queueTransmitImage' [-Wimplicit-function-declaration] 459 | queueTransmitImage(params->callingAPTitle, | ^~~~~~~~~~~~~~~~~~ move.c:462:13: warning: implicit declaration of function 'queueStartTransmit' [-Wimplicit-function-declaration] 462 | queueStartTransmit(params->callingAPTitle, | ^~~~~~~~~~~~~~~~~~ move.c:479:38: warning: passing argument 6 of 'IAP_SendImage' from incompatible pointer type [-Wincompatible-pointer-types] 479 | sendCallback, &sendCtx); | ^~~~~~~~~~~~ | | | CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, SEND_CTX *) {aka long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, SEND_CTX *)} In file included from move.c:70: /build/ctn-3.2.0~dfsg/include/iap.h:65:26: note: expected 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *)'} but argument is of type 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, SEND_CTX *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, SEND_CTX *)'} 65 | CONDITION(*callback) (MSG_C_STORE_REQ * request, MSG_C_STORE_RESP * response, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | unsigned long transmitted, unsigned long total, char *string), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ move.c:544:13: warning: implicit declaration of function 'queueClosedTransmitAssociation' [-Wimplicit-function-declaration] 544 | queueClosedTransmitAssociation(params->callingAPTitle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ move.c: In function 'sendCallback': move.c:612:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 612 | printf("%8d bytes transmitted of %8d (%s)\n", | ~~^ | | | int | %8ld 613 | transmitted, total,ctx->destination); | ~~~~~~~~~~~ | | | long unsigned int move.c:612:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 612 | printf("%8d bytes transmitted of %8d (%s)\n", | ~~^ | | | int | %8ld 613 | transmitted, total,ctx->destination); | ~~~~~ | | | long unsigned int move.c: In function 'establishSendAssociation': move.c:683:49: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 683 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from move.c:50: In function 'sprintf', inlined from 'establishSendAssociation' at move.c:683:3: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cget.o cget.c cget.c: In function 'cgetCallback': cget.c:291:70: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 291 | fprintf(stderr, "Invalid status code in store response: %s\n", | ~^ | | | char * | %d 292 | storeResponse->status); | ~~~~~~~~~~~~~~~~~~~~~ | | | int cget.c:307:70: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 307 | fprintf(stderr, "Invalid status code in store response: %s\n", | ~^ | | | char * | %d 308 | storeResponse->status); | ~~~~~~~~~~~~~~~~~~~~~ | | | int gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o naction.o naction.c naction.c: In function 'storageCommitmentRequest': naction.c:260:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'SQ_REFERENCEDSOPSEQUENCE *' [-Wformat=] 260 | fprintf(stderr, "Address of first sequence element: %x\n", ref); | ~^ ~~~ | | | | | SQ_REFERENCEDSOPSEQUENCE * | unsigned int gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o queue.o queue.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c parse.c: In function 'changeInsertionCase': parse.c:362:13: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] 362 | if (islower(r->patient.PatNam[i])) | ^~~~~~~ parse.c:68:1: note: include '' or provide a declaration of 'islower' 67 | #include "image_archive.h" +++ |+#include 68 | parse.c:363:36: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 363 | r->patient.PatNam[i] = toupper(r->patient.PatNam[i]); | ^~~~~~~ parse.c:363:36: note: include '' or provide a declaration of 'toupper' parse.c: In function 'buildQuery': parse.c:612:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 612 | (void) sprintf(numPatRelStuTxt, "%-d", Query.patient.NumPatRelStu); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %-ld parse.c:613:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 613 | (void) sprintf(numPatRelSerTxt, "%-d", Query.patient.NumPatRelSer); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %-ld parse.c:614:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 614 | (void) sprintf(numPatRelImaTxt, "%-d", Query.patient.NumPatRelIma); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %-ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o archive_server -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib archive_server.o association.o requests.o find.o move.o cget.o naction.o queue.o parse.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz -lm gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o archive_agent.o archive_agent.c archive_agent.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int] 327 | main(int argc, char **argv) | ^~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o commit_result.o commit_result.c commit_result.c: In function 'establishCommitResultAssociation': commit_result.c:581:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 581 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from commit_result.c:54: In function 'sprintf', inlined from 'establishCommitResultAssociation' at commit_result.c:581:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o archive_agent -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib archive_agent.o commit_result.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o archive_cleaner.o archive_cleaner.c archive_cleaner.c: In function 'cleanArchiveIDB': archive_cleaner.c:215:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 215 | printf("Found %6d studies to delete\n", LST_Count(&studyList)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %6ld archive_cleaner.c:236:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 236 | printf("There are %6d studies to be deleted\n", LST_Count(&studyList)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %6ld archive_cleaner.c: In function 'cleanArchiveIDBPatients': archive_cleaner.c:323:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 323 | printf("Found %6d patients to delete\n", LST_Count(&patientList)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %6ld archive_cleaner.c:328:30: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] 328 | printf("%s %s %16s %4d %s\n", | ~~^ | | | int | %4ld ...... 332 | ptr->q.patient.NumPatRelStu, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int archive_cleaner.c:345:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 345 | printf("There are %6d patients to be deleted\n", LST_Count(&patientList)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %6ld archive_cleaner.c: At top level: archive_cleaner.c:452:1: warning: return type defaults to 'int' [-Wimplicit-int] 452 | main(int argc, char **argv) | ^~~~ archive_cleaner.c: In function 'cleanArchiveIDB': archive_cleaner.c:171:26: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 10 [-Wformat-overflow=] 171 | sprintf(dateString, "%04d%02d%02d", | ^~~~ archive_cleaner.c:171:25: note: directive argument in the range [-2147481748, 2147483647] 171 | sprintf(dateString, "%04d%02d%02d", | ^~~~~~~~~~~~~~ archive_cleaner.c:171:25: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from archive_cleaner.c:26: In function 'sprintf', inlined from 'cleanArchiveIDB' at archive_cleaner.c:171:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ archive_cleaner.c: In function 'cleanArchiveIDB': archive_cleaner.c:199:27: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 9 [-Wformat-overflow=] 199 | sprintf(dateString, "-%04d%02d%02d", | ^~~~ archive_cleaner.c:199:25: note: directive argument in the range [-2147481748, 2147483647] 199 | sprintf(dateString, "-%04d%02d%02d", | ^~~~~~~~~~~~~~~ archive_cleaner.c:199:25: note: directive argument in the range [-2147483647, 2147483647] In function 'sprintf', inlined from 'cleanArchiveIDB' at archive_cleaner.c:199:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 35 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ archive_cleaner.c: In function 'cleanArchiveIDBPatients': archive_cleaner.c:278:26: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 10 [-Wformat-overflow=] 278 | sprintf(dateString, "%04d%02d%02d", | ^~~~ archive_cleaner.c:278:25: note: directive argument in the range [-2147481748, 2147483647] 278 | sprintf(dateString, "%04d%02d%02d", | ^~~~~~~~~~~~~~ archive_cleaner.c:278:25: note: directive argument in the range [-2147483647, 2147483647] In function 'sprintf', inlined from 'cleanArchiveIDBPatients' at archive_cleaner.c:278:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ archive_cleaner.c: In function 'cleanArchiveIDBPatients': archive_cleaner.c:307:27: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 9 [-Wformat-overflow=] 307 | sprintf(dateString, "-%04d%02d%02d", | ^~~~ archive_cleaner.c:307:25: note: directive argument in the range [-2147481748, 2147483647] 307 | sprintf(dateString, "-%04d%02d%02d", | ^~~~~~~~~~~~~~~ archive_cleaner.c:307:25: note: directive argument in the range [-2147483647, 2147483647] In function 'sprintf', inlined from 'cleanArchiveIDBPatients' at archive_cleaner.c:307:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 35 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o archive_cleaner -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib archive_cleaner.o commit_result.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dump_commit_requests.o dump_commit_requests.c dump_commit_requests.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] 196 | main(int argc, char **argv) | ^~~~ gcc -o dump_commit_requests -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dump_commit_requests.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz install -m 4775 archive_server /build/ctn-3.2.0~dfsg/debian/tmp/bin install archive_agent /build/ctn-3.2.0~dfsg/debian/tmp/bin install archive_cleaner /build/ctn-3.2.0~dfsg/debian/tmp/bin install dump_commit_requests /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_archive' cd image_server; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_server' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o image_server.o image_server.c image_server.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] 110 | main(int argc, char **argv) | ^~~~ image_server.c: In function 'main': image_server.c:235:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 235 | setuid(getuid()); /* Return to proper uid */ | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o requests.o requests.c requests.c: In function 'storageCallback': requests.c:486:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 486 | printf("%8d bytes received of %8d estimated \n", received, estimate); | ~~^ ~~~~~~~~ | | | | int long unsigned int | %8ld requests.c:486:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 486 | printf("%8d bytes received of %8d estimated \n", received, estimate); | ~~^ ~~~~~~~~ | | | | int long unsigned int | %8ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o find.o find.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o move.o move.c move.c: In function 'sendCallback': move.c:491:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 491 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~~~~~~~ | | | | int long unsigned int | %8ld move.c:491:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 491 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~ | | | | int long unsigned int | %8ld move.c: In function 'establishSendAssociation': move.c:554:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 554 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from move.c:50: In function 'sprintf', inlined from 'establishSendAssociation' at move.c:554:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cget.o cget.c cget.c: In function 'cgetCallback': cget.c:288:70: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 288 | fprintf(stderr, "Invalid status code in store response: %s\n", | ~^ | | | char * | %d 289 | storeResponse->status); | ~~~~~~~~~~~~~~~~~~~~~ | | | int cget.c:304:70: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 304 | fprintf(stderr, "Invalid status code in store response: %s\n", | ~^ | | | char * | %d 305 | storeResponse->status); | ~~~~~~~~~~~~~~~~~~~~~ | | | int cget.c:392:13: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 392 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c parse.c: In function 'parseImageForInsert': parse.c:224:16: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration] 224 | (void) COND_PushCondition(APP_ERROR(APP_GENERALMSG), | ^~~~~~~~~~~~~~~~~~ parse.c: In function 'changeInsertionCase': parse.c:292:13: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] 292 | if (islower(r->patient.PatNam[i])) | ^~~~~~~ parse.c:74:1: note: include '' or provide a declaration of 'islower' 73 | #include "image_server.h" +++ |+#include 74 | parse.c:293:36: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 293 | r->patient.PatNam[i] = toupper(r->patient.PatNam[i]); | ^~~~~~~ parse.c:293:36: note: include '' or provide a declaration of 'toupper' parse.c: In function 'parseQuery': parse.c:433:56: warning: passing argument 6 of 'DCM_ScanParseObject' from incompatible pointer type [-Wincompatible-pointer-types] 433 | queryMap, (int) DIM_OF(queryMap), queryCallback, NULL); | ^~~~~~~~~~~~~ | | | CONDITION (*)(DCM_ELEMENT *, void *) {aka long unsigned int (*)(DCM_ELEMENT *, void *)} In file included from parse.c:68: /build/ctn-3.2.0~dfsg/include/dicom_objects.h:314:16: note: expected 'CONDITION (*)(const DCM_ELEMENT *, void *)' {aka 'long unsigned int (*)(const DCM_ELEMENT *, void *)'} but argument is of type 'CONDITION (*)(DCM_ELEMENT *, void *)' {aka 'long unsigned int (*)(DCM_ELEMENT *, void *)'} 314 | CONDITION(*callback) (const DCM_ELEMENT* e, void* ctx), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o image_server -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib image_server.o association.o requests.o find.o move.o cget.o parse.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz -lm gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fillImageDB.o fillImageDB.c fillImageDB.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] 92 | main(int argc, char **argv) | ^~~~ fillImageDB.c: In function 'main': fillImageDB.c:129:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 129 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ fillImageDB.c: In function 'insertImage': fillImageDB.c:224:12: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration] 224 | (void) COND_PopCondition(TRUE); | ^~~~~~~~~~~~~~~~~ gcc -o fillImageDB -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib fillImageDB.o parse.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz -lm install -m 4775 image_server /build/ctn-3.2.0~dfsg/debian/tmp/bin install fillImageDB /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_server' cd load_control; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/load_control' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load_control.o load_control.c gcc -o load_control -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz -ldl -lc load_control.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm install -m 4775 load_control /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/load_control' cd mwlQuery; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mwlQuery.o mwlQuery.c mwlQuery.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] 159 | main(int argc, char **argv) | ^~~~ mwlQuery.c: In function 'main': mwlQuery.c:289:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 289 | (void) fprintf(stderr, "%x\n", cond); | ~^ ~~~~ | | | | | CONDITION {aka long unsigned int} | unsigned int | %lx gcc -o mwlQuery -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz mwlQuery.o -Wl,-z,relro -Wl,-z,now -lctn install mwlQuery /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery' cd pdu_examples; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex1_initiator.o ex1_initiator.c ex1_initiator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | main(int argc, char **argv) | ^~~~ gcc -o ex1_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib ex1_initiator.o -Wl,-z,relro -Wl,-z,now -lctn gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex2_initiator.o ex2_initiator.c ex2_initiator.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] 95 | main(int argc, char **argv) | ^~~~ gcc -o ex2_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib ex2_initiator.o -Wl,-z,relro -Wl,-z,now -lctn gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex3_initiator.o ex3_initiator.c ex3_initiator.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] 97 | main(int argc, char **argv) | ^~~~ gcc -o ex3_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib ex3_initiator.o -Wl,-z,relro -Wl,-z,now -lctn gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex3_acceptor.o ex3_acceptor.c ex3_acceptor.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] 119 | main(int argc, char **argv) | ^~~~ ex3_acceptor.c: In function 'main': ex3_acceptor.c:209:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex3_cond.o ex3_cond.c gcc -o ex3_acceptor -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib ex3_acceptor.o ex3_cond.o -Wl,-z,relro -Wl,-z,now -lctn gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex4_initiator.o ex4_initiator.c ex4_initiator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | main(int argc, char **argv) | ^~~~ gcc -o ex4_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib ex4_initiator.o -Wl,-z,relro -Wl,-z,now -lctn gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex4_acceptor.o ex4_acceptor.c ex4_acceptor.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] 115 | main(int argc, char **argv) | ^~~~ ex4_acceptor.c: In function 'main': ex4_acceptor.c:245:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ex4_cond.o ex4_cond.c gcc -o ex4_acceptor -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib ex4_acceptor.o ex4_cond.o -Wl,-z,relro -Wl,-z,now -lctn install ex1_initiator /build/ctn-3.2.0~dfsg/debian/tmp/bin install ex2_initiator /build/ctn-3.2.0~dfsg/debian/tmp/bin install ex3_initiator /build/ctn-3.2.0~dfsg/debian/tmp/bin install ex3_acceptor /build/ctn-3.2.0~dfsg/debian/tmp/bin install ex4_initiator /build/ctn-3.2.0~dfsg/debian/tmp/bin install ex4_acceptor /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples' cd print_clients; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_clients' gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_mgr.c print_mgr.c:832:1: warning: return type defaults to 'int' [-Wimplicit-int] 832 | main(int argc, char *argv[]) | ^~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include Buttons.c Buttons.c: In function 'CreateSimpleList': Buttons.c:477:29: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 477 | XawListChange(list, List, listsize, xsize - 30, TRUE); | ^~~~ | | | char ** In file included from Buttons.c:76: /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ Buttons.c: At top level: Buttons.c:504:1: warning: return type defaults to 'int' [-Wimplicit-int] 504 | get_wmShellWidgetClass() | ^~~~~~~~~~~~~~~~~~~~~~ Buttons.c:508:1: warning: return type defaults to 'int' [-Wimplicit-int] 508 | get_applicationShellWidgetClass() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include MessageBox.c gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include Fields.c Fields.c: In function 'CheckRequiredFields': Fields.c:768:33: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 768 | XawListChange(list, missinglist, count, 170, TRUE); | ^~~~~~~~~~~ | | | char ** In file included from Fields.c:80: /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include display_error.c gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_shared.c print_shared.c: In function 'ncreateBFBCallback': print_shared.c:1116:12: warning: type defaults to 'int' in declaration of 'filmBoxFlagList' [-Wimplicit-int] 1116 | static filmBoxFlagList[] = { | ^~~~~~~~~~~~~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include display_icon.c display_icon.c: In function 'selectImage': display_icon.c:351:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 351 | idx = (int) client_data; | ^ display_icon.c: In function 'Multi_select': display_icon.c:544:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 544 | selectImage(w, (XtPointer) idx, NULL); | ^ display_icon.c:550:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 550 | selectImage(w, (XtPointer) idx, NULL); | ^ display_icon.c: In function 'CreatePreviewStudyWindow': display_icon.c:637:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 637 | (XtPointer) (i * 8 + j)); | ^ display_icon.c: In function 'selectBIB': display_icon.c:798:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 798 | selected = (int) client_data; | ^ display_icon.c:805:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 805 | selected = (int) client_data; | ^ display_icon.c: In function 'CreateStandardBFBWindow': display_icon.c:1148:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1148 | (XtPointer) (i * 8 + j)); | ^ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include display_study.c In function 'SplitPName', inlined from 'ConvertPNameToName' at display_study.c:184:5, inlined from 'GetStudyList' at display_study.c:298:6: display_study.c:151:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 151 | firstname[i++] = '\0'; | ~~~~~~~~~~~~~~~^~~~~~ display_study.c: In function 'GetStudyList': display_study.c:180:9: note: at offset 64 into destination object 'first' of size 24 180 | first[24], | ^~~~~ In function 'SplitPName', inlined from 'ConvertPNameToName' at display_study.c:184:5, inlined from 'GetStudyList' at display_study.c:298:6: display_study.c:147:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 147 | lastname[i++] = '\0'; | ~~~~~~~~~~~~~~^~~~~~ display_study.c: In function 'GetStudyList': display_study.c:181:9: note: at offset 64 into destination object 'last' of size 20 181 | last[20], | ^~~~ In function 'SplitPName', inlined from 'ConvertPNameToName' at display_study.c:184:5, inlined from 'GetStudyList' at display_study.c:298:6: display_study.c:151:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 151 | firstname[i++] = '\0'; | ~~~~~~~~~~~~~~~^~~~~~ display_study.c: In function 'GetStudyList': display_study.c:180:9: note: at offset [64, 65] into destination object 'first' of size 24 180 | first[24], | ^~~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include display_message.c display_message.c: In function 'displayMessage': display_message.c:183:44: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 183 | XtAddCallback(button, XtNcallback, cb, client_data); | ^~ | | | void (* (*)())(struct _WidgetRec *, void *, void *) In file included from display_message.c:64: /usr/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)())(struct _WidgetRec *, void *, void *)' 1247 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ gcc -o print_mgr -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_mgr.o Buttons.o MessageBox.o Fields.o display_error.o print_shared.o display_icon.o display_study.o display_message.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib -lXaw -lXt -lm -lXt -lX11 -Wl,-z,relro -Wl,-z,now -lctn gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_client.c print_client.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | main(int argc, char **argv) | ^~~~ print_client.c: In function 'main': print_client.c:271:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] 271 | (void) fprintf(stderr, "%x\n", cond); | ~^ ~~~~ | | | | | CONDITION {aka long unsigned int} | unsigned int | %lx gcc -o print_client -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_client.o print_shared.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn install print_mgr /build/ctn-3.2.0~dfsg/debian/tmp/bin install print_client /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_clients' cd print_server; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_server' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print_server.o print_server.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o requests.o requests.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o utils.o utils.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o verify.o verify.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o get.o get.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o create.o create.c In file included from create.c:61: static_variables.h:135:38: warning: initialization of 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 135 | {DICOM_SOPCLASSBASICFILMSESSION, NULL} | ^~~~ static_variables.h:135:38: note: (near initialization for 'bfbRefFilmSessionSequence[0].referencedFilmSessionSOPInstanceUID[0]') gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o set.o set.c In file included from set.c:61: static_variables.h:135:38: warning: initialization of 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 135 | {DICOM_SOPCLASSBASICFILMSESSION, NULL} | ^~~~ static_variables.h:135:38: note: (near initialization for 'bfbRefFilmSessionSequence[0].referencedFilmSessionSOPInstanceUID[0]') gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o action.o action.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o delete.o delete.c gcc -o print_server -g print_server.o sscond.o association.o requests.o utils.o verify.o get.o create.o set.o action.o delete.o -L/usr/lib -L/usr/X11R6/lib -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz install print_server /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server' cd print_server_display; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_server_display' gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include print_server_display.c print_server_display.c: In function 'kill_queue': print_server_display.c:88:17: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 88 | unlink(elem.objFile); | ^~~~~~ print_server_display.c:96:12: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 96 | (void) sleep(5); | ^~~~~ print_server_display.c: In function 'createMainWin': print_server_display.c:158:37: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 158 | XtAddCallback(btn, XtNcallback, quit, NULL); | ^~~~ | | | void (* (*)(struct _WidgetRec *, void *, void *))(struct _WidgetRec *, void *, void *) In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)(struct _WidgetRec *, void *, void *))(struct _WidgetRec *, void *, void *)' 1247 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ print_server_display.c: In function 'pollQueue': print_server_display.c:204:43: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 204 | XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL); | ^~~~~~~~~ | | | void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)} /usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'} 990 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ print_server_display.c:215:43: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 215 | XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL); | ^~~~~~~~~ | | | void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)} /usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'} 990 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ print_server_display.c:245:40: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 245 | XtAppAddTimeOut(app_ctx, 5000, delayedDelete, temp); | ^~~~~~~~~~~~~ | | | void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)} /usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'} 990 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ print_server_display.c:255:33: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 255 | XtAppAddTimeOut(app_ctx, 1, pollQueue, NULL); | ^~~~~~~~~ | | | void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)} /usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'} 990 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ print_server_display.c: In function 'main': print_server_display.c:425:39: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 425 | XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL); | ^~~~~~~~~ | | | void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)} /usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'} 990 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ print_server_display.c: In function 'delayedDelete': print_server_display.c:176:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Wformat-overflow=] 176 | sprintf(num, "%d", --num_client); | ^~ print_server_display.c:176:22: note: directive argument in the range [-2147483648, 2147483646] 176 | sprintf(num, "%d", --num_client); | ^~~~ print_server_display.c:176:9: note: 'sprintf' output between 2 and 12 bytes into a destination of size 5 176 | sprintf(num, "%d", --num_client); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print_server_display.c: In function 'pollQueue': print_server_display.c:225:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Wformat-overflow=] 225 | sprintf(num, "%d", ++num_client); | ^~ print_server_display.c:225:26: note: directive argument in the range [-2147483647, 2147483647] 225 | sprintf(num, "%d", ++num_client); | ^~~~ print_server_display.c:225:13: note: 'sprintf' output between 2 and 12 bytes into a destination of size 5 225 | sprintf(num, "%d", ++num_client); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include display_prn.c display_prn.c:120:8: warning: type defaults to 'int' in declaration of 'ncolor' [-Wimplicit-int] 120 | static ncolor; | ^~~~~~ display_prn.c: In function 'DISP_DestroyDISP_SESSION': display_prn.c:717:13: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 717 | unlink(img->filename); | ^~~~~~ gcc -o print_server_display -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -L/usr/lib print_server_display.o display_prn.o -Wl,-z,relro -Wl,-z,now -lctn -lXaw -lXt -lm -lXt -lX11 -lm install print_server_display /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server_display' cd ris_gateway; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ris_gateway.o ris_gateway.c ris_gateway.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] 73 | main(int argc, char **argv) | ^~~~ ris_gateway.c: In function 'main': ris_gateway.c:167:9: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 167 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ ris_gateway.c:171:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | setuid(getuid()); /* Return to proper uid */ | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c association.c: In function 'nextAssociationRequest': association.c:118:16: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration] 118 | return COND_PushCondition(APP_ERROR(APP_ASSOCIATIONRQFAILED)); | ^~~~~~~~~~~~~~~~~~ association.c:139:13: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 139 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ association.c: In function 'requestAssociationHIS': association.c:520:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 520 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:20: In function 'sprintf', inlined from 'requestAssociationHIS' at association.c:520:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o event.o event.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o procevent.o procevent.c procevent.c: In function 'retrieveInsertInterp': procevent.c:344:17: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 344 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ procevent.c: In function 'insertNewResults': procevent.c:541:5: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration] 541 | COND_PopCondition(); | ^~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o requests.o requests.c requests.c: In function 'serviceRequests': requests.c:141:13: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 141 | COND_DumpConditions(); | ^~~~~~~~~~~~~~~~~~~ requests.c:160:36: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration] 160 | (void) COND_PopCondition(TRUE); | ^~~~~~~~~~~~~~~~~ requests.c: In function 'serviceThisCommand': requests.c:229:16: warning: implicit declaration of function 'NEventReportRequest'; did you mean 'SRV_NEventReportRequest'? [-Wimplicit-function-declaration] 229 | cond = NEventReportRequest(params, association, handle, | ^~~~~~~~~~~~~~~~~~~ | SRV_NEventReportRequest gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o ris_gateway -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ris_gateway.o association.o event.o procevent.o requests.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm install -m 4775 ris_gateway /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway' cd scripts; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/scripts' #chmod 775 add-accession-numbers create_common create_icons create_icons.94 createdirectory fillImageDBScript his_layout icon_script img_layout pacs_layout print_layout start_clients start_his_client start_his_server start_img_client start_img_displays start_img_server start_pacs_client start_pacs_server start_print_client stop_img_displays #cp add-accession-numbers /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp create_common /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp create_icons /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp create_icons.94 /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp createdirectory /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp fillImageDBScript /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp his_layout /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp icon_script /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp img_layout /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp pacs_layout /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp print_layout /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_clients /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_his_client /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_his_server /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_img_client /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_img_displays /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_img_server /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_pacs_client /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_pacs_server /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp start_print_client /build/ctn-3.2.0~dfsg/debian/tmp/bin #cp stop_img_displays /build/ctn-3.2.0~dfsg/debian/tmp/bin echo 'scripts will be installed as examples' scripts will be installed as examples make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/scripts' cd send_image; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_image' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o send_image.o send_image.c send_image.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] 148 | main(int argc, char **argv) | ^~~~ send_image.c: In function 'sendImageSet': send_image.c:584:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 584 | printf("%10d bytes transfer in %7.3f seconds (%f kB/s)\n", | ~~~^ | | | int | %10ld 585 | objectLength, deltaTime, | ~~~~~~~~~~~~ | | | long unsigned int send_image.c: In function 'sendCallback': send_image.c:690:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 690 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, (char *) string); | ~~^ ~~~~~~~~~~~ | | | | int long unsigned int | %8ld send_image.c:690:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 690 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, (char *) string); | ~~^ ~~~~~ | | | | int long unsigned int | %8ld gcc -o send_image -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib send_image.o -Wl,-z,relro -Wl,-z,now -lctn -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib install send_image /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_image' cd send_results; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_results' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o send_results.o send_results.c send_results.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] 277 | main(int argc, char **argv) | ^~~~ send_results.c: In function 'selectImages': send_results.c:426:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 426 | printf("%d\n", LST_Count(&imageList)); | ~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c association.c: In function 'sendCallback': association.c:120:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 120 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~~~~~~~ | | | | int long unsigned int | %8ld association.c:120:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 120 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~ | | | | int long unsigned int | %8ld association.c: In function 'establishSendAssociation': association.c:180:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 180 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:50: In function 'sprintf', inlined from 'establishSendAssociation' at association.c:180:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o send_results -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql send_results.o association.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz install send_results /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_results' cd send_study; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_study' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o send_study.o send_study.c send_study.c: In function 'sendCallback': send_study.c:116:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 116 | printf("%8d bytes transmitted of %8d (%s)\n", | ~~^ | | | int | %8ld 117 | transmitted, total, string); | ~~~~~~~~~~~ | | | long unsigned int send_study.c:116:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 116 | printf("%8d bytes transmitted of %8d (%s)\n", | ~~^ | | | int | %8ld 117 | transmitted, total, string); | ~~~~~ | | | long unsigned int send_study.c: In function 'sendImages': send_study.c:277:5: warning: implicit declaration of function 'establishSendAssociation' [-Wimplicit-function-declaration] 277 | establishSendAssociation(&network, imageList, destinationAETitle, | ^~~~~~~~~~~~~~~~~~~~~~~~ send_study.c: At top level: send_study.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int] 320 | main(int argc, char **argv) | ^~~~ send_study.c: In function 'selectImages': send_study.c:510:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 510 | printf("%d\n", LST_Count(&imageList)); | ~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c association.c: In function 'sendCallback': association.c:120:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 120 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~~~~~~~ | | | | int long unsigned int | %8ld association.c:120:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 120 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~ | | | | int long unsigned int | %8ld association.c: In function 'establishSendAssociation': association.c:180:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 180 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:50: In function 'sprintf', inlined from 'establishSendAssociation' at association.c:180:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o send_study -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql send_study.o association.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz install send_study /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_study' cd simple_pacs; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/simple_pacs' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o simple_pacs.o simple_pacs.c simple_pacs.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] 125 | main(int argc, char **argv) | ^~~~ simple_pacs.c: In function 'main': simple_pacs.c:245:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o simple_pacs -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib simple_pacs.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient install -m 4775 simple_pacs /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/simple_pacs' cd simple_storage; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/simple_storage' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o simple_storage.o simple_storage.c simple_storage.c:437:1: warning: return type defaults to 'int' [-Wimplicit-int] 437 | main(int argc, char **argv) | ^~~~ simple_storage.c: In function 'storageCallback': simple_storage.c:1531:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 1531 | printf("%8d bytes received of %8d estimated (%s)\n", received, estimate, | ~~^ ~~~~~~~~ | | | | int long unsigned int | %8ld simple_storage.c:1531:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 1531 | printf("%8d bytes received of %8d estimated (%s)\n", received, estimate, | ~~^ ~~~~~~~~ | | | | int long unsigned int | %8ld simple_storage.c: In function 'sendCallback': simple_storage.c:2055:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2055 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~~~~~~~ | | | | int long unsigned int | %8ld simple_storage.c:2055:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 2055 | printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); | ~~^ ~~~~~ | | | | int long unsigned int | %8ld simple_storage.c: In function 'main': simple_storage.c:699:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 699 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ simple_storage.c: In function 'storeRequest': simple_storage.c:1483:35: warning: '%s' directive writing up to 64 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1483 | sprintf(fileName, "%s/%s", directory, (*request)->instanceUID); | ^~ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from simple_storage.c:74: In function 'sprintf', inlined from 'storeRequest' at simple_storage.c:1483:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 1089 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o simple_storage -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib simple_storage.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn install -m 4775 simple_storage /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/simple_storage' cd snp_to_files; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o snp_to_files.o snp_to_files.c snp_to_files.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | main(int argc, char *argv[]) | ^~~~ snp_to_files.c: In function 'main': snp_to_files.c:171:71: warning: comparison between pointer and integer 171 | if ((fd_itoa = open(argv[8], O_WRONLY | O_CREAT | O_TRUNC, 0666)) == NULL) { | ^~ snp_to_files.c:176:71: warning: comparison between pointer and integer 176 | if ((fd_atoi = open(argv[9], O_WRONLY | O_CREAT | O_TRUNC, 0666)) == NULL) { | ^~ snp_to_files.c:198:9: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 198 | sleep(1); | ^~~~~ snp_to_files.c:228:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 228 | close(fd_itoa); | ^~~~~ | pclose snp_to_files.c: In function 'callbackITOA': snp_to_files.c:310:10: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 310 | if ((write(fd_itoa, (void *) &buf_head, 12)) != 12) | ^~~~~ | fwrite gcc -o snp_to_files -O -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib snp_to_files.o -Wl,-z,relro -Wl,-z,now -lctn install snp_to_files /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files' cd storage_classes; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_classes' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o storage_classes.o storage_classes.c storage_classes.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] 101 | main(int argc, char **argv) | ^~~~ gcc -o storage_classes -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -lz -L/usr/lib storage_classes.o -Wl,-z,relro -Wl,-z,now -lctn install storage_classes /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_classes' cd storage_commit; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_commit' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o storage_commit.o storage_commit.c storage_commit.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] 92 | main(int argc, char **argv) | ^~~~ storage_commit.c: In function 'main': storage_commit.c:205:9: warning: implicit declaration of function 'establishAssociation' [-Wimplicit-function-declaration] 205 | if (establishAssociation(&networkKey, | ^~~~~~~~~~~~~~~~~~~~ storage_commit.c:214:5: warning: implicit declaration of function 'sendStorageCommitRequest' [-Wimplicit-function-declaration] 214 | sendStorageCommitRequest(&fisHandle, transactionUID, | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o association.o association.c association.c: In function 'establishAssociation': association.c:138:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] 138 | sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); | ^ In file included from /usr/include/stdio.h:906, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:50: In function 'sprintf', inlined from 'establishAssociation' at association.c:138:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o commit_request.o commit_request.c gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sscond.o sscond.c gcc -o storage_commit -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql storage_commit.o association.o commit_request.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o commit_agent.o commit_agent.c commit_agent.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] 112 | main(int argc, char **argv) | ^~~~ commit_agent.c: In function 'main': commit_agent.c:226:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | setuid(getuid()); /* Return to proper uid */ | ^~~~~~~~~~~~~~~~ gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o requests.o requests.c requests.c: In function 'serviceThisCommand': requests.c:242:16: warning: implicit declaration of function 'neventReportRequest'; did you mean 'SRV_NEventReportRequest'? [-Wimplicit-function-declaration] 242 | cond = neventReportRequest(params, association, handle, ctx, | ^~~~~~~~~~~~~~~~~~~ | SRV_NEventReportRequest gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o nevent.o nevent.c nevent.c: In function 'storageCommitmentRequest': nevent.c:170:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 170 | printf("Transaction UID: %s\n SOP Instances committed: %d\n", | ~^ | | | int | %ld 171 | storageCommit.TraUID, 172 | LST_Count(&l)); | ~~~~~~~~~~~~~ | | | long unsigned int nevent.c:212:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 212 | printf("Transaction UID: %s\n SOP Instances failed: %d\n", | ~^ | | | int | %ld 213 | storageCommit.TraUID, 214 | LST_Count(&l)); | ~~~~~~~~~~~~~ | | | long unsigned int nevent.c:237:5: warning: implicit declaration of function 'UTL_GetDicomDate' [-Wimplicit-function-declaration] 237 | UTL_GetDicomDate(storageCommit.ResDat); | ^~~~~~~~~~~~~~~~ nevent.c:238:5: warning: implicit declaration of function 'UTL_GetDicomTime' [-Wimplicit-function-declaration] 238 | UTL_GetDicomTime(storageCommit.ResTim); | ^~~~~~~~~~~~~~~~ gcc -o commit_agent -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql commit_agent.o association.o requests.o nevent.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz install storage_commit /build/ctn-3.2.0~dfsg/debian/tmp/bin install commit_agent /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_commit' cd tbltest; make install make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/tbltest' gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttinsert.o ttinsert.c gcc -o ttinsert -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ttinsert.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttunique.o ttunique.c ttunique.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] 59 | main() | ^~~~ gcc -o ttunique -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ttunique.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttdelete.o ttdelete.c ttdelete.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] 64 | main() | ^~~~ gcc -o ttdelete -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ttdelete.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttselect.o ttselect.c ttselect.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int] 72 | main() | ^~~~ ttselect.c: In function 'main': ttselect.c:117:54: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] 117 | cond = TBL_Select(&handle, NULL, fields, &count, callback, (void *) foo); | ^~~~~~~~ | | | CONDITION (*)(TBL_FIELD *, int, void *) {aka long unsigned int (*)(TBL_FIELD *, int, void *)} In file included from ttselect.c:57: /build/ctn-3.2.0~dfsg/include/tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int, void *)'} 265 | TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttselect.c:123:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 123 | printf("ALL DONE--Count: %d\n", count); | ~^ ~~~~~ | | | | int long int | %ld gcc -o ttselect -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ttselect.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttlayout.o ttlayout.c ttlayout.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int] 72 | main() | ^~~~ ttlayout.c: In function 'main': ttlayout.c:87:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | scanf("%s", db); | ^~~~~~~~~~~~~~~ ttlayout.c:89:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | scanf("%s", tab); | ^~~~~~~~~~~~~~~~ gcc -o ttlayout -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ttlayout.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -ffile-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=64 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ttupdate.o ttupdate.c ttupdate.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] 65 | main() | ^~~~ gcc -o ttupdate -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -lz ttupdate.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient install ttinsert /build/ctn-3.2.0~dfsg/debian/tmp/bin install ttunique /build/ctn-3.2.0~dfsg/debian/tmp/bin install ttdelete /build/ctn-3.2.0~dfsg/debian/tmp/bin install ttselect /build/ctn-3.2.0~dfsg/debian/tmp/bin install ttlayout /build/ctn-3.2.0~dfsg/debian/tmp/bin install ttupdate /build/ctn-3.2.0~dfsg/debian/tmp/bin make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/tbltest' make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/apps' make[2]: Leaving directory '/build/ctn-3.2.0~dfsg' make[1]: Leaving directory '/build/ctn-3.2.0~dfsg' dh_auto_test create-stamp debian/debhelper-build-stamp debian/rules override_dh_prep make[1]: Entering directory '/build/ctn-3.2.0~dfsg' # ctn build process does build+install in one rush # dear dh_prep, please leave my debian/tmp mv /build/ctn-3.2.0~dfsg/debian/tmp /build/ctn-3.2.0~dfsg/debian/do_not_delete_this_tmp_dir dh_prep mv /build/ctn-3.2.0~dfsg/debian/do_not_delete_this_tmp_dir /build/ctn-3.2.0~dfsg/debian/tmp make[1]: Leaving directory '/build/ctn-3.2.0~dfsg' dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/ctn-3.2.0~dfsg' echo 'Do not try to call `make install` since it requires setting variable DICOM_MAKE' Do not try to call `make install` since it requires setting variable DICOM_MAKE make[1]: Leaving directory '/build/ctn-3.2.0~dfsg' dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress debian/rules override_dh_fixperms make[1]: Entering directory '/build/ctn-3.2.0~dfsg' dh_fixperms chmod +x `echo /build/ctn-3.2.0~dfsg/debian/ctn/usr/share/ctn/mysql/*` chmod -x `echo /build/ctn-3.2.0~dfsg/debian/ctn/usr/share/ctn/mysql/*.script` make[1]: Leaving directory '/build/ctn-3.2.0~dfsg' dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'ctn-dbgsym' in '../ctn-dbgsym_3.2.0~dfsg-7_arm64.deb'. dpkg-deb: building package 'ctn-dev' in '../ctn-dev_3.2.0~dfsg-7_arm64.deb'. dpkg-deb: building package 'ctn' in '../ctn_3.2.0~dfsg-7_arm64.deb'. dpkg-genbuildinfo --build=binary -O../ctn_3.2.0~dfsg-7_arm64.buildinfo dpkg-genchanges --build=binary -O../ctn_3.2.0~dfsg-7_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/25308/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/25308/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/25308 and its subdirectories I: Current time: Mon May 27 17:14:16 +14 2024 I: pbuilder-time-stamp: 1716779656