I: pbuilder: network access will be disabled during build I: Current time: Wed Sep 8 21:36:48 +14 2021 I: pbuilder-time-stamp: 1631086608 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration 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-6.dsc] I: copying [./ctn_3.2.0~dfsg.orig.tar.xz] I: copying [./ctn_3.2.0~dfsg-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Thu Jul 19 20:06:46 2018 +14 gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 gpgv: issuer "tille@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ctn_3.2.0~dfsg-6.dsc 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-6.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: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1684/tmp/hooks/D01_modify_environment starting debug: Running on codethink-sled13-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 Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/1684/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/1684/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.0.3(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= 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=1684 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/tmp.zng5Me2n3c/pbuilderrc_u4pn --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.zng5Me2n3c/b2 --logfile b2/build.log ctn_3.2.0~dfsg-6.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.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash -rwxr-xr-x 1 root root 97136 Mar 1 2019 date -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd -rwxr-xr-x 1 root root 93752 Mar 1 2019 df -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 27256 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 23 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln -rwxr-xr-x 1 root root 52544 Jul 27 2018 login -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 10 2019 more -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Sep 8 21:37 sh -> bash lrwxrwxrwx 1 root root 4 Sep 8 04:50 sh.distrib -> dash -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty -rwsr-xr-x 1 root root 59424 Jan 10 2019 su -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch -rwxr-xr-x 1 root root 27256 Mar 1 2019 true -rwxr-xr-x 1 root root 14264 Apr 23 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/1684/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 (>= 11~), 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 ... 19168 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 (>= 11~); however: Package debhelper 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} bsdmainutils{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} libbison-dev{a} libbsd0{a} libcroco3{a} libelf1{a} libevent-2.1-6{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libfl-dev{a} libfl2{a} libfontconfig1{a} libfontconfig1-dev{a} libfreetype6{a} libfreetype6-dev{a} libglib2.0-0{a} libgmp-dev{a} libgmpxx4ldbl{a} libgnutls-dane0{a} libgnutls-openssl27{a} libgnutls28-dev{a} libgnutlsxx28{a} libice-dev{a} libice6{a} libicu63{a} libidn2-dev{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} libncurses6{a} libp11-kit-dev{a} libpipeline1{a} libpng-dev{a} libpng16-16{a} libpthread-stubs0-dev{a} libsigsegv2{a} libsm-dev{a} libsm6{a} libtasn1-6-dev{a} libtool{a} libuchardet0{a} libuil4{a} libunbound8{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} lsb-base{a} m4{a} man-db{a} mariadb-common{a} mysql-common{a} nettle-dev{a} pkg-config{a} po-debconf{a} sensible-utils{a} ucf{a} uil{a} uuid-dev{a} x11-common{a} x11proto-core-dev{a} x11proto-dev{a} x11proto-xext-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 libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl libpng-tools libtasn1-doc lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 114 newly installed, 0 to remove and 0 not upgraded. Need to get 39.7 MB of archives. After unpacking 134 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 flex arm64 2.6.4-6.2 [446 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 lsb-base all 10.2019051400 [28.4 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 x11-common all 1:7.7+19 [251 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 libmotif-common all 2.3.8-2 [40.3 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 libxau6 arm64 1:1.0.8-1+b2 [19.3 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 libxcb1 arm64 1.13.1-2 [135 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 libx11-data all 2:1.6.7-1 [298 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 libx11-6 arm64 2:1.6.7-1 [735 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 libexpat1 arm64 2.2.6-2+deb10u1 [85.4 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 libpng16-16 arm64 1.6.36-6 [287 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libfreetype6 arm64 2.9.1-3+deb10u1 [355 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 ucf all 3.0038+nmu1 [69.0 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 fonts-dejavu-core all 2.37-1 [1068 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 fontconfig-config all 2.13.1-2 [280 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 libfontconfig1 arm64 2.13.1-2 [343 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 libjpeg62-turbo arm64 1:1.5.2-2+b1 [115 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libxrender1 arm64 1:0.9.10-1 [30.4 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libxft2 arm64 2.3.2-2 [51.3 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 libice6 arm64 2:1.0.9-2 [52.0 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 libsm6 arm64 2:1.2.3-1 [34.0 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 libxt6 arm64 1:1.1.5-1+b3 [175 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 libxmu6 arm64 2:1.1.2-2+b3 [57.8 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 libxm4 arm64 2.3.8-2 [856 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 libmrm4 arm64 2.3.8-2 [81.5 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 libuil4 arm64 2.3.8-2 [144 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 44 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 libbison-dev arm64 2:3.3.2.dfsg-1 [500 kB] Get: 46 http://deb.debian.org/debian buster/main arm64 bison arm64 2:3.3.2.dfsg-1 [855 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 csh arm64 20110502-4+deb10u1 [236 kB] Get: 48 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 49 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 50 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 51 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 52 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 53 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 54 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 55 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 56 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 57 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 58 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 59 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 60 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 61 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 62 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 63 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 64 http://deb.debian.org/debian buster/main arm64 mysql-common all 5.8+1.0.5 [7324 B] Get: 65 http://deb.debian.org/debian buster/main arm64 mariadb-common all 1:10.3.23-0+deb10u1 [32.0 kB] Get: 66 http://deb.debian.org/debian buster/main arm64 libmariadb3 arm64 1:10.3.23-0+deb10u1 [161 kB] Get: 67 http://deb.debian.org/debian buster/main arm64 libevent-2.1-6 arm64 2.1.8-stable-4 [150 kB] Get: 68 http://deb.debian.org/debian buster/main arm64 libunbound8 arm64 1.9.0-2+deb10u2 [432 kB] Get: 69 http://deb.debian.org/debian buster/main arm64 libgnutls-dane0 arm64 3.6.7-4+deb10u5 [317 kB] Get: 70 http://deb.debian.org/debian buster/main arm64 libgnutls-openssl27 arm64 3.6.7-4+deb10u5 [317 kB] Get: 71 http://deb.debian.org/debian buster/main arm64 libgnutlsxx28 arm64 3.6.7-4+deb10u5 [12.9 kB] Get: 72 http://deb.debian.org/debian buster/main arm64 libidn2-dev arm64 2.0.5-1+deb10u1 [79.0 kB] Get: 73 http://deb.debian.org/debian buster/main arm64 libp11-kit-dev arm64 0.23.15-2 [195 kB] Get: 74 http://deb.debian.org/debian buster/main arm64 libtasn1-6-dev arm64 4.13-3 [100 kB] Get: 75 http://deb.debian.org/debian buster/main arm64 libgmpxx4ldbl arm64 2:6.1.2+dfsg-4 [22.6 kB] Get: 76 http://deb.debian.org/debian buster/main arm64 libgmp-dev arm64 2:6.1.2+dfsg-4 [608 kB] Get: 77 http://deb.debian.org/debian buster/main arm64 nettle-dev arm64 3.4.1-1 [1091 kB] Get: 78 http://deb.debian.org/debian buster/main arm64 libgnutls28-dev arm64 3.6.7-4+deb10u5 [1121 kB] Get: 79 http://deb.debian.org/debian buster/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-1 [210 kB] Get: 80 http://deb.debian.org/debian buster/main arm64 libmariadb-dev arm64 1:10.3.23-0+deb10u1 [1009 kB] Get: 81 http://deb.debian.org/debian buster/main arm64 libmariadb-dev-compat arm64 1:10.3.23-0+deb10u1 [31.2 kB] Get: 82 http://deb.debian.org/debian buster/main arm64 default-libmysqlclient-dev arm64 1.0.5 [3764 B] Get: 83 http://deb.debian.org/debian buster/main arm64 libexpat1-dev arm64 2.2.6-2+deb10u1 [128 kB] Get: 84 http://deb.debian.org/debian buster/main arm64 libfl2 arm64 2.6.4-6.2 [103 kB] Get: 85 http://deb.debian.org/debian buster/main arm64 libfl-dev arm64 2.6.4-6.2 [104 kB] Get: 86 http://deb.debian.org/debian buster/main arm64 libpng-dev arm64 1.6.36-6 [297 kB] Get: 87 http://deb.debian.org/debian buster/main arm64 libfreetype6-dev arm64 2.9.1-3+deb10u1 [526 kB] Get: 88 http://deb.debian.org/debian buster/main arm64 uuid-dev arm64 2.33.1-0.1 [93.8 kB] Get: 89 http://deb.debian.org/debian buster/main arm64 pkg-config arm64 0.29-6 [62.2 kB] Get: 90 http://deb.debian.org/debian buster/main arm64 libfontconfig1-dev arm64 2.13.1-2 [964 kB] Get: 91 http://deb.debian.org/debian buster/main arm64 xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get: 92 http://deb.debian.org/debian buster/main arm64 x11proto-dev all 2018.4-4 [251 kB] Get: 93 http://deb.debian.org/debian buster/main arm64 x11proto-core-dev all 2018.4-4 [3128 B] Get: 94 http://deb.debian.org/debian buster/main arm64 libice-dev arm64 2:1.0.9-2 [62.0 kB] Get: 95 http://deb.debian.org/debian buster/main arm64 libxau-dev arm64 1:1.0.8-1+b2 [22.8 kB] Get: 96 http://deb.debian.org/debian buster/main arm64 libxdmcp-dev arm64 1:1.1.2-3 [41.2 kB] Get: 97 http://deb.debian.org/debian buster/main arm64 xtrans-dev all 1.3.5-1 [100 kB] Get: 98 http://deb.debian.org/debian buster/main arm64 libpthread-stubs0-dev arm64 0.4-1 [5336 B] Get: 99 http://deb.debian.org/debian buster/main arm64 libxcb1-dev arm64 1.13.1-2 [174 kB] Get: 100 http://deb.debian.org/debian buster/main arm64 libx11-dev arm64 2:1.6.7-1 [816 kB] Get: 101 http://deb.debian.org/debian buster/main arm64 libxrender-dev arm64 1:0.9.10-1 [38.8 kB] Get: 102 http://deb.debian.org/debian buster/main arm64 libxft-dev arm64 2.3.2-2 [64.3 kB] Get: 103 http://deb.debian.org/debian buster/main arm64 libsm-dev arm64 2:1.2.3-1 [37.4 kB] Get: 104 http://deb.debian.org/debian buster/main arm64 libxt-dev arm64 1:1.1.5-1+b3 [424 kB] Get: 105 http://deb.debian.org/debian buster/main arm64 uil arm64 2.3.8-2 [38.3 kB] Get: 106 http://deb.debian.org/debian buster/main arm64 libmotif-dev arm64 2.3.8-2 [2336 kB] Get: 107 http://deb.debian.org/debian buster/main arm64 libxpm4 arm64 1:3.5.12-1 [43.9 kB] Get: 108 http://deb.debian.org/debian buster/main arm64 libxaw7 arm64 2:1.0.13-1+b2 [167 kB] Get: 109 http://deb.debian.org/debian buster/main arm64 x11proto-xext-dev all 2018.4-4 [3128 B] Get: 110 http://deb.debian.org/debian buster/main arm64 libxext-dev arm64 2:1.3.3-1+b2 [104 kB] Get: 111 http://deb.debian.org/debian buster/main arm64 libxmu-headers all 2:1.1.2-2 [51.9 kB] Get: 112 http://deb.debian.org/debian buster/main arm64 libxmu-dev arm64 2:1.1.2-2+b3 [65.5 kB] Get: 113 http://deb.debian.org/debian buster/main arm64 libxpm-dev arm64 1:3.5.12-1 [100 kB] Get: 114 http://deb.debian.org/debian buster/main arm64 libxaw7-dev arm64 2:1.0.13-1+b2 [235 kB] Fetched 39.7 MB in 5s (8297 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (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 ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../06-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package flex. Preparing to unpack .../08-flex_2.6.4-6.2_arm64.deb ... Unpacking flex (2.6.4-6.2) ... Selecting previously unselected package lsb-base. Preparing to unpack .../09-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package x11-common. Preparing to unpack .../10-x11-common_1%3a7.7+19_all.deb ... Unpacking x11-common (1:7.7+19) ... Setting up lsb-base (10.2019051400) ... Setting up x11-common (1:7.7+19) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 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 ... 20009 files and directories currently installed.) Preparing to unpack .../000-libmotif-common_2.3.8-2_all.deb ... Unpacking libmotif-common (2.3.8-2) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../001-libxau6_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../002-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 .../003-libxcb1_1.13.1-2_arm64.deb ... Unpacking libxcb1:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../004-libx11-data_2%3a1.6.7-1_all.deb ... Unpacking libx11-data (2:1.6.7-1) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../005-libx11-6_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-6:arm64 (2:1.6.7-1) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../006-libexpat1_2.2.6-2+deb10u1_arm64.deb ... Unpacking libexpat1:arm64 (2.2.6-2+deb10u1) ... Selecting previously unselected package libpng16-16:arm64. Preparing to unpack .../007-libpng16-16_1.6.36-6_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.36-6) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../008-libfreetype6_2.9.1-3+deb10u1_arm64.deb ... Unpacking libfreetype6:arm64 (2.9.1-3+deb10u1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../009-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package ucf. Preparing to unpack .../010-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../011-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../012-fontconfig-config_2.13.1-2_all.deb ... Unpacking fontconfig-config (2.13.1-2) ... Selecting previously unselected package libfontconfig1:arm64. Preparing to unpack .../013-libfontconfig1_2.13.1-2_arm64.deb ... Unpacking libfontconfig1:arm64 (2.13.1-2) ... Selecting previously unselected package libjpeg62-turbo:arm64. Preparing to unpack .../014-libjpeg62-turbo_1%3a1.5.2-2+b1_arm64.deb ... Unpacking libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../015-libxext6_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxrender1:arm64. Preparing to unpack .../016-libxrender1_1%3a0.9.10-1_arm64.deb ... Unpacking libxrender1:arm64 (1:0.9.10-1) ... Selecting previously unselected package libxft2:arm64. Preparing to unpack .../017-libxft2_2.3.2-2_arm64.deb ... Unpacking libxft2:arm64 (2.3.2-2) ... Selecting previously unselected package libice6:arm64. Preparing to unpack .../018-libice6_2%3a1.0.9-2_arm64.deb ... Unpacking libice6:arm64 (2:1.0.9-2) ... Selecting previously unselected package libsm6:arm64. Preparing to unpack .../019-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 .../020-libxt6_1%3a1.1.5-1+b3_arm64.deb ... Unpacking libxt6:arm64 (1:1.1.5-1+b3) ... Selecting previously unselected package libxmu6:arm64. Preparing to unpack .../021-libxmu6_2%3a1.1.2-2+b3_arm64.deb ... Unpacking libxmu6:arm64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxm4:arm64. Preparing to unpack .../022-libxm4_2.3.8-2_arm64.deb ... Unpacking libxm4:arm64 (2.3.8-2) ... Selecting previously unselected package libmrm4:arm64. Preparing to unpack .../023-libmrm4_2.3.8-2_arm64.deb ... Unpacking libmrm4:arm64 (2.3.8-2) ... Selecting previously unselected package libuil4:arm64. Preparing to unpack .../024-libuil4_2.3.8-2_arm64.deb ... Unpacking libuil4:arm64 (2.3.8-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../025-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../026-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../027-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../028-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package autoconf. Preparing to unpack .../029-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../030-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../031-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../032-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libbison-dev:arm64. Preparing to unpack .../033-libbison-dev_2%3a3.3.2.dfsg-1_arm64.deb ... Unpacking libbison-dev:arm64 (2:3.3.2.dfsg-1) ... Selecting previously unselected package bison. Preparing to unpack .../034-bison_2%3a3.3.2.dfsg-1_arm64.deb ... Unpacking bison (2:3.3.2.dfsg-1) ... Selecting previously unselected package csh. Preparing to unpack .../035-csh_20110502-4+deb10u1_arm64.deb ... Unpacking csh (20110502-4+deb10u1) ... Selecting previously unselected package libtool. Preparing to unpack .../036-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../037-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../038-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../039-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../040-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../041-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../042-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../043-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../044-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../045-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../046-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../047-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../048-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../049-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../050-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../051-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package mysql-common. Preparing to unpack .../052-mysql-common_5.8+1.0.5_all.deb ... Unpacking mysql-common (5.8+1.0.5) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../053-mariadb-common_1%3a10.3.23-0+deb10u1_all.deb ... Unpacking mariadb-common (1:10.3.23-0+deb10u1) ... Selecting previously unselected package libmariadb3:arm64. Preparing to unpack .../054-libmariadb3_1%3a10.3.23-0+deb10u1_arm64.deb ... Unpacking libmariadb3:arm64 (1:10.3.23-0+deb10u1) ... Selecting previously unselected package libevent-2.1-6:arm64. Preparing to unpack .../055-libevent-2.1-6_2.1.8-stable-4_arm64.deb ... Unpacking libevent-2.1-6:arm64 (2.1.8-stable-4) ... Selecting previously unselected package libunbound8:arm64. Preparing to unpack .../056-libunbound8_1.9.0-2+deb10u2_arm64.deb ... Unpacking libunbound8:arm64 (1.9.0-2+deb10u2) ... Selecting previously unselected package libgnutls-dane0:arm64. Preparing to unpack .../057-libgnutls-dane0_3.6.7-4+deb10u5_arm64.deb ... Unpacking libgnutls-dane0:arm64 (3.6.7-4+deb10u5) ... Selecting previously unselected package libgnutls-openssl27:arm64. Preparing to unpack .../058-libgnutls-openssl27_3.6.7-4+deb10u5_arm64.deb ... Unpacking libgnutls-openssl27:arm64 (3.6.7-4+deb10u5) ... Selecting previously unselected package libgnutlsxx28:arm64. Preparing to unpack .../059-libgnutlsxx28_3.6.7-4+deb10u5_arm64.deb ... Unpacking libgnutlsxx28:arm64 (3.6.7-4+deb10u5) ... Selecting previously unselected package libidn2-dev:arm64. Preparing to unpack .../060-libidn2-dev_2.0.5-1+deb10u1_arm64.deb ... Unpacking libidn2-dev:arm64 (2.0.5-1+deb10u1) ... Selecting previously unselected package libp11-kit-dev:arm64. Preparing to unpack .../061-libp11-kit-dev_0.23.15-2_arm64.deb ... Unpacking libp11-kit-dev:arm64 (0.23.15-2) ... Selecting previously unselected package libtasn1-6-dev:arm64. Preparing to unpack .../062-libtasn1-6-dev_4.13-3_arm64.deb ... Unpacking libtasn1-6-dev:arm64 (4.13-3) ... Selecting previously unselected package libgmpxx4ldbl:arm64. Preparing to unpack .../063-libgmpxx4ldbl_2%3a6.1.2+dfsg-4_arm64.deb ... Unpacking libgmpxx4ldbl:arm64 (2:6.1.2+dfsg-4) ... Selecting previously unselected package libgmp-dev:arm64. Preparing to unpack .../064-libgmp-dev_2%3a6.1.2+dfsg-4_arm64.deb ... Unpacking libgmp-dev:arm64 (2:6.1.2+dfsg-4) ... Selecting previously unselected package nettle-dev:arm64. Preparing to unpack .../065-nettle-dev_3.4.1-1_arm64.deb ... Unpacking nettle-dev:arm64 (3.4.1-1) ... Selecting previously unselected package libgnutls28-dev:arm64. Preparing to unpack .../066-libgnutls28-dev_3.6.7-4+deb10u5_arm64.deb ... Unpacking libgnutls28-dev:arm64 (3.6.7-4+deb10u5) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../067-zlib1g-dev_1%3a1.2.11.dfsg-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.11.dfsg-1) ... Selecting previously unselected package libmariadb-dev. Preparing to unpack .../068-libmariadb-dev_1%3a10.3.23-0+deb10u1_arm64.deb ... Unpacking libmariadb-dev (1:10.3.23-0+deb10u1) ... Selecting previously unselected package libmariadb-dev-compat:arm64. Preparing to unpack .../069-libmariadb-dev-compat_1%3a10.3.23-0+deb10u1_arm64.deb ... Unpacking libmariadb-dev-compat:arm64 (1:10.3.23-0+deb10u1) ... Selecting previously unselected package default-libmysqlclient-dev:arm64. Preparing to unpack .../070-default-libmysqlclient-dev_1.0.5_arm64.deb ... Unpacking default-libmysqlclient-dev:arm64 (1.0.5) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../071-libexpat1-dev_2.2.6-2+deb10u1_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.2.6-2+deb10u1) ... Selecting previously unselected package libfl2:arm64. Preparing to unpack .../072-libfl2_2.6.4-6.2_arm64.deb ... Unpacking libfl2:arm64 (2.6.4-6.2) ... Selecting previously unselected package libfl-dev:arm64. Preparing to unpack .../073-libfl-dev_2.6.4-6.2_arm64.deb ... Unpacking libfl-dev:arm64 (2.6.4-6.2) ... Selecting previously unselected package libpng-dev:arm64. Preparing to unpack .../074-libpng-dev_1.6.36-6_arm64.deb ... Unpacking libpng-dev:arm64 (1.6.36-6) ... Selecting previously unselected package libfreetype6-dev:arm64. Preparing to unpack .../075-libfreetype6-dev_2.9.1-3+deb10u1_arm64.deb ... Unpacking libfreetype6-dev:arm64 (2.9.1-3+deb10u1) ... Selecting previously unselected package uuid-dev:arm64. Preparing to unpack .../076-uuid-dev_2.33.1-0.1_arm64.deb ... Unpacking uuid-dev:arm64 (2.33.1-0.1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../077-pkg-config_0.29-6_arm64.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package libfontconfig1-dev:arm64. Preparing to unpack .../078-libfontconfig1-dev_2.13.1-2_arm64.deb ... Unpacking libfontconfig1-dev:arm64 (2.13.1-2) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../079-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../080-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../081-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libice-dev:arm64. Preparing to unpack .../082-libice-dev_2%3a1.0.9-2_arm64.deb ... Unpacking libice-dev:arm64 (2:1.0.9-2) ... Selecting previously unselected package libxau-dev:arm64. Preparing to unpack .../083-libxau-dev_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau-dev:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp-dev:arm64. Preparing to unpack .../084-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 .../085-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libpthread-stubs0-dev:arm64. Preparing to unpack .../086-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 .../087-libxcb1-dev_1.13.1-2_arm64.deb ... Unpacking libxcb1-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-dev:arm64. Preparing to unpack .../088-libx11-dev_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-dev:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxrender-dev:arm64. Preparing to unpack .../089-libxrender-dev_1%3a0.9.10-1_arm64.deb ... Unpacking libxrender-dev:arm64 (1:0.9.10-1) ... Selecting previously unselected package libxft-dev:arm64. Preparing to unpack .../090-libxft-dev_2.3.2-2_arm64.deb ... Unpacking libxft-dev:arm64 (2.3.2-2) ... Selecting previously unselected package libsm-dev:arm64. Preparing to unpack .../091-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 .../092-libxt-dev_1%3a1.1.5-1+b3_arm64.deb ... Unpacking libxt-dev:arm64 (1:1.1.5-1+b3) ... Selecting previously unselected package uil. Preparing to unpack .../093-uil_2.3.8-2_arm64.deb ... Unpacking uil (2.3.8-2) ... Selecting previously unselected package libmotif-dev:arm64. Preparing to unpack .../094-libmotif-dev_2.3.8-2_arm64.deb ... Unpacking libmotif-dev:arm64 (2.3.8-2) ... Selecting previously unselected package libxpm4:arm64. Preparing to unpack .../095-libxpm4_1%3a3.5.12-1_arm64.deb ... Unpacking libxpm4:arm64 (1:3.5.12-1) ... Selecting previously unselected package libxaw7:arm64. Preparing to unpack .../096-libxaw7_2%3a1.0.13-1+b2_arm64.deb ... Unpacking libxaw7:arm64 (2:1.0.13-1+b2) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../097-x11proto-xext-dev_2018.4-4_all.deb ... Unpacking x11proto-xext-dev (2018.4-4) ... Selecting previously unselected package libxext-dev:arm64. Preparing to unpack .../098-libxext-dev_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext-dev:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../099-libxmu-headers_2%3a1.1.2-2_all.deb ... Unpacking libxmu-headers (2:1.1.2-2) ... Selecting previously unselected package libxmu-dev:arm64. Preparing to unpack .../100-libxmu-dev_2%3a1.1.2-2+b3_arm64.deb ... Unpacking libxmu-dev:arm64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm-dev:arm64. Preparing to unpack .../101-libxpm-dev_1%3a3.5.12-1_arm64.deb ... Unpacking libxpm-dev:arm64 (1:3.5.12-1) ... Selecting previously unselected package libxaw7-dev:arm64. Preparing to unpack .../102-libxaw7-dev_2%3a1.0.13-1+b2_arm64.deb ... Unpacking libxaw7-dev:arm64 (2:1.0.13-1+b2) ... Setting up libexpat1:arm64 (2.2.6-2+deb10u1) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up mysql-common (5.8+1.0.5) ... 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.8-1+b2) ... Setting up libgnutls-openssl27:arm64 (3.6.7-4+deb10u5) ... Setting up libbison-dev:arm64 (2:3.3.2.dfsg-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libmotif-common (2.3.8-2) ... Setting up libpthread-stubs0-dev:arm64 (0.4-1) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up mariadb-common (1:10.3.23-0+deb10u1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up xtrans-dev (1.3.5-1) ... Setting up autotools-dev (20180224.1) ... Setting up libgmpxx4ldbl:arm64 (2:6.1.2+dfsg-4) ... Setting up libexpat1-dev:arm64 (2.2.6-2+deb10u1) ... Setting up libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Setting up libx11-data (2:1.6.7-1) ... Setting up uuid-dev:arm64 (2.33.1-0.1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up libpng16-16:arm64 (1.6.36-6) ... Setting up autopoint (0.19.8.1-9) ... Setting up pkg-config (0.29-6) ... Setting up libmariadb3:arm64 (1:10.3.23-0+deb10u1) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up libgnutlsxx28:arm64 (3.6.7-4+deb10u5) ... Setting up libfl2:arm64 (2.6.4-6.2) ... Setting up libidn2-dev:arm64 (2.0.5-1+deb10u1) ... Setting up libevent-2.1-6:arm64 (2.1.8-stable-4) ... Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-1) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libtasn1-6-dev:arm64 (4.13-3) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up libp11-kit-dev:arm64 (0.23.15-2) ... Setting up x11proto-dev (2018.4-4) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libice6:arm64 (2:1.0.9-2) ... Setting up libxdmcp6:arm64 (1:1.1.2-3) ... Setting up libxcb1:arm64 (1.13.1-2) ... Setting up libgmp-dev:arm64 (2:6.1.2+dfsg-4) ... Setting up libxau-dev:arm64 (1:1.0.8-1+b2) ... Setting up csh (20110502-4+deb10u1) ... update-alternatives: using /bin/bsd-csh to provide /bin/csh (csh) in auto mode Setting up nettle-dev:arm64 (3.4.1-1) ... Setting up libice-dev:arm64 (2:1.0.9-2) ... Setting up libtool (2.4.6-9) ... Setting up libpng-dev:arm64 (1.6.36-6) ... Setting up m4 (1.4.18-2) ... Setting up libxdmcp-dev:arm64 (1:1.1.2-3) ... Setting up libunbound8:arm64 (1.9.0-2+deb10u2) ... Setting up libfreetype6:arm64 (2.9.1-3+deb10u1) ... Setting up x11proto-core-dev (2018.4-4) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up ucf (3.0038+nmu1) ... Setting up autoconf (2.69-11) ... Setting up x11proto-xext-dev (2018.4-4) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up bison (2:3.3.2.dfsg-1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up libx11-6:arm64 (2:1.6.7-1) ... Setting up libsm6:arm64 (2:1.2.3-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libgnutls-dane0:arm64 (3.6.7-4+deb10u5) ... Setting up flex (2.6.4-6.2) ... Setting up gettext (0.19.8.1-9) ... Setting up libxcb1-dev:arm64 (1.13.1-2) ... Setting up libxpm4:arm64 (1:3.5.12-1) ... Setting up libxrender1:arm64 (1:0.9.10-1) ... Setting up libsm-dev:arm64 (2:1.2.3-1) ... Setting up fontconfig-config (2.13.1-2) ... Setting up libx11-dev:arm64 (2:1.6.7-1) ... Setting up libxext6:arm64 (2:1.3.3-1+b2) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libfl-dev:arm64 (2.6.4-6.2) ... Setting up libfreetype6-dev:arm64 (2.9.1-3+deb10u1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxpm-dev:arm64 (1:3.5.12-1) ... Setting up libxt6:arm64 (1:1.1.5-1+b3) ... Setting up libxext-dev:arm64 (2:1.3.3-1+b2) ... Setting up libfontconfig1:arm64 (2.13.1-2) ... Setting up libxrender-dev:arm64 (1:0.9.10-1) ... Setting up libgnutls28-dev:arm64 (3.6.7-4+deb10u5) ... Setting up libxft2:arm64 (2.3.2-2) ... Setting up libxmu-headers (2:1.1.2-2) ... Setting up libxmu6:arm64 (2:1.1.2-2+b3) ... Setting up libfontconfig1-dev:arm64 (2.13.1-2) ... Setting up po-debconf (1.0.21) ... Setting up libxaw7:arm64 (2:1.0.13-1+b2) ... Setting up libxt-dev:arm64 (1:1.1.5-1+b3) ... Setting up libmariadb-dev (1:10.3.23-0+deb10u1) ... Setting up libxm4:arm64 (2.3.8-2) ... Setting up libxft-dev:arm64 (2.3.2-2) ... Setting up libmariadb-dev-compat:arm64 (1:10.3.23-0+deb10u1) ... Setting up libxmu-dev:arm64 (2:1.1.2-2+b3) ... Setting up libmrm4:arm64 (2.3.8-2) ... Setting up libuil4:arm64 (2.3.8-2) ... Setting up libxaw7-dev:arm64 (2:1.0.13-1+b2) ... Setting up uil (2.3.8-2) ... Setting up libmotif-dev:arm64 (2.3.8-2) ... Setting up default-libmysqlclient-dev:arm64 (1.0.5) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... 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... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package 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 dpkg-buildpackage: info: source package ctn dpkg-buildpackage: info: source version 3.2.0~dfsg-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Tille dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot 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 build dh build 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] 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:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] fprintf(lfp, "%8x %s\n", EDBStack[index].statusCode, ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %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'; did you mean 'getenv'? [-Wimplicit-function-declaration] i = getpid(); ^~~~~~ getenv control.c: In function 'localHostEnt': control.c:715:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (!isdigit(node[index]) && !(node[index] == '.')) { ^~~~~~~ control.c:724:14: warning: implicit declaration of function 'inet_addr'; did you mean 'h_addr'? [-Wimplicit-function-declaration] ipAddress = inet_addr(node); ^~~~~~~~~ h_addr 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'; did you mean 'utimes'? [-Wimplicit-function-declaration] pnode.time_stamp = time((time_t *) NULL); ^~~~ utimes database.c: In function 'DB_DelImage': database.c:2170:9: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (unlink(inode.image.FileName) != 0) { ^~~~~~ unix database.c: In function 'DB_DeleteDB': database.c:173:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] (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:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'LST_HEAD *' {aka 'void *'} [-Wformat=] fprintf(stderr, "Sequence List Address: %x\n", ~^ %p element->element.d.sq); ~~~~~~~~~~~~~~~~~~~~~ dcm.c:511:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'LST_HEAD *' {aka 'void *'} [-Wformat=] fprintf(stderr, "Fragment List Address: %x\n", ~^ %p element->element.d.fragments); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcm.c:521:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'PRV_ELEMENT_ITEM *' {aka 'struct *'} [-Wformat=] fprintf(stderr, "DCM_CloseObject: free %8x\n", element); ~~^ ~~~~~~~ dcm.c: In function 'DCM_GetElementValue': dcm.c:964:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((U32) p > elementItem->element.length) ^ In file included from ctn_os.h:92, from dcm.c:99: dcm.c:969:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] l = MIN(element->length, (elementItem->element.length - (U32) p)); ^ dcm.c:969:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] l = MIN(element->length, (elementItem->element.length - (U32) p)); ^ dcm.c:1009:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (U32) p; ^ dcm.c:1021:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned) p == elementItem->element.length) ^ dcm.c: In function 'DCM_GetElementValueOffset': dcm.c:1153:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((U32) p > elementItem->element.length) ^ dcm.c:1204:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (U32) p; ^ dcm.c: In function 'DCM_DumpElements': dcm.c:1664:34: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'U32' {aka 'unsigned int'} [-Wformat=] (void) printf("%04x %04x %8ld ", ~~~^ %8d dcm.c:1667:6: elementItem->element.length); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcm.c: In function 'DCM_FormatElements': dcm.c:1858:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("%sGroup: %04x, Length: %8d\n", prefix, groupItem->group, ~~^ %8ld groupItem->baseLength); ~~~~~~~~~~~~~~~~~~~~~ dcm.c: In function 'newElementItem': dcm.c:2936:52: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "newElementItem: CTN_MALLOC %8d %8d ", l, ~~^ %8ld sizeof(PRV_ELEMENT_ITEM) + l); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcm.c:2941:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'PRV_ELEMENT_ITEM *' {aka 'struct *'} [-Wformat=] fprintf(stderr, "%8x\n", *dst); ~~^ ~~~~ dcm.c: In function 'exportData': dcm.c:3957:7: warning: implicit declaration of function 'swab'; did you mean 'stat'? [-Wimplicit-function-declaration] swab(p, b, length); ^~~~ stat dcm.c: In function 'verifyFormat': dcm.c:4924:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit(*src) || (*src == '-') || (*src == '\\')) { ^~~~~~~ dcm.c: In function 'readVRLength': dcm.c:5904:30: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] fprintf(stderr, "%2s %6d %06x %s\n", localVR, e->length, *fileOffset, ~~~^ ~~~~~~~~~~~ %06lx dcm.c: In function 'copyData': dcm.c:6822:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (U32) p; ^ dcm.c:6826:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned) p == from->element.length) ^ dcm.c: In function 'remapFileName': dcm.c:7023:11: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] else if (isupper(c)) ^~~~~~~ dcm.c:7024:19: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] *mapName++ = tolower(c); ^~~~~~~ dcm.c: In function 'DCM_PrintSequenceList': dcm.c:7247:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("size: %6d offset: %6d, pixel offset: %6d\n", ~~^ %6ld sqObject->objectSize, ~~~~~~~~~~~~~~~~~~~~ dcm.c:7247:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("size: %6d offset: %6d, pixel offset: %6d\n", ~~^ %6ld dcm.c:7249:9: sqObject->offset, ~~~~~~~~~~~~~~~~ dcm.c:7247:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("size: %6d offset: %6d, pixel offset: %6d\n", ~~^ %6ld dcm.c:7250:9: sqObject->pixelOffset); ~~~~~~~~~~~~~~~~~~~~~ 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] DCM_DumpVector() ^~~~~~~~~~~~~~ dcmcond.c: In function 'DCM_DumpVector': dcmcond.c:161:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] printf("%8x %8d %s\n", messageVector[index].cond, ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %8lx dcmcond.c:161:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] printf("%8x %8d %s\n", messageVector[index].cond, ~~^ %8ld messageVector[index].cond, ~~~~~~~~~~~~~~~~~~~~~~~~~ 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:57: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) sprintf(stateEntries[index].actionName, "%.*s", ~~^~ sizeof(stateEntries[index].actionName) - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulfsm.c:679:52: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) sprintf(stateEntries[index].eventName, "%.*s", ~~^~ sizeof(stateEntries[index].eventName) - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulfsm.c: In function 'DT_2_IndicatePData': dulfsm.c:1493:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) fprintf(stderr, "PDV Lengths don't add up correctly: %d pdvs\n", ~^ %ld pdvCount); ~~~~~~~~ dulfsm.c: In function 'readPDUHeadTCP': dulfsm.c:3503:75: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "Read PDU HEAD TCP: type: %x, length: %ld (%x)\n", ~^ %lx *type, *pduLength, *pduLength); ~~~~~~~~~~ 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:43: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "PDU type: %x (%s), PDU Length: %ld\n", ~^ %lx (long) assoc->type, s, assoc->length); ~~~~~~~~~~~~~~~~~~ dulparse.c:206:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) type); ~~~^ ~~~~~~~~~~~~~~~~~~~~ %02lx dulparse.c: In function 'parseSubItem': dulparse.c:330:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\n", ~~~^ %02lx (unsigned long) subItem->type, (unsigned long) subItem->length, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulparse.c:330:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\n", ~~^ %4ld (unsigned long) subItem->type, (unsigned long) subItem->length, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulparse.c: In function 'parsePresentationContext': dulparse.c:396:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] "Parsing Presentation Context: (%2x), Length: %ld\n", ~~^ %2lx (unsigned long) context->type, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulparse.c:399:59: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "Presentation Context ID: %2x\n", ~~^ %2lx (unsigned long) context->contextID); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulparse.c:412:52: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) *buf); ~~~^ ~~~~~~~~~~~~~~~~~~~~ %02lx dulparse.c: In function 'parseUserInfo': dulparse.c:515:60: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "Parsing user info field (%02x), Length: %ld\n", ~~~^ %02lx (unsigned long) userInfo->type, (unsigned long) userInfo->length); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dulparse.c:523:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] "Parsing remaining %ld bytes of User Information\n", userLength); ~~^ ~~~~~~~~~~ %d dulparse.c:524:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) *buf); ~~~^ ~~~~~~~~~~~~~~~~~~~~ %02lx dulparse.c: In function 'parseSCUSCPRole': dulparse.c:727:24: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d %d \n ", ~~~~~~~~~~ (unsigned long) role->type, (unsigned long) role->length, ~~~~~~~~~~~~~~~~~~~~~~~~~~ dulparse.c:727:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 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:70: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "DUL_ReleaseAssociation:: non-normal condition %08x \n", cond); ~~~^ ~~~~ %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=] fprintf(stderr, "DUL_ReleaseAssociation:: final condition = %08x\n", cond); ~~~^ ~~~~ %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=] printf("MAX PDU: %d\n", params->maxPDU); ~^ ~~~~~~~~~~~~~~ %ld dulprotocol.c:2670:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("Peer MAX PDU: %d\n", params->peerMaxPDU); ~^ ~~~~~~~~~~~~~~~~~~ %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:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(f, "ConditionalFields: %04x\n", eventReport->conditionalFields); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %04lx dump.c: In function 'DumpNGetResponse': dump.c:689:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(f, "ConditionalFields: %04x\n", get->conditionalFields); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~ %04lx dump.c: In function 'DumpNSetResponse': dump.c:719:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(f, "ConditionalFields: %04x\n", set->conditionalFields); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~ %04lx dump.c: In function 'DumpNActionResponse': dump.c:750:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(f, "ConditionalFields: %04x\n", action->conditionalFields); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %04lx dump.c: In function 'DumpNCreateResponse': dump.c:779:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(f, "ConditionalFields: %04x\n", create->conditionalFields); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %04lx dump.c: In function 'DumpNDeleteResponse': dump.c:805:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(f, "ConditionalFields: %04x\n", delete->conditionalFields); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %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.isra.0': event.c:249:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from ctn_os.h:62, from event.c:52: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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] cond = TBL_Select(&h->patientHandle, criteria, fields, count, patientCallback, ^~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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] cond = TBL_Select(&h->visitHandle, criteria, fields, count, visitCallback, ^~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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] cond = TBL_Select(&h->studyHandle, criteria, fields, count, studyCallback, ^~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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] cond = TBL_Select(&h->studyHandle, criteria, fields, count, studyCallback, ^~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getStudyComponentRecord': fisget.c:652:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] studyComponentCallback, getList); ^~~~~~~~~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getSCSeriesRecord': fisget.c:763:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] scSeriesCallback, getList); ^~~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getSCImageRecord': fisget.c:873:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] scImageCallback, getList); ^~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getResultsRecord': fisget.c:971:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] resultsCallback, getList); ^~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getInterpretationRecord': fisget.c:1100:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] interpretationCallback, getList); ^~~~~~~~~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getCommitSOPRecord': fisget.c:1226:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] commitSOPRefCallback, getList); ^~~~~~~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getStorageCommitReq': fisget.c:1346:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] storageCommitCallback, getList); ^~~~~~~~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fisget.c: In function 'getWorkQueueRecord': fisget.c:1427:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] workQueueCallback, getList); ^~~~~~~~~~~~~~~~~ In file included from fisget.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, LST_HEAD *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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] (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' if ((s->Flag & FIS_K_STUDYCOMP_STUINSUID) && (strlen(s->StuInsUID) != 0)) { ^~~~~~ fisinsert.c:310:51: note: include '' or provide a declaration of 'strlen' In file included from fisinsert.c:58: tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' if ((s->Flag & FIS_K_SCSERIES_STUCOMUID) && (strlen(s->StuComUID) != 0)) { ^~~~~~ fisinsert.c:377:50: note: include '' or provide a declaration of 'strlen' In file included from fisinsert.c:58: tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' 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' 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' if ((s->Flag & FIS_K_SCIMAGE_SOPCLAUID) && (strlen(s->SOPClaUID) != 0)) { ^~~~~~ fisinsert.c:450:49: note: include '' or provide a declaration of 'strlen' In file included from fisinsert.c:58: tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' if ((s->Flag & FIS_K_RESULTS_STUINSUID) && (strlen(s->StuInsUID) != 0)) { ^~~~~~ fisinsert.c:518:49: note: include '' or provide a declaration of 'strlen' In file included from fisinsert.c:58: tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' if ((s->Flag & FIS_K_INTERP_RESUID) && (strlen(s->ResUID) != 0)) { ^~~~~~ fisinsert.c:593:45: note: include '' or provide a declaration of 'strlen' In file included from fisinsert.c:58: tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' if ((s->Flag & FIS_K_SCOMMIT_REQAE) && (strlen(s->ReqAE) != 0)) { ^~~~~~ fisinsert.c:674:45: note: include '' or provide a declaration of 'strlen' In file included from fisinsert.c:58: tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' 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' 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' 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' 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' 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' 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'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(GQ_MakeFilename(qid)); ^~~~~~ unix gq.c: In function 'access_queue': gq.c:1063:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fd, "%d", &SEM_ID); ^~~~~~~~~~~~~~~~~~~~~~~~~ gq.c:1064:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 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] fscanf(fd, "%d", &SEM_ID); ^~~~~~~~~~~~~~~~~~~~~~~~~ gq.c:571:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 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=] sprintf(temp, "%d", qid); ^~ gq.c:953:19: note: directive argument in the range [-2147483648, 200] sprintf(temp, "%d", qid); ^~~~ In file included from /usr/include/stdio.h:873, from gq.c:55: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(dbkey); ^~~~~~ unix hisdb.c: In function 'HIS_DumpDB': hisdb.c:3919:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\t#Visits: %d #Studies: %d\n", p.RVSequenceCount, p.RSSequenceCount); ~^ ~~~~~~~~~~~~~~~~~ %ld hisdb.c:3919:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("\t#Visits: %d #Studies: %d\n", p.RVSequenceCount, p.RSSequenceCount); ~^ ~~~~~~~~~~~~~~~~~ %ld hisdb.c:3935:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\t#Patients: %d #Studies: %d\n", v.RPSequenceCount, v.RSSequenceCount); ~^ ~~~~~~~~~~~~~~~~~ %ld hisdb.c:3935:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("\t#Patients: %d #Studies: %d\n", v.RPSequenceCount, v.RSSequenceCount); ~^ ~~~~~~~~~~~~~~~~~ %ld hisdb.c:3951:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\t#Patients: %d #Visits: %d #Results: %d\n", ~^ %ld s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount); ~~~~~~~~~~~~~~~~~ hisdb.c:3951:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("\t#Patients: %d #Visits: %d #Results: %d\n", ~^ %ld s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount); ~~~~~~~~~~~~~~~~~ hisdb.c:3951:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] printf("\t#Patients: %d #Visits: %d #Results: %d\n", ~^ %ld s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount); ~~~~~~~~~~~~~~~~~ hisdb.c:3970:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\t#Studies: %d #Interpretations: %d\n", ~^ %ld r.RSSequenceCount, r.RISequenceCount); ~~~~~~~~~~~~~~~~~ hisdb.c:3970:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("\t#Studies: %d #Interpretations: %d\n", ~^ %ld r.RSSequenceCount, r.RISequenceCount); ~~~~~~~~~~~~~~~~~ hisdb.c:3987:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\t#Results: %d\n", in.RRSequenceCount); ~^ ~~~~~~~~~~~~~~~~~~ %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:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 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] 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] if ((lseek(GS_hunkfd, (off_t) seek_pos, SEEK_SET)) < 0) { ^~~~~ fseek hunk_man.c: In function 'HF_WriteCurrentHunk': hunk_man.c:554:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] wb = write(GS_hunkfd, (char *) GS_hunkstorage, GS_hfh.hunk_length); ^~~~~ fwrite hunk_man.c: In function 'HF_ExclusiveLock': hunk_man.c:1281:2: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] sleep(1); ^~~~~ strsep 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:9: warning: passing argument 5 of 'SRV_CStoreRequest' from incompatible pointer type [-Wincompatible-pointer-types] sendCallback, callbackCtx, ""); ^~~~~~~~~~~~ In file included from iap.c:84: dicom_services.h:160:32: note: expected 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, void *)' {aka 'long unsigned int (*)(struct *, struct *, 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 (*)(struct *, struct *, long unsigned int, long unsigned int, char *)'} 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] 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] 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] while ((fdcond = read(fd, (char *) &temp, sizeof(ICON_STUDYOFFSET))) == ^~~~ fread icon.c: In function 'ICON_DumpStudyOffset': icon.c:218:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] printf("(%03d) Accession Number = %s \toffset = %d\n", ~^ %ld icon.c:221:9: item->studyoffset.Offset); ~~~~~~~~~~~~~~~~~~~~~~~~ icon.c: In function 'ICON_GetStudyIconLst': icon.c:357:9: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 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] strcpy(w->PatID, field[i].Value.Value.String); ^~~~~~ irs.c:100:5: warning: incompatible implicit declaration of built-in function 'strcpy' irs.c:100:5: note: include '' or provide a declaration of 'strcpy' irs.c:65:1: +#include irs.c:100:5: strcpy(w->PatID, field[i].Value.Value.String); ^~~~~~ 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] (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:173:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ tbl.h:177:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE' TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING); ^~~~~~~~~~~~~~~~~~~ irs.c:295:9: warning: incompatible implicit declaration of built-in function 'strlen' 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] memset(&r, 0, sizeof(r)); ^~~~~~ irs.c:385:5: warning: incompatible implicit declaration of built-in function 'memset' irs.c:385:5: note: include '' or provide a declaration of 'memset' irs.c:389:15: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] NULL, workRecordCallback, &s); ^~~~~~~~~~~~~~~~~~ In file included from irs.c:61: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:465:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, ^~~~~~~~~~~~~~~~~~~~~~ tbl.h:163:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:465:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, ^~~~~~~~~~~~~~~~~~~~~~ irs.c:469:5: warning: incompatible implicit declaration of built-in function 'memset' memset(&r, 0, sizeof(r)); ^~~~~~ irs.c:469:5: note: include '' or provide a declaration of 'memset' irs.c:473:17: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] &count, workRecordCallback, &s); ^~~~~~~~~~~~~~~~~~ In file included from irs.c:61: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:505:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, ^~~~~~~~~~~~~~~~~~~~~~ tbl.h:163:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:505:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE' TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID, ^~~~~~~~~~~~~~~~~~~~~~ irs.c:521:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(status, "COMPLETE"); ^~~~~~ irs.c:521:5: note: include '' or provide a declaration of 'strcpy' In file included from irs.c:61: tbl.h:188:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, ^~~~~~~~~~~~~~~~~~~~ tbl.h:188:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, ^~~~~~~~~~~~~~~~~~~~ tbl.h:192:28: warning: incompatible implicit declaration of built-in function 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' TBL_UPDATE_LOAD_BYTE(update[i], "Status", status, ^~~~~~~~~~~~~~~~~~~~ tbl.h:192:28: note: include '' or provide a declaration of 'strlen' (v).Value.Size=strlen((s)); \ ^~~~~~ irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE' 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:24: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'void *' [-Wformat=] if (sscanf(txt, "%d", d) != 1) ~^ ~ motifutil.c:167:24: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'void *' [-Wformat=] if (sscanf(txt, "%f", d) != 1) ~^ ~ motifutil.c:171:25: warning: format '%hd' expects argument of type 'short int *', but argument 3 has type 'void *' [-Wformat=] if (sscanf(txt, "%hd", d) != 1) ~~^ ~ motifutil.c: In function 'MUT_DisplayConditionText': motifutil.c:198:5: warning: implicit declaration of function 'COND_CopyText' [-Wimplicit-function-declaration] 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=] 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=] sprintf(record->AccNum, "ID%-08d", id); ^~~~~~~~~ record.c:232:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=] 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=] 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=] 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:24: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] fields, count, callbackAE, &context); ^~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryGroupNames': select.c:427:24: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] fields, count, callbackGroup, &context); ^~~~~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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] cond = TBL_Select(handle, criteriaList, fields, count, callbackSA, &context); ^~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryStorageControl': select.c:589:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] callbackStorageControl, &context); ^~~~~~~~~~~~~~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'querySecurityMatrix': select.c:689:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] callbackSecurityMatrix, &context); ^~~~~~~~~~~~~~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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] cond = TBL_Select(handle, criteriaList, fields, count, callbackFA, &context); ^~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryPrintServerCFG': select.c:893:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] callbackPrintServerCFG, &context); ^~~~~~~~~~~~~~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select.c: In function 'queryVideoImageDest': select.c:994:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] callbackVideoImageDest, &context); ^~~~~~~~~~~~~~~~~~~~~~ In file included from select.c:66: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] printf("Unexepected condition after export command: %x\n", cond); ~^ ~~~~ %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:17: warning: passing argument 7 of 'DUL_AddSinglePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 0, SOPClass, xferSyntaxes, ^~~~~~~~~~~~ In file included from srv1.c:96: dulprotocol.h:389:17: note: expected 'const char **' but argument is of type 'char **' const char** xferSyntaxes, int xferSyntaxCount); ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c:445:17: warning: passing argument 7 of 'DUL_AddMultiplePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 0, SOPClass, xferSyntaxes, ^~~~~~~~~~~~ In file included from srv1.c:96: dulprotocol.h:396:17: note: expected 'const char **' but argument is of type 'char **' const char** xferSyntaxes, int xferSyntaxCount); ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c: In function 'SRV_ProposeSOPClassWithXfer': srv1.c:678:17: warning: passing argument 7 of 'DUL_AddSinglePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 0, SOPClass, xferSyntaxesLocal, ^~~~~~~~~~~~~~~~~ In file included from srv1.c:96: dulprotocol.h:389:17: note: expected 'const char **' but argument is of type 'char **' const char** xferSyntaxes, int xferSyntaxCount); ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c:683:17: warning: passing argument 7 of 'DUL_AddMultiplePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types] 0, SOPClass, xferSyntaxesLocal, ^~~~~~~~~~~~~~~~~ In file included from srv1.c:96: dulprotocol.h:396:17: note: expected 'const char **' but argument is of type 'char **' const char** xferSyntaxes, int xferSyntaxCount); ~~~~~~~~~~~~~^~~~~~~~~~~~ srv1.c: In function 'SRV_AcceptServiceClassWithOneXferSyntax': srv1.c:951:19: warning: passing argument 3 of 'matchProposedXferSyntax' from incompatible pointer type [-Wincompatible-pointer-types] "ACCEPT/XFER", &singleXferSyntax, 1); ^~~~~~~~~~~~~~~~~ srv1.c:315:11: note: expected 'char **' but argument is of type 'const char **' 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:31: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] sprintf(msg, "DUL Error: %08x\n", cond); ~~~^ ~~~~ %08lx srv2.c: In function 'SRV_ReceiveDataSet': srv2.c:489:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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:20: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(f, "%s %20d\n", map[index].keyWord, *map[index].value); ~~~^ ~~~~~~~~~~~~~~~~~ %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] if (isdigit(*p)) { ^~~~~~~ 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=] fprintf(stderr, "Could not allocated %d bytes for fontmap \n", ~^ %ld sizeof(*m)); ~~~~~~~~~~ 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] cp = criteriaList; ^ tbl_mysql.c: In function 'TBL_Update': tbl_mysql.c:757:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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] 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:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ idb.c:483:2: warning: incompatible implicit declaration of built-in function 'exit' idb.c:483:2: note: include '' or provide a declaration of 'exit' idb.c:70:1: +#include #ifdef CTN_USE_THREADS idb.c:483:2: exit(1); ^~~~ idb.c:502:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ idb.c:502:6: note: include '' or provide a declaration of 'exit' idb.c: In function 'localDecrement': idb.c:534:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ idb.c:534:2: note: include '' or provide a declaration of 'exit' idb.c:553:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ idb.c:553:6: 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] THR_ObtainMutex(FAC_IDB); ^~~~~~~~~~~~~~~ idb.c:679:6: warning: implicit declaration of function 'THR_ReleaseMutex' [-Wimplicit-function-declaration] THR_ReleaseMutex(FAC_IDB); ^~~~~~~~~~~~~~~~ idb.c:693:9: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration] return COND_PushCondition(IDB_ERROR(IDB_BADDBTABPAIR), databaseName, "PatientLevel", "IDB_Open"); ^~~~~~~~~~~~~~~~~~ idb.c:753:33: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((idbc = (IDB_CONTEXT *) malloc(sizeof(IDB_CONTEXT))) == (IDB_CONTEXT *) NULL) { ^~~~~~ idb.c:753:33: warning: incompatible implicit declaration of built-in function 'malloc' 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' if ((tdb = (char *) malloc(strlen(databaseName) + 1)) == (char *) NULL) { ^~~~~~ idb.c:768:25: note: include '' or provide a declaration of 'malloc' idb.c:779:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(idbc); ^~~~ idb.c:779:2: warning: incompatible implicit declaration of built-in function 'free' idb.c:779:2: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Close': idb.c:847:6: warning: incompatible implicit declaration of built-in function 'free' free(idbc->databaseName); ^~~~ idb.c:847:6: 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' 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:58: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBDel_CollectStudies, NULL); ^~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1387:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBDel_CollectSeries, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1410:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBDel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1433:6: warning: incompatible implicit declaration of built-in function 'free' free(temp_node); ^~~~ idb.c:1433:6: note: include '' or provide a declaration of 'free' idb.c:1447:6: warning: incompatible implicit declaration of built-in function 'free' free(temp_node); ^~~~ idb.c:1447:6: note: include '' or provide a declaration of 'free' idb.c:1461:6: warning: incompatible implicit declaration of built-in function 'free' free(temp_node); ^~~~ idb.c:1461:6: note: include '' or provide a declaration of 'free' idb.c:1493:6: warning: incompatible implicit declaration of built-in function 'free' free(temp_node); ^~~~ idb.c:1493:6: note: include '' or provide a declaration of 'free' idb.c: In function 'deleteInstanceFileCallback': idb.c:1521:10: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (unlink(fp->Value.Value.String) != 0) ^~~~~~ unix idb.c: In function 'deleteImageFiles': idb.c:1540:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] deleteInstanceFileCallback, bytesFreed); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c: In function 'IDB_DestroyGlobalLists': idb.c:1560:2: warning: incompatible implicit declaration of built-in function 'free' free(foo); ^~~~ idb.c:1560:2: note: include '' or provide a declaration of 'free' idb.c:1566:2: warning: incompatible implicit declaration of built-in function 'free' free(foo); ^~~~ idb.c:1566:2: note: include '' or provide a declaration of 'free' idb.c:1572:2: warning: incompatible implicit declaration of built-in function 'free' free(foo); ^~~~ idb.c:1572:2: note: include '' or provide a declaration of 'free' idb.c:1578:2: warning: incompatible implicit declaration of built-in function 'free' free(foo); ^~~~ idb.c:1578:2: 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' 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' 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' 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:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] CBSel_CollectPatientsStudies, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:1853:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patstucl, numpatstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1853:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patstucl, numpatstucrits); ^~~~~~~~~~~~ idb.c:1855:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:1855:3: note: include '' or provide a declaration of 'free' idb.c:1857:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_NullPatFlag); ^~~~ idb.c:1857:3: note: include '' or provide a declaration of 'free' idb.c:1860:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:1860:3: note: include '' or provide a declaration of 'free' idb.c:1862:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_NullStuFlag); ^~~~ idb.c:1862:3: note: include '' or provide a declaration of 'free' idb.c:1896:7: warning: incompatible implicit declaration of built-in function 'free' free(temp); ^~~~ idb.c:1896:7: note: include '' or provide a declaration of 'free' idb.c:1897:24: warning: incompatible implicit declaration of built-in function 'malloc' if ((temp = (char *) malloc(strlen(GS_StuNodes[i].StuInsUID) + 1)) == (char *) NULL) { ^~~~~~ idb.c:1897:24: note: include '' or provide a declaration of 'malloc' idb.c:1905:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1909:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:1912:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1912:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1914:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1914:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:1915:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:1915:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1919:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1919:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.c:1920:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:1920:3: note: include '' or provide a declaration of 'free' idb.c:1924:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:1924:3: note: include '' or provide a declaration of 'free' idb.c:1955:7: warning: incompatible implicit declaration of built-in function 'free' free(temp); ^~~~ idb.c:1955:7: note: include '' or provide a declaration of 'free' idb.c:1956:24: warning: incompatible implicit declaration of built-in function 'malloc' if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) { ^~~~~~ idb.c:1956:24: note: include '' or provide a declaration of 'malloc' idb.c:1964:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:1968:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:1971:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1971:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1973:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1973:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:1974:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:1974:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1978:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1978:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.c:1979:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:1979:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1983:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:1983:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.c:1984:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:1984:3: note: include '' or provide a declaration of 'free' idb.c:1988:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:1988:3: note: include '' or provide a declaration of 'free' idb.c:2014:61: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances, ^~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2023:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2023:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2026:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2026:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2029:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2029:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2032:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2032:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.c:2154:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2154:2: note: include '' or provide a declaration of 'free' idb.c:2158:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2158:2: note: include '' or provide a declaration of 'free' idb.c:2162:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2162:2: note: include '' or provide a declaration of 'free' idb.c:2172:7: warning: incompatible implicit declaration of built-in function 'free' free(insnode); ^~~~ idb.c:2172:7: note: include '' or provide a declaration of 'free' idb.c:2177:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2177:2: note: include '' or provide a declaration of 'free' idb.c:2188:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2188:2: note: include '' or provide a declaration of 'free' idb.c:2192:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2192:2: note: include '' or provide a declaration of 'free' idb.c:2196:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2196:2: note: include '' or provide a declaration of 'free' idb.c:2206:7: warning: incompatible implicit declaration of built-in function 'free' free(insnode); ^~~~ idb.c:2206:7: note: include '' or provide a declaration of 'free' idb.c:2211:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2211:2: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Select_NoView': idb.c:2322:58: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&pathandle, criteria, field, NULL, CBSel_CollectPatients, NULL); ^~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2324:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2324:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:2326:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2326:3: note: include '' or provide a declaration of 'free' idb.c:2328:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_NullPatFlag); ^~~~ idb.c:2328:3: note: include '' or provide a declaration of 'free' idb.c:2359:7: warning: incompatible implicit declaration of built-in function 'free' free(temp); ^~~~ idb.c:2359:7: note: include '' or provide a declaration of 'free' idb.c:2360:24: warning: incompatible implicit declaration of built-in function 'malloc' if ((temp = (char *) malloc(strlen(GS_PatNodes[i].PatID) + 1)) == (char *) NULL) { ^~~~~~ idb.c:2360:24: note: include '' or provide a declaration of 'malloc' idb.c:2368:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBSel_CollectStudies, NULL); ^~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2372:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBSel_CollectStudies, NULL); ^~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2376:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2376:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2378:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2378:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:2379:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2379:3: note: include '' or provide a declaration of 'free' idb.c:2383:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2383:3: note: include '' or provide a declaration of 'free' idb.c:2417:7: warning: incompatible implicit declaration of built-in function 'free' free(temp); ^~~~ idb.c:2417:7: note: include '' or provide a declaration of 'free' idb.c:2418:24: warning: incompatible implicit declaration of built-in function 'malloc' if ((temp = (char *) malloc(strlen(GS_StuNodes[i].StuInsUID) + 1)) == (char *) NULL) { ^~~~~~ idb.c:2418:24: note: include '' or provide a declaration of 'malloc' idb.c:2426:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2430:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2434:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2434:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2436:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2436:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:2437:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2437:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2441:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2441:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.c:2442:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2442:3: note: include '' or provide a declaration of 'free' idb.c:2446:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2446:3: note: include '' or provide a declaration of 'free' idb.c:2477:7: warning: incompatible implicit declaration of built-in function 'free' free(temp); ^~~~ idb.c:2477:7: note: include '' or provide a declaration of 'free' idb.c:2478:24: warning: incompatible implicit declaration of built-in function 'malloc' if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) { ^~~~~~ idb.c:2478:24: note: include '' or provide a declaration of 'malloc' idb.c:2486:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2490:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2494:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2494:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2496:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2496:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:2497:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2497:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2501:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2501:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.c:2502:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2502:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2506:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2506:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.c:2507:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2507:3: note: include '' or provide a declaration of 'free' idb.c:2511:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2511:3: note: include '' or provide a declaration of 'free' idb.c:2537:61: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances, ^~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2546:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2546:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2549:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2549:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2552:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2552:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2555:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2555:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.c:2687:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2687:2: note: include '' or provide a declaration of 'free' idb.c:2691:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2691:2: note: include '' or provide a declaration of 'free' idb.c:2695:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2695:2: note: include '' or provide a declaration of 'free' idb.c:2705:7: warning: incompatible implicit declaration of built-in function 'free' free(insnode); ^~~~ idb.c:2705:7: note: include '' or provide a declaration of 'free' idb.c:2710:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2710:2: note: include '' or provide a declaration of 'free' idb.c:2721:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2721:2: note: include '' or provide a declaration of 'free' idb.c:2725:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2725:2: note: include '' or provide a declaration of 'free' idb.c:2729:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2729:2: note: include '' or provide a declaration of 'free' idb.c:2739:7: warning: incompatible implicit declaration of built-in function 'free' free(insnode); ^~~~ idb.c:2739:7: note: include '' or provide a declaration of 'free' idb.c:2744:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2744:2: note: include '' or provide a declaration of 'free' idb.c: In function 'IDB_Select_ImageLevel': idb.c:2855:7: warning: incompatible implicit declaration of built-in function 'free' free(temp); ^~~~ idb.c:2855:7: note: include '' or provide a declaration of 'free' idb.c:2856:24: warning: incompatible implicit declaration of built-in function 'malloc' if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) { ^~~~~~ idb.c:2856:24: note: include '' or provide a declaration of 'malloc' idb.c:2864:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:2868:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL); ^~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2872:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2872:6: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2874:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2874:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.c:2875:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2875:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2879:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2879:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.c:2880:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2880:3: note: include '' or provide a declaration of 'free' In file included from idb.c:68: idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2884:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2884:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.c:2885:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2885:3: note: include '' or provide a declaration of 'free' idb.c:2889:3: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2889:3: note: include '' or provide a declaration of 'free' idb.c:2915:61: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances, ^~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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' free(list[index].Value.Value.String); ^~~~ idb.c:2924:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2924:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_patcl, numpatcrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2927:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2927:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_stucl, numstucrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2930:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2930:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_sercl, numsercrits); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2933:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:2933:2: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(i, GS_imacl, numimacrits); ^~~~~~~~~~~~ idb.c:2966:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:2966:2: note: include '' or provide a declaration of 'free' idb.c:2970:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:2970:2: note: include '' or provide a declaration of 'free' idb.c:2974:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:2974:2: note: include '' or provide a declaration of 'free' idb.c:2984:7: warning: incompatible implicit declaration of built-in function 'free' free(insnode); ^~~~ idb.c:2984:7: note: include '' or provide a declaration of 'free' idb.c:2989:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:2989:2: note: include '' or provide a declaration of 'free' idb.c:3000:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_PatNodes); ^~~~ idb.c:3000:2: note: include '' or provide a declaration of 'free' idb.c:3004:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_StuNodes); ^~~~ idb.c:3004:2: note: include '' or provide a declaration of 'free' idb.c:3008:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_SerNodes); ^~~~ idb.c:3008:2: note: include '' or provide a declaration of 'free' idb.c:3018:7: warning: incompatible implicit declaration of built-in function 'free' free(insnode); ^~~~ idb.c:3018:7: note: include '' or provide a declaration of 'free' idb.c:3023:2: warning: incompatible implicit declaration of built-in function 'free' free(GS_ImaNodes); ^~~~ idb.c:3023:2: note: include '' or provide a declaration of 'free' idb.c: In function 'CBSel_CollectPatientsStudies': idb.c:3097:42: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_PatNodes = (IDB_PatientQuery *) malloc(sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == ^~~~~~ idb.c:3097:42: note: include '' or provide a declaration of 'malloc' idb.c:3101:52: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] } else if ((GS_PatNodes = (IDB_PatientQuery *) realloc(GS_PatNodes, sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == ^~~~~~~ idb.c:3101:52: warning: incompatible implicit declaration of built-in function 'realloc' idb.c:3101:52: note: include '' or provide a declaration of 'realloc' idb.c:3106:33: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_NullPatFlag = (long *) malloc(sizeof(long) * GS_NumPatNodes)) == ^~~~~~ idb.c:3106:33: note: include '' or provide a declaration of 'malloc' idb.c:3110:43: warning: incompatible implicit declaration of built-in function 'realloc' } 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:40: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_StuNodes = (IDB_StudyQuery *) malloc(sizeof(IDB_StudyQuery) * GS_NumStuNodes)) == ^~~~~~ idb.c:3116:40: note: include '' or provide a declaration of 'malloc' idb.c:3120:50: warning: incompatible implicit declaration of built-in function 'realloc' } 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:33: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_NullStuFlag = (long *) malloc(sizeof(long) * GS_NumStuNodes)) == (long *) NULL) { ^~~~~~ idb.c:3125:33: note: include '' or provide a declaration of 'malloc' idb.c:3128:43: warning: incompatible implicit declaration of built-in function 'realloc' } 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:42: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_PatNodes = (IDB_PatientQuery *) malloc(sizeof(IDB_PatientQuery) * GS_NumPatNodes)) == ^~~~~~ idb.c:3305:42: note: include '' or provide a declaration of 'malloc' idb.c:3309:52: warning: incompatible implicit declaration of built-in function 'realloc' } 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:33: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_NullPatFlag = (long *) malloc(sizeof(long) * GS_NumPatNodes)) == ^~~~~~ idb.c:3314:33: note: include '' or provide a declaration of 'malloc' idb.c:3318:43: warning: incompatible implicit declaration of built-in function 'realloc' } 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:40: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_StuNodes = (IDB_StudyQuery *) malloc(sizeof(IDB_StudyQuery) * GS_NumStuNodes)) == ^~~~~~ idb.c:3404:40: note: include '' or provide a declaration of 'malloc' idb.c:3408:50: warning: incompatible implicit declaration of built-in function 'realloc' } 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:33: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_NullStuFlag = (long *) malloc(sizeof(long) * GS_NumStuNodes)) == (long *) NULL) { ^~~~~~ idb.c:3413:33: note: include '' or provide a declaration of 'malloc' idb.c:3416:43: warning: incompatible implicit declaration of built-in function 'realloc' } 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:41: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_SerNodes = (IDB_SeriesQuery *) malloc(sizeof(IDB_SeriesQuery) * GS_NumSerNodes)) == ^~~~~~ idb.c:3524:41: note: include '' or provide a declaration of 'malloc' idb.c:3528:51: warning: incompatible implicit declaration of built-in function 'realloc' } 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:33: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_NullSerFlag = (long *) malloc(sizeof(long) * GS_NumSerNodes)) == ^~~~~~ idb.c:3533:33: note: include '' or provide a declaration of 'malloc' idb.c:3537:43: warning: incompatible implicit declaration of built-in function 'realloc' } 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:40: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_ImaNodes = (IDB_ImageQuery *) malloc(sizeof(IDB_ImageQuery) * GS_NumImaNodes)) == ^~~~~~ idb.c:3626:40: note: include '' or provide a declaration of 'malloc' idb.c:3630:50: warning: incompatible implicit declaration of built-in function 'realloc' } 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:33: warning: incompatible implicit declaration of built-in function 'malloc' if ((GS_NullImaFlag = (long *) malloc(sizeof(long) * GS_NumImaNodes)) == ^~~~~~ idb.c:3635:33: note: include '' or provide a declaration of 'malloc' idb.c:3639:43: warning: incompatible implicit declaration of built-in function 'realloc' } 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' if ((ile = (IDB_InstanceListElement *) malloc(sizeof(IDB_InstanceListElement))) == ^~~~~~ idb.c:3754:44: note: include '' or provide a declaration of 'malloc' In file included from idb.c:68: idb.c: In function 'IDB_ConvertDicomQuerytoSQL_PSView': idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3793:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3793:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3804:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3804:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3863:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3863:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3949:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3949:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3960:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3960:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3971:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:3971:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4033:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4033:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4044:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4044:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4055:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4055:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4066:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4066:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4077:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4077:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4088:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4088:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4099:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4099:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4110:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4110:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4189:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4189:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4200:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4200:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4211:3: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patstucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4211:3: note: in expansion of macro 'FREE_STRINGS' 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' free(list[index].Value.Value.String); ^~~~ idb.c:4241:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4241:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4256:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4256:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4315:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4315:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4401:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4401:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4412:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4412:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4423:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4423:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_patcl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4487:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4487:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4498:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4498:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4509:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4509:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4520:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4520:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4531:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4531:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4542:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4542:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4553:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4553:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4564:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4564:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4643:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4643:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4654:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4654:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4665:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4665:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_stucl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4681:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4681:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4692:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4692:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4703:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4703:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4714:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4714:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4725:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4725:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4736:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4736:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4747:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4747:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4819:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4819:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4830:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4830:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4841:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4841:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_sercl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4857:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4857:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4868:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4868:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4879:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4879:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4890:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4890:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4901:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:4901:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:5002:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:5002:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:5013:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:5013:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free' free(list[index].Value.Value.String); ^~~~ idb.c:5024:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.h:483:17: note: include '' or provide a declaration of 'free' free(list[index].Value.Value.String); ^~~~ idb.c:5024:7: note: in expansion of macro 'FREE_STRINGS' FREE_STRINGS(j, GS_imacl, i); ^~~~~~~~~~~~ idb.c: In function 'IDB_ConvertDicomMetatoSQL': idb.c:5108:28: warning: incompatible implicit declaration of built-in function 'malloc' if ((new_regex = (char *) malloc(malloced_size)) == (char *) NULL) { ^~~~~~ idb.c:5108:28: note: include '' or provide a declaration of 'malloc' idb.c:5149:32: warning: incompatible implicit declaration of built-in function 'realloc' if ((new_regex = (char *) realloc(new_regex, malloced_size)) == ^~~~~~~ idb.c:5149:32: 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] ret_val = TBL_Select(&inshandle, crit, field, &count, CBIns_CollectInstances, NULL); ^~~~~~~~~~~~~~~~~~~~~~ In file included from idb.c:67: tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int, void *)' {aka 'long unsigned int (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idb.c:5621:3: warning: incompatible implicit declaration of built-in function 'free' free(temp_node); ^~~~ idb.c:5621:3: note: include '' or provide a declaration of 'free' idb.c:5647:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] COND_DumpConditions(); ^~~~~~~~~~~~~~~~~~~ idb.c: In function 'CBIns_CollectInstances': idb.c:5828:30: warning: incompatible implicit declaration of built-in function 'malloc' 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] 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=] sprintf(name, "LAST%05x^FIRST", v); ~~~^ ~ %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=] sprintf(string, "PID%08d", v); ~~~^ ~ %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=] sprintf(string, "ACC%08d", v); ~~~^ ~ %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] 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] main(int argc, char **argv) ^~~~ ctnnetwork.c: In function 'main': ctnnetwork.c:267:10: warning: implicit declaration of function 'GetUnusedSlot'; did you mean 'ReleaseSlot'? [-Wimplicit-function-declaration] slot = GetUnusedSlot(&element); ^~~~~~~~~~~~~ ReleaseSlot ctnnetwork.c:272:10: warning: implicit declaration of function 'FindSlot' [-Wimplicit-function-declaration] 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] main(int argc, char *argv[]) ^~~~ kill_ctnnetwork.c: In function 'main': kill_ctnnetwork.c:86:5: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] sleep(5); ^~~~~ strsep 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] 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=] printf("\tAssociation_id: %d\n", n->association_id); ~^ ~~~~~~~~~~~~~~~~~ %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] 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] 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] 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:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("Cannot make element for TAG (%x, %x)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $1, $2); ~~~~~~~~ gram.y:95:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] gram.y:237:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 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:22: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] sscanf(yytext, "%x", &yylval.num); ^~~~ ~~~~~~~~~~~ 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] 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] 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=] printf(" TEXT %04x %04x %32s\n %4d %s\n %4d %s\n", ~~^ %4ld dcm_diff.c:109:5: strlen(c1), c1, strlen(c2), c2); ~~~~~~~~~~ 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=] printf(" TEXT %04x %04x %32s\n %4d %s\n %4d %s\n", ~~^ %4ld dcm_diff.c:109:21: strlen(c1), c1, strlen(c2), c2); ~~~~~~~~~~ dcm_diff.c: At top level: dcm_diff.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] 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=] printf("Differences encountered: %5d\n", differences); ~~^ ~~~~~~~~~~~ %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] main(int argc, char **argv) ^~~~ dcm_dump_compressed.c: In function 'dumpCallback': dcm_dump_compressed.c:113:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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=] if (sscanf(*argv++, "%x", &ng) != 1) ~^ ~~~ %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=] if (sscanf(*argv++, "%x", &ne) != 1) ~^ ~~~ %lx dcm_dump_element.c:362:12: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] (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] 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] 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] 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] 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] 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] maskLeft8(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~ dcm_mask_image.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int] maskLeft16(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~~ dcm_mask_image.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] maskRight8(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~~ dcm_mask_image.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] maskRight16(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~~~ dcm_mask_image.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] maskTop8(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~ dcm_mask_image.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] maskTop16(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~ dcm_mask_image.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int] maskBottom8(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~~~ dcm_mask_image.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] maskBottom16(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~~~~ dcm_mask_image.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] maskLeft(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~ dcm_mask_image.c:299:1: warning: return type defaults to 'int' [-Wimplicit-int] maskRight(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~ dcm_mask_image.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] maskTop(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~ dcm_mask_image.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] maskBottom(void* p, int value, PIXEL_PARAMS* params) ^~~~~~~~~~ dcm_mask_image.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (read(fd, p, size) != size) { ^~~~ fread dcm_modify_elements.c:426:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 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:1179:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] gram.y:105:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("Cannot make element for TAG (%x, %x)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $1, $2); ~~~~~~~~ gram.y:105:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] gram.y:247:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 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:22: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] sscanf(yytext, "%x", &yylval.num); ^~~~ ~~~~~~~~~~~ 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] 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] 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] 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] 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] if ((DUL_RegPDUCall(callITOA_PDU, CALLBACK_ITOA_PDU, NULL)) != DUL_NORMAL) { ^~~~~~~~~~~~ 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, struct *, void *)'} 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] if ((DUL_RegPDUCall(callATOI_PDU, CALLBACK_ATOI_PDU, NULL)) != DUL_NORMAL) { ^~~~~~~~~~~~ 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, struct *, void *)'} DUL_RegPDUCall(void (*callback) (), int callbackType, void *ctx); ~~~~~~~^~~~~~~~~~~~ dcm_snoop.c: In function 'sortDataPDU': dcm_snoop.c:379:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'u_long' {aka 'long unsigned int'} [-Wformat=] printf("Command PDV fragment : Length = %u\n", pdvLength); ~^ ~~~~~~~~~ %lu dcm_snoop.c:386:48: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'u_long' {aka 'long unsigned int'} [-Wformat=] printf("Data set PDV fragment : Length = %u\n", pdvLength); ~^ ~~~~~~~~~ %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] 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] 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:33: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'S32' {aka 'int'} [-Wformat=] printf(" %08x, %2d, %s, %ld\n", element->tag, element->length, ~~^ %d element->description, *element->d.sl); ~~~~~~~~~~~~~~ dcm_verify.c:569:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'U32' {aka 'unsigned int'} [-Wformat=] printf(" %08x, %2d, %s, %lu\n", element->tag, element->length, ~~^ %u element->description, *element->d.ul); ~~~~~~~~~~~~~~ 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] 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] main(int argc, char **argv) ^~~~ ctndisp.c: In function 'main': ctndisp.c:316:3: warning: implicit declaration of function 'CTNDISP_UnDisplayImageData'; did you mean 'CTNDISP_DisplayImageData'? [-Wimplicit-function-declaration] 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:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(img->data); ^~~~ ctndisp_x_support.c:179:2: warning: incompatible implicit declaration of built-in function 'free' ctndisp_x_support.c:179:2: note: include '' or provide a declaration of 'free' ctndisp_x_support.c:66:1: +#include ctndisp_x_support.c:179:2: free(img->data); ^~~~ ctndisp_x_support.c: In function 'CTNDISP_AdjustImageDepth': ctndisp_x_support.c:437:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] new_data = (unsigned char *) malloc(npels * G_store_depth); ^~~~~~ ctndisp_x_support.c:437:34: warning: incompatible implicit declaration of built-in function 'malloc' ctndisp_x_support.c:437:34: note: include '' or provide a declaration of 'malloc' ctndisp_x_support.c:453:2: warning: incompatible implicit declaration of built-in function 'free' free(img->data); ^~~~ ctndisp_x_support.c:453:2: note: include '' or provide a declaration of 'free' ctndisp_x_support.c:513:5: warning: incompatible implicit declaration of built-in function 'free' 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] bytesRead = read(fd, *ptr, *fileSize); ^~~~ fread image_utils.c:266:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 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] 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] 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] 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] 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=] printf("%d\n", strlen(interpretation.IntTex)); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld workImpInterp.c:169:5: warning: implicit declaration of function 'UTL_GetDicomDate' [-Wimplicit-function-declaration] UTL_GetDicomDate(interpretation.IntAppDat); ^~~~~~~~~~~~~~~~ workImpInterp.c:170:5: warning: implicit declaration of function 'UTL_GetDicomTime' [-Wimplicit-function-declaration] 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] 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] 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] 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] 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 #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 # define MAXPATHLEN PATH_MAX create_print_entry.c: In function 'makeDBEntry': create_print_entry.c:380:9: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] "%.*s", sizeof(query.Image.FileName) - 2, prefmtImgfile); ~~^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 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] 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] queueInitialize(); ^~~~~~~~~~~~~~~ requests.c:192:5: warning: implicit declaration of function 'queueNewAssociation'; did you mean 'DUL_DropAssociation'? [-Wimplicit-function-declaration] queueNewAssociation(service->callingAPTitle); ^~~~~~~~~~~~~~~~~~~ DUL_DropAssociation requests.c:193:5: warning: implicit declaration of function 'queueNetworkNewAssociation'; did you mean 'DUL_ReleaseAssociation'? [-Wimplicit-function-declaration] queueNetworkNewAssociation(service->callingAPTitle); ^~~~~~~~~~~~~~~~~~~~~~~~~~ DUL_ReleaseAssociation requests.c:276:5: warning: implicit declaration of function 'queueClosedAssociation'; did you mean 'DUL_ReleaseAssociation'? [-Wimplicit-function-declaration] queueClosedAssociation(service->callingAPTitle, receivedImageCount); ^~~~~~~~~~~~~~~~~~~~~~ DUL_ReleaseAssociation requests.c:278:7: warning: implicit declaration of function 'queueDisplayImage' [-Wimplicit-function-declaration] queueDisplayImage(service->callingAPTitle, lastImageInAssociation); ^~~~~~~~~~~~~~~~~ requests.c: In function 'storeRequest': requests.c:505:5: warning: implicit declaration of function 'queueNewImage' [-Wimplicit-function-declaration] queueNewImage(params->callingAPTitle, imageCount); ^~~~~~~~~~~~~ requests.c: In function 'storageCallback': requests.c:565:5: warning: implicit declaration of function 'networkqueuePartialImage' [-Wimplicit-function-declaration] networkqueuePartialImage(callingAPTitle, percentage); ^~~~~~~~~~~~~~~~~~~~~~~~ requests.c:568:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes received of %8d estimated \n", received, estimate); ~~^ ~~~~~~~~ %8ld requests.c:568:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes received of %8d estimated \n", received, estimate); ~~^ ~~~~~~~~ %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:4: warning: implicit declaration of function 'queueTransmitAssociation'; did you mean 'DUL_ReleaseAssociation'? [-Wimplicit-function-declaration] queueTransmitAssociation(params->callingAPTitle, ^~~~~~~~~~~~~~~~~~~~~~~~ DUL_ReleaseAssociation move.c:459:6: warning: implicit declaration of function 'queueTransmitImage' [-Wimplicit-function-declaration] queueTransmitImage(params->callingAPTitle, ^~~~~~~~~~~~~~~~~~ move.c:462:6: warning: implicit declaration of function 'queueStartTransmit' [-Wimplicit-function-declaration] queueStartTransmit(params->callingAPTitle, ^~~~~~~~~~~~~~~~~~ move.c:479:10: warning: passing argument 6 of 'IAP_SendImage' from incompatible pointer type [-Wincompatible-pointer-types] sendCallback, &sendCtx); ^~~~~~~~~~~~ In file included from move.c:70: /build/ctn-3.2.0~dfsg/include/iap.h:65:19: note: expected 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int, long unsigned int, char *)' {aka 'long unsigned int (*)(struct *, struct *, 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 (*)(struct *, struct *, long unsigned int, long unsigned int, struct *)'} CONDITION(*callback) (MSG_C_STORE_REQ * request, MSG_C_STORE_RESP * response, ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned long transmitted, unsigned long total, char *string), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ move.c:544:6: warning: implicit declaration of function 'queueClosedTransmitAssociation'; did you mean 'DUL_ReleaseAssociation'? [-Wimplicit-function-declaration] queueClosedTransmitAssociation(params->callingAPTitle, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DUL_ReleaseAssociation move.c: In function 'sendCallback': move.c:612:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", ~~^ %8ld transmitted, total,ctx->destination); ~~~~~~~~~~~ move.c:612:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", ~~^ %8ld transmitted, total,ctx->destination); ~~~~~ 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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from move.c:50: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf(stderr, "Invalid status code in store response: %s\n", ~^ %d storeResponse->status); ~~~~~~~~~~~~~~~~~~~~~ cget.c:307:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf(stderr, "Invalid status code in store response: %s\n", ~^ %d storeResponse->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 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o naction.o naction.c naction.c: In function 'storageCommitmentRequest': naction.c:260:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'SQ_REFERENCEDSOPSEQUENCE *' {aka 'struct *'} [-Wformat=] fprintf(stderr, "Address of first sequence element: %x\n", ref); ~^ ~~~ 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:6: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] if (islower(r->patient.PatNam[i])) ^~~~~~~ parse.c:363:29: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] r->patient.PatNam[i] = toupper(r->patient.PatNam[i]); ^~~~~~~ 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=] (void) sprintf(numPatRelStuTxt, "%-d", Query.patient.NumPatRelStu); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-ld parse.c:613:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] (void) sprintf(numPatRelSerTxt, "%-d", Query.patient.NumPatRelSer); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-ld parse.c:614:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] (void) sprintf(numPatRelImaTxt, "%-d", Query.patient.NumPatRelIma); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %-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] 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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from commit_result.c:54: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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=] printf("Found %6d studies to delete\n", LST_Count(&studyList)); ~~^ ~~~~~~~~~~~~~~~~~~~~~ %6ld archive_cleaner.c:236:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("There are %6d studies to be deleted\n", LST_Count(&studyList)); ~~^ ~~~~~~~~~~~~~~~~~~~~~ %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=] printf("Found %6d patients to delete\n", LST_Count(&patientList)); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %6ld archive_cleaner.c:328:23: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] printf("%s %s %16s %4d %s\n", ~~^ %4ld archive_cleaner.c:332:9: ptr->q.patient.NumPatRelStu, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ archive_cleaner.c:345:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("There are %6d patients to be deleted\n", LST_Count(&patientList)); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %6ld archive_cleaner.c: At top level: archive_cleaner.c:452:1: warning: return type defaults to 'int' [-Wimplicit-int] 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=] sprintf(dateString, "%04d%02d%02d", ^~~~ archive_cleaner.c:171:25: note: directive argument in the range [-2147481748, 2147483647] 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:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from archive_cleaner.c:26: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ archive_cleaner.c:199:27: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(dateString, "-%04d%02d%02d", ^~~~ archive_cleaner.c:199:25: note: directive argument in the range [-2147481748, 2147483647] sprintf(dateString, "-%04d%02d%02d", ^~~~~~~~~~~~~~~ archive_cleaner.c:199:25: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from archive_cleaner.c:26: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 35 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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=] sprintf(dateString, "%04d%02d%02d", ^~~~ archive_cleaner.c:278:25: note: directive argument in the range [-2147481748, 2147483647] sprintf(dateString, "%04d%02d%02d", ^~~~~~~~~~~~~~ archive_cleaner.c:278:25: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from archive_cleaner.c:26: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ archive_cleaner.c:307:27: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(dateString, "-%04d%02d%02d", ^~~~ archive_cleaner.c:307:25: note: directive argument in the range [-2147481748, 2147483647] sprintf(dateString, "-%04d%02d%02d", ^~~~~~~~~~~~~~~ archive_cleaner.c:307:25: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from archive_cleaner.c:26: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 35 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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] 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] 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] 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:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes received of %8d estimated \n", received, estimate); ~~^ ~~~~~~~~ %8ld requests.c:486:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes received of %8d estimated \n", received, estimate); ~~^ ~~~~~~~~ %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:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~~~~~~~ %8ld move.c:491:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~ %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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from move.c:50: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf(stderr, "Invalid status code in store response: %s\n", ~^ %d storeResponse->status); ~~~~~~~~~~~~~~~~~~~~~ cget.c:304:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf(stderr, "Invalid status code in store response: %s\n", ~^ %d storeResponse->status); ~~~~~~~~~~~~~~~~~~~~~ cget.c:392:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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:9: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration] (void) COND_PushCondition(APP_ERROR(APP_GENERALMSG), ^~~~~~~~~~~~~~~~~~ parse.c: In function 'changeInsertionCase': parse.c:292:6: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] if (islower(r->patient.PatNam[i])) ^~~~~~~ parse.c:293:29: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] r->patient.PatNam[i] = toupper(r->patient.PatNam[i]); ^~~~~~~ parse.c: In function 'parseQuery': parse.c:433:42: warning: passing argument 6 of 'DCM_ScanParseObject' from incompatible pointer type [-Wincompatible-pointer-types] queryMap, (int) DIM_OF(queryMap), queryCallback, NULL); ^~~~~~~~~~~~~ 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 struct *, void *)'} but argument is of type 'CONDITION (*)(DCM_ELEMENT *, void *)' {aka 'long unsigned int (*)(struct *, void *)'} 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] main(int argc, char **argv) ^~~~ fillImageDB.c: In function 'main': fillImageDB.c:129:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] COND_DumpConditions(); ^~~~~~~~~~~~~~~~~~~ fillImageDB.c: In function 'insertImage': fillImageDB.c:224:12: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration] (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] main(int argc, char **argv) ^~~~ mwlQuery.c: In function 'main': mwlQuery.c:289:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] (void) fprintf(stderr, "%x\n", cond); ~^ ~~~~ %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] 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] 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] 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] 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] (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] 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] 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] (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] 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:504:1: warning: return type defaults to 'int' [-Wimplicit-int] get_wmShellWidgetClass() ^~~~~~~~~~~~~~~~~~~~~~ Buttons.c:508:1: warning: return type defaults to 'int' [-Wimplicit-int] 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 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] 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] idx = (int) client_data; ^ display_icon.c: In function 'Multi_select': display_icon.c:544:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] selectImage(w, (XtPointer) idx, NULL); ^ display_icon.c:550:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] selectImage(w, (XtPointer) idx, NULL); ^ display_icon.c: In function 'CreatePreviewStudyWindow': display_icon.c:637:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) (i * 8 + j)); ^ display_icon.c: In function 'selectBIB': display_icon.c:798:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selected = (int) client_data; ^ display_icon.c:805:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selected = (int) client_data; ^ display_icon.c: In function 'CreateStandardBFBWindow': display_icon.c:1148:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (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 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:37: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback(button, XtNcallback, cb, client_data); ^~ In file included from display_message.c:64: /usr/include/X11/Intrinsic.h:1238:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)())(struct _WidgetRec *, void *, void *)' 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] main(int argc, char **argv) ^~~~ print_client.c: In function 'main': print_client.c:271:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=] (void) fprintf(stderr, "%x\n", cond); ~^ ~~~~ %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] {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] {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:3: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(elem.objFile); ^~~~~~ unix print_server_display.c:96:12: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] (void) sleep(5); ^~~~~ strsep 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] XtAddCallback(btn, XtNcallback, quit, NULL); ^~~~ In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:1238:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)(struct _WidgetRec *, void *, void *))(struct _WidgetRec *, void *, void *)' XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ print_server_display.c: In function 'pollQueue': print_server_display.c:204:36: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL); ^~~~~~~~~ In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:981: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 *)'} XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ print_server_display.c:215:36: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL); ^~~~~~~~~ In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:981: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 *)'} XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ print_server_display.c:245:33: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] XtAppAddTimeOut(app_ctx, 5000, delayedDelete, temp); ^~~~~~~~~~~~~ In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:981: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 *)'} XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ print_server_display.c:255:33: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] XtAppAddTimeOut(app_ctx, 1, pollQueue, NULL); ^~~~~~~~~ In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:981: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 *)'} 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] XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL); ^~~~~~~~~ In file included from print_server_display.c:36: /usr/include/X11/Intrinsic.h:981: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 *)'} XtTimerCallbackProc /* proc */, ^~~~~~~~~~~~~~~~~~~ print_server_display.c: In function 'delayedDelete': print_server_display.c:176:16: warning: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Wformat-overflow=] sprintf(num, "%d", --num_client); ^~ print_server_display.c:176:15: note: directive argument in the range [-2147483648, 2147483646] sprintf(num, "%d", --num_client); ^~~~ print_server_display.c:176:2: note: 'sprintf' output between 2 and 12 bytes into a destination of size 5 sprintf(num, "%d", --num_client); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print_server_display.c: In function 'pollQueue': print_server_display.c:225:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Wformat-overflow=] sprintf(num, "%d", ++num_client); ^~ print_server_display.c:225:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(num, "%d", ++num_client); ^~~~ print_server_display.c:225:6: note: 'sprintf' output between 2 and 12 bytes into a destination of size 5 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] static ncolor; ^~~~~~ display_prn.c: In function 'DISP_DestroyDISP_SESSION': display_prn.c:717:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(img->filename); ^~~~~~ unix 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] main(int argc, char **argv) ^~~~ ris_gateway.c: In function 'main': ris_gateway.c:167:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] COND_DumpConditions(); ^~~~~~~~~~~~~~~~~~~ ris_gateway.c:171:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] 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:9: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration] return COND_PushCondition(APP_ERROR(APP_ASSOCIATIONRQFAILED)); ^~~~~~~~~~~~~~~~~~ association.c:139:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] 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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:20: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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:3: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] COND_DumpConditions(); ^~~~~~~~~~~~~~~~~~~ procevent.c: In function 'insertNewResults': procevent.c:541:5: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration] 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:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration] COND_DumpConditions(); ^~~~~~~~~~~~~~~~~~~ requests.c:160:15: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration] (void) COND_PopCondition(TRUE); ^~~~~~~~~~~~~~~~~ requests.c: In function 'serviceThisCommand': requests.c:229:9: warning: implicit declaration of function 'NEventReportRequest'; did you mean 'SRV_NEventReportRequest'? [-Wimplicit-function-declaration] 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] 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=] printf("%10d bytes transfer in %7.3f seconds (%f kB/s)\n", ~~~^ %10ld objectLength, deltaTime, ~~~~~~~~~~~~ send_image.c: In function 'sendCallback': send_image.c:690:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, (char *) string); ~~^ ~~~~~~~~~~~ %8ld send_image.c:690:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, (char *) string); ~~^ ~~~~~ %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] 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=] printf("%d\n", LST_Count(&imageList)); ~^ ~~~~~~~~~~~~~~~~~~~~~ %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:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~~~~~~~ %8ld association.c:120:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~ %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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:50: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", ~~^ %8ld transmitted, total, string); ~~~~~~~~~~~ send_study.c:116:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", ~~^ %8ld transmitted, total, string); ~~~~~ send_study.c: In function 'sendImages': send_study.c:277:5: warning: implicit declaration of function 'establishSendAssociation'; did you mean 'DUL_ReleaseAssociation'? [-Wimplicit-function-declaration] establishSendAssociation(&network, imageList, destinationAETitle, ^~~~~~~~~~~~~~~~~~~~~~~~ DUL_ReleaseAssociation send_study.c: At top level: send_study.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int] 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=] printf("%d\n", LST_Count(&imageList)); ~^ ~~~~~~~~~~~~~~~~~~~~~ %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:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~~~~~~~ %8ld association.c:120:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~ %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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:50: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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] 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] (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] main(int argc, char **argv) ^~~~ simple_storage.c: In function 'storageCallback': simple_storage.c:1531:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%8d bytes received of %8d estimated (%s)\n", received, estimate, ~~^ ~~~~~~~~ %8ld simple_storage.c:1531:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes received of %8d estimated (%s)\n", received, estimate, ~~^ ~~~~~~~~ %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=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~~~~~~~ %8ld simple_storage.c:2055:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string); ~~^ ~~~~~ %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] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ simple_storage.c: In function 'storeRequest': simple_storage.c:1483:28: warning: '%s' directive writing up to 64 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(fileName, "%s/%s", directory, (*request)->instanceUID); ^~ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from simple_storage.c:74: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1089 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simple_storage.c:1356:25: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(newName, "%s%s", newDirectory, tempName); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from simple_storage.c:74: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 2047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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] main(int argc, char *argv[]) ^~~~ snp_to_files.c: In function 'main': snp_to_files.c:171:71: warning: comparison between pointer and integer 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 if ((fd_atoi = open(argv[9], O_WRONLY | O_CREAT | O_TRUNC, 0666)) == NULL) { ^~ snp_to_files.c:198:2: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^~~~~ snp_to_files.c:228:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 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] 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] 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] main(int argc, char **argv) ^~~~ storage_commit.c: In function 'main': storage_commit.c:205:9: warning: implicit declaration of function 'establishAssociation'; did you mean 'DUL_ReleaseAssociation'? [-Wimplicit-function-declaration] if (establishAssociation(&networkKey, ^~~~~~~~~~~~~~~~~~~~ DUL_ReleaseAssociation storage_commit.c:214:5: warning: implicit declaration of function 'sendStorageCommitRequest' [-Wimplicit-function-declaration] 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=] sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port); ^ In file included from /usr/include/stdio.h:873, from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62, from association.c:50: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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] 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] 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:9: warning: implicit declaration of function 'neventReportRequest'; did you mean 'SRV_NEventReportRequest'? [-Wimplicit-function-declaration] 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:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("Transaction UID: %s\n SOP Instances committed: %d\n", ~^ %ld nevent.c:172:6: LST_Count(&l)); ~~~~~~~~~~~~~ nevent.c:212:61: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("Transaction UID: %s\n SOP Instances failed: %d\n", ~^ %ld nevent.c:214:6: LST_Count(&l)); ~~~~~~~~~~~~~ nevent.c:237:5: warning: implicit declaration of function 'UTL_GetDicomDate' [-Wimplicit-function-declaration] UTL_GetDicomDate(storageCommit.ResDat); ^~~~~~~~~~~~~~~~ nevent.c:238:5: warning: implicit declaration of function 'UTL_GetDicomTime' [-Wimplicit-function-declaration] 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] 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] 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] main() ^~~~ ttselect.c: In function 'main': ttselect.c:117:54: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types] cond = TBL_Select(&handle, NULL, fields, &count, callback, (void *) foo); ^~~~~~~~ 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 (*)(struct *, long int, void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int, void *)' {aka 'long unsigned int (*)(struct *, int, void *)'} 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=] printf("ALL DONE--Count: %d\n", count); ~^ ~~~~~ %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] main() ^~~~ ttlayout.c: In function 'main': ttlayout.c:87:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", db); ^~~~~~~~~~~~~~~ ttlayout.c:89:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] 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] 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 fakeroot debian/rules binary dh binary dh_testroot 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_strip dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ctn/usr/bin/load_control was not linked against libdl.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ctn/usr/bin/send_results debian/ctn/usr/bin/commit_agent debian/ctn/usr/bin/pq_ctndisp debian/ctn/usr/bin/load_control debian/ctn/usr/bin/mwlQuery debian/ctn/usr/bin/dump_commit_requests debian/ctn/usr/bin/ttlayout debian/ctn/usr/bin/ttunique debian/ctn/usr/bin/ex1_initiator debian/ctn/usr/bin/kill_ctndisp debian/ctn/usr/bin/fillRSA debian/ctn/usr/bin/fis_server debian/ctn/usr/bin/print_client debian/ctn/usr/bin/print_mgr debian/ctn/usr/bin/ttupdate debian/ctn/usr/bin/ex2_initiator debian/ctn/usr/bin/ex4_initiator debian/ctn/usr/bin/fillRSAImpInterp debian/ctn/usr/bin/icon_append_file debian/ctn/usr/bin/image_server debian/ctn/usr/bin/ex3_acceptor debian/ctn/usr/bin/clone_study debian/ctn/usr/bin/icon_append_index debian/ctn/usr/bin/send_study debian/ctn/usr/bin/ctndisp debian/ctn/usr/bin/icon_dump_index debian/ctn/usr/bin/dicom_echo debian/ctn/usr/bin/ttdelete debian/ctn/usr/bin/archive_server debian/ctn/usr/bin/archive_agent debian/ctn/usr/bin/fillImageDB debian/ctn/usr/bin/ex4_acceptor debian/ctn/usr/bin/dcm_snoop debian/ctn/usr/bin/ctnnetwork debian/ctn/usr/bin/create_greyscale_module debian/ctn/usr/bin/archive_cleaner debian/ctn/usr/bin/create_print_entry debian/ctn/usr/bin/ttinsert debian/ctn/usr/bin/dcm_x_disp debian/ctn/usr/bin/ex3_initiator debian/ctn/usr/bin/ris_gateway debian/ctn/usr/bin/storage_classes debian/ctn/usr/bin/icon_dump_file debian/ctn/usr/bin/storage_commit debian/ctn/usr/bin/enq_ctndisp debian/ctn/usr/bin/print_server debian/ctn/usr/bin/ttselect were not linked against libz.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ctn/usr/bin/pq_ctnnetwork debian/ctn/usr/bin/pq_ctndisp debian/ctn/usr/bin/load_control debian/ctn/usr/bin/enq_ctnnetwork debian/ctn/usr/bin/kill_ctndisp debian/ctn/usr/bin/fillRSA debian/ctn/usr/bin/fis_server debian/ctn/usr/bin/print_mgr debian/ctn/usr/bin/print_server_display debian/ctn/usr/bin/fillRSAImpInterp debian/ctn/usr/bin/kill_ctnnetwork debian/ctn/usr/bin/image_server debian/ctn/usr/bin/ctndisp debian/ctn/usr/bin/archive_server debian/ctn/usr/bin/fillImageDB debian/ctn/usr/bin/ctnnetwork debian/ctn/usr/bin/dcm_x_disp debian/ctn/usr/bin/ris_gateway debian/ctn/usr/bin/enq_ctndisp were not linked against libm.so.6 (they use none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'ctn' in '../ctn_3.2.0~dfsg-6_arm64.deb'. dpkg-deb: building package 'ctn-dbgsym' in '../ctn-dbgsym_3.2.0~dfsg-6_arm64.deb'. dpkg-deb: building package 'ctn-dev' in '../ctn-dev_3.2.0~dfsg-6_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ctn_3.2.0~dfsg-6_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) I: copying local configuration I: user script /srv/workspace/pbuilder/1684/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/1684/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/1684 and its subdirectories I: Current time: Wed Sep 8 21:39:50 +14 2021 I: pbuilder-time-stamp: 1631086790