I: pbuilder: network access will be disabled during build
I: Current time: Tue Aug 24 19:24:57 -12 2021
I: pbuilder-time-stamp: 1629876297
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/bullseye-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-7.dsc]
I: copying [./ctn_3.2.0~dfsg.orig.tar.xz]
I: copying [./ctn_3.2.0~dfsg-7.debian.tar.xz]
I: Extracting source
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.ga8FVK2p/trustedkeys.kbx': General error
gpgv: Signature made Mon Nov 16 00:54:19 2020 -12
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-7.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-7.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 10_all_patches.patch
dpkg-source: info: applying 11_csh-to-bash.patch
dpkg-source: info: applying 20_mysql_4.2.patch
dpkg-source: info: applying 20_prevent_installing_examples.patch
dpkg-source: info: applying 30_hardening.patch
dpkg-source: info: applying 40_spelling.patch
dpkg-source: info: applying 50_clang_FTBFS_Wreturn-type.patch
dpkg-source: info: applying mayhem.patch
I: Not using root during the build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/15474/tmp/hooks/D02_print_environment starting
I: set
  BUILDDIR='/build'
  BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other'
  BUILDUSERNAME='pbuilder1'
  BUILD_ARCH='armhf'
  DEBIAN_FRONTEND='noninteractive'
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3'
  DISTRIBUTION=''
  HOME='/root'
  HOST_ARCH='armhf'
  IFS=' 	
  '
  INVOCATION_ID='7c98bfe7a5d043c7a38b6a89e7f3fa1c'
  LANG='C'
  LANGUAGE='en_US:en'
  LC_ALL='C'
  MAIL='/var/mail/root'
  OPTIND='1'
  PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
  PBCURRENTCOMMANDLINEOPERATION='build'
  PBUILDER_OPERATION='build'
  PBUILDER_PKGDATADIR='/usr/share/pbuilder'
  PBUILDER_PKGLIBDIR='/usr/lib/pbuilder'
  PBUILDER_SYSCONFDIR='/etc'
  PPID='15474'
  PS1='# '
  PS2='> '
  PS4='+ '
  PWD='/'
  SHELL='/bin/bash'
  SHLVL='2'
  SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jTahtaN4N6/pbuilderrc_FBE3 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jTahtaN4N6/b1 --logfile b1/build.log ctn_3.2.0~dfsg-7.dsc'
  SUDO_GID='113'
  SUDO_UID='107'
  SUDO_USER='jenkins'
  TERM='unknown'
  TZ='/usr/share/zoneinfo/Etc/GMT+12'
  USER='root'
  _='/usr/bin/systemd-run'
  http_proxy='http://10.0.0.15:8000/'
I: uname -a
  Linux virt64c 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux
I: ls -l /bin
  total 3580
  -rwxr-xr-x 1 root root 816764 Aug  4 08:25 bash
  -rwxr-xr-x 3 root root  26052 Jul 20  2020 bunzip2
  -rwxr-xr-x 3 root root  26052 Jul 20  2020 bzcat
  lrwxrwxrwx 1 root root      6 Jul 20  2020 bzcmp -> bzdiff
  -rwxr-xr-x 1 root root   2225 Jul 20  2020 bzdiff
  lrwxrwxrwx 1 root root      6 Jul 20  2020 bzegrep -> bzgrep
  -rwxr-xr-x 1 root root   4877 Sep  4  2019 bzexe
  lrwxrwxrwx 1 root root      6 Jul 20  2020 bzfgrep -> bzgrep
  -rwxr-xr-x 1 root root   3775 Jul 20  2020 bzgrep
  -rwxr-xr-x 3 root root  26052 Jul 20  2020 bzip2
  -rwxr-xr-x 1 root root   9636 Jul 20  2020 bzip2recover
  lrwxrwxrwx 1 root root      6 Jul 20  2020 bzless -> bzmore
  -rwxr-xr-x 1 root root   1297 Jul 20  2020 bzmore
  -rwxr-xr-x 1 root root  26668 Sep 22  2020 cat
  -rwxr-xr-x 1 root root  43104 Sep 22  2020 chgrp
  -rwxr-xr-x 1 root root  38984 Sep 22  2020 chmod
  -rwxr-xr-x 1 root root  43112 Sep 22  2020 chown
  -rwxr-xr-x 1 root root  92616 Sep 22  2020 cp
  -rwxr-xr-x 1 root root  75524 Dec 10  2020 dash
  -rwxr-xr-x 1 root root  75880 Sep 22  2020 date
  -rwxr-xr-x 1 root root  55436 Sep 22  2020 dd
  -rwxr-xr-x 1 root root  59912 Sep 22  2020 df
  -rwxr-xr-x 1 root root  96764 Sep 22  2020 dir
  -rwxr-xr-x 1 root root  55012 Jul 28 07:09 dmesg
  lrwxrwxrwx 1 root root      8 Nov  6  2019 dnsdomainname -> hostname
  lrwxrwxrwx 1 root root      8 Nov  6  2019 domainname -> hostname
  -rwxr-xr-x 1 root root  22508 Sep 22  2020 echo
  -rwxr-xr-x 1 root root     28 Nov  9  2020 egrep
  -rwxr-xr-x 1 root root  22496 Sep 22  2020 false
  -rwxr-xr-x 1 root root     28 Nov  9  2020 fgrep
  -rwxr-xr-x 1 root root  47492 Jul 28 07:09 findmnt
  -rwsr-xr-x 1 root root  26076 Feb 26 04:12 fusermount
  -rwxr-xr-x 1 root root 124508 Nov  9  2020 grep
  -rwxr-xr-x 2 root root   2346 Mar  2 11:30 gunzip
  -rwxr-xr-x 1 root root   6376 Mar  2 11:30 gzexe
  -rwxr-xr-x 1 root root  64212 Mar  2 11:30 gzip
  -rwxr-xr-x 1 root root  13784 Nov  6  2019 hostname
  -rwxr-xr-x 1 root root  43180 Sep 22  2020 ln
  -rwxr-xr-x 1 root root  35068 Feb  7  2020 login
  -rwxr-xr-x 1 root root  96764 Sep 22  2020 ls
  -rwxr-xr-x 1 root root  99940 Jul 28 07:09 lsblk
  -rwxr-xr-x 1 root root  51408 Sep 22  2020 mkdir
  -rwxr-xr-x 1 root root  43184 Sep 22  2020 mknod
  -rwxr-xr-x 1 root root  30780 Sep 22  2020 mktemp
  -rwxr-xr-x 1 root root  34408 Jul 28 07:09 more
  -rwsr-xr-x 1 root root  34400 Jul 28 07:09 mount
  -rwxr-xr-x 1 root root   9824 Jul 28 07:09 mountpoint
  -rwxr-xr-x 1 root root  88524 Sep 22  2020 mv
  lrwxrwxrwx 1 root root      8 Nov  6  2019 nisdomainname -> hostname
  lrwxrwxrwx 1 root root     14 Apr 18 03:38 pidof -> /sbin/killall5
  -rwxr-xr-x 1 root root  26652 Sep 22  2020 pwd
  lrwxrwxrwx 1 root root      4 Aug  4 08:25 rbash -> bash
  -rwxr-xr-x 1 root root  30740 Sep 22  2020 readlink
  -rwxr-xr-x 1 root root  43104 Sep 22  2020 rm
  -rwxr-xr-x 1 root root  30732 Sep 22  2020 rmdir
  -rwxr-xr-x 1 root root  14144 Sep 27  2020 run-parts
  -rwxr-xr-x 1 root root  76012 Dec 22  2018 sed
  lrwxrwxrwx 1 root root      4 Aug 20 21:24 sh -> dash
  -rwxr-xr-x 1 root root  22532 Sep 22  2020 sleep
  -rwxr-xr-x 1 root root  55360 Sep 22  2020 stty
  -rwsr-xr-x 1 root root  46704 Jul 28 07:09 su
  -rwxr-xr-x 1 root root  22532 Sep 22  2020 sync
  -rwxr-xr-x 1 root root 340872 Feb 16  2021 tar
  -rwxr-xr-x 1 root root   9808 Sep 27  2020 tempfile
  -rwxr-xr-x 1 root root  67696 Sep 22  2020 touch
  -rwxr-xr-x 1 root root  22496 Sep 22  2020 true
  -rwxr-xr-x 1 root root   9636 Feb 26 04:12 ulockmgr_server
  -rwsr-xr-x 1 root root  22108 Jul 28 07:09 umount
  -rwxr-xr-x 1 root root  22520 Sep 22  2020 uname
  -rwxr-xr-x 2 root root   2346 Mar  2 11:30 uncompress
  -rwxr-xr-x 1 root root  96764 Sep 22  2020 vdir
  -rwxr-xr-x 1 root root  38512 Jul 28 07:09 wdctl
  lrwxrwxrwx 1 root root      8 Nov  6  2019 ypdomainname -> hostname
  -rwxr-xr-x 1 root root   1984 Mar  2 11:30 zcat
  -rwxr-xr-x 1 root root   1678 Mar  2 11:30 zcmp
  -rwxr-xr-x 1 root root   5880 Mar  2 11:30 zdiff
  -rwxr-xr-x 1 root root     29 Mar  2 11:30 zegrep
  -rwxr-xr-x 1 root root     29 Mar  2 11:30 zfgrep
  -rwxr-xr-x 1 root root   2081 Mar  2 11:30 zforce
  -rwxr-xr-x 1 root root   7585 Mar  2 11:30 zgrep
  -rwxr-xr-x 1 root root   2206 Mar  2 11:30 zless
  -rwxr-xr-x 1 root root   1842 Mar  2 11:30 zmore
  -rwxr-xr-x 1 root root   4553 Mar  2 11:30 znew
I: user script /srv/workspace/pbuilder/15474/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: armhf
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper-compat (= 13), libmotif-dev, libxaw7-dev, flex, libfl-dev, bison, zlib1g-dev, default-libmysqlclient-dev, libx11-dev, libxt-dev, x11proto-core-dev, csh | c-shell
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 19398 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however:
  Package debhelper-compat is not installed.
 pbuilder-satisfydepends-dummy depends on libmotif-dev; however:
  Package libmotif-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libxaw7-dev; however:
  Package libxaw7-dev is not installed.
 pbuilder-satisfydepends-dummy depends on flex; however:
  Package flex is not installed.
 pbuilder-satisfydepends-dummy depends on libfl-dev; however:
  Package libfl-dev is not installed.
 pbuilder-satisfydepends-dummy depends on bison; however:
  Package bison is not installed.
 pbuilder-satisfydepends-dummy depends on zlib1g-dev; however:
  Package zlib1g-dev is not installed.
 pbuilder-satisfydepends-dummy depends on default-libmysqlclient-dev; however:
  Package default-libmysqlclient-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libx11-dev; however:
  Package libx11-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libxt-dev; however:
  Package libxt-dev is not installed.
 pbuilder-satisfydepends-dummy depends on x11proto-core-dev; however:
  Package x11proto-core-dev is not installed.
 pbuilder-satisfydepends-dummy depends on csh | c-shell; however:
  Package csh is not installed.
  Package c-shell is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
  autoconf{a} automake{a} autopoint{a} autotools-dev{a} bison{a} bsdextrautils{a} csh{a} debhelper{a} default-libmysqlclient-dev{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} flex{a} fontconfig-config{a} fonts-dejavu-core{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli-dev{a} libbrotli1{a} libbsd0{a} libdebhelper-perl{a} libelf1{a} libexpat1{a} libexpat1-dev{a} libfile-stripnondeterminism-perl{a} libfl-dev{a} libfl2{a} libfontconfig-dev{a} libfontconfig1{a} libfontconfig1-dev{a} libfreetype-dev{a} libfreetype6{a} libfreetype6-dev{a} libglib2.0-0{a} libice-dev{a} libice6{a} libicu67{a} libjpeg62-turbo{a} libmagic-mgc{a} libmagic1{a} libmariadb-dev{a} libmariadb-dev-compat{a} libmariadb3{a} libmd0{a} libmotif-common{a} libmotif-dev{a} libmrm4{a} libpipeline1{a} libpng-dev{a} libpng16-16{a} libpthread-stubs0-dev{a} libsigsegv2{a} libsm-dev{a} libsm6{a} libssl-dev{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libuil4{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxaw7{a} libxaw7-dev{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxft-dev{a} libxft2{a} libxm4{a} libxml2{a} libxmu-dev{a} libxmu-headers{a} libxmu6{a} libxpm-dev{a} libxpm4{a} libxrender-dev{a} libxrender1{a} libxt-dev{a} libxt6{a} m4{a} man-db{a} mariadb-common{a} mysql-common{a} pkg-config{a} po-debconf{a} sensible-utils{a} ucf{a} uil{a} uuid-dev{a} x11-common{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 libltdl-dev libmail-sendmail-perl libpng-tools lynx shared-mime-info wget xdg-user-dirs 
0 packages upgraded, 105 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.5 MB of archives. After unpacking 111 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian bullseye/main armhf bsdextrautils armhf 2.36.1-8 [138 kB]
Get: 2 http://deb.debian.org/debian bullseye/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get: 3 http://deb.debian.org/debian bullseye/main armhf groff-base armhf 1.22.4-6 [847 kB]
Get: 4 http://deb.debian.org/debian bullseye/main armhf libpipeline1 armhf 1.5.3-1 [30.1 kB]
Get: 5 http://deb.debian.org/debian bullseye/main armhf man-db armhf 2.9.4-2 [1319 kB]
Get: 6 http://deb.debian.org/debian bullseye/main armhf libsigsegv2 armhf 2.13-1 [34.0 kB]
Get: 7 http://deb.debian.org/debian bullseye/main armhf m4 armhf 1.4.18-5 [192 kB]
Get: 8 http://deb.debian.org/debian bullseye/main armhf flex armhf 2.6.4-8 [424 kB]
Get: 9 http://deb.debian.org/debian bullseye/main armhf x11-common all 1:7.7+22 [252 kB]
Get: 10 http://deb.debian.org/debian bullseye/main armhf libmotif-common all 2.3.8-3 [40.5 kB]
Get: 11 http://deb.debian.org/debian bullseye/main armhf libxau6 armhf 1:1.0.9-1 [19.0 kB]
Get: 12 http://deb.debian.org/debian bullseye/main armhf libmd0 armhf 1.0.3-3 [27.4 kB]
Get: 13 http://deb.debian.org/debian bullseye/main armhf libbsd0 armhf 0.11.3-1 [103 kB]
Get: 14 http://deb.debian.org/debian bullseye/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB]
Get: 15 http://deb.debian.org/debian bullseye/main armhf libxcb1 armhf 1.14-3 [136 kB]
Get: 16 http://deb.debian.org/debian bullseye/main armhf libx11-data all 2:1.7.2-1 [311 kB]
Get: 17 http://deb.debian.org/debian bullseye/main armhf libx11-6 armhf 2:1.7.2-1 [713 kB]
Get: 18 http://deb.debian.org/debian bullseye/main armhf libexpat1 armhf 2.2.10-2 [76.3 kB]
Get: 19 http://deb.debian.org/debian bullseye/main armhf libbrotli1 armhf 1.0.9-2+b2 [262 kB]
Get: 20 http://deb.debian.org/debian bullseye/main armhf libpng16-16 armhf 1.6.37-3 [277 kB]
Get: 21 http://deb.debian.org/debian bullseye/main armhf libfreetype6 armhf 2.10.4+dfsg-1 [357 kB]
Get: 22 http://deb.debian.org/debian bullseye/main armhf sensible-utils all 0.0.14 [14.8 kB]
Get: 23 http://deb.debian.org/debian bullseye/main armhf ucf all 3.0043 [74.0 kB]
Get: 24 http://deb.debian.org/debian bullseye/main armhf fonts-dejavu-core all 2.37-2 [1069 kB]
Get: 25 http://deb.debian.org/debian bullseye/main armhf fontconfig-config all 2.13.1-4.2 [281 kB]
Get: 26 http://deb.debian.org/debian bullseye/main armhf libfontconfig1 armhf 2.13.1-4.2 [329 kB]
Get: 27 http://deb.debian.org/debian bullseye/main armhf libjpeg62-turbo armhf 1:2.0.6-4 [123 kB]
Get: 28 http://deb.debian.org/debian bullseye/main armhf libxext6 armhf 2:1.3.3-1.1 [47.8 kB]
Get: 29 http://deb.debian.org/debian bullseye/main armhf libxrender1 armhf 1:0.9.10-1 [29.9 kB]
Get: 30 http://deb.debian.org/debian bullseye/main armhf libxft2 armhf 2.3.2-2 [50.1 kB]
Get: 31 http://deb.debian.org/debian bullseye/main armhf libice6 armhf 2:1.0.10-1 [51.9 kB]
Get: 32 http://deb.debian.org/debian bullseye/main armhf libsm6 armhf 2:1.2.3-1 [33.0 kB]
Get: 33 http://deb.debian.org/debian bullseye/main armhf libxt6 armhf 1:1.2.0-1 [161 kB]
Get: 34 http://deb.debian.org/debian bullseye/main armhf libxmu6 armhf 2:1.1.2-2+b3 [52.7 kB]
Get: 35 http://deb.debian.org/debian bullseye/main armhf libxm4 armhf 2.3.8-3 [854 kB]
Get: 36 http://deb.debian.org/debian bullseye/main armhf libmrm4 armhf 2.3.8-3 [82.8 kB]
Get: 37 http://deb.debian.org/debian bullseye/main armhf libuil4 armhf 2.3.8-3 [138 kB]
Get: 38 http://deb.debian.org/debian bullseye/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB]
Get: 39 http://deb.debian.org/debian bullseye/main armhf libmagic1 armhf 1:5.39-3 [117 kB]
Get: 40 http://deb.debian.org/debian bullseye/main armhf file armhf 1:5.39-3 [68.1 kB]
Get: 41 http://deb.debian.org/debian bullseye/main armhf gettext-base armhf 0.21-4 [171 kB]
Get: 42 http://deb.debian.org/debian bullseye/main armhf autoconf all 2.69-14 [313 kB]
Get: 43 http://deb.debian.org/debian bullseye/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB]
Get: 44 http://deb.debian.org/debian bullseye/main armhf automake all 1:1.16.3-2 [814 kB]
Get: 45 http://deb.debian.org/debian bullseye/main armhf autopoint all 0.21-4 [510 kB]
Get: 46 http://deb.debian.org/debian bullseye/main armhf bison armhf 2:3.7.5+dfsg-1 [1072 kB]
Get: 47 http://deb.debian.org/debian bullseye/main armhf csh armhf 20110502-6 [231 kB]
Get: 48 http://deb.debian.org/debian bullseye/main armhf libdebhelper-perl all 13.3.4 [189 kB]
Get: 49 http://deb.debian.org/debian bullseye/main armhf libtool all 2.4.6-15 [513 kB]
Get: 50 http://deb.debian.org/debian bullseye/main armhf dh-autoreconf all 20 [17.1 kB]
Get: 51 http://deb.debian.org/debian bullseye/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get: 52 http://deb.debian.org/debian bullseye/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get: 53 http://deb.debian.org/debian bullseye/main armhf libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB]
Get: 54 http://deb.debian.org/debian bullseye/main armhf dh-strip-nondeterminism all 1.12.0-1 [15.4 kB]
Get: 55 http://deb.debian.org/debian bullseye/main armhf libelf1 armhf 0.183-1 [161 kB]
Get: 56 http://deb.debian.org/debian bullseye/main armhf dwz armhf 0.13+20210201-1 [179 kB]
Get: 57 http://deb.debian.org/debian bullseye/main armhf libicu67 armhf 67.1-7 [8319 kB]
Get: 58 http://deb.debian.org/debian bullseye/main armhf libxml2 armhf 2.9.10+dfsg-6.7 [602 kB]
Get: 59 http://deb.debian.org/debian bullseye/main armhf gettext armhf 0.21-4 [1243 kB]
Get: 60 http://deb.debian.org/debian bullseye/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get: 61 http://deb.debian.org/debian bullseye/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get: 62 http://deb.debian.org/debian bullseye/main armhf debhelper all 13.3.4 [1049 kB]
Get: 63 http://deb.debian.org/debian bullseye/main armhf mysql-common all 5.8+1.0.7 [7464 B]
Get: 64 http://deb.debian.org/debian bullseye/main armhf mariadb-common all 1:10.5.11-1 [36.3 kB]
Get: 65 http://deb.debian.org/debian bullseye/main armhf libmariadb3 armhf 1:10.5.11-1 [161 kB]
Get: 66 http://deb.debian.org/debian bullseye/main armhf libssl-dev armhf 1.1.1k-1 [1606 kB]
Get: 67 http://deb.debian.org/debian bullseye/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-2 [185 kB]
Get: 68 http://deb.debian.org/debian bullseye/main armhf libmariadb-dev armhf 1:10.5.11-1 [169 kB]
Get: 69 http://deb.debian.org/debian bullseye/main armhf libmariadb-dev-compat armhf 1:10.5.11-1 [35.1 kB]
Get: 70 http://deb.debian.org/debian bullseye/main armhf default-libmysqlclient-dev armhf 1.0.7 [3936 B]
Get: 71 http://deb.debian.org/debian bullseye/main armhf libbrotli-dev armhf 1.0.9-2+b2 [270 kB]
Get: 72 http://deb.debian.org/debian bullseye/main armhf libexpat1-dev armhf 2.2.10-2 [123 kB]
Get: 73 http://deb.debian.org/debian bullseye/main armhf libfl2 armhf 2.6.4-8 [103 kB]
Get: 74 http://deb.debian.org/debian bullseye/main armhf libfl-dev armhf 2.6.4-8 [104 kB]
Get: 75 http://deb.debian.org/debian bullseye/main armhf libpng-dev armhf 1.6.37-3 [282 kB]
Get: 76 http://deb.debian.org/debian bullseye/main armhf libfreetype-dev armhf 2.10.4+dfsg-1 [516 kB]
Get: 77 http://deb.debian.org/debian bullseye/main armhf libfreetype6-dev armhf 2.10.4+dfsg-1 [82.4 kB]
Get: 78 http://deb.debian.org/debian bullseye/main armhf uuid-dev armhf 2.36.1-8 [97.9 kB]
Get: 79 http://deb.debian.org/debian bullseye/main armhf libglib2.0-0 armhf 2.66.8-1 [1206 kB]
Get: 80 http://deb.debian.org/debian bullseye/main armhf pkg-config armhf 0.29.2-1 [62.4 kB]
Get: 81 http://deb.debian.org/debian bullseye/main armhf libfontconfig-dev armhf 2.13.1-4.2 [353 kB]
Get: 82 http://deb.debian.org/debian bullseye/main armhf libfontconfig1-dev armhf 2.13.1-4.2 [238 kB]
Get: 83 http://deb.debian.org/debian bullseye/main armhf xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB]
Get: 84 http://deb.debian.org/debian bullseye/main armhf x11proto-dev all 2020.1-1 [594 kB]
Get: 85 http://deb.debian.org/debian bullseye/main armhf libice-dev armhf 2:1.0.10-1 [61.9 kB]
Get: 86 http://deb.debian.org/debian bullseye/main armhf libxau-dev armhf 1:1.0.9-1 [22.4 kB]
Get: 87 http://deb.debian.org/debian bullseye/main armhf libxdmcp-dev armhf 1:1.1.2-3 [40.7 kB]
Get: 88 http://deb.debian.org/debian bullseye/main armhf xtrans-dev all 1.4.0-1 [98.7 kB]
Get: 89 http://deb.debian.org/debian bullseye/main armhf libpthread-stubs0-dev armhf 0.4-1 [5344 B]
Get: 90 http://deb.debian.org/debian bullseye/main armhf libxcb1-dev armhf 1.14-3 [175 kB]
Get: 91 http://deb.debian.org/debian bullseye/main armhf libx11-dev armhf 2:1.7.2-1 [785 kB]
Get: 92 http://deb.debian.org/debian bullseye/main armhf libxrender-dev armhf 1:0.9.10-1 [37.8 kB]
Get: 93 http://deb.debian.org/debian bullseye/main armhf libxft-dev armhf 2.3.2-2 [62.3 kB]
Get: 94 http://deb.debian.org/debian bullseye/main armhf libsm-dev armhf 2:1.2.3-1 [36.1 kB]
Get: 95 http://deb.debian.org/debian bullseye/main armhf libxt-dev armhf 1:1.2.0-1 [388 kB]
Get: 96 http://deb.debian.org/debian bullseye/main armhf uil armhf 2.3.8-3 [38.5 kB]
Get: 97 http://deb.debian.org/debian bullseye/main armhf libmotif-dev armhf 2.3.8-3 [2322 kB]
Get: 98 http://deb.debian.org/debian bullseye/main armhf libxpm4 armhf 1:3.5.12-1 [44.0 kB]
Get: 99 http://deb.debian.org/debian bullseye/main armhf libxaw7 armhf 2:1.0.13-1.1 [167 kB]
Get: 100 http://deb.debian.org/debian bullseye/main armhf x11proto-xext-dev all 2020.1-1 [3404 B]
Get: 101 http://deb.debian.org/debian bullseye/main armhf libxext-dev armhf 2:1.3.3-1.1 [103 kB]
Get: 102 http://deb.debian.org/debian bullseye/main armhf libxmu-headers all 2:1.1.2-2 [51.9 kB]
Get: 103 http://deb.debian.org/debian bullseye/main armhf libxmu-dev armhf 2:1.1.2-2+b3 [59.3 kB]
Get: 104 http://deb.debian.org/debian bullseye/main armhf libxpm-dev armhf 1:3.5.12-1 [99.6 kB]
Get: 105 http://deb.debian.org/debian bullseye/main armhf libxaw7-dev armhf 2:1.0.13-1.1 [235 kB]
Fetched 36.5 MB in 8s (4300 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package bsdextrautils.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19398 files and directories currently installed.)
Preparing to unpack .../0-bsdextrautils_2.36.1-8_armhf.deb ...
Unpacking bsdextrautils (2.36.1-8) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../1-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../2-groff-base_1.22.4-6_armhf.deb ...
Unpacking groff-base (1.22.4-6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../3-libpipeline1_1.5.3-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../4-man-db_2.9.4-2_armhf.deb ...
Unpacking man-db (2.9.4-2) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../5-libsigsegv2_2.13-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.13-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../6-m4_1.4.18-5_armhf.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package flex.
Preparing to unpack .../7-flex_2.6.4-8_armhf.deb ...
Unpacking flex (2.6.4-8) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../8-x11-common_1%3a7.7+22_all.deb ...
Unpacking x11-common (1:7.7+22) ...
Setting up x11-common (1:7.7+22) ...
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 ... 20171 files and directories currently installed.)
Preparing to unpack .../00-libmotif-common_2.3.8-3_all.deb ...
Unpacking libmotif-common (2.3.8-3) ...
Selecting previously unselected package libxau6:armhf.
Preparing to unpack .../01-libxau6_1%3a1.0.9-1_armhf.deb ...
Unpacking libxau6:armhf (1:1.0.9-1) ...
Selecting previously unselected package libmd0:armhf.
Preparing to unpack .../02-libmd0_1.0.3-3_armhf.deb ...
Unpacking libmd0:armhf (1.0.3-3) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../03-libbsd0_0.11.3-1_armhf.deb ...
Unpacking libbsd0:armhf (0.11.3-1) ...
Selecting previously unselected package libxdmcp6:armhf.
Preparing to unpack .../04-libxdmcp6_1%3a1.1.2-3_armhf.deb ...
Unpacking libxdmcp6:armhf (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:armhf.
Preparing to unpack .../05-libxcb1_1.14-3_armhf.deb ...
Unpacking libxcb1:armhf (1.14-3) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../06-libx11-data_2%3a1.7.2-1_all.deb ...
Unpacking libx11-data (2:1.7.2-1) ...
Selecting previously unselected package libx11-6:armhf.
Preparing to unpack .../07-libx11-6_2%3a1.7.2-1_armhf.deb ...
Unpacking libx11-6:armhf (2:1.7.2-1) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../08-libexpat1_2.2.10-2_armhf.deb ...
Unpacking libexpat1:armhf (2.2.10-2) ...
Selecting previously unselected package libbrotli1:armhf.
Preparing to unpack .../09-libbrotli1_1.0.9-2+b2_armhf.deb ...
Unpacking libbrotli1:armhf (1.0.9-2+b2) ...
Selecting previously unselected package libpng16-16:armhf.
Preparing to unpack .../10-libpng16-16_1.6.37-3_armhf.deb ...
Unpacking libpng16-16:armhf (1.6.37-3) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../11-libfreetype6_2.10.4+dfsg-1_armhf.deb ...
Unpacking libfreetype6:armhf (2.10.4+dfsg-1) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../12-sensible-utils_0.0.14_all.deb ...
Unpacking sensible-utils (0.0.14) ...
Selecting previously unselected package ucf.
Preparing to unpack .../13-ucf_3.0043_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0043) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../14-fonts-dejavu-core_2.37-2_all.deb ...
Unpacking fonts-dejavu-core (2.37-2) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../15-fontconfig-config_2.13.1-4.2_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../16-libfontconfig1_2.13.1-4.2_armhf.deb ...
Unpacking libfontconfig1:armhf (2.13.1-4.2) ...
Selecting previously unselected package libjpeg62-turbo:armhf.
Preparing to unpack .../17-libjpeg62-turbo_1%3a2.0.6-4_armhf.deb ...
Unpacking libjpeg62-turbo:armhf (1:2.0.6-4) ...
Selecting previously unselected package libxext6:armhf.
Preparing to unpack .../18-libxext6_2%3a1.3.3-1.1_armhf.deb ...
Unpacking libxext6:armhf (2:1.3.3-1.1) ...
Selecting previously unselected package libxrender1:armhf.
Preparing to unpack .../19-libxrender1_1%3a0.9.10-1_armhf.deb ...
Unpacking libxrender1:armhf (1:0.9.10-1) ...
Selecting previously unselected package libxft2:armhf.
Preparing to unpack .../20-libxft2_2.3.2-2_armhf.deb ...
Unpacking libxft2:armhf (2.3.2-2) ...
Selecting previously unselected package libice6:armhf.
Preparing to unpack .../21-libice6_2%3a1.0.10-1_armhf.deb ...
Unpacking libice6:armhf (2:1.0.10-1) ...
Selecting previously unselected package libsm6:armhf.
Preparing to unpack .../22-libsm6_2%3a1.2.3-1_armhf.deb ...
Unpacking libsm6:armhf (2:1.2.3-1) ...
Selecting previously unselected package libxt6:armhf.
Preparing to unpack .../23-libxt6_1%3a1.2.0-1_armhf.deb ...
Unpacking libxt6:armhf (1:1.2.0-1) ...
Selecting previously unselected package libxmu6:armhf.
Preparing to unpack .../24-libxmu6_2%3a1.1.2-2+b3_armhf.deb ...
Unpacking libxmu6:armhf (2:1.1.2-2+b3) ...
Selecting previously unselected package libxm4:armhf.
Preparing to unpack .../25-libxm4_2.3.8-3_armhf.deb ...
Unpacking libxm4:armhf (2.3.8-3) ...
Selecting previously unselected package libmrm4:armhf.
Preparing to unpack .../26-libmrm4_2.3.8-3_armhf.deb ...
Unpacking libmrm4:armhf (2.3.8-3) ...
Selecting previously unselected package libuil4:armhf.
Preparing to unpack .../27-libuil4_2.3.8-3_armhf.deb ...
Unpacking libuil4:armhf (2.3.8-3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../28-libmagic-mgc_1%3a5.39-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../29-libmagic1_1%3a5.39-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../30-file_1%3a5.39-3_armhf.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../31-gettext-base_0.21-4_armhf.deb ...
Unpacking gettext-base (0.21-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../32-autoconf_2.69-14_all.deb ...
Unpacking autoconf (2.69-14) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../33-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../34-automake_1%3a1.16.3-2_all.deb ...
Unpacking automake (1:1.16.3-2) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../35-autopoint_0.21-4_all.deb ...
Unpacking autopoint (0.21-4) ...
Selecting previously unselected package bison.
Preparing to unpack .../36-bison_2%3a3.7.5+dfsg-1_armhf.deb ...
Unpacking bison (2:3.7.5+dfsg-1) ...
Selecting previously unselected package csh.
Preparing to unpack .../37-csh_20110502-6_armhf.deb ...
Unpacking csh (20110502-6) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../38-libdebhelper-perl_13.3.4_all.deb ...
Unpacking libdebhelper-perl (13.3.4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../39-libtool_2.4.6-15_all.deb ...
Unpacking libtool (2.4.6-15) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../40-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../41-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../42-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../43-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../44-dh-strip-nondeterminism_1.12.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.12.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../45-libelf1_0.183-1_armhf.deb ...
Unpacking libelf1:armhf (0.183-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../46-dwz_0.13+20210201-1_armhf.deb ...
Unpacking dwz (0.13+20210201-1) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../47-libicu67_67.1-7_armhf.deb ...
Unpacking libicu67:armhf (67.1-7) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../48-libxml2_2.9.10+dfsg-6.7_armhf.deb ...
Unpacking libxml2:armhf (2.9.10+dfsg-6.7) ...
Selecting previously unselected package gettext.
Preparing to unpack .../49-gettext_0.21-4_armhf.deb ...
Unpacking gettext (0.21-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../50-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 .../51-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../52-debhelper_13.3.4_all.deb ...
Unpacking debhelper (13.3.4) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../53-mysql-common_5.8+1.0.7_all.deb ...
Unpacking mysql-common (5.8+1.0.7) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../54-mariadb-common_1%3a10.5.11-1_all.deb ...
Unpacking mariadb-common (1:10.5.11-1) ...
Selecting previously unselected package libmariadb3:armhf.
Preparing to unpack .../55-libmariadb3_1%3a10.5.11-1_armhf.deb ...
Unpacking libmariadb3:armhf (1:10.5.11-1) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../56-libssl-dev_1.1.1k-1_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.1k-1) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../57-zlib1g-dev_1%3a1.2.11.dfsg-2_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-2) ...
Selecting previously unselected package libmariadb-dev.
Preparing to unpack .../58-libmariadb-dev_1%3a10.5.11-1_armhf.deb ...
Unpacking libmariadb-dev (1:10.5.11-1) ...
Selecting previously unselected package libmariadb-dev-compat:armhf.
Preparing to unpack .../59-libmariadb-dev-compat_1%3a10.5.11-1_armhf.deb ...
Unpacking libmariadb-dev-compat:armhf (1:10.5.11-1) ...
Selecting previously unselected package default-libmysqlclient-dev:armhf.
Preparing to unpack .../60-default-libmysqlclient-dev_1.0.7_armhf.deb ...
Unpacking default-libmysqlclient-dev:armhf (1.0.7) ...
Selecting previously unselected package libbrotli-dev:armhf.
Preparing to unpack .../61-libbrotli-dev_1.0.9-2+b2_armhf.deb ...
Unpacking libbrotli-dev:armhf (1.0.9-2+b2) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../62-libexpat1-dev_2.2.10-2_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.10-2) ...
Selecting previously unselected package libfl2:armhf.
Preparing to unpack .../63-libfl2_2.6.4-8_armhf.deb ...
Unpacking libfl2:armhf (2.6.4-8) ...
Selecting previously unselected package libfl-dev:armhf.
Preparing to unpack .../64-libfl-dev_2.6.4-8_armhf.deb ...
Unpacking libfl-dev:armhf (2.6.4-8) ...
Selecting previously unselected package libpng-dev:armhf.
Preparing to unpack .../65-libpng-dev_1.6.37-3_armhf.deb ...
Unpacking libpng-dev:armhf (1.6.37-3) ...
Selecting previously unselected package libfreetype-dev:armhf.
Preparing to unpack .../66-libfreetype-dev_2.10.4+dfsg-1_armhf.deb ...
Unpacking libfreetype-dev:armhf (2.10.4+dfsg-1) ...
Selecting previously unselected package libfreetype6-dev:armhf.
Preparing to unpack .../67-libfreetype6-dev_2.10.4+dfsg-1_armhf.deb ...
Unpacking libfreetype6-dev:armhf (2.10.4+dfsg-1) ...
Selecting previously unselected package uuid-dev:armhf.
Preparing to unpack .../68-uuid-dev_2.36.1-8_armhf.deb ...
Unpacking uuid-dev:armhf (2.36.1-8) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../69-libglib2.0-0_2.66.8-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.66.8-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../70-pkg-config_0.29.2-1_armhf.deb ...
Unpacking pkg-config (0.29.2-1) ...
Selecting previously unselected package libfontconfig-dev:armhf.
Preparing to unpack .../71-libfontconfig-dev_2.13.1-4.2_armhf.deb ...
Unpacking libfontconfig-dev:armhf (2.13.1-4.2) ...
Selecting previously unselected package libfontconfig1-dev:armhf.
Preparing to unpack .../72-libfontconfig1-dev_2.13.1-4.2_armhf.deb ...
Unpacking libfontconfig1-dev:armhf (2.13.1-4.2) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../73-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1.1) ...
Selecting previously unselected package x11proto-dev.
Preparing to unpack .../74-x11proto-dev_2020.1-1_all.deb ...
Unpacking x11proto-dev (2020.1-1) ...
Selecting previously unselected package libice-dev:armhf.
Preparing to unpack .../75-libice-dev_2%3a1.0.10-1_armhf.deb ...
Unpacking libice-dev:armhf (2:1.0.10-1) ...
Selecting previously unselected package libxau-dev:armhf.
Preparing to unpack .../76-libxau-dev_1%3a1.0.9-1_armhf.deb ...
Unpacking libxau-dev:armhf (1:1.0.9-1) ...
Selecting previously unselected package libxdmcp-dev:armhf.
Preparing to unpack .../77-libxdmcp-dev_1%3a1.1.2-3_armhf.deb ...
Unpacking libxdmcp-dev:armhf (1:1.1.2-3) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../78-xtrans-dev_1.4.0-1_all.deb ...
Unpacking xtrans-dev (1.4.0-1) ...
Selecting previously unselected package libpthread-stubs0-dev:armhf.
Preparing to unpack .../79-libpthread-stubs0-dev_0.4-1_armhf.deb ...
Unpacking libpthread-stubs0-dev:armhf (0.4-1) ...
Selecting previously unselected package libxcb1-dev:armhf.
Preparing to unpack .../80-libxcb1-dev_1.14-3_armhf.deb ...
Unpacking libxcb1-dev:armhf (1.14-3) ...
Selecting previously unselected package libx11-dev:armhf.
Preparing to unpack .../81-libx11-dev_2%3a1.7.2-1_armhf.deb ...
Unpacking libx11-dev:armhf (2:1.7.2-1) ...
Selecting previously unselected package libxrender-dev:armhf.
Preparing to unpack .../82-libxrender-dev_1%3a0.9.10-1_armhf.deb ...
Unpacking libxrender-dev:armhf (1:0.9.10-1) ...
Selecting previously unselected package libxft-dev:armhf.
Preparing to unpack .../83-libxft-dev_2.3.2-2_armhf.deb ...
Unpacking libxft-dev:armhf (2.3.2-2) ...
Selecting previously unselected package libsm-dev:armhf.
Preparing to unpack .../84-libsm-dev_2%3a1.2.3-1_armhf.deb ...
Unpacking libsm-dev:armhf (2:1.2.3-1) ...
Selecting previously unselected package libxt-dev:armhf.
Preparing to unpack .../85-libxt-dev_1%3a1.2.0-1_armhf.deb ...
Unpacking libxt-dev:armhf (1:1.2.0-1) ...
Selecting previously unselected package uil.
Preparing to unpack .../86-uil_2.3.8-3_armhf.deb ...
Unpacking uil (2.3.8-3) ...
Selecting previously unselected package libmotif-dev:armhf.
Preparing to unpack .../87-libmotif-dev_2.3.8-3_armhf.deb ...
Unpacking libmotif-dev:armhf (2.3.8-3) ...
Selecting previously unselected package libxpm4:armhf.
Preparing to unpack .../88-libxpm4_1%3a3.5.12-1_armhf.deb ...
Unpacking libxpm4:armhf (1:3.5.12-1) ...
Selecting previously unselected package libxaw7:armhf.
Preparing to unpack .../89-libxaw7_2%3a1.0.13-1.1_armhf.deb ...
Unpacking libxaw7:armhf (2:1.0.13-1.1) ...
Selecting previously unselected package x11proto-xext-dev.
Preparing to unpack .../90-x11proto-xext-dev_2020.1-1_all.deb ...
Unpacking x11proto-xext-dev (2020.1-1) ...
Selecting previously unselected package libxext-dev:armhf.
Preparing to unpack .../91-libxext-dev_2%3a1.3.3-1.1_armhf.deb ...
Unpacking libxext-dev:armhf (2:1.3.3-1.1) ...
Selecting previously unselected package libxmu-headers.
Preparing to unpack .../92-libxmu-headers_2%3a1.1.2-2_all.deb ...
Unpacking libxmu-headers (2:1.1.2-2) ...
Selecting previously unselected package libxmu-dev:armhf.
Preparing to unpack .../93-libxmu-dev_2%3a1.1.2-2+b3_armhf.deb ...
Unpacking libxmu-dev:armhf (2:1.1.2-2+b3) ...
Selecting previously unselected package libxpm-dev:armhf.
Preparing to unpack .../94-libxpm-dev_1%3a3.5.12-1_armhf.deb ...
Unpacking libxpm-dev:armhf (1:3.5.12-1) ...
Selecting previously unselected package libxaw7-dev:armhf.
Preparing to unpack .../95-libxaw7-dev_2%3a1.0.13-1.1_armhf.deb ...
Unpacking libxaw7-dev:armhf (2:1.0.13-1.1) ...
Setting up libexpat1:armhf (2.2.10-2) ...
Setting up libpipeline1:armhf (1.5.3-1) ...
Setting up mysql-common (5.8+1.0.7) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libxau6:armhf (1:1.0.9-1) ...
Setting up bsdextrautils (2.36.1-8) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up libicu67:armhf (67.1-7) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:armhf (2.66.8-1) ...
No schema files found: doing nothing.
Setting up libdebhelper-perl (13.3.4) ...
Setting up libbrotli1:armhf (1.0.9-2+b2) ...
Setting up libmagic1:armhf (1:5.39-3) ...
Setting up gettext-base (0.21-4) ...
Setting up file (1:5.39-3) ...
Setting up libmotif-common (2.3.8-3) ...
Setting up libpthread-stubs0-dev:armhf (0.4-1) ...
Setting up mariadb-common (1:10.5.11-1) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up xtrans-dev (1.4.0-1) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libexpat1-dev:armhf (2.2.10-2) ...
Setting up libjpeg62-turbo:armhf (1:2.0.6-4) ...
Setting up libx11-data (2:1.7.2-1) ...
Setting up uuid-dev:armhf (2.36.1-8) ...
Setting up libsigsegv2:armhf (2.13-1) ...
Setting up libssl-dev:armhf (1.1.1k-1) ...
Setting up libpng16-16:armhf (1.6.37-3) ...
Setting up autopoint (0.21-4) ...
Setting up pkg-config (0.29.2-1) ...
Setting up libmariadb3:armhf (1:10.5.11-1) ...
Setting up fonts-dejavu-core (2.37-2) ...
Setting up libfl2:armhf (2.6.4-8) ...
Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-2) ...
Setting up libmd0:armhf (1.0.3-3) ...
Setting up sensible-utils (0.0.14) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up xorg-sgml-doctools (1:1.11-1.1) ...
Setting up libbsd0:armhf (0.11.3-1) ...
Setting up libelf1:armhf (0.183-1) ...
Setting up libxml2:armhf (2.9.10+dfsg-6.7) ...
Setting up libbrotli-dev:armhf (1.0.9-2+b2) ...
Setting up x11proto-dev (2020.1-1) ...
Setting up libfile-stripnondeterminism-perl (1.12.0-1) ...
Setting up libice6:armhf (2:1.0.10-1) ...
Setting up libxdmcp6:armhf (1:1.1.2-3) ...
Setting up libxcb1:armhf (1.14-3) ...
Setting up gettext (0.21-4) ...
Setting up libxau-dev:armhf (1:1.0.9-1) ...
Setting up csh (20110502-6) ...
update-alternatives: using /bin/bsd-csh to provide /bin/csh (csh) in auto mode
Setting up libice-dev:armhf (2:1.0.10-1) ...
Setting up libtool (2.4.6-15) ...
Setting up libpng-dev:armhf (1.6.37-3) ...
Setting up m4 (1.4.18-5) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libxdmcp-dev:armhf (1:1.1.2-3) ...
Setting up libfreetype6:armhf (2.10.4+dfsg-1) ...
Setting up ucf (3.0043) ...
Setting up autoconf (2.69-14) ...
Setting up libmariadb-dev (1:10.5.11-1) ...
Setting up dh-strip-nondeterminism (1.12.0-1) ...
Setting up x11proto-xext-dev (2020.1-1) ...
Setting up dwz (0.13+20210201-1) ...
Setting up groff-base (1.22.4-6) ...
Setting up bison (2:3.7.5+dfsg-1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up libx11-6:armhf (2:1.7.2-1) ...
Setting up libsm6:armhf (2:1.2.3-1) ...
Setting up automake (1:1.16.3-2) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libmariadb-dev-compat:armhf (1:10.5.11-1) ...
Setting up flex (2.6.4-8) ...
Setting up libxcb1-dev:armhf (1.14-3) ...
Setting up libxpm4:armhf (1:3.5.12-1) ...
Setting up libxrender1:armhf (1:0.9.10-1) ...
Setting up libsm-dev:armhf (2:1.2.3-1) ...
Setting up fontconfig-config (2.13.1-4.2) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libx11-dev:armhf (2:1.7.2-1) ...
Setting up libxext6:armhf (2:1.3.3-1.1) ...
Setting up man-db (2.9.4-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libfl-dev:armhf (2.6.4-8) ...
Setting up libfreetype-dev:armhf (2.10.4+dfsg-1) ...
Setting up dh-autoreconf (20) ...
Setting up libxpm-dev:armhf (1:3.5.12-1) ...
Setting up libxt6:armhf (1:1.2.0-1) ...
Setting up libxext-dev:armhf (2:1.3.3-1.1) ...
Setting up libfontconfig1:armhf (2.13.1-4.2) ...
Setting up libxrender-dev:armhf (1:0.9.10-1) ...
Setting up default-libmysqlclient-dev:armhf (1.0.7) ...
Setting up libxft2:armhf (2.3.2-2) ...
Setting up libxmu-headers (2:1.1.2-2) ...
Setting up libxmu6:armhf (2:1.1.2-2+b3) ...
Setting up debhelper (13.3.4) ...
Setting up libxaw7:armhf (2:1.0.13-1.1) ...
Setting up libfreetype6-dev:armhf (2.10.4+dfsg-1) ...
Setting up libxt-dev:armhf (1:1.2.0-1) ...
Setting up libxm4:armhf (2.3.8-3) ...
Setting up libfontconfig-dev:armhf (2.13.1-4.2) ...
Setting up libxmu-dev:armhf (2:1.1.2-2+b3) ...
Setting up libmrm4:armhf (2.3.8-3) ...
Setting up libuil4:armhf (2.3.8-3) ...
Setting up libxaw7-dev:armhf (2:1.0.13-1.1) ...
Setting up uil (2.3.8-3) ...
Setting up libxft-dev:armhf (2.3.2-2) ...
Setting up libfontconfig1-dev:armhf (2.13.1-4.2) ...
Setting up libmotif-dev:armhf (2.3.8-3) ...
Processing triggers for libc-bin (2.31-13) ...
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
I: Building the package
I: Running cd /build/ctn-3.2.0~dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S  > ../ctn_3.2.0~dfsg-7_source.changes
dpkg-buildpackage: info: source package ctn
dpkg-buildpackage: info: source version 3.2.0~dfsg-7
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Tille <tille@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 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 -j3 clean
make[2]: Entering directory '/build/ctn-3.2.0~dfsg'
cd libsrc;		make clean
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/libsrc'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
rm -f *.a *.o
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/libsrc'
cd apps;		make clean
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/apps'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
cd apps_include;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/apps_include'
rm -f *.a *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/apps_include'
cd archive_server;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/archive_server'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/archive_server'
cd assoc_tool;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/assoc_tool'
rm -f assoc_tool *.o *BAK *% *bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/assoc_tool'
cd cfg_ctn_tables;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/cfg_ctn_tables'
rm -f cfg_ctn_tables *.o *BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/cfg_ctn_tables'
cd clone_study;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/clone_study'
rm -f clone_study *.o *.BAK *% *~ core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/clone_study'
cd create_greyscale_module;	make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module'
rm -f *.o create_greyscale_module *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module'
cd ctnnetwork;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork'
rm -f *.o *.BAK core ctnnetwork kill_ctnnetwork pq_ctnnetwork enq_ctnnetwork
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork'
cd ctn_version;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctn_version'
rm -rf ctn_version *.o *.BAK *.bak *% core *~ debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctn_version'
cd database;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/database'
rm -f core *.o *.*.bak *.BAK *% dbaddpat dbaddstudy dbaddseries dbaddimage dblstpats dblststudies dblstseries dblstimages dbdelpat dbdelstudy dbdelseries dbdelimage dbnew dbremove dbdump dbnumstudies dbdeloldeststudy dbquerytest
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/database'
cd dcm_add_fragments;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments'
rm -rf *.o dcm_add_fragments *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments'
cd dcm_create_object;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object'
rm -f dcm_create_object *.o *.BAK *.bak *% core lex.c gram.c
rm -f yacc.* y.tab.* lex.yy.c
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object'
cd dcm_ctnto10;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10'
rm -rf dcm_ctnto10 *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10'
cd dcm_diff;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff'
rm -rf dcm_diff *.o *.BAK *.bak *% core *~ debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff'
cd dcm_dump_compressed;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed'
rm -f dcm_dump_compressed *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed'
cd dcm_dump_element;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element'
rm -rf *.o dcm_dump_element *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element'
cd dcm_dump_file;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file'
rm -rf dcm_dump_file *.o *.BAK *.bak *% core dcm_dump debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file'
cd dcm_make_object;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object'
rm -rf dcm_make_object *.o *.BAK *.bak core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object'
cd dcm_map_to_8;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8'
rm -rf *.o dcm_map_to_8 *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8'
cd dcm_mask_image;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image'
rm -rf *.o dcm_mask_image *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image'
cd dcm_modify_elements;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements'
rm -rf dcm_modify_elements *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements'
cd dcm_modify_object;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object'
rm -f dcm_modify_object *.o *.BAK *.bak *% core lex.c gram.c
rm -rf debug
rm -f yacc.* y.tab.* lex.yy.c
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object'
cd dcm_print_dictionary;	make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary'
rm -rf dcm_print_dictionary dcm_dump_vector *.o *.BAK *.bak *% core debug dcm_prin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary'
cd dcm_resize;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize'
rm -rf *.o dcm_resize *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize'
cd dcm_rm_element;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_element'
rm -rf *.o dcm_rm_element *.BAK *.bak *% core debug dcm_rm_e
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_element'
cd dcm_rm_group;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group'
rm -rf *.o dcm_rm_group *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group'
cd dcm_snoop;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop'
rm -f dcm_snoop *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop'
cd dcm_strip_odd_groups;	make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups'
rm -rf dcm_strip_odd_groups *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups'
cd dcm_template;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_template'
rm -rf dcm_template *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_template'
cd dcm_to_html;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html'
rm -rf dcm_to_html *.o *.BAK *.bak *% core *~ debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html'
cd dcm_to_text;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text'
rm -rf dcm_to_text *.o *.BAK *.bak *% core *~ debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text'
cd dcm_verify;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify'
rm -rf dcm_verify *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify'
cd dcm_vr_patterns;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_vr_patterns'
rm -rf *.o dcm_vr_patterns *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_vr_patterns'
cd dcm_w_disp;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_w_disp'
rm -rf *.o  *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_w_disp'
cd dicom_echo;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo'
rm -rf dicom_echo *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo'
cd displays;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/displays'
rm -f *.o *.BAK *.bak *% core ctndisp dcm_x_disp kill_ctndisp pq_ctndisp enq_ctndisp
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/displays'
cd fillRSA;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fillRSA'
rm -f fillRSA fillRSAImpInterp *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fillRSA'
cd fis_server;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fis_server'
rm -f fis_server *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fis_server'
cd gq;				make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/gq'
rm -f core *.o *.BAK *.bak *% gqinitq gqkillq core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/gq'
cd icon;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/icon'
rm -f icon_append_index icon_append_file icon_dump_index icon_dump_file create_print_entry *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/icon'
cd idb_viewer;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/idb_viewer'
rm -f idb_viewer *.o *BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/idb_viewer'
cd image_archive;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_archive'
rm -f archive_server archive_agent archive_cleaner dump_commit_requests *.o *.BAK *.bak *% *~ core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_archive'
cd image_server;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_server'
rm -f image_server *.o *.BAK *.bak *% core test_storage fillImageDB
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_server'
cd load_control;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/load_control'
rm -rf load_control *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/load_control'
cd mwlQuery;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery'
rm -rf mwlQuery *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery'
cd object_viewer;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/object_viewer'
rm -f object_viewer *.o *BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/object_viewer'
cd pdu_examples;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples'
rm -f ex1_initiator ex2_initiator ex3_initiator ex3_acceptor ex4_initiator ex4_acceptor *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples'
cd pmgr_motif;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/pmgr_motif'
rm -f pmgr_motif *.o *BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/pmgr_motif'
cd print_clients;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_clients'
rm -f print_mgr print_client print_query test *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_clients'
cd print_server;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_server'
rm -rf print_server *.o *.BAK *.bak *% core debug print_se
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server'
cd print_server_display;	make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/print_server_display'
rm -f print_server_display *.BAK *.bak *% *.o core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server_display'
cd query_client;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/query_client'
rm -rf query_client *.o *.BAK *bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/query_client'
cd ris_gateway;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway'
rm -f ris_gateway *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway'
cd rsa_ui;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/rsa_ui'
rm -f rsa_ui *.o *BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/rsa_ui'
cd scripts;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/scripts'
make[4]: Nothing to be done for 'clean'.
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/scripts'
cd send_image;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_image'
rm -rf send_image *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_image'
cd send_results;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_results'
rm -f send_results *.o *.BAK *% *~ core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_results'
cd send_study;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_study'
rm -f send_study *.o *.BAK *% *~ core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_study'
cd simple_pacs;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/simple_pacs'
rm -f simple_pacs *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/simple_pacs'
cd simple_storage;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/simple_storage'
rm -rf simple_storage *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/simple_storage'
cd snp_to_files;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files'
rm -f snp_to_files *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files'
cd storage_classes;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_classes'
rm -f storage_classes *.o *.BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_classes'
cd storage_commit;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_commit'
rm -f storage_commit commit_agent *.o *.BAK core *% *~
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_commit'
cd tbltest;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/tbltest'
rm -rf ttunique ttinsert ttdelete ttselect ttlayout ttupdate *.o *.BAK *.bak *% core debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/tbltest'
cd ttdelete;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttdelete'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttdelete'
cd ttinsert;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttinsert'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttinsert'
cd ttlayout;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttlayout'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttlayout'
cd ttselect;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttselect'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttselect'
cd ttunique;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttunique'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttunique'
cd ttupdate;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ttupdate'
rm -rf debug
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ttupdate'
cd wlma_ui;			make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/wlma_ui'
rm -f wlma_ui *.o *BAK *.bak *% core
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/wlma_ui'
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/apps'
cd cgi_apps;		make clean
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
cd archive_cgi;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps/archive_cgi'
rm -f *.o archive_cgi.cgi
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps/archive_cgi'
cd dd_lookup;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps/dd_lookup'
rm -f *.o dd_lookup.cgi
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps/dd_lookup'
cd fileview;		make clean
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/cgi_apps/fileview'
rm -f *.o fileview.cgi
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps/fileview'
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/cgi_apps'
make[2]: Leaving directory '/build/ctn-3.2.0~dfsg'
# restore changed files
if [ -d debian/savefiles ] ; then \
    mv debian/savefiles/apps/dcm_modify_object/gram.h apps/dcm_modify_object ; \
    rm -rf debian/savefiles/apps ; \
fi
rm -rf debian/savefiles
rm -f debian/ctn*.postinst.* debian/ctn*.prerm.* debian/intsizes.h
rm -f debian/ctnmake.debian.mysql.options.full debian/test-sizes
rm -f facilities/dicom/intsizes.h
rm -f libsrc/*.c libsrc/*.h
rm -f `find . -name \*.o -or -name \*.a`
rm -rf include
rm -rf lib
make[1]: Leaving directory '/build/ctn-3.2.0~dfsg'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/ctn-3.2.0~dfsg'
mkdir -p debian/savefiles
mkdir -p debian/savefiles/apps/dcm_modify_object
cp -a apps/dcm_modify_object/gram.h debian/savefiles/apps/dcm_modify_object
cc     debian/test-sizes.c   -o debian/test-sizes
sh debian/intsizes_h.sh
debian/test-sizes >| debian/ctnmake.debian.mysql.options.full
echo "CFLAGS=-g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security" >> debian/ctnmake.debian.mysql.options.full
echo "LDFLAGS=-Wl,-z,relro -Wl,-z,now" >> debian/ctnmake.debian.mysql.options.full
cat debian/ctnmake.debian.mysql.options >> debian/ctnmake.debian.mysql.options.full
mv debian/intsizes.h facilities/dicom/
chmod +x /build/ctn-3.2.0~dfsg/apps/scripts/createdirectory
chmod +x /build/ctn-3.2.0~dfsg/apps/scripts/checkEnvironment
mkdir /build/ctn-3.2.0~dfsg/lib
mkdir /build/ctn-3.2.0~dfsg/include
(. debian/debian.mysql.options.env; make install)
debian/test-endian.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int]
    4 | main()
      | ^~~~
TEST_ENDIAN: LITTLE_ENDIAN_ARCHITECTURE
make[2]: Entering directory '/build/ctn-3.2.0~dfsg'
cd apps/apps_test;	make install
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/apps/apps_test'
chmod +x test_baseline
./test_baseline
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/apps_test'
cd runtime;		make install
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/runtime'
chmod +x setup.csh
./setup.csh /build/ctn-3.2.0~dfsg/debian/tmp
Directory /build/ctn-3.2.0~dfsg/debian/tmp/runtime does not exist. Trying to create /build/ctn-3.2.0~dfsg/debian/tmp/runtime.
cp fontmap /build/ctn-3.2.0~dfsg/debian/tmp/runtime
cp queuemap /build/ctn-3.2.0~dfsg/debian/tmp/runtime
cp ctn_cfg.txt /build/ctn-3.2.0~dfsg/debian/tmp/runtime
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/runtime'
cd facilities;		make links
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/facilities'
/build/ctn-3.2.0~dfsg/apps/scripts/checkEnvironment DICOM_LIBSRC /build/ctn-3.2.0~dfsg/libsrc
/build/ctn-3.2.0~dfsg/apps/scripts/createdirectory /build/ctn-3.2.0~dfsg/libsrc
cd cfg			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/cfg'
rm -f /build/ctn-3.2.0~dfsg/libsrc/cfg.c /build/ctn-3.2.0~dfsg/libsrc/cfg.h
ln -s ../facilities/cfg/cfg.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/cfg/cfg.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/cfg'
cd chr			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/chr'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_chr.h /build/ctn-3.2.0~dfsg/libsrc/dicom_chr.c
ln -s ../facilities/chr/dicom_chr.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/chr/dicom_chr.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/chr'
cd condition		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/condition'
rm -f /build/ctn-3.2.0~dfsg/libsrc/condition.c /build/ctn-3.2.0~dfsg/libsrc/condition.h
ln -s ../facilities/condition/condition.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/condition/condition.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/condition'
cd database		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/database'
rm -f /build/ctn-3.2.0~dfsg/libsrc/database.c /build/ctn-3.2.0~dfsg/libsrc/dbquery.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/dbprivate.h
ln -s ../facilities/database/database.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/database/dbquery.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/database/dbprivate.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/database'
cd ddr			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/ddr'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_ddr.h /build/ctn-3.2.0~dfsg/libsrc/ddr.c
ln -s ../facilities/ddr/dicom_ddr.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/ddr/ddr.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/ddr'
cd dicom		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/dicom'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom.h /build/ctn-3.2.0~dfsg/libsrc/dicom_platform.h /build/ctn-3.2.0~dfsg/libsrc/ctn_os.h
ln -sf ../facilities/dicom/ctn_os.h /build/ctn-3.2.0~dfsg/libsrc
ln -sf ../facilities/dicom/dicom.h /build/ctn-3.2.0~dfsg/libsrc
ln -sf ../facilities/dicom/intsizes.h /build/ctn-3.2.0~dfsg/libsrc
ln -sf ../facilities/dicom/dicom_platform.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/dicom'
cd snp			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/snp'
rm -f /build/ctn-3.2.0~dfsg/libsrc/snp.h /build/ctn-3.2.0~dfsg/libsrc/snp.c 
rm -f /build/ctn-3.2.0~dfsg/libsrc/snpcond.c /build/ctn-3.2.0~dfsg/libsrc/decode.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/dlroutines.c /build/ctn-3.2.0~dfsg/libsrc/decode.h 
ln -s ../facilities/snp/snp.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/snp/snp.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/snp/snpcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/snp/decode.c  /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/snp/dlroutines.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/snp/decode.h  /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/snp'
cd dulprotocol		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/dulprotocol'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dul*[ch]
ln -s ../facilities/dulprotocol/dulprotocol.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulconstruct.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulfsm.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulfsm.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulparse.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulpresent.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulprivate.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulprotocol.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulstructures.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulsnoop.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/dulprotocol/dulsnoop.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/dulprotocol'
cd gq			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/gq'
rm -f /build/ctn-3.2.0~dfsg/libsrc/gq.c /build/ctn-3.2.0~dfsg/libsrc/gq.h
ln -s ../facilities/gq/gq.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/gq/gq.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/gq'
cd hap			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/hap'
rm -f /build/ctn-3.2.0~dfsg/libsrc/hap.h /build/ctn-3.2.0~dfsg/libsrc/hap.c /build/ctn-3.2.0~dfsg/libsrc/hapcond.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/hapbuildpatient.c /build/ctn-3.2.0~dfsg/libsrc/hapbuildvisit.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/hapbuildstudy.c /build/ctn-3.2.0~dfsg/libsrc/hapbuildresults.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/hapbuildinterp.c /build/ctn-3.2.0~dfsg/libsrc/hapbuildresults.c
ln -s ../facilities/hap/hap.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hap/hapcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hap/hapbuildpatient.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hap/hapbuildvisit.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hap/hapbuildstudy.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hap/hapbuildresults.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hap/hapbuildinterp.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/hap'
cd fis			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/fis'
rm -f /build/ctn-3.2.0~dfsg/libsrc/build.c /build/ctn-3.2.0~dfsg/libsrc/fisdelete.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/event.c /build/ctn-3.2.0~dfsg/libsrc/fis.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/fiscond.c /build/ctn-3.2.0~dfsg/libsrc/fisget.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/fisinsert.c /build/ctn-3.2.0~dfsg/libsrc/record.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/update.c /build/ctn-3.2.0~dfsg/libsrc/fis.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/fis_private.h
ln -s ../facilities/fis/build.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fisdelete.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/event.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fis.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fiscond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fisget.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fisinsert.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/record.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/update.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fis.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/fis/fis_private.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/fis'
cd his			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/his'
rm -f /build/ctn-3.2.0~dfsg/libsrc/hisdb.c /build/ctn-3.2.0~dfsg/libsrc/hisdb.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/hisprivate.h
ln -s ../facilities/his/hisdb.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/his/hisdb.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/his/hisprivate.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/his'
cd hunks		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/hunks'
rm -f /build/ctn-3.2.0~dfsg/libsrc/hunk_man.c /build/ctn-3.2.0~dfsg/libsrc/hunk_man.h
ln -s ../facilities/hunks/hunk_man.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/hunks/hunk_man.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/hunks'
cd iap			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/iap'
rm -f /build/ctn-3.2.0~dfsg/libsrc/iap.h /build/ctn-3.2.0~dfsg/libsrc/iap.c /build/ctn-3.2.0~dfsg/libsrc/iapcond.c
ln -s ../facilities/iap/iap.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/iap/iap.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/iap/iapcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/iap'
cd icpy			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/icpy'
make[4]: Nothing to be done for 'links'.
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/icpy'
cd idb			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/idb'
rm -f /build/ctn-3.2.0~dfsg/libsrc/idb.h /build/ctn-3.2.0~dfsg/libsrc/idb.c /build/ctn-3.2.0~dfsg/libsrc/idbcond.c
ln -s ../facilities/idb/idb.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/idb/idb.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/idb/idbcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/idb'
cd idbmb		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/idbmb'
rm -f /build/ctn-3.2.0~dfsg/libsrc/idbmb.h /build/ctn-3.2.0~dfsg/libsrc/idbmb.c /build/ctn-3.2.0~dfsg/libsrc/idbmbcond.c
ln -s ../facilities/idbmb/idbmb.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/idbmb/idbmb.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/idbmb/idbmbcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/idbmb'
cd icon			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/icon'
rm -f /build/ctn-3.2.0~dfsg/libsrc/icon.c /build/ctn-3.2.0~dfsg/libsrc/icon.h /build/ctn-3.2.0~dfsg/libsrc/iconcond.c
ln -s ../facilities/icon/icon.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/icon/icon.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/icon/iconcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/icon'
cd iman			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/iman'
make[4]: Nothing to be done for 'links'.
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/iman'
cd info_entity		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/info_entity'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_ie.h /build/ctn-3.2.0~dfsg/libsrc/ie.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/iecond.c /build/ctn-3.2.0~dfsg/libsrc/tables.h
ln -s ../facilities/info_entity/dicom_ie.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/info_entity/ie.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/info_entity/iecond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/info_entity/tables.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/info_entity'
cd irs			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/irs'
rm -f /build/ctn-3.2.0~dfsg/libsrc/irs.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/irscond.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/irs_private.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_irs.h
ln -s ../facilities/irs/irs.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/irs/irscond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/irs/irs_private.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/irs/dicom_irs.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/irs'
cd lst			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/lst'
rm -f /build/ctn-3.2.0~dfsg/libsrc/lst.c /build/ctn-3.2.0~dfsg/libsrc/lst.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/lstprivate.h /build/ctn-3.2.0~dfsg/libsrc/lstcond.c
ln -s ../facilities/lst/lst.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/lst/lst.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/lst/lstprivate.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/lst/lstcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/lst'
cd manage		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/manage'
rm -f /build/ctn-3.2.0~dfsg/libsrc/manage.h /build/ctn-3.2.0~dfsg/libsrc/control.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/delete.c /build/ctn-3.2.0~dfsg/libsrc/insert.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/select.c /build/ctn-3.2.0~dfsg/libsrc/set.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/mancond.c /build/ctn-3.2.0~dfsg/libsrc/dmanprivate.h
ln -s ../facilities/manage/manage.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/control.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/delete.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/insert.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/select.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/set.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/mancond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/manage/dmanprivate.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/manage'
cd messages		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/messages'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_messages.h /build/ctn-3.2.0~dfsg/libsrc/dump.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/msgcond.c /build/ctn-3.2.0~dfsg/libsrc/messages.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/msgprivate.h /build/ctn-3.2.0~dfsg/libsrc/ref_item.c
ln -s ../facilities/messages/dicom_messages.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/messages/dump.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/messages/msgcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/messages/messages.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/messages/msgprivate.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/messages/ref_item.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/messages'
cd motif_utl		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/motif_utl'
rm -f /build/ctn-3.2.0~dfsg/libsrc/mut.h /build/ctn-3.2.0~dfsg/libsrc/motifutil.c
ln -s ../facilities/motif_utl/mut.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/motif_utl/motifutil.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/motif_utl'
cd objects		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/objects'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_objects.h /build/ctn-3.2.0~dfsg/libsrc/dcm.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/dcm1.c /build/ctn-3.2.0~dfsg/libsrc/dcmcond.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/dcmdict.c /build/ctn-3.2.0~dfsg/libsrc/dcmprivate.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/dcmsupport.c
ln -s ../facilities/objects/dicom_objects.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/objects/dcm.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/objects/dcm1.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/objects/dcmcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/objects/dcmdict.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/objects/dcmprivate.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/objects/dcmsupport.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/objects'
cd print		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/print'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_print.h /build/ctn-3.2.0~dfsg/libsrc/print.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/printcond.c
ln -s ../facilities/print/dicom_print.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/print/print.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/print/printcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/print'
cd services		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/services'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_services.h /build/ctn-3.2.0~dfsg/libsrc/find.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/move.c /build/ctn-3.2.0~dfsg/libsrc/neventreport.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/nget.c /build/ctn-3.2.0~dfsg/libsrc/nset.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/ndelete.c /build/ctn-3.2.0~dfsg/libsrc/ncreate.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/naction.c /build/ctn-3.2.0~dfsg/libsrc/private.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/private.h /build/ctn-3.2.0~dfsg/libsrc/services.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/srvcond.c /build/ctn-3.2.0~dfsg/libsrc/storage.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/verify.c /build/ctn-3.2.0~dfsg/libsrc/get.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/cmd_valid.c /build/ctn-3.2.0~dfsg/libsrc/send.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/srv1.c /build/ctn-3.2.0~dfsg/libsrc/srv2.c
ln -s ../facilities/services/dicom_services.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/find.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/move.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/neventreport.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/nget.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/nset.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/ndelete.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/ncreate.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/naction.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/private.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/private.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/srvcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/storage.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/verify.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/get.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/cmd_valid.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/send.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/srv1.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/services/srv2.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/services'
cd sq			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/sq'
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_sq.h /build/ctn-3.2.0~dfsg/libsrc/sequences.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/sqcond.c
ln -s ../facilities/sq/dicom_sq.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/sq/sequences.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/sq/sqcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/sq'
cd tbl			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/tbl'
rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl.h /build/ctn-3.2.0~dfsg/libsrc/tbl_ufs.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblprivate.h /build/ctn-3.2.0~dfsg/libsrc/tblcond.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_sqlserver.c /build/ctn-3.2.0~dfsg/libsrc/tbl_sqlserver.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_sybase.c /build/ctn-3.2.0~dfsg/libsrc/tbl_sybase.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_msql.c /build/ctn-3.2.0~dfsg/libsrc/tbl_msql.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_mysql.c /build/ctn-3.2.0~dfsg/libsrc/tbl_mysql.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tbl_psql.c /build/ctn-3.2.0~dfsg/libsrc/tbl_psql.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/ufs.c
ln -s ../facilities/tbl/tbl.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_ufs.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tblprivate.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tblcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_sqlserver.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_sqlserver.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_sybase.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_sybase.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_msql.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_msql.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_mysql.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_mysql.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_psql.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/tbl_psql.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tbl/ufs.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/tbl'
cd tblmb		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/tblmb'
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb.h /build/ctn-3.2.0~dfsg/libsrc/tblmb_ufs.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmbprivate.h /build/ctn-3.2.0~dfsg/libsrc/tblmbcond.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_sqlserver.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_sqlserver.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_sybase.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_sybase.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_msql.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_msql.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/tblmb_psql.c /build/ctn-3.2.0~dfsg/libsrc/tblmb_psql.h
rm -f /build/ctn-3.2.0~dfsg/libsrc/ufs.c
ln -s ../facilities/tblmb/tblmb.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tblmb/tblmbprivate.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tblmb/tblmbcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tblmb/tblmb_psql.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/tblmb/tblmb_psql.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/tblmb'
cd thread		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/thread'
rm -f /build/ctn-3.2.0~dfsg/libsrc/ctnthread.h /build/ctn-3.2.0~dfsg/libsrc/ctnthread.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/thrcond.c 
ln -s ../facilities/thread/ctnthread.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/thread/ctnthread.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/thread/thrcond.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/thread'
cd uid			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/uid'
rm -f /build/ctn-3.2.0~dfsg/libsrc/uid.c /build/ctn-3.2.0~dfsg/libsrc/uidcond.c
rm -f /build/ctn-3.2.0~dfsg/libsrc/dicom_uids.h
ln -s ../facilities/uid/uid.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/uid/uidcond.c /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/uid/dicom_uids.h /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/uid'
cd utility		; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/utility'
rm -f /build/ctn-3.2.0~dfsg/libsrc/utility.h /build/ctn-3.2.0~dfsg/libsrc/utility.c
ln -s ../facilities/utility/utility.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/utility/utility.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/utility'
cd xutl			; make links
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/facilities/xutl'
rm -f /build/ctn-3.2.0~dfsg/libsrc/xutl.h /build/ctn-3.2.0~dfsg/libsrc/xutl.c /build/ctn-3.2.0~dfsg/libsrc/xutl_mb.c
ln -s ../facilities/xutl/xutl.h /build/ctn-3.2.0~dfsg/libsrc
ln -s ../facilities/xutl/xutl.c /build/ctn-3.2.0~dfsg/libsrc
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities/xutl'
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/facilities'
cd libsrc;		make install
make[3]: Entering directory '/build/ctn-3.2.0~dfsg/libsrc'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  462 |  fprintf(lfp, "%8x %s\n", EDBStack[index].statusCode,
      |                ~~^        ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  |                       |
      |                  unsigned int            CONDITION {aka long unsigned int}
      |                %8lx
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o control.o control.c
control.c: In function 'DMAN_TempImageFile':
control.c:568:9: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration]
  568 |     i = getpid();
      |         ^~~~~~
control.c: In function 'localHostEnt':
control.c:715:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
  715 |  if (!isdigit(node[index]) && !(node[index] == '.')) {
      |       ^~~~~~~
control.c:724:14: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
  724 |  ipAddress = inet_addr(node);
      |              ^~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  513 |     pnode.time_stamp = time((time_t *) NULL);
      |                        ^~~~
      |                        utimes
database.c: In function 'DB_DelImage':
database.c:2170:9: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
 2170 |     if (unlink(inode.image.FileName) != 0) {
      |         ^~~~~~
database.c: In function 'DB_DeleteDB':
database.c:173:12: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  173 |     (void) system(temp);
      |            ^~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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:496:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  496 |   fprintf(stderr, "DCM_CloseObject: Element %08x\n",
      |                                             ~~~^
      |                                                |
      |                                                unsigned int
      |                                             %08lx
  497 |    element->element.tag);
      |    ~~~~~~~~~~~~~~~~~~~~                         
      |                    |
      |                    DCM_TAG {aka long unsigned int}
dcm.c:500:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'LST_HEAD *' {aka 'void *'} [-Wformat=]
  500 |       fprintf(stderr, "Sequence List Address: %x\n",
      |                                               ~^
      |                                                |
      |                                                unsigned int
      |                                               %p
  501 |        element->element.d.sq);
      |        ~~~~~~~~~~~~~~~~~~~~~                    
      |                          |
      |                          LST_HEAD * {aka void *}
dcm.c:511:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'LST_HEAD *' {aka 'void *'} [-Wformat=]
  511 |       fprintf(stderr, "Fragment List Address: %x\n",
      |                                               ~^
      |                                                |
      |                                                unsigned int
      |                                               %p
  512 |        element->element.d.fragments);
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
      |                          |
      |                          LST_HEAD * {aka void *}
dcm.c:521:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'PRV_ELEMENT_ITEM *' [-Wformat=]
  521 |   fprintf(stderr, "DCM_CloseObject: free %8x\n", element);
      |                                          ~~^     ~~~~~~~
      |                                            |     |
      |                                            |     PRV_ELEMENT_ITEM *
      |                                            unsigned int
dcm.c: In function 'DCM_GetString':
dcm.c:1085:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'S32' {aka 'long int'} [-Wformat=]
 1085 |       sprintf(tmp, "%d", *e.d.sl);
      |                     ~^   ~~~~~~~
      |                      |   |
      |                      int S32 {aka long int}
      |                     %ld
dcm.c:1094:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 1094 |       sprintf(tmp, "%d", *e.d.ul);
      |                     ~^   ~~~~~~~
      |                      |   |
      |                      int U32 {aka long unsigned int}
      |                     %ld
dcm.c: In function 'DCM_DumpElements':
dcm.c:1718:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'S32' {aka 'long int'} [-Wformat=]
 1718 |       (void) printf("%8x %d\n", *elementItem->element.d.sl,
      |                      ~~^        ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |        |
      |                        |        S32 {aka long int}
      |                        unsigned int
      |                      %8lx
dcm.c:1718:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'S32' {aka 'long int'} [-Wformat=]
 1718 |       (void) printf("%8x %d\n", *elementItem->element.d.sl,
      |                          ~^
      |                           |
      |                           int
      |                          %ld
 1719 |       *elementItem->element.d.sl);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       |
      |       S32 {aka long int}
dcm.c:1765:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 1765 |       (void) printf("%8x %d\n", *elementItem->element.d.ul,
      |                      ~~^        ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |        |
      |                        |        U32 {aka long unsigned int}
      |                        unsigned int
      |                      %8lx
dcm.c:1765:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 1765 |       (void) printf("%8x %d\n", *elementItem->element.d.ul,
      |                          ~^
      |                           |
      |                           int
      |                          %ld
 1766 |       *elementItem->element.d.ul);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       |
      |       U32 {aka long unsigned int}
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=]
 1858 |  printf("%sGroup: %04x, Length: %8d\n", prefix, groupItem->group,
      |                                 ~~^
      |                                   |
      |                                   int
      |                                 %8ld
 1859 |         groupItem->baseLength);
      |         ~~~~~~~~~~~~~~~~~~~~~      
      |                  |
      |                  long unsigned int
dcm.c:1864:35: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 1864 |      (void) printf("%s%04x %04x %8d ",
      |                                 ~~^
      |                                   |
      |                                   int
      |                                 %8ld
......
 1868 |      elementItem->element.length);
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~   
      |                          |
      |                          U32 {aka long unsigned int}
dcm.c:1915:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'S32' {aka 'long int'} [-Wformat=]
 1915 |       (void) printf("%8x %d\n", *elementItem->element.d.sl,
      |                      ~~^        ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |        |
      |                        |        S32 {aka long int}
      |                        unsigned int
      |                      %8lx
dcm.c:1915:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'S32' {aka 'long int'} [-Wformat=]
 1915 |       (void) printf("%8x %d\n", *elementItem->element.d.sl,
      |                          ~^
      |                           |
      |                           int
      |                          %ld
 1916 |       *elementItem->element.d.sl);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       |
      |       S32 {aka long int}
dcm.c:1960:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 1960 |       (void) printf("%8x %d\n", *elementItem->element.d.ul,
      |                      ~~^        ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |        |
      |                        |        U32 {aka long unsigned int}
      |                        unsigned int
      |                      %8lx
dcm.c:1960:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 1960 |       (void) printf("%8x %d\n", *elementItem->element.d.ul,
      |                          ~^
      |                           |
      |                           int
      |                          %ld
 1961 |       *elementItem->element.d.ul);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       |
      |       U32 {aka long unsigned int}
dcm.c: In function 'newElementItem':
dcm.c:2936:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 2936 |  fprintf(stderr, "newElementItem: CTN_MALLOC %8d %8d ", l,
      |                                              ~~^        ~
      |                                                |        |
      |                                                int      U32 {aka long unsigned int}
      |                                              %8ld
dcm.c:2936:52: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
 2936 |  fprintf(stderr, "newElementItem: CTN_MALLOC %8d %8d ", l,
      |                                                  ~~^
      |                                                    |
      |                                                    int
      |                                                  %8ld
 2937 |   sizeof(PRV_ELEMENT_ITEM) + l);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
      |                            |
      |                            long unsigned int
dcm.c:2941:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'PRV_ELEMENT_ITEM *' [-Wformat=]
 2941 |  fprintf(stderr, "%8x\n", *dst);
      |                   ~~^     ~~~~
      |                     |     |
      |                     |     PRV_ELEMENT_ITEM *
      |                     unsigned int
dcm.c: In function 'exportData':
dcm.c:3844:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 3844 |      sprintf(b, "byte count: %d %d, errno: %d", nBytes, length, errno);
      |                                 ~^                      ~~~~~~
      |                                  |                      |
      |                                  int                    U32 {aka long unsigned int}
      |                                 %ld
dcm.c:3957:7: warning: implicit declaration of function 'swab' [-Wimplicit-function-declaration]
 3957 |       swab(p, b, length);
      |       ^~~~
dcm.c: In function 'exportEncapsulatedPixels':
dcm.c:4072:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 4072 |       printf("Fragment size: %6d\n", fragmentItem->length);
      |                              ~~^     ~~~~~~~~~~~~~~~~~~~~
      |                                |                 |
      |                                int               U32 {aka long unsigned int}
      |                              %6ld
dcm.c: In function 'exportPixels':
dcm.c:4148:36: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
 4148 |       fprintf(stderr, "Export: (%08x) %d\n", element->tag, element->length);
      |                                 ~~~^         ~~~~~~~~~~~~
      |                                    |                |
      |                                    unsigned int     DCM_TAG {aka long unsigned int}
      |                                 %08lx
dcm.c:4148:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 4148 |       fprintf(stderr, "Export: (%08x) %d\n", element->tag, element->length);
      |                                       ~^                   ~~~~~~~~~~~~~~~
      |                                        |                          |
      |                                        int                        U32 {aka long unsigned int}
      |                                       %ld
dcm.c: In function 'exportStream':
dcm.c:4803:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
 4803 |    fprintf(stderr, "Export: (%08x) %d\n",
      |                              ~~~^
      |                                 |
      |                                 unsigned int
      |                              %08lx
 4804 |     element.tag, element.length);
      |     ~~~~~~~~~~~                  
      |            |
      |            DCM_TAG {aka long unsigned int}
dcm.c:4803:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 4803 |    fprintf(stderr, "Export: (%08x) %d\n",
      |                                    ~^
      |                                     |
      |                                     int
      |                                    %ld
 4804 |     element.tag, element.length);
      |                  ~~~~~~~~~~~~~~      
      |                         |
      |                         U32 {aka long unsigned int}
dcm.c: In function 'verifyFormat':
dcm.c:4924:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
 4924 |   if (isdigit(*src) || (*src == '-') || (*src == '\\')) {
      |       ^~~~~~~
dcm.c: In function 'readVRLength':
dcm.c:5904:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 5904 |  fprintf(stderr, "%2s %6d %06x %s\n", localVR, e->length, *fileOffset,
      |                       ~~^                      ~~~~~~~~~
      |                         |                       |
      |                         int                     U32 {aka long unsigned int}
      |                       %6ld
dcm.c:5904:30: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=]
 5904 |  fprintf(stderr, "%2s %6d %06x %s\n", localVR, e->length, *fileOffset,
      |                           ~~~^                            ~~~~~~~~~~~
      |                              |                            |
      |                              unsigned int                 off_t {aka long int}
      |                           %06lx
dcm.c: In function 'readSequence':
dcm.c:5967:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 5967 |      fprintf(stderr, "Sequence Length: %d %x\n", localLength,
      |                                        ~^        ~~~~~~~~~~~
      |                                         |        |
      |                                         int      U32 {aka long unsigned int}
      |                                        %ld
dcm.c:5967:44: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 5967 |      fprintf(stderr, "Sequence Length: %d %x\n", localLength,
      |                                           ~^
      |                                            |
      |                                            unsigned int
      |                                           %lx
 5968 |       localLength);
      |       ~~~~~~~~~~~                           
      |       |
      |       U32 {aka long unsigned int}
dcm.c:5997:47: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 5997 |      fprintf(stderr, "Sequence item: %4x %4x %d (%x)\n",
      |                                              ~^
      |                                               |
      |                                               int
      |                                              %ld
 5998 |       DCM_TAG_GROUP(tagE.tag),
 5999 |       DCM_TAG_ELEMENT(tagE.tag), tagE.length, tagE.length);
      |                                  ~~~~~~~~~~~   
      |                                      |
      |                                      U32 {aka long unsigned int}
dcm.c:5997:51: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 5997 |      fprintf(stderr, "Sequence item: %4x %4x %d (%x)\n",
      |                                                  ~^
      |                                                   |
      |                                                   unsigned int
      |                                                  %lx
 5998 |       DCM_TAG_GROUP(tagE.tag),
 5999 |       DCM_TAG_ELEMENT(tagE.tag), tagE.length, tagE.length);
      |                                               ~~~~~~~~~~~
      |                                                   |
      |                                                   U32 {aka long unsigned int}
dcm.c: In function 'scanCompressedPixels':
dcm.c:6092:47: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 6092 |      fprintf(stderr, "Sequence item: %4x %4x %d (%x)\n",
      |                                              ~^
      |                                               |
      |                                               int
      |                                              %ld
 6093 |       DCM_TAG_GROUP(tagE.tag),
 6094 |       DCM_TAG_ELEMENT(tagE.tag), tagE.length, tagE.length);
      |                                  ~~~~~~~~~~~   
      |                                      |
      |                                      U32 {aka long unsigned int}
dcm.c:6092:51: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 6092 |      fprintf(stderr, "Sequence item: %4x %4x %d (%x)\n",
      |                                                  ~^
      |                                                   |
      |                                                   unsigned int
      |                                                  %lx
 6093 |       DCM_TAG_GROUP(tagE.tag),
 6094 |       DCM_TAG_ELEMENT(tagE.tag), tagE.length, tagE.length);
      |                                               ~~~~~~~~~~~
      |                                                   |
      |                                                   U32 {aka long unsigned int}
dcm.c:6112:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 6112 |      fprintf(stderr, "Scanned Bytes: %d\n", scannedBytes);
      |                                      ~^     ~~~~~~~~~~~~
      |                                       |     |
      |                                       int   U32 {aka long unsigned int}
      |                                      %ld
dcm.c: In function 'dumpSL':
dcm.c:6899:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'S32' {aka 'long int'} [-Wformat=]
 6899 |  printf("%7d ", *(sl++));
      |          ~~^    ~~~~~~~
      |            |    |
      |            int  S32 {aka long int}
      |          %7ld
dcm.c: In function 'dumpUL':
dcm.c:6922:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
 6922 |  printf("%7d ", *(ul++));
      |          ~~^    ~~~~~~~
      |            |    |
      |            int  U32 {aka long unsigned int}
      |          %7ld
dcm.c: In function 'remapFileName':
dcm.c:7023:11: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration]
 7023 |  else if (isupper(c))
      |           ^~~~~~~
dcm.c:7024:19: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration]
 7024 |      *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=]
 7247 |  printf("size: %6d offset: %6d, pixel offset: %6d\n",
      |                ~~^
      |                  |
      |                  int
      |                %6ld
 7248 |         sqObject->objectSize,
      |         ~~~~~~~~~~~~~~~~~~~~
      |                 |
      |                 long unsigned int
dcm.c:7247:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
 7247 |  printf("size: %6d offset: %6d, pixel offset: %6d\n",
      |                            ~~^
      |                              |
      |                              int
      |                            %6ld
 7248 |         sqObject->objectSize,
 7249 |         sqObject->offset,
      |         ~~~~~~~~~~~~~~~~      
      |                 |
      |                 long unsigned int
dcm.c:7247:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
 7247 |  printf("size: %6d offset: %6d, pixel offset: %6d\n",
      |                                               ~~^
      |                                                 |
      |                                                 int
      |                                               %6ld
......
 7250 |         sqObject->pixelOffset);
      |         ~~~~~~~~~~~~~~~~~~~~~                    
      |                 |
      |                 long unsigned int
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcmcond.o dcmcond.c
dcmcond.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int]
  155 | DCM_DumpVector()
      | ^~~~~~~~~~~~~~
dcmcond.c: In function 'DCM_DumpVector':
dcmcond.c:161:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=]
  161 |      printf("%8x %8d %s\n", messageVector[index].cond,
      |              ~~^            ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                |                                |
      |                unsigned int                     CONDITION {aka long unsigned int}
      |              %8lx
dcmcond.c:161:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=]
  161 |      printf("%8x %8d %s\n", messageVector[index].cond,
      |                  ~~^
      |                    |
      |                    int
      |                  %8ld
  162 |      messageVector[index].cond,
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          CONDITION {aka long unsigned int}
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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
ddr.c: In function 'DDR_GetPatientList':
ddr.c:389:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  389 |      sprintf(errTxt, "DDR_GetPatientList could not find patient with offset: %d", offset);
      |                                                                              ~^   ~~~~~~
      |                                                                               |   |
      |                                                                               int U32 {aka long unsigned int}
      |                                                                              %ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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
In file included from /usr/include/string.h:495,
                 from ctn_os.h:63,
                 from dulconstruct.c:60:
In function 'strncpy',
    inlined from 'streamAssociatePDU' at dulconstruct.c:504:12:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dulconstruct.c: In function 'streamAssociatePDU':
dulconstruct.c:504:12: note: length computed here
  504 |     (void) strncpy((char *) b, assoc->calledAPTitle, strlen(assoc->calledAPTitle));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from ctn_os.h:63,
                 from dulconstruct.c:60:
In function 'strncpy',
    inlined from 'streamAssociatePDU' at dulconstruct.c:506:12:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dulconstruct.c: In function 'streamAssociatePDU':
dulconstruct.c:506:12: note: length computed here
  506 |     (void) strncpy((char *) b, assoc->callingAPTitle,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  507 |      strlen(assoc->callingAPTitle));
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 'DT_2_IndicatePData':
dulfsm.c:1493:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
 1493 |  (void) fprintf(stderr, "PDV Lengths don't add up correctly: %d pdvs\n",
      |                                                              ~^
      |                                                               |
      |                                                               int
      |                                                              %ld
 1494 |          pdvCount);
      |          ~~~~~~~~                                              
      |          |
      |          long unsigned int
dulfsm.c: In function 'readPDUHeadTCP':
dulfsm.c:3503:75: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 3503 |  (void) fprintf(DEBUG_DEVICE, "Read PDU HEAD TCP: type: %x, length: %ld (%x)\n",
      |                                                                          ~^
      |                                                                           |
      |                                                                           unsigned int
      |                                                                          %lx
 3504 |          *type, *pduLength, *pduLength);
      |                             ~~~~~~~~~~                                     
      |                             |
      |                             long unsigned int
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  191 |  (void) fprintf(DEBUG_DEVICE, "PDU type: %x (%s), PDU Length: %ld\n",
      |                                          ~^
      |                                           |
      |                                           unsigned int
      |                                          %lx
  192 |          (long) assoc->type, s, assoc->length);
      |          ~~~~~~~~~~~~~~~~~~                
      |          |
      |          long int
dulparse.c:206:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  206 |      (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) type);
      |                                                    ~~~^     ~~~~~~~~~~~~~~~~~~~~
      |                                                       |     |
      |                                                       |     long unsigned int
      |                                                       unsigned int
      |                                                    %02lx
dulparse.c: In function 'parseSubItem':
dulparse.c:330:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  330 |  fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\n",
      |                                             ~~~^
      |                                                |
      |                                                unsigned int
      |                                             %02lx
  331 |       (unsigned long) subItem->type, (unsigned long) subItem->length,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
      |       |
      |       long unsigned int
dulparse.c:330:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
  330 |  fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\n",
      |                                                          ~~^
      |                                                            |
      |                                                            int
      |                                                          %4ld
  331 |       (unsigned long) subItem->type, (unsigned long) subItem->length,
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      long unsigned int
dulparse.c: In function 'parsePresentationContext':
dulparse.c:396:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  396 |          "Parsing Presentation Context: (%2x), Length: %ld\n",
      |                                          ~~^
      |                                            |
      |                                            unsigned int
      |                                          %2lx
  397 |          (unsigned long) context->type,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
      |          |
      |          long unsigned int
dulparse.c:399:59: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  399 |  (void) fprintf(DEBUG_DEVICE, "Presentation Context ID: %2x\n",
      |                                                         ~~^
      |                                                           |
      |                                                           unsigned int
      |                                                         %2lx
  400 |          (unsigned long) context->contextID);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
      |          |
      |          long unsigned int
dulparse.c:412:52: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  412 |   (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) *buf);
      |                                                 ~~~^     ~~~~~~~~~~~~~~~~~~~~
      |                                                    |     |
      |                                                    |     long unsigned int
      |                                                    unsigned int
      |                                                 %02lx
dulparse.c: In function 'parseUserInfo':
dulparse.c:515:60: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  515 |  (void) fprintf(DEBUG_DEVICE, "Parsing user info field (%02x), Length: %ld\n",
      |                                                         ~~~^
      |                                                            |
      |                                                            unsigned int
      |                                                         %02lx
  516 |    (unsigned long) userInfo->type, (unsigned long) userInfo->length);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
      |    |
      |    long unsigned int
dulparse.c:523:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
  523 |      "Parsing remaining %ld bytes of User Information\n", userLength);
      |                         ~~^                               ~~~~~~~~~~
      |                           |                               |
      |                           long int                        int
      |                         %d
dulparse.c:524:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  524 |      (void) fprintf(DEBUG_DEVICE, "Next item type: %02x\n", (unsigned long) *buf);
      |                                                    ~~~^     ~~~~~~~~~~~~~~~~~~~~
      |                                                       |     |
      |                                                       |     long unsigned int
      |                                                       unsigned int
      |                                                    %02lx
dulparse.c: In function 'parseSCUSCPRole':
dulparse.c:727:24: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  727 |  fprintf(DEBUG_DEVICE, "Subitem parse: Type %02x, Length %4d, Content: %s\
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  728 |   %d %d \n ",
      |   ~~~~~~~~~~            
  729 |   (unsigned long) role->type, (unsigned long) role->length,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   |
      |   long unsigned int
dulparse.c:727: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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
 1510 |    fprintf(stderr, "DUL_ReleaseAssociation:: non-normal condition %08x \n", cond);
      |                                                                   ~~~^      ~~~~
      |                                                                      |      |
      |                                                                      |      CONDITION {aka long unsigned int}
      |                                                                      unsigned int
      |                                                                   %08lx
dulprotocol.c:1560:70: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=]
 1560 |       fprintf(stderr, "DUL_ReleaseAssociation:: final condition = %08x\n", cond);
      |                                                                   ~~~^     ~~~~
      |                                                                      |     |
      |                                                                      |     CONDITION {aka long unsigned int}
      |                                                                      unsigned int
      |                                                                   %08lx
dulprotocol.c: In function 'DUL_DumpParams':
dulprotocol.c:2669:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 2669 |     printf("MAX PDU:      %d\n", params->maxPDU);
      |                           ~^     ~~~~~~~~~~~~~~
      |                            |           |
      |                            int         long unsigned int
      |                           %ld
dulprotocol.c:2670:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 2670 |     printf("Peer MAX PDU: %d\n", params->peerMaxPDU);
      |                           ~^     ~~~~~~~~~~~~~~~~~~
      |                            |           |
      |                            int         long unsigned int
      |                           %ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  651 |     fprintf(f, "ConditionalFields:  %04x\n", eventReport->conditionalFields);
      |                                     ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |                |
      |                                        unsigned int     long int
      |                                     %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=]
  689 |     fprintf(f, "ConditionalFields:  %04x\n", get->conditionalFields);
      |                                     ~~~^     ~~~~~~~~~~~~~~~~~~~~~~
      |                                        |        |
      |                                        |        long int
      |                                        unsigned int
      |                                     %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=]
  719 |     fprintf(f, "ConditionalFields:  %04x\n", set->conditionalFields);
      |                                     ~~~^     ~~~~~~~~~~~~~~~~~~~~~~
      |                                        |        |
      |                                        |        long int
      |                                        unsigned int
      |                                     %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=]
  750 |     fprintf(f, "ConditionalFields:  %04x\n", action->conditionalFields);
      |                                     ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |           |
      |                                        |           long int
      |                                        unsigned int
      |                                     %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=]
  779 |     fprintf(f, "ConditionalFields:  %04x\n", create->conditionalFields);
      |                                     ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |           |
      |                                        |           long int
      |                                        unsigned int
      |                                     %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=]
  805 |     fprintf(f, "ConditionalFields:  %04x\n", delete->conditionalFields);
      |                                     ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |           |
      |                                        |           long int
      |                                        unsigned int
      |                                     %04lx
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o event.o event.c
event.c: In function 'requestAssociation.constprop':
event.c:249:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  249 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from ctn_os.h:62,
                 from event.c:52:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fisget.o fisget.c
fisget.c: In function 'getPatientRecord':
fisget.c:177:67: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  177 |     cond = TBL_Select(&h->patientHandle, criteria, fields, count, patientCallback,
      |                                                                   ^~~~~~~~~~~~~~~
      |                                                                   |
      |                                                                   CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getVisitRecord':
fisget.c:299:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  299 |     cond = TBL_Select(&h->visitHandle, criteria, fields, count, visitCallback,
      |                                                                 ^~~~~~~~~~~~~
      |                                                                 |
      |                                                                 CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getStudyRecord':
fisget.c:420:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  420 |     cond = TBL_Select(&h->studyHandle, criteria, fields, count, studyCallback,
      |                                                                 ^~~~~~~~~~~~~
      |                                                                 |
      |                                                                 CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'selectStudyRecord':
fisget.c:513:65: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  513 |     cond = TBL_Select(&h->studyHandle, criteria, fields, count, studyCallback,
      |                                                                 ^~~~~~~~~~~~~
      |                                                                 |
      |                                                                 CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getStudyComponentRecord':
fisget.c:652:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  652 |         studyComponentCallback, getList);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getSCSeriesRecord':
fisget.c:763:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  763 |         scSeriesCallback, getList);
      |         ^~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getSCImageRecord':
fisget.c:873:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  873 |         scImageCallback, getList);
      |         ^~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getResultsRecord':
fisget.c:971:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  971 |         resultsCallback, getList);
      |         ^~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getInterpretationRecord':
fisget.c:1100:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1100 |         interpretationCallback, getList);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getCommitSOPRecord':
fisget.c:1226:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1226 |         commitSOPRefCallback, getList);
      |         ^~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getStorageCommitReq':
fisget.c:1346:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1346 |         storageCommitCallback, getList);
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fisget.c: In function 'getWorkQueueRecord':
fisget.c:1427:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1427 |         workQueueCallback, getList);
      |         ^~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from fisget.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  LST_HEAD *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fisinsert.o fisinsert.c
In file included from fisinsert.c:58:
fisinsert.c: In function 'insertPatientRecord':
tbl.h:173:28: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  185 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  185 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
fisinsert.c:65:1: note: include '<string.h>' or provide a declaration of 'strlen'
   64 | #include "fis_private.h"
  +++ |+#include <string.h>
   65 | 
In file included from fisinsert.c:58:
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  185 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:185:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  185 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", p->PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  187 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  187 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  187 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:187:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  187 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", p->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  189 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  189 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  189 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:189:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  189 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", p->PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  191 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  191 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  191 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:191:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  191 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatSex", p->PatSex, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertStudyRecord':
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  244 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  244 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  244 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:244:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  244 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatUID", s->PatUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  246 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  246 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  246 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:246:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  246 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuInsUID", s->StuInsUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  248 |     TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  248 |     TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  248 |     TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:248:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  248 |     TBL_FIELD_LOAD_BYTE(fields[i], "VisUID", s->VisUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  250 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  250 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  250 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:250:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  250 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", s->AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  252 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  252 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  252 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:252:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  252 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  262 |     TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  262 |     TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  262 |     TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:262:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  262 |     TBL_FIELD_LOAD_BYTE(fields[i], "SchStuLoc", s->SchStuLoc, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  264 |     TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  264 |     TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  264 |     TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:264:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  264 |     TBL_FIELD_LOAD_BYTE(fields[i], "ProDes", s->ProDes, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  266 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  266 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  266 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:266:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  266 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuStaID", s->StuStaID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertStudyComponentRecord':
fisinsert.c:302:51: warning: incompatible implicit declaration of built-in function 'strlen'
  302 |     if ((s->Flag & FIS_K_STUDYCOMP_STUCOMUID) && (strlen(s->StuComUID) != 0)) {
      |                                                   ^~~~~~
fisinsert.c:302:51: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:310:51: warning: incompatible implicit declaration of built-in function 'strlen'
  310 |     if ((s->Flag & FIS_K_STUDYCOMP_STUINSUID) && (strlen(s->StuInsUID) != 0)) {
      |                                                   ^~~~~~
fisinsert.c:310:51: note: include '<string.h>' 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'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  318 |  TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  318 |  TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  318 |  TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:318:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  318 |  TBL_FIELD_LOAD_BYTE(fields[i], "Mod", s->Mod, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  322 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  322 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  322 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:322:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  322 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodVal", s->ProCodVal, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  326 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  326 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  326 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:326:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  326 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodSchDes", s->ProCodSchDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  330 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  330 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  330 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:330:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  330 |  TBL_FIELD_LOAD_BYTE(fields[i], "ProCodMea", s->ProCodMea, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  334 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  334 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  334 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:334:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  334 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuDes", s->StuDes, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  338 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  338 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  338 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:338:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  338 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuID", s->StuID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  342 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  342 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  342 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:342:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  342 |  TBL_FIELD_LOAD_BYTE(fields[i], "StuComStaID", s->StuComStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertSCSeriesRecord':
fisinsert.c:369:50: warning: incompatible implicit declaration of built-in function 'strlen'
  369 |     if ((s->Flag & FIS_K_SCSERIES_SERINSUID) && (strlen(s->SerInsUID) != 0)) {
      |                                                  ^~~~~~
fisinsert.c:369:50: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:377:50: warning: incompatible implicit declaration of built-in function 'strlen'
  377 |     if ((s->Flag & FIS_K_SCSERIES_STUCOMUID) && (strlen(s->StuComUID) != 0)) {
      |                                                  ^~~~~~
fisinsert.c:377:50: note: include '<string.h>' 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'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  385 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  385 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  385 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:385:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  385 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerDat", s->SerDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  389 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  389 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  389 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:389:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  389 |  TBL_FIELD_LOAD_BYTE(fields[i], "SerTim", s->SerTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  393 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  393 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  393 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:393:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  393 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  397 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  397 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  397 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:397:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  397 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  401 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  401 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  401 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:401:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  401 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertSCImageRecord':
fisinsert.c:427:49: warning: incompatible implicit declaration of built-in function 'strlen'
  427 |     if ((s->Flag & FIS_K_SCIMAGE_SOPINSUID) && (strlen(s->SOPInsUID) != 0)) {
      |                                                 ^~~~~~
fisinsert.c:427:49: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:436:49: warning: incompatible implicit declaration of built-in function 'strlen'
  436 |     if ((s->Flag & FIS_K_SCIMAGE_SERINSUID) && (strlen(s->SerInsUID) != 0)) {
      |                                                 ^~~~~~
fisinsert.c:436:49: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:444:49: warning: incompatible implicit declaration of built-in function 'strlen'
  444 |     if ((s->Flag & FIS_K_SCIMAGE_STUCOMUID) && (strlen(s->StuComUID) != 0)) {
      |                                                 ^~~~~~
fisinsert.c:444:49: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:450:49: warning: incompatible implicit declaration of built-in function 'strlen'
  450 |     if ((s->Flag & FIS_K_SCIMAGE_SOPCLAUID) && (strlen(s->SOPClaUID) != 0)) {
      |                                                 ^~~~~~
fisinsert.c:450:49: note: include '<string.h>' 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'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  459 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  459 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  459 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:459:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  459 |  TBL_FIELD_LOAD_BYTE(fields[i], "RetAETit", s->RetAETit, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  463 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  463 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  463 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:463:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  463 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetID", s->StoMedFilSetID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  467 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  467 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  467 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:467:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  467 |  TBL_FIELD_LOAD_BYTE(fields[i], "StoMedFilSetUID", s->StoMedFilSetUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertResultsRecord':
fisinsert.c:511:46: warning: incompatible implicit declaration of built-in function 'strlen'
  511 |     if ((s->Flag & FIS_K_RESULTS_RESUID) && (strlen(s->ResUID) != 0)) {
      |                                              ^~~~~~
fisinsert.c:511:46: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:518:49: warning: incompatible implicit declaration of built-in function 'strlen'
  518 |     if ((s->Flag & FIS_K_RESULTS_STUINSUID) && (strlen(s->StuInsUID) != 0)) {
      |                                                 ^~~~~~
fisinsert.c:518:49: note: include '<string.h>' 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'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  526 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  526 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  526 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:526:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  526 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResID", s->ResID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  530 |  TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  530 |  TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  530 |  TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:530:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  530 |  TBL_FIELD_LOAD_BYTE(fields[i], "Imp", s->Imp, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  534 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  534 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  534 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:534:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  534 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  538 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  538 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  538 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:538:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  538 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  542 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  542 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  542 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:542:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  542 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertInterpretationRecord':
fisinsert.c:586:45: warning: incompatible implicit declaration of built-in function 'strlen'
  586 |     if ((s->Flag & FIS_K_INTERP_INTUID) && (strlen(s->IntUID) != 0)) {
      |                                             ^~~~~~
fisinsert.c:586:45: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:593:45: warning: incompatible implicit declaration of built-in function 'strlen'
  593 |     if ((s->Flag & FIS_K_INTERP_RESUID) && (strlen(s->ResUID) != 0)) {
      |                                             ^~~~~~
fisinsert.c:593:45: note: include '<string.h>' 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'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  601 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  601 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  601 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:601:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  601 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTex", s->IntTex, TBL_TEXT);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  605 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  605 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  605 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:605:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  605 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntID", s->IntID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  609 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  609 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  609 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:609:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  609 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntTypID", s->IntTypID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  613 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  613 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  613 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:613:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  613 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntStaID", s->IntStaID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  617 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  617 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  617 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:617:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  617 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreDat", s->InsCreDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  621 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  621 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  621 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:621:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  621 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreTim", s->InsCreTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  625 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  625 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  625 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:625:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  625 |  TBL_FIELD_LOAD_BYTE(fields[i], "InsCreUID", s->InsCreUID, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  629 |  TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  629 |  TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  629 |  TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:629:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  629 |  TBL_FIELD_LOAD_BYTE(fields[i], "PhyAppInt", s->PhyAppInt, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  633 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  633 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  633 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:633:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  633 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppDat", s->IntAppDat, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  637 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  637 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  637 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:637:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  637 |  TBL_FIELD_LOAD_BYTE(fields[i], "IntAppTim", s->IntAppTim, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertStorageCommitReq':
fisinsert.c:667:46: warning: incompatible implicit declaration of built-in function 'strlen'
  667 |     if ((s->Flag & FIS_K_SCOMMIT_TRAUID) && (strlen(s->TraUID) != 0)) {
      |                                              ^~~~~~
fisinsert.c:667:46: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:674:45: warning: incompatible implicit declaration of built-in function 'strlen'
  674 |     if ((s->Flag & FIS_K_SCOMMIT_REQAE) && (strlen(s->ReqAE) != 0)) {
      |                                             ^~~~~~
fisinsert.c:674:45: note: include '<string.h>' 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'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  682 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  682 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  682 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
fisinsert.c:682:2: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  682 |  TBL_FIELD_LOAD_BYTE(fields[i], "ResAE", s->ResAE, TBL_STRING);
      |  ^~~~~~~~~~~~~~~~~~~
fisinsert.c: In function 'insertCommitSOPRef':
fisinsert.c:729:48: warning: incompatible implicit declaration of built-in function 'strlen'
  729 |     if ((s->Flag & FIS_K_COMMITSOP_TRAUID) && (strlen(s->TraUID) != 0)) {
      |                                                ^~~~~~
fisinsert.c:729:48: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:736:51: warning: incompatible implicit declaration of built-in function 'strlen'
  736 |     if ((s->Flag & FIS_K_COMMITSOP_SOPCLAUID) && (strlen(s->SOPClaUID) != 0)) {
      |                                                   ^~~~~~
fisinsert.c:736:51: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:743:51: warning: incompatible implicit declaration of built-in function 'strlen'
  743 |     if ((s->Flag & FIS_K_COMMITSOP_SOPINSUID) && (strlen(s->SOPInsUID) != 0)) {
      |                                                   ^~~~~~
fisinsert.c:743:51: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c: In function 'insertWorkQueueRecord':
fisinsert.c:773:48: warning: incompatible implicit declaration of built-in function 'strlen'
  773 |     if ((r->Flag & FIS_K_WORKQUEUE_TASNAM) && (strlen(r->TasNam) != 0)) {
      |                                                ^~~~~~
fisinsert.c:773:48: note: include '<string.h>' or provide a declaration of 'strlen'
fisinsert.c:780:47: warning: incompatible implicit declaration of built-in function 'strlen'
  780 |     if ((r->Flag & FIS_K_WORKQUEUE_TASID) && (strlen(r->TasID) != 0)) {
      |                                               ^~~~~~
fisinsert.c:780:47: note: include '<string.h>' 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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o gq.o gq.c
gq.c: In function 'GQ_KillQueue':
gq.c:171:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
  171 |     unlink(GQ_MakeFilename(qid));
      |     ^~~~~~
gq.c: In function 'access_queue':
gq.c:1063:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1063 |     fscanf(fd, "%d", &SEM_ID);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
gq.c:1064:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1064 |     fscanf(fd, "%d", &SHM_ID);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
gq.c: In function 'GQ_GetQueue':
gq.c:570:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  570 |     fscanf(fd, "%d", &SEM_ID);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
gq.c:571:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  571 |     fscanf(fd, "%d", &SHM_ID);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
gq.c: In function 'GQ_MakeFilename':
gq.c:953:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=]
  953 |     sprintf(temp, "%d", qid);
      |                    ^~
gq.c:953:19: note: directive argument in the range [-2147483648, 200]
  953 |     sprintf(temp, "%d", qid);
      |                   ^~~~
In file included from /usr/include/stdio.h:867,
                 from gq.c:55:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  370 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  322 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  297 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  454 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  380 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o hisdb.o hisdb.c
hisdb.c: In function 'HIS_DeleteDB':
hisdb.c:158:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
  158 |     unlink(dbkey);
      |     ^~~~~~
hisdb.c: In function 'HIS_DumpDB':
hisdb.c:3919:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 3919 |  printf("\t#Visits: %d  #Studies: %d\n", p.RVSequenceCount, p.RSSequenceCount);
      |                     ~^                   ~~~~~~~~~~~~~~~~~
      |                      |                    |
      |                      int                  long int
      |                     %ld
hisdb.c:3919:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
 3919 |  printf("\t#Visits: %d  #Studies: %d\n", p.RVSequenceCount, p.RSSequenceCount);
      |                                   ~^                        ~~~~~~~~~~~~~~~~~
      |                                    |                         |
      |                                    int                       long int
      |                                   %ld
hisdb.c:3935:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 3935 |  printf("\t#Patients: %d  #Studies: %d\n", v.RPSequenceCount, v.RSSequenceCount);
      |                       ~^                   ~~~~~~~~~~~~~~~~~
      |                        |                    |
      |                        int                  long int
      |                       %ld
hisdb.c:3935:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
 3935 |  printf("\t#Patients: %d  #Studies: %d\n", v.RPSequenceCount, v.RSSequenceCount);
      |                                     ~^                        ~~~~~~~~~~~~~~~~~
      |                                      |                         |
      |                                      int                       long int
      |                                     %ld
hisdb.c:3951:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 3951 |  printf("\t#Patients: %d  #Visits: %d  #Results: %d\n",
      |                       ~^
      |                        |
      |                        int
      |                       %ld
 3952 |         s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount);
      |         ~~~~~~~~~~~~~~~~~
      |          |
      |          long int
hisdb.c:3951:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
 3951 |  printf("\t#Patients: %d  #Visits: %d  #Results: %d\n",
      |                                    ~^
      |                                     |
      |                                     int
      |                                    %ld
 3952 |         s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount);
      |                            ~~~~~~~~~~~~~~~~~
      |                             |
      |                             long int
hisdb.c:3951:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
 3951 |  printf("\t#Patients: %d  #Visits: %d  #Results: %d\n",
      |                                                  ~^
      |                                                   |
      |                                                   int
      |                                                  %ld
 3952 |         s.RPSequenceCount, s.RVSequenceCount, s.RRSequenceCount);
      |                                               ~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                long int
hisdb.c:3970:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 3970 |  printf("\t#Studies: %d  #Interpretations: %d\n",
      |                      ~^
      |                       |
      |                       int
      |                      %ld
 3971 |         r.RSSequenceCount, r.RISequenceCount);
      |         ~~~~~~~~~~~~~~~~~
      |          |
      |          long int
hisdb.c:3970:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
 3970 |  printf("\t#Studies: %d  #Interpretations: %d\n",
      |                                            ~^
      |                                             |
      |                                             int
      |                                            %ld
 3971 |         r.RSSequenceCount, r.RISequenceCount);
      |                            ~~~~~~~~~~~~~~~~~ 
      |                             |
      |                             long int
hisdb.c:3987:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 3987 |  printf("\t#Results: %d\n", in.RRSequenceCount);
      |                      ~^     ~~~~~~~~~~~~~~~~~~
      |                       |       |
      |                       int     long int
      |                      %ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  204 |  close(GS_hunkfd);
      |  ^~~~~
      |  pclose
hunk_man.c: In function 'HF_Open':
hunk_man.c:347:10: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  347 |     if ((read(GS_hunkfd, (char *) &GS_hfh, sizeof(HunkFileHeader))) !=
      |          ^~~~
      |          fread
hunk_man.c:379:10: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
  379 |     if ((lseek(GS_hunkfd, (off_t) seek_pos, SEEK_SET)) < 0) {
      |          ^~~~~
      |          fseek
hunk_man.c: In function 'HF_WriteCurrentHunk':
hunk_man.c:554:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  554 |  wb = write(GS_hunkfd, (char *) GS_hunkstorage, GS_hfh.hunk_length);
      |       ^~~~~
      |       fwrite
hunk_man.c: In function 'HF_ExclusiveLock':
hunk_man.c:1281:2: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
 1281 |  sleep(1);
      |  ^~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  172 |         sendCallback, callbackCtx, "");
      |         ^~~~~~~~~~~~
      |         |
      |         CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  char *) {aka long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  char *)}
In file included from iap.c:84:
dicom_services.h:160:32: note: expected 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  void *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  void *)'} but argument is of type 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  char *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  char *)'}
  160 |     SRV_C_STORE_REQ_CALLBACK * callback,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o icon.o icon.c
icon.c: In function 'ICON_AppendStudyOffset':
icon.c:116:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  116 |     if (write(fd, (char *) studyoffset, sizeof(ICON_STUDYOFFSET))
      |         ^~~~~
      |         fwrite
icon.c:120:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  120 |     close(fd);
      |     ^~~~~
      |     pclose
icon.c: In function 'ICON_GetStudyOffsetLst':
icon.c:167:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  167 |     while ((fdcond = read(fd, (char *) &temp, sizeof(ICON_STUDYOFFSET))) ==
      |                      ^~~~
      |                      fread
icon.c: In function 'ICON_DumpStudyOffset':
icon.c:218:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=]
  218 |  printf("(%03d) Accession Number = %s \toffset = %d\n",
      |                                                  ~^
      |                                                   |
      |                                                   int
      |                                                  %ld
......
  221 |         item->studyoffset.Offset);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~                   
      |                          |
      |                          off_t {aka long int}
icon.c: In function 'ICON_GetStudyIconLst':
icon.c:357:9: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
  357 |     if (lseek(fd, studyoffset->Offset, SEEK_SET) < 0)
      |         ^~~~~
      |         fseek
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o irs.o irs.c
irs.c: In function 'workRecordCallback':
irs.c:100:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  100 |     strcpy(w->PatID, field[i].Value.Value.String);
      |     ^~~~~~
irs.c:100:5: warning: incompatible implicit declaration of built-in function 'strcpy'
irs.c:65:1: note: include '<string.h>' or provide a declaration of 'strcpy'
   64 | #include "irs_private.h"
  +++ |+#include <string.h>
   65 | 
In file included from irs.c:61:
irs.c: In function 'IRS_EnterWorkRecord':
tbl.h:173:28: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  263 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  263 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  263 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  263 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:263:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  263 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatID", r.PatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  265 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  265 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  265 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:265:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  265 |     TBL_FIELD_LOAD_BYTE(fields[i], "PatNam", r.PatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  267 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  267 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  267 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:267:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  267 |     TBL_FIELD_LOAD_BYTE(fields[i], "StuUID", r.StuUID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  269 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  269 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  269 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:269:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  269 |     TBL_FIELD_LOAD_BYTE(fields[i], "AccNum", r.AccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  271 |     TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  271 |     TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  271 |     TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:271:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  271 |     TBL_FIELD_LOAD_BYTE(fields[i], "InsAET", r.InsAET, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  273 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  273 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  273 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:273:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  273 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatID", r.UpdPatID, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  275 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  275 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  275 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:275:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  275 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdPatNam", r.UpdPatNam, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  277 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  277 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  277 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:277:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  277 |     TBL_FIELD_LOAD_BYTE(fields[i], "UpdAccNum", r.UpdAccNum, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  279 |     TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  279 |     TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  279 |     TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:279:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  279 |     TBL_FIELD_LOAD_BYTE(fields[i], "Operator", r.Operator, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  281 |     TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  281 |     TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  281 |     TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:281:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  281 |     TBL_FIELD_LOAD_BYTE(fields[i], "Comments", r.Comments, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: warning: incompatible implicit declaration of built-in function 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  283 |     TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:173:28: note: include '<string.h>' or provide a declaration of 'strlen'
  173 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  283 |     TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: warning: incompatible implicit declaration of built-in function 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  283 |     TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
tbl.h:177:28: note: include '<string.h>' or provide a declaration of 'strlen'
  177 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:283:5: note: in expansion of macro 'TBL_FIELD_LOAD_BYTE'
  283 |     TBL_FIELD_LOAD_BYTE(fields[i], "Status", r.Status, TBL_STRING);
      |     ^~~~~~~~~~~~~~~~~~~
irs.c:295:9: warning: incompatible implicit declaration of built-in function 'strlen'
  295 |     if (strlen(r.StuDat) != 0)
      |         ^~~~~~
irs.c:295:9: note: include '<string.h>' or provide a declaration of 'strlen'
irs.c: In function 'IRS_GetWorkQueue':
irs.c:385:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
  385 |     memset(&r, 0, sizeof(r));
      |     ^~~~~~
irs.c:385:5: warning: incompatible implicit declaration of built-in function 'memset'
irs.c:385:5: note: include '<string.h>' or provide a declaration of 'memset'
irs.c:389:15: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  389 |         NULL, workRecordCallback, &s);
      |               ^~~~~~~~~~~~~~~~~~
      |               |
      |               CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from irs.c:61:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
irs.c: In function 'IRS_GetWorkRecord':
tbl.h:163:28: warning: incompatible implicit declaration of built-in function 'strlen'
  163 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:465:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE'
  465 |     TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID,
      |     ^~~~~~~~~~~~~~~~~~~~~~
tbl.h:163:28: note: include '<string.h>' or provide a declaration of 'strlen'
  163 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:465:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE'
  465 |     TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID,
      |     ^~~~~~~~~~~~~~~~~~~~~~
irs.c:469:5: warning: incompatible implicit declaration of built-in function 'memset'
  469 |     memset(&r, 0, sizeof(r));
      |     ^~~~~~
irs.c:469:5: note: include '<string.h>' or provide a declaration of 'memset'
irs.c:473:17: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  473 |         &count, workRecordCallback, &s);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 |
      |                 CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from irs.c:61:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
irs.c: In function 'IRS_SetWorkRecordComplete':
tbl.h:163:28: warning: incompatible implicit declaration of built-in function 'strlen'
  163 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:505:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE'
  505 |     TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID,
      |     ^~~~~~~~~~~~~~~~~~~~~~
tbl.h:163:28: note: include '<string.h>' or provide a declaration of 'strlen'
  163 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:505:5: note: in expansion of macro 'TBL_CRITERIA_LOAD_BYTE'
  505 |     TBL_CRITERIA_LOAD_BYTE(criteria[0], "StuUID", (char *) studyUID,
      |     ^~~~~~~~~~~~~~~~~~~~~~
irs.c:521:5: warning: incompatible implicit declaration of built-in function 'strcpy'
  521 |     strcpy(status, "COMPLETE");
      |     ^~~~~~
irs.c:521:5: note: include '<string.h>' 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'
  188 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE'
  522 |     TBL_UPDATE_LOAD_BYTE(update[i], "Status", status,
      |     ^~~~~~~~~~~~~~~~~~~~
tbl.h:188:28: note: include '<string.h>' or provide a declaration of 'strlen'
  188 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE'
  522 |     TBL_UPDATE_LOAD_BYTE(update[i], "Status", status,
      |     ^~~~~~~~~~~~~~~~~~~~
tbl.h:192:28: warning: incompatible implicit declaration of built-in function 'strlen'
  192 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE'
  522 |     TBL_UPDATE_LOAD_BYTE(update[i], "Status", status,
      |     ^~~~~~~~~~~~~~~~~~~~
tbl.h:192:28: note: include '<string.h>' or provide a declaration of 'strlen'
  192 |             (v).Value.Size=strlen((s));  \
      |                            ^~~~~~
irs.c:522:5: note: in expansion of macro 'TBL_UPDATE_LOAD_BYTE'
  522 |     TBL_UPDATE_LOAD_BYTE(update[i], "Status", status,
      |     ^~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  163 |      if (sscanf(txt, "%d", d) != 1)
      |                       ~^   ~
      |                        |   |
      |                        |   void *
      |                        int *
motifutil.c:167:24: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'void *' [-Wformat=]
  167 |      if (sscanf(txt, "%f", d) != 1)
      |                       ~^   ~
      |                        |   |
      |                        |   void *
      |                        float *
motifutil.c:171:25: warning: format '%hd' expects argument of type 'short int *', but argument 3 has type 'void *' [-Wformat=]
  171 |      if (sscanf(txt, "%hd", d) != 1)
      |                       ~~^   ~
      |                         |   |
      |                         |   void *
      |                         short int *
motifutil.c: In function 'MUT_DisplayConditionText':
motifutil.c:198:5: warning: implicit declaration of function 'COND_CopyText' [-Wimplicit-function-declaration]
  198 |     COND_CopyText(text, sizeof(text));
      |     ^~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o record.o record.c
record.c: In function 'newPatientRecord':
record.c:176:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=]
  176 |     sprintf(record->PatID, "ID%-08d", patientNumber);
      |                            ^~~~~~~~~
record.c: In function 'newStudyRecord':
record.c:224:29: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=]
  224 |     sprintf(record->AccNum, "ID%-08d", id);
      |                             ^~~~~~~~~
record.c:232:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=]
  232 |     sprintf(record->StuID, "ID%-08d", id);
      |                            ^~~~~~~~~
record.c: In function 'newResultsRecord':
record.c:291:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=]
  291 |     sprintf(record->ResID, "RES%-08d", id);
      |                            ^~~~~~~~~~
record.c: In function 'newInterpretationRecord':
record.c:338:28: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=]
  338 |     sprintf(record->IntID, "INT%-08d", id);
      |                            ^~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  283 |         fields, count, callbackAE, &context);
      |                        ^~~~~~~~~~
      |                        |
      |                        CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'queryGroupNames':
select.c:427:24: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  427 |         fields, count, callbackGroup, &context);
      |                        ^~~~~~~~~~~~~
      |                        |
      |                        CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'queryStorageAccess':
select.c:486:60: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  486 |     cond = TBL_Select(handle, criteriaList, fields, count, callbackSA, &context);
      |                                                            ^~~~~~~~~~
      |                                                            |
      |                                                            CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'queryStorageControl':
select.c:589:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  589 |         callbackStorageControl, &context);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'querySecurityMatrix':
select.c:689:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  689 |         callbackSecurityMatrix, &context);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'queryFISAccess':
select.c:787:60: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  787 |     cond = TBL_Select(handle, criteriaList, fields, count, callbackFA, &context);
      |                                                            ^~~~~~~~~~
      |                                                            |
      |                                                            CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'queryPrintServerCFG':
select.c:893:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  893 |         callbackPrintServerCFG, &context);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select.c: In function 'queryVideoImageDest':
select.c:994:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  994 |         callbackVideoImageDest, &context);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from select.c:66:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  383 |  printf("Unexepected condition after export command: %x\n", cond);
      |                                                      ~^     ~~~~
      |                                                       |     |
      |                                                       |     CONDITION {aka long unsigned int}
      |                                                       unsigned int
      |                                                      %lx
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  440 |    0, SOPClass, xferSyntaxes,
      |                 ^~~~~~~~~~~~
      |                 |
      |                 char **
In file included from srv1.c:96:
dulprotocol.h:389:17: note: expected 'const char **' but argument is of type 'char **'
  389 |    const char** xferSyntaxes, int xferSyntaxCount);
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~
srv1.c:445:17: warning: passing argument 7 of 'DUL_AddMultiplePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types]
  445 |    0, SOPClass, xferSyntaxes,
      |                 ^~~~~~~~~~~~
      |                 |
      |                 char **
In file included from srv1.c:96:
dulprotocol.h:396:17: note: expected 'const char **' but argument is of type 'char **'
  396 |    const char** xferSyntaxes, int xferSyntaxCount);
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~
srv1.c: In function 'SRV_ProposeSOPClassWithXfer':
srv1.c:678:17: warning: passing argument 7 of 'DUL_AddSinglePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types]
  678 |    0, SOPClass, xferSyntaxesLocal,
      |                 ^~~~~~~~~~~~~~~~~
      |                 |
      |                 char **
In file included from srv1.c:96:
dulprotocol.h:389:17: note: expected 'const char **' but argument is of type 'char **'
  389 |    const char** xferSyntaxes, int xferSyntaxCount);
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~
srv1.c:683:17: warning: passing argument 7 of 'DUL_AddMultiplePresentationCtx' from incompatible pointer type [-Wincompatible-pointer-types]
  683 |    0, SOPClass, xferSyntaxesLocal,
      |                 ^~~~~~~~~~~~~~~~~
      |                 |
      |                 char **
In file included from srv1.c:96:
dulprotocol.h:396:17: note: expected 'const char **' but argument is of type 'char **'
  396 |    const char** xferSyntaxes, int xferSyntaxCount);
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~
srv1.c: In function 'SRV_AcceptServiceClassWithOneXferSyntax':
srv1.c:951:19: warning: passing argument 3 of 'matchProposedXferSyntax' from incompatible pointer type [-Wincompatible-pointer-types]
  951 |    "ACCEPT/XFER", &singleXferSyntax, 1);
      |                   ^~~~~~~~~~~~~~~~~
      |                   |
      |                   const char **
srv1.c:315:11: note: expected 'char **' but argument is of type 'const char **'
  315 |    char** xferSyntaxes, int xferSyntaxCount)
      |    ~~~~~~~^~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  777 |   sprintf(msg, "DUL Error: %08x\n", cond);
      |                            ~~~^     ~~~~
      |                               |     |
      |                               |     CONDITION {aka long unsigned int}
      |                               unsigned int
      |                            %08lx
srv2.c: In function 'SRV_ReceiveDataSet':
srv2.c:489:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  489 |    write(fd1, stream, bytesRead);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  625 |  fprintf(f, "%s %20d\n", map[index].keyWord, *map[index].value);
      |                 ~~~^                         ~~~~~~~~~~~~~~~~~
      |                    |                         |
      |                    int                       long unsigned int
      |                 %20ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o utility.o utility.c
utility.c: In function 'UTL_ConvertTimetoFloat':
utility.c:355:9: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
  355 |     if (isdigit(*p)) {
      |         ^~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tbl_mysql.o tbl_mysql.c
tbl_mysql.c: In function 'TBL_Select':
tbl_mysql.c:525:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  525 |     cp = criteriaList;
      |        ^
tbl_mysql.c: In function 'TBL_Update':
tbl_mysql.c:757:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  757 |  if ((cp = criteriaList) != (TBL_CRITERIA *) NULL) {
      |          ^
tbl_mysql.c: In function 'TBL_Delete':
tbl_mysql.c:1091:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1091 |     cp = criteriaList;
      |        ^
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  483 |  exit(1);
      |  ^~~~
idb.c:483:2: warning: incompatible implicit declaration of built-in function 'exit'
idb.c:70:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   69 | #include "utility.h"
  +++ |+#include <stdlib.h>
   70 | #ifdef CTN_USE_THREADS
idb.c:502:6: warning: incompatible implicit declaration of built-in function 'exit'
  502 |      exit(1);
      |      ^~~~
idb.c:502:6: note: include '<stdlib.h>' or provide a declaration of 'exit'
idb.c: In function 'localDecrement':
idb.c:534:2: warning: incompatible implicit declaration of built-in function 'exit'
  534 |  exit(1);
      |  ^~~~
idb.c:534:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
idb.c:553:6: warning: incompatible implicit declaration of built-in function 'exit'
  553 |      exit(1);
      |      ^~~~
idb.c:553:6: note: include '<stdlib.h>' or provide a declaration of 'exit'
idb.c: In function 'IDB_Open':
idb.c:667:5: warning: implicit declaration of function 'THR_ObtainMutex' [-Wimplicit-function-declaration]
  667 |     THR_ObtainMutex(FAC_IDB);
      |     ^~~~~~~~~~~~~~~
idb.c:679:6: warning: implicit declaration of function 'THR_ReleaseMutex' [-Wimplicit-function-declaration]
  679 |      THR_ReleaseMutex(FAC_IDB);
      |      ^~~~~~~~~~~~~~~~
idb.c:693:9: warning: implicit declaration of function 'COND_PushCondition' [-Wimplicit-function-declaration]
  693 |  return COND_PushCondition(IDB_ERROR(IDB_BADDBTABPAIR), databaseName, "PatientLevel", "IDB_Open");
      |         ^~~~~~~~~~~~~~~~~~
idb.c:753:33: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  753 |     if ((idbc = (IDB_CONTEXT *) malloc(sizeof(IDB_CONTEXT))) == (IDB_CONTEXT *) NULL) {
      |                                 ^~~~~~
idb.c:753:33: warning: incompatible implicit declaration of built-in function 'malloc'
idb.c:753:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:768:25: warning: incompatible implicit declaration of built-in function 'malloc'
  768 |     if ((tdb = (char *) malloc(strlen(databaseName) + 1)) == (char *) NULL) {
      |                         ^~~~~~
idb.c:768:25: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:779:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
  779 |  free(idbc);
      |  ^~~~
idb.c:779:2: warning: incompatible implicit declaration of built-in function 'free'
idb.c:779:2: note: include '<stdlib.h>' 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'
  847 |      free(idbc->databaseName);
      |      ^~~~
idb.c:847:6: note: include '<stdlib.h>' 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'
 1011 |     temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + (strlen(uid) +1));
      |                              ^~~~~~
idb.c:1011:30: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:1365:58: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1365 |  ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBDel_CollectStudies, NULL);
      |                                                          ^~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:1387:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1387 |      ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBDel_CollectSeries, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:1410:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1410 |      ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBDel_CollectImages, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:1433:6: warning: incompatible implicit declaration of built-in function 'free'
 1433 |      free(temp_node);
      |      ^~~~
idb.c:1433:6: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1447:6: warning: incompatible implicit declaration of built-in function 'free'
 1447 |      free(temp_node);
      |      ^~~~
idb.c:1447:6: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1461:6: warning: incompatible implicit declaration of built-in function 'free'
 1461 |      free(temp_node);
      |      ^~~~
idb.c:1461:6: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1493:6: warning: incompatible implicit declaration of built-in function 'free'
 1493 |      free(temp_node);
      |      ^~~~
idb.c:1493:6: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c: In function 'deleteInstanceFileCallback':
idb.c:1521:10: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
 1521 |      if (unlink(fp->Value.Value.String) != 0)
      |          ^~~~~~
idb.c: In function 'deleteImageFiles':
idb.c:1540:9: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1540 |         deleteInstanceFileCallback, bytesFreed);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c: In function 'IDB_DestroyGlobalLists':
idb.c:1560:2: warning: incompatible implicit declaration of built-in function 'free'
 1560 |  free(foo);
      |  ^~~~
idb.c:1560:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1566:2: warning: incompatible implicit declaration of built-in function 'free'
 1566 |  free(foo);
      |  ^~~~
idb.c:1566:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1572:2: warning: incompatible implicit declaration of built-in function 'free'
 1572 |  free(foo);
      |  ^~~~
idb.c:1572:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1578:2: warning: incompatible implicit declaration of built-in function 'free'
 1578 |  free(foo);
      |  ^~~~
idb.c:1578:2: note: include '<stdlib.h>' 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'
 1596 |     temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1);
      |                              ^~~~~~
idb.c:1596:30: note: include '<stdlib.h>' 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'
 1613 |     temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1);
      |                              ^~~~~~
idb.c:1613:30: note: include '<stdlib.h>' 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'
 1630 |     temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1);
      |                              ^~~~~~
idb.c:1630:30: note: include '<stdlib.h>' 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]
 1851 |         CBSel_CollectPatientsStudies, NULL);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1853:6: note: in expansion of macro 'FREE_STRINGS'
 1853 |      FREE_STRINGS(i, GS_patstucl, numpatstucrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1853:6: note: in expansion of macro 'FREE_STRINGS'
 1853 |      FREE_STRINGS(i, GS_patstucl, numpatstucrits);
      |      ^~~~~~~~~~~~
idb.c:1855:3: warning: incompatible implicit declaration of built-in function 'free'
 1855 |   free(GS_PatNodes);
      |   ^~~~
idb.c:1855:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1857:3: warning: incompatible implicit declaration of built-in function 'free'
 1857 |   free(GS_NullPatFlag);
      |   ^~~~
idb.c:1857:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1860:3: warning: incompatible implicit declaration of built-in function 'free'
 1860 |   free(GS_StuNodes);
      |   ^~~~
idb.c:1860:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1862:3: warning: incompatible implicit declaration of built-in function 'free'
 1862 |   free(GS_NullStuFlag);
      |   ^~~~
idb.c:1862:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1896:7: warning: incompatible implicit declaration of built-in function 'free'
 1896 |       free(temp);
      |       ^~~~
idb.c:1896:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1897:24: warning: incompatible implicit declaration of built-in function 'malloc'
 1897 |   if ((temp = (char *) malloc(strlen(GS_StuNodes[i].StuInsUID) + 1)) == (char *) NULL) {
      |                        ^~~~~~
idb.c:1897:24: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:1905:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1905 |   ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:1909:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1909 |      ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1912:6: note: in expansion of macro 'FREE_STRINGS'
 1912 |      FREE_STRINGS(i, GS_sercl, numsercrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1912:6: note: in expansion of macro 'FREE_STRINGS'
 1912 |      FREE_STRINGS(i, GS_sercl, numsercrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1914:3: note: in expansion of macro 'FREE_STRINGS'
 1914 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1914:3: note: in expansion of macro 'FREE_STRINGS'
 1914 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.c:1915:3: warning: incompatible implicit declaration of built-in function 'free'
 1915 |   free(GS_PatNodes);
      |   ^~~~
idb.c:1915:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1919:3: note: in expansion of macro 'FREE_STRINGS'
 1919 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1919:3: note: in expansion of macro 'FREE_STRINGS'
 1919 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.c:1920:3: warning: incompatible implicit declaration of built-in function 'free'
 1920 |   free(GS_StuNodes);
      |   ^~~~
idb.c:1920:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1924:3: warning: incompatible implicit declaration of built-in function 'free'
 1924 |   free(GS_SerNodes);
      |   ^~~~
idb.c:1924:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1955:7: warning: incompatible implicit declaration of built-in function 'free'
 1955 |       free(temp);
      |       ^~~~
idb.c:1955:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1956:24: warning: incompatible implicit declaration of built-in function 'malloc'
 1956 |   if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) {
      |                        ^~~~~~
idb.c:1956:24: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:1964:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1964 |   ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:1968:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 1968 |      ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1971:6: note: in expansion of macro 'FREE_STRINGS'
 1971 |      FREE_STRINGS(i, GS_imacl, numimacrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1971:6: note: in expansion of macro 'FREE_STRINGS'
 1971 |      FREE_STRINGS(i, GS_imacl, numimacrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1973:3: note: in expansion of macro 'FREE_STRINGS'
 1973 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1973:3: note: in expansion of macro 'FREE_STRINGS'
 1973 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.c:1974:3: warning: incompatible implicit declaration of built-in function 'free'
 1974 |   free(GS_PatNodes);
      |   ^~~~
idb.c:1974:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1978:3: note: in expansion of macro 'FREE_STRINGS'
 1978 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1978:3: note: in expansion of macro 'FREE_STRINGS'
 1978 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.c:1979:3: warning: incompatible implicit declaration of built-in function 'free'
 1979 |   free(GS_StuNodes);
      |   ^~~~
idb.c:1979:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1983:3: note: in expansion of macro 'FREE_STRINGS'
 1983 |   FREE_STRINGS(i, GS_sercl, numsercrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:1983:3: note: in expansion of macro 'FREE_STRINGS'
 1983 |   FREE_STRINGS(i, GS_sercl, numsercrits);
      |   ^~~~~~~~~~~~
idb.c:1984:3: warning: incompatible implicit declaration of built-in function 'free'
 1984 |   free(GS_SerNodes);
      |   ^~~~
idb.c:1984:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:1988:3: warning: incompatible implicit declaration of built-in function 'free'
 1988 |   free(GS_ImaNodes);
      |   ^~~~
idb.c:1988:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2014:61: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2014 |      ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances,
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
      |                                                             |
      |                                                             CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2023:2: note: in expansion of macro 'FREE_STRINGS'
 2023 |  FREE_STRINGS(i, GS_patcl, numpatcrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2023:2: note: in expansion of macro 'FREE_STRINGS'
 2023 |  FREE_STRINGS(i, GS_patcl, numpatcrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2026:2: note: in expansion of macro 'FREE_STRINGS'
 2026 |  FREE_STRINGS(i, GS_stucl, numstucrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2026:2: note: in expansion of macro 'FREE_STRINGS'
 2026 |  FREE_STRINGS(i, GS_stucl, numstucrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2029:2: note: in expansion of macro 'FREE_STRINGS'
 2029 |  FREE_STRINGS(i, GS_sercl, numsercrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2029:2: note: in expansion of macro 'FREE_STRINGS'
 2029 |  FREE_STRINGS(i, GS_sercl, numsercrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2032:2: note: in expansion of macro 'FREE_STRINGS'
 2032 |  FREE_STRINGS(i, GS_imacl, numimacrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2032:2: note: in expansion of macro 'FREE_STRINGS'
 2032 |  FREE_STRINGS(i, GS_imacl, numimacrits);
      |  ^~~~~~~~~~~~
idb.c:2154:2: warning: incompatible implicit declaration of built-in function 'free'
 2154 |  free(GS_PatNodes);
      |  ^~~~
idb.c:2154:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2158:2: warning: incompatible implicit declaration of built-in function 'free'
 2158 |  free(GS_StuNodes);
      |  ^~~~
idb.c:2158:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2162:2: warning: incompatible implicit declaration of built-in function 'free'
 2162 |  free(GS_SerNodes);
      |  ^~~~
idb.c:2162:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2172:7: warning: incompatible implicit declaration of built-in function 'free'
 2172 |       free(insnode);
      |       ^~~~
idb.c:2172:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2177:2: warning: incompatible implicit declaration of built-in function 'free'
 2177 |  free(GS_ImaNodes);
      |  ^~~~
idb.c:2177:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2188:2: warning: incompatible implicit declaration of built-in function 'free'
 2188 |  free(GS_PatNodes);
      |  ^~~~
idb.c:2188:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2192:2: warning: incompatible implicit declaration of built-in function 'free'
 2192 |  free(GS_StuNodes);
      |  ^~~~
idb.c:2192:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2196:2: warning: incompatible implicit declaration of built-in function 'free'
 2196 |  free(GS_SerNodes);
      |  ^~~~
idb.c:2196:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2206:7: warning: incompatible implicit declaration of built-in function 'free'
 2206 |       free(insnode);
      |       ^~~~
idb.c:2206:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2211:2: warning: incompatible implicit declaration of built-in function 'free'
 2211 |  free(GS_ImaNodes);
      |  ^~~~
idb.c:2211:2: note: include '<stdlib.h>' 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]
 2322 |  ret_val = TBL_Select(&pathandle, criteria, field, NULL, CBSel_CollectPatients, NULL);
      |                                                          ^~~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2324:6: note: in expansion of macro 'FREE_STRINGS'
 2324 |      FREE_STRINGS(i, GS_patcl, numpatcrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2324:6: note: in expansion of macro 'FREE_STRINGS'
 2324 |      FREE_STRINGS(i, GS_patcl, numpatcrits);
      |      ^~~~~~~~~~~~
idb.c:2326:3: warning: incompatible implicit declaration of built-in function 'free'
 2326 |   free(GS_PatNodes);
      |   ^~~~
idb.c:2326:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2328:3: warning: incompatible implicit declaration of built-in function 'free'
 2328 |   free(GS_NullPatFlag);
      |   ^~~~
idb.c:2328:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2359:7: warning: incompatible implicit declaration of built-in function 'free'
 2359 |       free(temp);
      |       ^~~~
idb.c:2359:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2360:24: warning: incompatible implicit declaration of built-in function 'malloc'
 2360 |   if ((temp = (char *) malloc(strlen(GS_PatNodes[i].PatID) + 1)) == (char *) NULL) {
      |                        ^~~~~~
idb.c:2360:24: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:2368:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2368 |   ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBSel_CollectStudies, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:2372:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2372 |      ret_val = TBL_Select(&stuhandle, criteria, field, NULL, CBSel_CollectStudies, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2376:6: note: in expansion of macro 'FREE_STRINGS'
 2376 |      FREE_STRINGS(i, GS_stucl, numstucrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2376:6: note: in expansion of macro 'FREE_STRINGS'
 2376 |      FREE_STRINGS(i, GS_stucl, numstucrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2378:3: note: in expansion of macro 'FREE_STRINGS'
 2378 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2378:3: note: in expansion of macro 'FREE_STRINGS'
 2378 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.c:2379:3: warning: incompatible implicit declaration of built-in function 'free'
 2379 |   free(GS_PatNodes);
      |   ^~~~
idb.c:2379:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2383:3: warning: incompatible implicit declaration of built-in function 'free'
 2383 |   free(GS_StuNodes);
      |   ^~~~
idb.c:2383:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2417:7: warning: incompatible implicit declaration of built-in function 'free'
 2417 |       free(temp);
      |       ^~~~
idb.c:2417:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2418:24: warning: incompatible implicit declaration of built-in function 'malloc'
 2418 |   if ((temp = (char *) malloc(strlen(GS_StuNodes[i].StuInsUID) + 1)) == (char *) NULL) {
      |                        ^~~~~~
idb.c:2418:24: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:2426:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2426 |   ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:2430:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2430 |      ret_val = TBL_Select(&serhandle, criteria, field, NULL, CBSel_CollectSeries, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2434:6: note: in expansion of macro 'FREE_STRINGS'
 2434 |      FREE_STRINGS(i, GS_sercl, numsercrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2434:6: note: in expansion of macro 'FREE_STRINGS'
 2434 |      FREE_STRINGS(i, GS_sercl, numsercrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2436:3: note: in expansion of macro 'FREE_STRINGS'
 2436 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2436:3: note: in expansion of macro 'FREE_STRINGS'
 2436 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.c:2437:3: warning: incompatible implicit declaration of built-in function 'free'
 2437 |   free(GS_PatNodes);
      |   ^~~~
idb.c:2437:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2441:3: note: in expansion of macro 'FREE_STRINGS'
 2441 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2441:3: note: in expansion of macro 'FREE_STRINGS'
 2441 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.c:2442:3: warning: incompatible implicit declaration of built-in function 'free'
 2442 |   free(GS_StuNodes);
      |   ^~~~
idb.c:2442:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2446:3: warning: incompatible implicit declaration of built-in function 'free'
 2446 |   free(GS_SerNodes);
      |   ^~~~
idb.c:2446:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2477:7: warning: incompatible implicit declaration of built-in function 'free'
 2477 |       free(temp);
      |       ^~~~
idb.c:2477:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2478:24: warning: incompatible implicit declaration of built-in function 'malloc'
 2478 |   if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) {
      |                        ^~~~~~
idb.c:2478:24: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:2486:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2486 |   ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:2490:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2490 |      ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2494:6: note: in expansion of macro 'FREE_STRINGS'
 2494 |      FREE_STRINGS(i, GS_imacl, numimacrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2494:6: note: in expansion of macro 'FREE_STRINGS'
 2494 |      FREE_STRINGS(i, GS_imacl, numimacrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2496:3: note: in expansion of macro 'FREE_STRINGS'
 2496 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2496:3: note: in expansion of macro 'FREE_STRINGS'
 2496 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.c:2497:3: warning: incompatible implicit declaration of built-in function 'free'
 2497 |   free(GS_PatNodes);
      |   ^~~~
idb.c:2497:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2501:3: note: in expansion of macro 'FREE_STRINGS'
 2501 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2501:3: note: in expansion of macro 'FREE_STRINGS'
 2501 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.c:2502:3: warning: incompatible implicit declaration of built-in function 'free'
 2502 |   free(GS_StuNodes);
      |   ^~~~
idb.c:2502:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2506:3: note: in expansion of macro 'FREE_STRINGS'
 2506 |   FREE_STRINGS(i, GS_sercl, numsercrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2506:3: note: in expansion of macro 'FREE_STRINGS'
 2506 |   FREE_STRINGS(i, GS_sercl, numsercrits);
      |   ^~~~~~~~~~~~
idb.c:2507:3: warning: incompatible implicit declaration of built-in function 'free'
 2507 |   free(GS_SerNodes);
      |   ^~~~
idb.c:2507:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2511:3: warning: incompatible implicit declaration of built-in function 'free'
 2511 |   free(GS_ImaNodes);
      |   ^~~~
idb.c:2511:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2537:61: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2537 |      ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances,
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
      |                                                             |
      |                                                             CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2546:2: note: in expansion of macro 'FREE_STRINGS'
 2546 |  FREE_STRINGS(i, GS_patcl, numpatcrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2546:2: note: in expansion of macro 'FREE_STRINGS'
 2546 |  FREE_STRINGS(i, GS_patcl, numpatcrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2549:2: note: in expansion of macro 'FREE_STRINGS'
 2549 |  FREE_STRINGS(i, GS_stucl, numstucrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2549:2: note: in expansion of macro 'FREE_STRINGS'
 2549 |  FREE_STRINGS(i, GS_stucl, numstucrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2552:2: note: in expansion of macro 'FREE_STRINGS'
 2552 |  FREE_STRINGS(i, GS_sercl, numsercrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2552:2: note: in expansion of macro 'FREE_STRINGS'
 2552 |  FREE_STRINGS(i, GS_sercl, numsercrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2555:2: note: in expansion of macro 'FREE_STRINGS'
 2555 |  FREE_STRINGS(i, GS_imacl, numimacrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2555:2: note: in expansion of macro 'FREE_STRINGS'
 2555 |  FREE_STRINGS(i, GS_imacl, numimacrits);
      |  ^~~~~~~~~~~~
idb.c:2687:2: warning: incompatible implicit declaration of built-in function 'free'
 2687 |  free(GS_PatNodes);
      |  ^~~~
idb.c:2687:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2691:2: warning: incompatible implicit declaration of built-in function 'free'
 2691 |  free(GS_StuNodes);
      |  ^~~~
idb.c:2691:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2695:2: warning: incompatible implicit declaration of built-in function 'free'
 2695 |  free(GS_SerNodes);
      |  ^~~~
idb.c:2695:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2705:7: warning: incompatible implicit declaration of built-in function 'free'
 2705 |       free(insnode);
      |       ^~~~
idb.c:2705:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2710:2: warning: incompatible implicit declaration of built-in function 'free'
 2710 |  free(GS_ImaNodes);
      |  ^~~~
idb.c:2710:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2721:2: warning: incompatible implicit declaration of built-in function 'free'
 2721 |  free(GS_PatNodes);
      |  ^~~~
idb.c:2721:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2725:2: warning: incompatible implicit declaration of built-in function 'free'
 2725 |  free(GS_StuNodes);
      |  ^~~~
idb.c:2725:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2729:2: warning: incompatible implicit declaration of built-in function 'free'
 2729 |  free(GS_SerNodes);
      |  ^~~~
idb.c:2729:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2739:7: warning: incompatible implicit declaration of built-in function 'free'
 2739 |       free(insnode);
      |       ^~~~
idb.c:2739:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2744:2: warning: incompatible implicit declaration of built-in function 'free'
 2744 |  free(GS_ImaNodes);
      |  ^~~~
idb.c:2744:2: note: include '<stdlib.h>' 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'
 2855 |       free(temp);
      |       ^~~~
idb.c:2855:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2856:24: warning: incompatible implicit declaration of built-in function 'malloc'
 2856 |   if ((temp = (char *) malloc(strlen(GS_SerNodes[i].SerInsUID) + 1)) == (char *) NULL) {
      |                        ^~~~~~
idb.c:2856:24: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:2864:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2864 |   ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:2868:62: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2868 |      ret_val = TBL_Select(&imahandle, criteria, field, NULL, CBSel_CollectImages, NULL);
      |                                                              ^~~~~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2872:6: note: in expansion of macro 'FREE_STRINGS'
 2872 |      FREE_STRINGS(i, GS_imacl, numimacrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2872:6: note: in expansion of macro 'FREE_STRINGS'
 2872 |      FREE_STRINGS(i, GS_imacl, numimacrits);
      |      ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2874:3: note: in expansion of macro 'FREE_STRINGS'
 2874 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2874:3: note: in expansion of macro 'FREE_STRINGS'
 2874 |   FREE_STRINGS(i, GS_patcl, numpatcrits);
      |   ^~~~~~~~~~~~
idb.c:2875:3: warning: incompatible implicit declaration of built-in function 'free'
 2875 |   free(GS_PatNodes);
      |   ^~~~
idb.c:2875:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2879:3: note: in expansion of macro 'FREE_STRINGS'
 2879 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2879:3: note: in expansion of macro 'FREE_STRINGS'
 2879 |   FREE_STRINGS(i, GS_stucl, numstucrits);
      |   ^~~~~~~~~~~~
idb.c:2880:3: warning: incompatible implicit declaration of built-in function 'free'
 2880 |   free(GS_StuNodes);
      |   ^~~~
idb.c:2880:3: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2884:3: note: in expansion of macro 'FREE_STRINGS'
 2884 |   FREE_STRINGS(i, GS_sercl, numsercrits);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2884:3: note: in expansion of macro 'FREE_STRINGS'
 2884 |   FREE_STRINGS(i, GS_sercl, numsercrits);
      |   ^~~~~~~~~~~~
idb.c:2885:3: warning: incompatible implicit declaration of built-in function 'free'
 2885 |   free(GS_SerNodes);
      |   ^~~~
idb.c:2885:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2889:3: warning: incompatible implicit declaration of built-in function 'free'
 2889 |   free(GS_ImaNodes);
      |   ^~~~
idb.c:2889:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2915:61: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 2915 |      ret_val = TBL_Select(&inshandle, inscrit, field, NULL, CBSel_CollectInstances,
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
      |                                                             |
      |                                                             CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from idb.c:68:
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2924:2: note: in expansion of macro 'FREE_STRINGS'
 2924 |  FREE_STRINGS(i, GS_patcl, numpatcrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2924:2: note: in expansion of macro 'FREE_STRINGS'
 2924 |  FREE_STRINGS(i, GS_patcl, numpatcrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2927:2: note: in expansion of macro 'FREE_STRINGS'
 2927 |  FREE_STRINGS(i, GS_stucl, numstucrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2927:2: note: in expansion of macro 'FREE_STRINGS'
 2927 |  FREE_STRINGS(i, GS_stucl, numstucrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2930:2: note: in expansion of macro 'FREE_STRINGS'
 2930 |  FREE_STRINGS(i, GS_sercl, numsercrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2930:2: note: in expansion of macro 'FREE_STRINGS'
 2930 |  FREE_STRINGS(i, GS_sercl, numsercrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2933:2: note: in expansion of macro 'FREE_STRINGS'
 2933 |  FREE_STRINGS(i, GS_imacl, numimacrits);
      |  ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:2933:2: note: in expansion of macro 'FREE_STRINGS'
 2933 |  FREE_STRINGS(i, GS_imacl, numimacrits);
      |  ^~~~~~~~~~~~
idb.c:2966:2: warning: incompatible implicit declaration of built-in function 'free'
 2966 |  free(GS_PatNodes);
      |  ^~~~
idb.c:2966:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2970:2: warning: incompatible implicit declaration of built-in function 'free'
 2970 |  free(GS_StuNodes);
      |  ^~~~
idb.c:2970:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2974:2: warning: incompatible implicit declaration of built-in function 'free'
 2974 |  free(GS_SerNodes);
      |  ^~~~
idb.c:2974:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2984:7: warning: incompatible implicit declaration of built-in function 'free'
 2984 |       free(insnode);
      |       ^~~~
idb.c:2984:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:2989:2: warning: incompatible implicit declaration of built-in function 'free'
 2989 |  free(GS_ImaNodes);
      |  ^~~~
idb.c:2989:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:3000:2: warning: incompatible implicit declaration of built-in function 'free'
 3000 |  free(GS_PatNodes);
      |  ^~~~
idb.c:3000:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:3004:2: warning: incompatible implicit declaration of built-in function 'free'
 3004 |  free(GS_StuNodes);
      |  ^~~~
idb.c:3004:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:3008:2: warning: incompatible implicit declaration of built-in function 'free'
 3008 |  free(GS_SerNodes);
      |  ^~~~
idb.c:3008:2: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:3018:7: warning: incompatible implicit declaration of built-in function 'free'
 3018 |       free(insnode);
      |       ^~~~
idb.c:3018:7: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:3023:2: warning: incompatible implicit declaration of built-in function 'free'
 3023 |  free(GS_ImaNodes);
      |  ^~~~
idb.c:3023:2: note: include '<stdlib.h>' 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'
 3097 |  if ((GS_PatNodes = (IDB_PatientQuery *) malloc(sizeof(IDB_PatientQuery) * GS_NumPatNodes)) ==
      |                                          ^~~~~~
idb.c:3097:42: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3101:52: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
 3101 |     } else if ((GS_PatNodes = (IDB_PatientQuery *) realloc(GS_PatNodes, sizeof(IDB_PatientQuery) * GS_NumPatNodes)) ==
      |                                                    ^~~~~~~
idb.c:3101:52: warning: incompatible implicit declaration of built-in function 'realloc'
idb.c:3101:52: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3106:33: warning: incompatible implicit declaration of built-in function 'malloc'
 3106 |  if ((GS_NullPatFlag = (long *) malloc(sizeof(long) * GS_NumPatNodes)) ==
      |                                 ^~~~~~
idb.c:3106:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3110:43: warning: incompatible implicit declaration of built-in function 'realloc'
 3110 |     } else if ((GS_NullPatFlag = (long *) realloc(GS_NullPatFlag, sizeof(long) * GS_NumPatNodes)) ==
      |                                           ^~~~~~~
idb.c:3110:43: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3116:40: warning: incompatible implicit declaration of built-in function 'malloc'
 3116 |  if ((GS_StuNodes = (IDB_StudyQuery *) malloc(sizeof(IDB_StudyQuery) * GS_NumStuNodes)) ==
      |                                        ^~~~~~
idb.c:3116:40: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3120:50: warning: incompatible implicit declaration of built-in function 'realloc'
 3120 |     } else if ((GS_StuNodes = (IDB_StudyQuery *) realloc(GS_StuNodes, sizeof(IDB_StudyQuery) * GS_NumStuNodes)) ==
      |                                                  ^~~~~~~
idb.c:3120:50: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3125:33: warning: incompatible implicit declaration of built-in function 'malloc'
 3125 |  if ((GS_NullStuFlag = (long *) malloc(sizeof(long) * GS_NumStuNodes)) == (long *) NULL) {
      |                                 ^~~~~~
idb.c:3125:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3128:43: warning: incompatible implicit declaration of built-in function 'realloc'
 3128 |     } else if ((GS_NullStuFlag = (long *) realloc(GS_NullStuFlag, sizeof(long) * GS_NumStuNodes)) ==
      |                                           ^~~~~~~
idb.c:3128:43: note: include '<stdlib.h>' 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'
 3305 |  if ((GS_PatNodes = (IDB_PatientQuery *) malloc(sizeof(IDB_PatientQuery) * GS_NumPatNodes)) ==
      |                                          ^~~~~~
idb.c:3305:42: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3309:52: warning: incompatible implicit declaration of built-in function 'realloc'
 3309 |     } else if ((GS_PatNodes = (IDB_PatientQuery *) realloc(GS_PatNodes, sizeof(IDB_PatientQuery) * GS_NumPatNodes)) ==
      |                                                    ^~~~~~~
idb.c:3309:52: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3314:33: warning: incompatible implicit declaration of built-in function 'malloc'
 3314 |  if ((GS_NullPatFlag = (long *) malloc(sizeof(long) * GS_NumPatNodes)) ==
      |                                 ^~~~~~
idb.c:3314:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3318:43: warning: incompatible implicit declaration of built-in function 'realloc'
 3318 |     } else if ((GS_NullPatFlag = (long *) realloc(GS_NullPatFlag, sizeof(long) * GS_NumPatNodes)) ==
      |                                           ^~~~~~~
idb.c:3318:43: note: include '<stdlib.h>' 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'
 3404 |  if ((GS_StuNodes = (IDB_StudyQuery *) malloc(sizeof(IDB_StudyQuery) * GS_NumStuNodes)) ==
      |                                        ^~~~~~
idb.c:3404:40: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3408:50: warning: incompatible implicit declaration of built-in function 'realloc'
 3408 |     } else if ((GS_StuNodes = (IDB_StudyQuery *) realloc(GS_StuNodes, sizeof(IDB_StudyQuery) * GS_NumStuNodes)) ==
      |                                                  ^~~~~~~
idb.c:3408:50: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3413:33: warning: incompatible implicit declaration of built-in function 'malloc'
 3413 |  if ((GS_NullStuFlag = (long *) malloc(sizeof(long) * GS_NumStuNodes)) == (long *) NULL) {
      |                                 ^~~~~~
idb.c:3413:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3416:43: warning: incompatible implicit declaration of built-in function 'realloc'
 3416 |     } else if ((GS_NullStuFlag = (long *) realloc(GS_NullStuFlag, sizeof(long) * GS_NumStuNodes)) ==
      |                                           ^~~~~~~
idb.c:3416:43: note: include '<stdlib.h>' 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'
 3524 |  if ((GS_SerNodes = (IDB_SeriesQuery *) malloc(sizeof(IDB_SeriesQuery) * GS_NumSerNodes)) ==
      |                                         ^~~~~~
idb.c:3524:41: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3528:51: warning: incompatible implicit declaration of built-in function 'realloc'
 3528 |     } else if ((GS_SerNodes = (IDB_SeriesQuery *) realloc(GS_SerNodes, sizeof(IDB_SeriesQuery) * GS_NumSerNodes)) ==
      |                                                   ^~~~~~~
idb.c:3528:51: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3533:33: warning: incompatible implicit declaration of built-in function 'malloc'
 3533 |  if ((GS_NullSerFlag = (long *) malloc(sizeof(long) * GS_NumSerNodes)) ==
      |                                 ^~~~~~
idb.c:3533:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3537:43: warning: incompatible implicit declaration of built-in function 'realloc'
 3537 |     } else if ((GS_NullSerFlag = (long *) realloc(GS_NullSerFlag, sizeof(long) * GS_NumSerNodes)) ==
      |                                           ^~~~~~~
idb.c:3537:43: note: include '<stdlib.h>' 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'
 3626 |  if ((GS_ImaNodes = (IDB_ImageQuery *) malloc(sizeof(IDB_ImageQuery) * GS_NumImaNodes)) ==
      |                                        ^~~~~~
idb.c:3626:40: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3630:50: warning: incompatible implicit declaration of built-in function 'realloc'
 3630 |     } else if ((GS_ImaNodes = (IDB_ImageQuery *) realloc(GS_ImaNodes, sizeof(IDB_ImageQuery) * GS_NumImaNodes)) ==
      |                                                  ^~~~~~~
idb.c:3630:50: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c:3635:33: warning: incompatible implicit declaration of built-in function 'malloc'
 3635 |  if ((GS_NullImaFlag = (long *) malloc(sizeof(long) * GS_NumImaNodes)) ==
      |                                 ^~~~~~
idb.c:3635:33: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:3639:43: warning: incompatible implicit declaration of built-in function 'realloc'
 3639 |     } else if ((GS_NullImaFlag = (long *) realloc(GS_NullImaFlag, sizeof(long) * GS_NumImaNodes)) ==
      |                                           ^~~~~~~
idb.c:3639:43: note: include '<stdlib.h>' 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'
 3754 |     if ((ile = (IDB_InstanceListElement *) malloc(sizeof(IDB_InstanceListElement))) ==
      |                                            ^~~~~~
idb.c:3754:44: note: include '<stdlib.h>' 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'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3793:3: note: in expansion of macro 'FREE_STRINGS'
 3793 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3793:3: note: in expansion of macro 'FREE_STRINGS'
 3793 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3804:3: note: in expansion of macro 'FREE_STRINGS'
 3804 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3804:3: note: in expansion of macro 'FREE_STRINGS'
 3804 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3863:3: note: in expansion of macro 'FREE_STRINGS'
 3863 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3863:3: note: in expansion of macro 'FREE_STRINGS'
 3863 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3949:3: note: in expansion of macro 'FREE_STRINGS'
 3949 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3949:3: note: in expansion of macro 'FREE_STRINGS'
 3949 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3960:3: note: in expansion of macro 'FREE_STRINGS'
 3960 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3960:3: note: in expansion of macro 'FREE_STRINGS'
 3960 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3971:3: note: in expansion of macro 'FREE_STRINGS'
 3971 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:3971:3: note: in expansion of macro 'FREE_STRINGS'
 3971 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4033:3: note: in expansion of macro 'FREE_STRINGS'
 4033 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4033:3: note: in expansion of macro 'FREE_STRINGS'
 4033 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4044:3: note: in expansion of macro 'FREE_STRINGS'
 4044 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4044:3: note: in expansion of macro 'FREE_STRINGS'
 4044 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4055:3: note: in expansion of macro 'FREE_STRINGS'
 4055 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4055:3: note: in expansion of macro 'FREE_STRINGS'
 4055 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4066:3: note: in expansion of macro 'FREE_STRINGS'
 4066 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4066:3: note: in expansion of macro 'FREE_STRINGS'
 4066 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4077:3: note: in expansion of macro 'FREE_STRINGS'
 4077 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4077:3: note: in expansion of macro 'FREE_STRINGS'
 4077 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4088:3: note: in expansion of macro 'FREE_STRINGS'
 4088 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4088:3: note: in expansion of macro 'FREE_STRINGS'
 4088 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4099:3: note: in expansion of macro 'FREE_STRINGS'
 4099 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4099:3: note: in expansion of macro 'FREE_STRINGS'
 4099 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4110:3: note: in expansion of macro 'FREE_STRINGS'
 4110 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4110:3: note: in expansion of macro 'FREE_STRINGS'
 4110 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4189:3: note: in expansion of macro 'FREE_STRINGS'
 4189 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4189:3: note: in expansion of macro 'FREE_STRINGS'
 4189 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4200:3: note: in expansion of macro 'FREE_STRINGS'
 4200 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4200:3: note: in expansion of macro 'FREE_STRINGS'
 4200 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4211:3: note: in expansion of macro 'FREE_STRINGS'
 4211 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4211:3: note: in expansion of macro 'FREE_STRINGS'
 4211 |   FREE_STRINGS(j, GS_patstucl, i);
      |   ^~~~~~~~~~~~
idb.c: In function 'IDB_ConvertDicomQuerytoSQL':
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4241:7: note: in expansion of macro 'FREE_STRINGS'
 4241 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4241:7: note: in expansion of macro 'FREE_STRINGS'
 4241 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4256:7: note: in expansion of macro 'FREE_STRINGS'
 4256 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4256:7: note: in expansion of macro 'FREE_STRINGS'
 4256 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4315:7: note: in expansion of macro 'FREE_STRINGS'
 4315 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4315:7: note: in expansion of macro 'FREE_STRINGS'
 4315 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4401:7: note: in expansion of macro 'FREE_STRINGS'
 4401 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4401:7: note: in expansion of macro 'FREE_STRINGS'
 4401 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4412:7: note: in expansion of macro 'FREE_STRINGS'
 4412 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4412:7: note: in expansion of macro 'FREE_STRINGS'
 4412 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4423:7: note: in expansion of macro 'FREE_STRINGS'
 4423 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4423:7: note: in expansion of macro 'FREE_STRINGS'
 4423 |       FREE_STRINGS(j, GS_patcl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4487:7: note: in expansion of macro 'FREE_STRINGS'
 4487 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4487:7: note: in expansion of macro 'FREE_STRINGS'
 4487 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4498:7: note: in expansion of macro 'FREE_STRINGS'
 4498 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4498:7: note: in expansion of macro 'FREE_STRINGS'
 4498 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4509:7: note: in expansion of macro 'FREE_STRINGS'
 4509 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4509:7: note: in expansion of macro 'FREE_STRINGS'
 4509 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4520:7: note: in expansion of macro 'FREE_STRINGS'
 4520 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4520:7: note: in expansion of macro 'FREE_STRINGS'
 4520 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4531:7: note: in expansion of macro 'FREE_STRINGS'
 4531 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4531:7: note: in expansion of macro 'FREE_STRINGS'
 4531 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4542:7: note: in expansion of macro 'FREE_STRINGS'
 4542 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4542:7: note: in expansion of macro 'FREE_STRINGS'
 4542 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4553:7: note: in expansion of macro 'FREE_STRINGS'
 4553 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4553:7: note: in expansion of macro 'FREE_STRINGS'
 4553 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4564:7: note: in expansion of macro 'FREE_STRINGS'
 4564 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4564:7: note: in expansion of macro 'FREE_STRINGS'
 4564 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4643:7: note: in expansion of macro 'FREE_STRINGS'
 4643 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4643:7: note: in expansion of macro 'FREE_STRINGS'
 4643 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4654:7: note: in expansion of macro 'FREE_STRINGS'
 4654 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4654:7: note: in expansion of macro 'FREE_STRINGS'
 4654 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4665:7: note: in expansion of macro 'FREE_STRINGS'
 4665 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4665:7: note: in expansion of macro 'FREE_STRINGS'
 4665 |       FREE_STRINGS(j, GS_stucl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4681:7: note: in expansion of macro 'FREE_STRINGS'
 4681 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4681:7: note: in expansion of macro 'FREE_STRINGS'
 4681 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4692:7: note: in expansion of macro 'FREE_STRINGS'
 4692 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4692:7: note: in expansion of macro 'FREE_STRINGS'
 4692 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4703:7: note: in expansion of macro 'FREE_STRINGS'
 4703 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4703:7: note: in expansion of macro 'FREE_STRINGS'
 4703 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4714:7: note: in expansion of macro 'FREE_STRINGS'
 4714 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4714:7: note: in expansion of macro 'FREE_STRINGS'
 4714 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4725:7: note: in expansion of macro 'FREE_STRINGS'
 4725 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4725:7: note: in expansion of macro 'FREE_STRINGS'
 4725 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4736:7: note: in expansion of macro 'FREE_STRINGS'
 4736 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4736:7: note: in expansion of macro 'FREE_STRINGS'
 4736 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4747:7: note: in expansion of macro 'FREE_STRINGS'
 4747 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4747:7: note: in expansion of macro 'FREE_STRINGS'
 4747 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4819:7: note: in expansion of macro 'FREE_STRINGS'
 4819 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4819:7: note: in expansion of macro 'FREE_STRINGS'
 4819 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4830:7: note: in expansion of macro 'FREE_STRINGS'
 4830 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4830:7: note: in expansion of macro 'FREE_STRINGS'
 4830 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4841:7: note: in expansion of macro 'FREE_STRINGS'
 4841 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4841:7: note: in expansion of macro 'FREE_STRINGS'
 4841 |       FREE_STRINGS(j, GS_sercl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4857:7: note: in expansion of macro 'FREE_STRINGS'
 4857 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4857:7: note: in expansion of macro 'FREE_STRINGS'
 4857 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4868:7: note: in expansion of macro 'FREE_STRINGS'
 4868 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4868:7: note: in expansion of macro 'FREE_STRINGS'
 4868 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4879:7: note: in expansion of macro 'FREE_STRINGS'
 4879 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4879:7: note: in expansion of macro 'FREE_STRINGS'
 4879 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4890:7: note: in expansion of macro 'FREE_STRINGS'
 4890 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4890:7: note: in expansion of macro 'FREE_STRINGS'
 4890 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4901:7: note: in expansion of macro 'FREE_STRINGS'
 4901 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:4901:7: note: in expansion of macro 'FREE_STRINGS'
 4901 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:5002:7: note: in expansion of macro 'FREE_STRINGS'
 5002 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:5002:7: note: in expansion of macro 'FREE_STRINGS'
 5002 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:5013:7: note: in expansion of macro 'FREE_STRINGS'
 5013 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:5013:7: note: in expansion of macro 'FREE_STRINGS'
 5013 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: warning: incompatible implicit declaration of built-in function 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:5024:7: note: in expansion of macro 'FREE_STRINGS'
 5024 |       FREE_STRINGS(j, GS_imacl, i);
      |       ^~~~~~~~~~~~
idb.h:483:17: note: include '<stdlib.h>' or provide a declaration of 'free'
  483 |                 free(list[index].Value.Value.String);
      |                 ^~~~
idb.c:5024:7: note: in expansion of macro 'FREE_STRINGS'
 5024 |       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'
 5108 |  if ((new_regex = (char *) malloc(malloced_size)) == (char *) NULL) {
      |                            ^~~~~~
idb.c:5108:28: note: include '<stdlib.h>' or provide a declaration of 'malloc'
idb.c:5149:32: warning: incompatible implicit declaration of built-in function 'realloc'
 5149 |      if ((new_regex = (char *) realloc(new_regex, malloced_size)) ==
      |                                ^~~~~~~
idb.c:5149:32: note: include '<stdlib.h>' or provide a declaration of 'realloc'
idb.c: In function 'IDB_InsertImage':
idb.c:5584:59: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
 5584 |     ret_val = TBL_Select(&inshandle, crit, field, &count, CBIns_CollectInstances, NULL);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~
      |                                                           |
      |                                                           CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from idb.c:67:
tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
idb.c:5621:3: warning: incompatible implicit declaration of built-in function 'free'
 5621 |   free(temp_node);
      |   ^~~~
idb.c:5621:3: note: include '<stdlib.h>' or provide a declaration of 'free'
idb.c:5647:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration]
 5647 |      COND_DumpConditions();
      |      ^~~~~~~~~~~~~~~~~~~
idb.c: In function 'CBIns_CollectInstances':
idb.c:5828:30: warning: incompatible implicit declaration of built-in function 'malloc'
 5828 |     temp_node = (LST_NODE *) malloc((2 * sizeof(void *)) + strlen(field->Value.Value.String) + 1);
      |                              ^~~~~~
idb.c:5828:30: note: include '<stdlib.h>' 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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o clone_study.o clone_study.c
clone_study.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int]
  242 | main(int argc, char **argv)
      | ^~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o remap.o remap.c
remap.c: In function 'newPatientName':
remap.c:144:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  144 |     sprintf(name, "LAST%05x^FIRST", v);
      |                        ~~~^         ~
      |                           |         |
      |                           |         long unsigned int
      |                           unsigned int
      |                        %05lx
remap.c: In function 'newPatientID':
remap.c:160:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  160 |     sprintf(string, "PID%08d", v);
      |                         ~~~^   ~
      |                            |   |
      |                            int long unsigned int
      |                         %08ld
remap.c: In function 'newAccessionNumber':
remap.c:177:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  177 |     sprintf(string, "ACC%08d", v);
      |                         ~~~^   ~
      |                            |   |
      |                            int long unsigned int
      |                         %08ld
gcc -o clone_study -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql clone_study.o remap.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz
install clone_study /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/clone_study'
cd create_greyscale_module;	make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o create_greyscale_module.o create_greyscale_module.c
create_greyscale_module.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int]
   63 | main(int argc, char **argv)
      | ^~~~
gcc -o create_greyscale_module -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  create_greyscale_module.o -Wl,-z,relro -Wl,-z,now -lctn  -lz
install create_greyscale_module /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/create_greyscale_module'
cd ctnnetwork;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork'
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP ctnnetwork.c
ctnnetwork.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int]
  109 | main(int argc, char **argv)
      | ^~~~
ctnnetwork.c: In function 'main':
ctnnetwork.c:267:10: warning: implicit declaration of function 'GetUnusedSlot' [-Wimplicit-function-declaration]
  267 |   slot = GetUnusedSlot(&element);
      |          ^~~~~~~~~~~~~
ctnnetwork.c:272:10: warning: implicit declaration of function 'FindSlot' [-Wimplicit-function-declaration]
  272 |   slot = FindSlot(&element);
      |          ^~~~~~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP kill_ctnnetwork.c
kill_ctnnetwork.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int]
   58 | main(int argc, char *argv[])
      | ^~~~
kill_ctnnetwork.c: In function 'main':
kill_ctnnetwork.c:86:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
   86 |     sleep(5);
      |     ^~~~~
gcc -o kill_ctnnetwork kill_ctnnetwork.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib  -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP pq_ctnnetwork.c
pq_ctnnetwork.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int]
   60 | main(int argc, char *argv[])
      | ^~~~
pq_ctnnetwork.c: In function 'print_element':
pq_ctnnetwork.c:103:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  103 |     printf("\tAssociation_id: %d\n", n->association_id);
      |                               ~^     ~~~~~~~~~~~~~~~~~
      |                                |      |
      |                                int    long int
      |                               %ld
gcc -o pq_ctnnetwork pq_ctnnetwork.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib  -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP enq_ctnnetwork.c
enq_ctnnetwork.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int]
   59 | main(int argc, char *argv[])
      | ^~~~
gcc -o enq_ctnnetwork enq_ctnnetwork.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -L/usr/X11R6/lib  -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lm
install ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin
install kill_ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin
install pq_ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin
install enq_ctnnetwork /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctnnetwork'
cd ctn_version;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ctn_version'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ctn_version.o ctn_version.c
ctn_version.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int]
   66 | main(int argc, char **argv)
      | ^~~~
gcc -o ctn_version -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib ctn_version.o -Wl,-z,relro -Wl,-z,now -lctn  
install ctn_version /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/ctn_version'
cd dcm_add_fragments;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_add_fragments'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_add_fragments.o dcm_add_fragments.c
dcm_add_fragments.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int]
   93 | main(int argc, char **argv)
      | ^~~~
dcm_add_fragments.c: In function 'main':
dcm_add_fragments.c:162:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  162 |     printf(" Fragment: %10s %6d \n", *argv, fileSize);
      |                             ~~^             ~~~~~~~~
      |                               |             |
      |                               int           U32 {aka long unsigned int}
      |                             %6ld
dcm_add_fragments.c:171:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  171 |       fprintf(stderr, "Unable to malloc %d bytes\n", fileSize);
      |                                         ~^           ~~~~~~~~
      |                                          |           |
      |                                          int         U32 {aka long unsigned int}
      |                                         %ld
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
   95 |      printf("Cannot make element for TAG (%x, %x)\n",
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |     $1, $2);
      |     ~~~~~~~~     
      |              |
      |              long unsigned int
gram.y:95:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
   74 |       sscanf(yytext, "%x", &yylval.num);
      |                      ^~~~  ~~~~~~~~~~~
      |                            |
      |                            long unsigned int *
lex.yy.c: In function 'yy_init_buffer':
lex.yy.c:1350:33: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration]
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -DYYDEBUG -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_create_object.o dcm_create_object.c
dcm_create_object.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int]
   86 | main(int argc, char **argv)
      | ^~~~
dcm_create_object.c: In function 'addpixels':
dcm_create_object.c:414:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  414 |     if (read(fd, p, size) != size) {
      |         ^~~~
      |         fread
gcc -o dcm_create_object -g gram_mod.o lex_mod.o dcm_create_object.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_create_object /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_create_object'
cd dcm_ctnto10;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_ctnto10'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 'compareULAttribute':
dcm_diff.c:124:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  124 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  128 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_diff.c:124:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  124 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  128 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_diff.c:136:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  136 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                    ~^
      |                                     |
      |                                     int
      |                                    %ld
......
  140 |      *p1, *p2);
      |      ~~~                             
      |      |
      |      U32 {aka const long unsigned int}
dcm_diff.c:136:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  136 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
......
  140 |      *p1, *p2);
      |           ~~~                           
      |           |
      |           U32 {aka const long unsigned int}
dcm_diff.c: In function 'compareSLAttribute':
dcm_diff.c:160:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  160 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  164 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_diff.c:160:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  160 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  164 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_diff.c:172:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'S32' {aka 'const long int'} [-Wformat=]
  172 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                    ~^
      |                                     |
      |                                     int
      |                                    %ld
......
  176 |      *p1, *p2);
      |      ~~~                             
      |      |
      |      S32 {aka const long int}
dcm_diff.c:172:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'S32' {aka 'const long int'} [-Wformat=]
  172 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
......
  176 |      *p1, *p2);
      |           ~~~                           
      |           |
      |           S32 {aka const long int}
dcm_diff.c: In function 'compareUSAttribute':
dcm_diff.c:196:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  196 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  200 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_diff.c:196:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  196 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  200 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_diff.c: In function 'compareSSAttribute':
dcm_diff.c:232:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  232 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  236 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_diff.c:232:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  232 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  236 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_diff.c: At top level:
dcm_diff.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int]
  360 | main(int argc, char **argv)
      | ^~~~
dcm_diff.c: In function 'main':
dcm_diff.c:455:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  455 |     printf("Differences encountered: %5d\n", differences);
      |                                      ~~^     ~~~~~~~~~~~
      |                                        |     |
      |                                        int   long int
      |                                      %5ld
gcc -o dcm_diff -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_diff.o -Wl,-z,relro -Wl,-z,now -lctn  
install dcm_diff /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_diff'
cd dcm_dump_compressed;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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: In function 'dumpCallback':
dcm_dump_compressed.c:86:16: warning: format '%d' expects argument of type 'int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
   86 |      printf("%5d %8x %8d\n", i, *p, *p);
      |              ~~^             ~
      |                |             |
      |                int           U32 {aka long unsigned int}
      |              %5ld
dcm_dump_compressed.c:86:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
   86 |      printf("%5d %8x %8d\n", i, *p, *p);
      |                  ~~^            ~~
      |                    |            |
      |                    unsigned int U32 {aka long unsigned int}
      |                  %8lx
dcm_dump_compressed.c:86:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
   86 |      printf("%5d %8x %8d\n", i, *p, *p);
      |                      ~~^            ~~
      |                        |            |
      |                        int          U32 {aka long unsigned int}
      |                      %8ld
dcm_dump_compressed.c:90:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
   90 |      printf("Hmmm, we really don't expect the %d bytes you exported to me\n",
      |                                               ~^
      |                                                |
      |                                                int
      |                                               %ld
   91 |   bytesExported);
      |   ~~~~~~~~~~~~~                                 
      |   |
      |   U32 {aka long unsigned int}
dcm_dump_compressed.c:107:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  107 |  printf(" Index: %5d, Bytes exported: %8d\n", index, bytesExported);
      |                                       ~~^            ~~~~~~~~~~~~~
      |                                         |            |
      |                                         int          U32 {aka long unsigned int}
      |                                       %8ld
dcm_dump_compressed.c: At top level:
dcm_dump_compressed.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int]
  119 | main(int argc, char **argv)
      | ^~~~
dcm_dump_compressed.c: In function 'dumpCallback':
dcm_dump_compressed.c:113:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  113 |  write(fd, buf, bytesExported);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o dcm_dump_compressed -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_dump_compressed.o -Wl,-z,relro -Wl,-z,now -lctn  
install dcm_dump_compressed /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_compressed'
cd dcm_dump_element;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_dump_element.o dcm_dump_element.c
dcm_dump_element.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int]
  236 | main(int argc, char **argv)
      | ^~~~
dcm_dump_element.c: In function 'main':
dcm_dump_element.c:291:27: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=]
  291 |     if (sscanf(*argv++, "%x", &ng) != 1)
      |                          ~^   ~~~
      |                           |   |
      |                           |   long unsigned int *
      |                           unsigned int *
      |                          %lx
dcm_dump_element.c:293:27: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=]
  293 |     if (sscanf(*argv++, "%x", &ne) != 1)
      |                          ~^   ~~~
      |                           |   |
      |                           |   long unsigned int *
      |                           unsigned int *
      |                          %lx
dcm_dump_element.c:362:12: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  362 |     (void) write(fd, element.d.ot, rtnSize);
      |            ^~~~~
      |            fwrite
dcm_dump_element.c:363:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  363 |     close(fd);
      |     ^~~~~
      |     pclose
gcc -o dcm_dump_element -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_dump_element.o  -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_dump_element /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_element'
cd dcm_dump_file;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_dump_file.o dcm_dump_file.c
dcm_dump_file.c:105:1: warning: return type defaults to 'int' [-Wimplicit-int]
  105 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_dump_file -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_dump_file.o -Wl,-z,relro -Wl,-z,now -lctn  
install dcm_dump_file /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_dump_file'
cd dcm_make_object;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_make_object.o dcm_make_object.c
dcm_make_object.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int]
   84 | main(int argc, char **argv)
      | ^~~~
dcm_make_object.c: In function 'addpixels':
dcm_make_object.c:392:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  392 |     if (read(fd, p, size) != size) {
      |         ^~~~
      |         fread
gcc -o dcm_make_object -g dcm_make_object.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_make_object /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_make_object'
cd dcm_map_to_8;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_map_to_8.o dcm_map_to_8.c
dcm_map_to_8.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int]
  111 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_map_to_8 -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_map_to_8.o -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_map_to_8 /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_map_to_8'
cd dcm_mask_image;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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: In function 'getPixels':
dcm_mask_image.c:129:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  129 |     fprintf(stderr, "Computed pixel length differs from actual: %d %d\n",
      |                                                                 ~^
      |                                                                  |
      |                                                                  int
      |                                                                 %ld
  130 |   pixelLength, frameLength);
      |   ~~~~~~~~~~~                                                     
      |   |
      |   U32 {aka long unsigned int}
dcm_mask_image.c:129:69: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  129 |     fprintf(stderr, "Computed pixel length differs from actual: %d %d\n",
      |                                                                    ~^
      |                                                                     |
      |                                                                     int
      |                                                                    %ld
  130 |   pixelLength, frameLength);
      |                ~~~~~~~~~~~                                           
      |                |
      |                U32 {aka long unsigned int}
dcm_mask_image.c: At top level:
dcm_mask_image.c:154:1: warning: return type defaults to 'int' [-Wimplicit-int]
  154 | maskLeft8(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~
dcm_mask_image.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int]
  171 | maskLeft16(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~~
dcm_mask_image.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int]
  188 | maskRight8(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~~
dcm_mask_image.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int]
  205 | maskRight16(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~~~
dcm_mask_image.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int]
  222 | maskTop8(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~
dcm_mask_image.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int]
  239 | maskTop16(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~
dcm_mask_image.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int]
  256 | maskBottom8(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~~~
dcm_mask_image.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int]
  273 | maskBottom16(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~~~~
dcm_mask_image.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int]
  290 | maskLeft(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~
dcm_mask_image.c:299:1: warning: return type defaults to 'int' [-Wimplicit-int]
  299 | maskRight(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~
dcm_mask_image.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int]
  308 | maskTop(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~
dcm_mask_image.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int]
  317 | maskBottom(void* p, int value, PIXEL_PARAMS* params)
      | ^~~~~~~~~~
dcm_mask_image.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int]
  325 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_mask_image -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_mask_image.o -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_mask_image /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_mask_image'
cd dcm_modify_elements;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_modify_elements.o dcm_modify_elements.c
dcm_modify_elements.c: In function 'addpixels':
dcm_modify_elements.c:424:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  424 |     if (read(fd, p, size) != size) {
      |         ^~~~
      |         fread
dcm_modify_elements.c:426:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  426 |  close(fd);
      |  ^~~~~
      |  pclose
gcc -o dcm_modify_elements -g dcm_modify_elements.o -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_modify_elements /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_elements'
cd dcm_modify_object;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_modify_object'
yacc -d gram.y
mv y.tab.c gram.c
mv y.tab.h gram.h
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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:1093: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=]
  105 |      printf("Cannot make element for TAG (%x, %x)\n",
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  106 |     $1, $2);
      |     ~~~~~~~~       
      |               |
      |               long unsigned int
gram.y:105:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
   74 |       sscanf(yytext, "%x", &yylval.num);
      |                      ^~~~  ~~~~~~~~~~~
      |                            |
      |                            long unsigned int *
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_modify_object.o dcm_modify_object.c
dcm_modify_object.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int]
   85 | main(int argc, char **argv)
      | ^~~~
dcm_modify_object.c: In function 'addPixels':
dcm_modify_object.c:444:19: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  444 |       bytesRead = read(fd, p, remainingBytes);
      |                   ^~~~
      |                   fread
dcm_modify_object.c: In function 'APP_DumpModList':
dcm_modify_object.c:512:20: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  512 |  printf("%*sTag = %x, Description = %s\n", level * 2, "", e->tag, e->description);
      |                   ~^                                      ~~~~~~
      |                    |                                       |
      |                    unsigned int                            DCM_TAG {aka long unsigned int}
      |                   %lx
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_print_dictionary.o dcm_print_dictionary.c
dcm_print_dictionary.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int]
  111 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_print_dictionary -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql dcm_print_dictionary.o -Wl,-z,relro -Wl,-z,now -lctn  
install dcm_print_dictionary /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_print_dictionary'
cd dcm_resize;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_resize'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_rm_group.o dcm_rm_group.c
dcm_rm_group.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int]
   75 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_rm_group -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_rm_group.o  -Wl,-z,relro -Wl,-z,now -lctn 
install dcm_rm_group /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_rm_group'
cd dcm_snoop;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_snoop.o dcm_snoop.c
dcm_snoop.c: In function 'main':
dcm_snoop.c:150:25: warning: passing argument 1 of 'DUL_RegPDUCall' from incompatible pointer type [-Wincompatible-pointer-types]
  150 |     if ((DUL_RegPDUCall(callITOA_PDU, CALLBACK_ITOA_PDU, NULL)) != DUL_NORMAL) {
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(int,  int,  u_char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *) {aka void (*)(int,  int,  unsigned char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *)}
In file included from dcm_snoop.c:95:
/build/ctn-3.2.0~dfsg/include/dulprotocol.h:367:23: note: expected 'void (*)()' but argument is of type 'void (*)(int,  int,  u_char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *)' {aka 'void (*)(int,  int,  unsigned char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *)'}
  367 | DUL_RegPDUCall(void (*callback) (), int callbackType, void *ctx);
      |                ~~~~~~~^~~~~~~~~~~~
dcm_snoop.c:156:25: warning: passing argument 1 of 'DUL_RegPDUCall' from incompatible pointer type [-Wincompatible-pointer-types]
  156 |     if ((DUL_RegPDUCall(callATOI_PDU, CALLBACK_ATOI_PDU, NULL)) != DUL_NORMAL) {
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(int,  int,  u_char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *) {aka void (*)(int,  int,  unsigned char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *)}
In file included from dcm_snoop.c:95:
/build/ctn-3.2.0~dfsg/include/dulprotocol.h:367:23: note: expected 'void (*)()' but argument is of type 'void (*)(int,  int,  u_char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *)' {aka 'void (*)(int,  int,  unsigned char,  char *, int,  DUL_ASSOCIATESERVICEPARAMETERS *, void *)'}
  367 | DUL_RegPDUCall(void (*callback) (), int callbackType, void *ctx);
      |                ~~~~~~~^~~~~~~~~~~~
dcm_snoop.c: 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=]
  379 |      printf("Command PDV fragment : Length = %u\n", pdvLength);
      |                                              ~^     ~~~~~~~~~
      |                                               |     |
      |                                               |     u_long {aka long unsigned int}
      |                                               unsigned int
      |                                              %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=]
  386 |      printf("Data set PDV fragment : Length = %u\n", pdvLength);
      |                                               ~^     ~~~~~~~~~
      |                                                |     |
      |                                                |     u_long {aka long unsigned int}
      |                                                unsigned int
      |                                               %lu
gcc -o dcm_snoop -O -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  dcm_snoop.o -Wl,-z,relro -Wl,-z,now -lctn  -lz 
install dcm_snoop /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_snoop'
cd dcm_strip_odd_groups;	make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_strip_odd_groups'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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: In function 'compareULAttribute':
dcm_to_html.c:109:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  109 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  113 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_to_html.c:109:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  109 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  113 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_to_html.c:121:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  121 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                    ~^
      |                                     |
      |                                     int
      |                                    %ld
......
  125 |      *p1, *p2);
      |      ~~~                             
      |      |
      |      U32 {aka const long unsigned int}
dcm_to_html.c:121:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  121 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
......
  125 |      *p1, *p2);
      |           ~~~                           
      |           |
      |           U32 {aka const long unsigned int}
dcm_to_html.c: In function 'compareSLAttribute':
dcm_to_html.c:145:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  145 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  149 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_to_html.c:145:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  145 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  149 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_to_html.c:157:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'S32' {aka 'const long int'} [-Wformat=]
  157 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                    ~^
      |                                     |
      |                                     int
      |                                    %ld
......
  161 |      *p1, *p2);
      |      ~~~                             
      |      |
      |      S32 {aka const long int}
dcm_to_html.c:157:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'S32' {aka 'const long int'} [-Wformat=]
  157 |      printf("BINARY %04x %04x %32s %d %d\n",
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
......
  161 |      *p1, *p2);
      |           ~~~                           
      |           |
      |           S32 {aka const long int}
dcm_to_html.c: In function 'compareUSAttribute':
dcm_to_html.c:181:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  181 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  185 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_to_html.c:181:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  181 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  185 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_to_html.c: In function 'compareSSAttribute':
dcm_to_html.c:217:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  217 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
......
  221 |         e1->length, e2->length);
      |         ~~~~~~~~~~               
      |           |
      |           U32 {aka const long unsigned int}
dcm_to_html.c:217:36: warning: format '%d' expects argument of type 'int', but argument 6 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  217 |  printf("LENGTH %04x %04x %32s %d %d\n",
      |                                   ~^
      |                                    |
      |                                    int
      |                                   %ld
......
  221 |         e1->length, e2->length);
      |                     ~~~~~~~~~~      
      |                       |
      |                       U32 {aka const long unsigned int}
dcm_to_html.c: In function 'callback':
dcm_to_html.c:348:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'U32' {aka 'const long unsigned int'} [-Wformat=]
  348 |   printf("<TD ALIGN=RIGHT>%6d</TD>\n", e->length);
      |                           ~~^          ~~~~~~~~~
      |                             |           |
      |                             int         U32 {aka const long unsigned int}
      |                           %6ld
dcm_to_html.c:388:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'S32' {aka 'long int'} [-Wformat=]
  388 |  sprintf(txt, "%d", *e->d.sl);
      |                ~^   ~~~~~~~~
      |                 |   |
      |                 int S32 {aka long int}
      |                %ld
dcm_to_html.c:401:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  401 |  sprintf(txt, "%d", *e->d.ul);
      |                ~^   ~~~~~~~~
      |                 |   |
      |                 int U32 {aka long unsigned int}
      |                %ld
dcm_to_html.c: At top level:
dcm_to_html.c:435:1: warning: return type defaults to 'int' [-Wimplicit-int]
  435 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_to_html -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_to_html.o -Wl,-z,relro -Wl,-z,now -lctn  
install dcm_to_html /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_html'
cd dcm_to_text;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dcm_to_text.o dcm_to_text.c
dcm_to_text.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int]
  237 | main(int argc, char **argv)
      | ^~~~
gcc -o dcm_to_text -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib dcm_to_text.o -Wl,-z,relro -Wl,-z,now -lctn  
install dcm_to_text /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dcm_to_text'
cd dcm_verify;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/dcm_verify'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 'main':
dcm_verify.c:299:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  299 |     printf("    %08x, %s\n", element.tag,
      |                 ~~~^         ~~~~~~~~~~~
      |                    |                |
      |                    unsigned int     DCM_TAG {aka long unsigned int}
      |                 %08lx
dcm_verify.c:307:24: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  307 |         printf("    %08x, %s\n",
      |                     ~~~^
      |                        |
      |                        unsigned int
      |                     %08lx
  308 |         element.tag,
      |         ~~~~~~~~~~~     
      |                |
      |                DCM_TAG {aka long unsigned int}
dcm_verify.c: In function 'printElement':
dcm_verify.c:553:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  553 |  printf("      %08x, %2d, %s, %s\n", element->tag,
      |                ~~~^                  ~~~~~~~~~~~~
      |                   |                         |
      |                   unsigned int              DCM_TAG {aka long unsigned int}
      |                %08lx
dcm_verify.c:553:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  553 |  printf("      %08x, %2d, %s, %s\n", element->tag,
      |                      ~~^
      |                        |
      |                        int
      |                      %2ld
  554 |         element->length, element->description, element->d.string);
      |         ~~~~~~~~~~~~~~~ 
      |                |
      |                U32 {aka long unsigned int}
dcm_verify.c:557:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  557 |  printf("      %08x, %2d, %s, %d\n", element->tag, element->length,
      |                ~~~^                  ~~~~~~~~~~~~
      |                   |                         |
      |                   unsigned int              DCM_TAG {aka long unsigned int}
      |                %08lx
dcm_verify.c:557:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  557 |  printf("      %08x, %2d, %s, %d\n", element->tag, element->length,
      |                      ~~^                           ~~~~~~~~~~~~~~~
      |                        |                                  |
      |                        int                                U32 {aka long unsigned int}
      |                      %2ld
dcm_verify.c:561:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  561 |  printf("      %08x, %2d, %s, %ld\n", element->tag, element->length,
      |                ~~~^                   ~~~~~~~~~~~~
      |                   |                          |
      |                   unsigned int               DCM_TAG {aka long unsigned int}
      |                %08lx
dcm_verify.c:561:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  561 |  printf("      %08x, %2d, %s, %ld\n", element->tag, element->length,
      |                      ~~^                            ~~~~~~~~~~~~~~~
      |                        |                                   |
      |                        int                                 U32 {aka long unsigned int}
      |                      %2ld
dcm_verify.c:565:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  565 |  printf("      %08x, %2d, %s, %u\n", element->tag, element->length,
      |                ~~~^                  ~~~~~~~~~~~~
      |                   |                         |
      |                   unsigned int              DCM_TAG {aka long unsigned int}
      |                %08lx
dcm_verify.c:565:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  565 |  printf("      %08x, %2d, %s, %u\n", element->tag, element->length,
      |                      ~~^                           ~~~~~~~~~~~~~~~
      |                        |                                  |
      |                        int                                U32 {aka long unsigned int}
      |                      %2ld
dcm_verify.c:569:19: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  569 |  printf("      %08x, %2d, %s, %lu\n", element->tag, element->length,
      |                ~~~^                   ~~~~~~~~~~~~
      |                   |                          |
      |                   unsigned int               DCM_TAG {aka long unsigned int}
      |                %08lx
dcm_verify.c:569:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  569 |  printf("      %08x, %2d, %s, %lu\n", element->tag, element->length,
      |                      ~~^                            ~~~~~~~~~~~~~~~
      |                        |                                   |
      |                        int                                 U32 {aka long unsigned int}
      |                      %2ld
dcm_verify.c:575:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  575 |      printf("      %08x, %2d, %s,", element->tag, element->length,
      |                    ~~~^             ~~~~~~~~~~~~
      |                       |                    |
      |                       unsigned int         DCM_TAG {aka long unsigned int}
      |                    %08lx
dcm_verify.c:575:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  575 |      printf("      %08x, %2d, %s,", element->tag, element->length,
      |                          ~~^                      ~~~~~~~~~~~~~~~
      |                            |                             |
      |                            int                           U32 {aka long unsigned int}
      |                          %2ld
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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
dcm_vr_patterns.c: In function 'evaluate8Bit':
dcm_vr_patterns.c:324:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  324 |     fprintf(stderr, "Expected 32 bytes, retrieved %d bytes\n", length);
      |                                                   ~^           ~~~~~~
      |                                                    |           |
      |                                                    int         U32 {aka long unsigned int}
      |                                                   %ld
dcm_vr_patterns.c: In function 'evaluate16Bit':
dcm_vr_patterns.c:355:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  355 |     fprintf(stderr, "Expected 64 bytes, retrieved %d bytes\n", length);
      |                                                   ~^           ~~~~~~
      |                                                    |           |
      |                                                    int         U32 {aka long unsigned int}
      |                                                   %ld
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dicom_echo.o dicom_echo.c
dicom_echo.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int]
  102 | main(int argc, char **argv)
      | ^~~~
gcc -o dicom_echo -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz -L/usr/lib dicom_echo.o -Wl,-z,relro -Wl,-z,now -lctn 
install dicom_echo /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/dicom_echo'
cd displays;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/displays'
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include ctndisp.c
ctndisp.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int]
  139 | main(int argc, char **argv)
      | ^~~~
ctndisp.c: In function 'main':
ctndisp.c:316:3: warning: implicit declaration of function 'CTNDISP_UnDisplayImageData'; did you mean 'CTNDISP_DisplayImageData'? [-Wimplicit-function-declaration]
  316 |   CTNDISP_UnDisplayImageData(&cur_img, &xcur_img);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   CTNDISP_DisplayImageData
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  179 |  free(img->data);
      |  ^~~~
ctndisp_x_support.c:179:2: warning: incompatible implicit declaration of built-in function 'free'
ctndisp_x_support.c:66:1: note: include '<stdlib.h>' or provide a declaration of 'free'
   65 | #include "ctndisp.h"
  +++ |+#include <stdlib.h>
   66 | 
ctndisp_x_support.c: In function 'CTNDISP_AdjustImageDepth':
ctndisp_x_support.c:437:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  437 |     new_data = (unsigned char *) malloc(npels * G_store_depth);
      |                                  ^~~~~~
ctndisp_x_support.c:437:34: warning: incompatible implicit declaration of built-in function 'malloc'
ctndisp_x_support.c:437:34: note: include '<stdlib.h>' or provide a declaration of 'malloc'
ctndisp_x_support.c:453:2: warning: incompatible implicit declaration of built-in function 'free'
  453 |  free(img->data);
      |  ^~~~
ctndisp_x_support.c:453:2: note: include '<stdlib.h>' or provide a declaration of 'free'
ctndisp_x_support.c:513:5: warning: incompatible implicit declaration of built-in function 'free'
  513 |     free(img->data);
      |     ^~~~
ctndisp_x_support.c:513:5: note: include '<stdlib.h>' 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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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:246:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  246 |     fprintf(stderr, "Could not malloc %d bytes; exiting.\n",
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
  247 |         *fileSize);
      |         ~~~~~~~~~                       
      |         |
      |         U32 {aka long unsigned int}
image_utils.c:259:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  259 |   bytesRead = read(fd, *ptr, *fileSize);
      |               ^~~~
      |               fread
image_utils.c:261:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  261 |     fprintf(stderr, "Error reading file: %s, bytes read = %d\n",
      |                                                           ~^
      |                                                            |
      |                                                            int
      |                                                           %ld
  262 |         path, *fileSize);
      |               ~~~~~~~~~                                     
      |               |
      |               U32 {aka long unsigned int}
image_utils.c:266:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  266 |   close(fd);
      |   ^~~~~
      |   pclose
gcc -o ctndisp -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib  -lz -L/usr/lib ctndisp.o ctndisp_x_support.o image_utils.o -Wl,-z,relro -Wl,-z,now -lctn  -lXt -lX11 -lm
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include dcm_x_disp.c
dcm_x_disp.c: In function 'main':
dcm_x_disp.c:297:5: warning: implicit declaration of function 'AdjustImageDepth' [-Wimplicit-function-declaration]
  297 |     AdjustImageDepth(&next_img);
      |     ^~~~~~~~~~~~~~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include kill_ctndisp.c
kill_ctndisp.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int]
   63 | main(int argc, char *argv[])
      | ^~~~
gcc -o kill_ctndisp kill_ctndisp.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib  -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn  -lm
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include pq_ctndisp.c
pq_ctndisp.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int]
   63 | main(int argc, char *argv[])
      | ^~~~
gcc -o pq_ctndisp pq_ctndisp.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib  -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn  -lm
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include enq_ctndisp.c
enq_ctndisp.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int]
   58 | main(int argc, char *argv[])
      | ^~~~
gcc -o enq_ctndisp enq_ctndisp.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib  -lz -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn  -lm
install ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin
install dcm_x_disp /build/ctn-3.2.0~dfsg/debian/tmp/bin
install kill_ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin
install pq_ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin
install enq_ctndisp /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/displays'
cd fillRSA;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fillRSA'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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:169:5: warning: implicit declaration of function 'UTL_GetDicomDate' [-Wimplicit-function-declaration]
  169 |     UTL_GetDicomDate(interpretation.IntAppDat);
      |     ^~~~~~~~~~~~~~~~
workImpInterp.c:170:5: warning: implicit declaration of function 'UTL_GetDicomTime' [-Wimplicit-function-declaration]
  170 |     UTL_GetDicomTime(interpretation.IntAppTim);
      |     ^~~~~~~~~~~~~~~~
gcc -o fillRSAImpInterp -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -L/usr/lib -lz fillRSAImpInterp.o workImpInterp.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient  -lm
install fillRSA /build/ctn-3.2.0~dfsg/debian/tmp/bin
install fillRSAImpInterp /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/fillRSA'
cd fis_server;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/fis_server'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o gqkillq.o gqkillq.c
gqkillq.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int]
   56 | main(int argc, char *argv[])
      | ^~~~
gcc -o gqkillq gqkillq.o -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib -Wl,-z,relro -Wl,-z,now -lctn 
install gqinitq /build/ctn-3.2.0~dfsg/debian/tmp/bin
install gqkillq /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/gq'
cd icon;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/icon'
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_append_index.c 
icon_append_index.c: In function 'getFileSize':
icon_append_index.c:146:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  146 |     close(fd);
      |     ^~~~~
      |     pclose
gcc -o icon_append_index -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_append_file.c 
icon_append_file.c: In function 'extractSOPInstanceUID':
icon_append_file.c:186:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'U32' {aka 'long unsigned int'} [-Wformat=]
  186 |  printf("rntlength = %d", rtnlength);
      |                      ~^   ~~~~~~~~~
      |                       |   |
      |                       int U32 {aka long unsigned int}
      |                      %ld
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_dump_index.c 
icon_dump_index.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int]
   61 | main(int argc, char *argv[])
      | ^~~~
gcc -o icon_dump_index -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include icon_dump_file.c 
icon_dump_file.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int]
   61 | main(int argc, char *argv[])
      | ^~~~
gcc -o icon_dump_file -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include create_print_entry.c 
create_print_entry.c:93: warning: "MAXPATHLEN" redefined
   93 | #define MAXPATHLEN 150
      | 
In file included from /build/ctn-3.2.0~dfsg/include/ctn_os.h:92,
                 from create_print_entry.c:65:
/usr/include/arm-linux-gnueabihf/sys/param.h:48: note: this is the location of the previous definition
   48 | # define MAXPATHLEN PATH_MAX
      | 
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o archive_server.o archive_server.c
archive_server.c:424:1: warning: return type defaults to 'int' [-Wimplicit-int]
  424 | main(int argc, char **argv)
      | ^~~~
archive_server.c: In function 'main':
archive_server.c:609:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  609 |     setuid(getuid());  /* Return to proper uid */
      |     ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o requests.o requests.c
requests.c: In function 'serviceRequests':
requests.c:190:5: warning: implicit declaration of function 'queueInitialize' [-Wimplicit-function-declaration]
  190 |     queueInitialize();
      |     ^~~~~~~~~~~~~~~
requests.c:192:5: warning: implicit declaration of function 'queueNewAssociation' [-Wimplicit-function-declaration]
  192 |     queueNewAssociation(service->callingAPTitle);
      |     ^~~~~~~~~~~~~~~~~~~
requests.c:193:5: warning: implicit declaration of function 'queueNetworkNewAssociation' [-Wimplicit-function-declaration]
  193 |     queueNetworkNewAssociation(service->callingAPTitle);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
requests.c:276:5: warning: implicit declaration of function 'queueClosedAssociation' [-Wimplicit-function-declaration]
  276 |     queueClosedAssociation(service->callingAPTitle, receivedImageCount);
      |     ^~~~~~~~~~~~~~~~~~~~~~
requests.c:278:7: warning: implicit declaration of function 'queueDisplayImage' [-Wimplicit-function-declaration]
  278 |       queueDisplayImage(service->callingAPTitle, lastImageInAssociation);
      |       ^~~~~~~~~~~~~~~~~
requests.c: In function 'storeRequest':
requests.c:505:5: warning: implicit declaration of function 'queueNewImage' [-Wimplicit-function-declaration]
  505 |     queueNewImage(params->callingAPTitle, imageCount);
      |     ^~~~~~~~~~~~~
requests.c: In function 'storageCallback':
requests.c:565:5: warning: implicit declaration of function 'networkqueuePartialImage' [-Wimplicit-function-declaration]
  565 |     networkqueuePartialImage(callingAPTitle, percentage);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
requests.c:568:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  568 |  printf("%8d bytes received of %8d estimated \n", received, estimate);
      |          ~~^                                      ~~~~~~~~
      |            |                                      |
      |            int                                    long unsigned int
      |          %8ld
requests.c:568:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  568 |  printf("%8d bytes received of %8d estimated \n", received, estimate);
      |                                ~~^                          ~~~~~~~~
      |                                  |                          |
      |                                  int                        long unsigned int
      |                                %8ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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' [-Wimplicit-function-declaration]
  424 |    queueTransmitAssociation(params->callingAPTitle,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~
move.c:459:6: warning: implicit declaration of function 'queueTransmitImage' [-Wimplicit-function-declaration]
  459 |      queueTransmitImage(params->callingAPTitle,
      |      ^~~~~~~~~~~~~~~~~~
move.c:462:6: warning: implicit declaration of function 'queueStartTransmit' [-Wimplicit-function-declaration]
  462 |      queueStartTransmit(params->callingAPTitle,
      |      ^~~~~~~~~~~~~~~~~~
move.c:479:10: warning: passing argument 6 of 'IAP_SendImage' from incompatible pointer type [-Wincompatible-pointer-types]
  479 |          sendCallback, &sendCtx);
      |          ^~~~~~~~~~~~
      |          |
      |          CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  SEND_CTX *) {aka long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  SEND_CTX *)}
In file included from move.c:70:
/build/ctn-3.2.0~dfsg/include/iap.h:65:19: note: expected 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  char *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  char *)'} but argument is of type 'CONDITION (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  SEND_CTX *)' {aka 'long unsigned int (*)(MSG_C_STORE_REQ *, MSG_C_STORE_RESP *, long unsigned int,  long unsigned int,  SEND_CTX *)'}
   65 |        CONDITION(*callback) (MSG_C_STORE_REQ * request, MSG_C_STORE_RESP * response,
      |        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |       unsigned long transmitted, unsigned long total, char *string),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
move.c:544:6: warning: implicit declaration of function 'queueClosedTransmitAssociation' [-Wimplicit-function-declaration]
  544 |      queueClosedTransmitAssociation(params->callingAPTitle,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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=]
  612 |  printf("%8d bytes transmitted of %8d (%s)\n",
      |          ~~^
      |            |
      |            int
      |          %8ld
  613 |         transmitted, total,ctx->destination);
      |         ~~~~~~~~~~~
      |         |
      |         long unsigned int
move.c:612:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  612 |  printf("%8d bytes transmitted of %8d (%s)\n",
      |                                   ~~^
      |                                     |
      |                                     int
      |                                   %8ld
  613 |         transmitted, total,ctx->destination);
      |                      ~~~~~           
      |                      |
      |                      long unsigned int
move.c: In function 'establishSendAssociation':
move.c:683:49: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  683 |   sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                 ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from move.c:50:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  291 |      fprintf(stderr, "Invalid status code in store response: %s\n",
      |                                                              ~^
      |                                                               |
      |                                                               char *
      |                                                              %d
  292 |       storeResponse->status);
      |       ~~~~~~~~~~~~~~~~~~~~~                                    
      |                    |
      |                    int
cget.c:307:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=]
  307 |      fprintf(stderr, "Invalid status code in store response: %s\n",
      |                                                              ~^
      |                                                               |
      |                                                               char *
      |                                                              %d
  308 |       storeResponse->status);
      |       ~~~~~~~~~~~~~~~~~~~~~                                    
      |                    |
      |                    int
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 *' [-Wformat=]
  260 |  fprintf(stderr, "Address of first sequence element: %x\n", ref);
      |                                                      ~^     ~~~
      |                                                       |     |
      |                                                       |     SQ_REFERENCEDSOPSEQUENCE *
      |                                                       unsigned int
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  362 |  if (islower(r->patient.PatNam[i]))
      |      ^~~~~~~
parse.c:363:29: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  363 |      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=]
  612 |     (void) sprintf(numPatRelStuTxt, "%-d", Query.patient.NumPatRelStu);
      |                                      ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |                |
      |                                        int              long int
      |                                      %-ld
parse.c:613:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
  613 |     (void) sprintf(numPatRelSerTxt, "%-d", Query.patient.NumPatRelSer);
      |                                      ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |                |
      |                                        int              long int
      |                                      %-ld
parse.c:614:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
  614 |     (void) sprintf(numPatRelImaTxt, "%-d", Query.patient.NumPatRelIma);
      |                                      ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |                |
      |                                        int              long int
      |                                      %-ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o archive_agent.o archive_agent.c
archive_agent.c:327:1: warning: return type defaults to 'int' [-Wimplicit-int]
  327 | main(int argc, char **argv)
      | ^~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o commit_result.o commit_result.c
commit_result.c: In function 'establishCommitResultAssociation':
commit_result.c:581:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  581 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from commit_result.c:54:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o archive_cleaner.o archive_cleaner.c
archive_cleaner.c: In function 'cleanArchiveIDB':
archive_cleaner.c:215:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  215 |     printf("Found %6d studies to delete\n", LST_Count(&studyList));
      |                   ~~^                       ~~~~~~~~~~~~~~~~~~~~~
      |                     |                       |
      |                     int                     long unsigned int
      |                   %6ld
archive_cleaner.c:236:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  236 |      printf("There are %6d studies to be deleted\n", LST_Count(&studyList));
      |                        ~~^                           ~~~~~~~~~~~~~~~~~~~~~
      |                          |                           |
      |                          int                         long unsigned int
      |                        %6ld
archive_cleaner.c: In function 'cleanArchiveIDBPatients':
archive_cleaner.c:323:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  323 |     printf("Found %6d patients to delete\n", LST_Count(&patientList));
      |                   ~~^                        ~~~~~~~~~~~~~~~~~~~~~~~
      |                     |                        |
      |                     int                      long unsigned int
      |                   %6ld
archive_cleaner.c:328:23: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
  328 |  printf("%s %s %16s %4d %s\n",
      |                     ~~^
      |                       |
      |                       int
      |                     %4ld
......
  332 |         ptr->q.patient.NumPatRelStu,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       |
      |                       long int
archive_cleaner.c:345:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  345 |      printf("There are %6d patients to be deleted\n", LST_Count(&patientList));
      |                        ~~^                            ~~~~~~~~~~~~~~~~~~~~~~~
      |                          |                            |
      |                          int                          long unsigned int
      |                        %6ld
archive_cleaner.c: At top level:
archive_cleaner.c:452:1: warning: return type defaults to 'int' [-Wimplicit-int]
  452 | main(int argc, char **argv)
      | ^~~~
archive_cleaner.c: In function 'cleanArchiveIDB':
archive_cleaner.c:171:26: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 10 [-Wformat-overflow=]
  171 |     sprintf(dateString, "%04d%02d%02d",
      |                          ^~~~
archive_cleaner.c:171:25: note: directive argument in the range [-2147481748, 2147483647]
  171 |     sprintf(dateString, "%04d%02d%02d",
      |                         ^~~~~~~~~~~~~~
archive_cleaner.c:171:25: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from archive_cleaner.c:26:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 10
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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=]
  199 |     sprintf(dateString, "-%04d%02d%02d",
      |                           ^~~~
archive_cleaner.c:199:25: note: directive argument in the range [-2147481748, 2147483647]
  199 |     sprintf(dateString, "-%04d%02d%02d",
      |                         ^~~~~~~~~~~~~~~
archive_cleaner.c:199:25: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from archive_cleaner.c:26:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 35 bytes into a destination of size 10
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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=]
  278 |     sprintf(dateString, "%04d%02d%02d",
      |                          ^~~~
archive_cleaner.c:278:25: note: directive argument in the range [-2147481748, 2147483647]
  278 |     sprintf(dateString, "%04d%02d%02d",
      |                         ^~~~~~~~~~~~~~
archive_cleaner.c:278:25: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from archive_cleaner.c:26:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 10
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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=]
  307 |     sprintf(dateString, "-%04d%02d%02d",
      |                           ^~~~
archive_cleaner.c:307:25: note: directive argument in the range [-2147481748, 2147483647]
  307 |     sprintf(dateString, "-%04d%02d%02d",
      |                         ^~~~~~~~~~~~~~~
archive_cleaner.c:307:25: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from archive_cleaner.c:26:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 35 bytes into a destination of size 10
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dump_commit_requests.o dump_commit_requests.c
dump_commit_requests.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int]
  196 | main(int argc, char **argv)
      | ^~~~
gcc -o dump_commit_requests -g  -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  dump_commit_requests.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient   -lz
install -m 4775 archive_server /build/ctn-3.2.0~dfsg/debian/tmp/bin
install archive_agent /build/ctn-3.2.0~dfsg/debian/tmp/bin
install archive_cleaner /build/ctn-3.2.0~dfsg/debian/tmp/bin
install dump_commit_requests /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_archive'
cd image_server;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/image_server'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o image_server.o image_server.c
image_server.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int]
  110 | main(int argc, char **argv)
      | ^~~~
image_server.c: In function 'main':
image_server.c:235:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  235 |     setuid(getuid());  /* Return to proper uid */
      |     ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  486 |  printf("%8d bytes received of %8d estimated \n", received, estimate);
      |          ~~^                                      ~~~~~~~~
      |            |                                      |
      |            int                                    long unsigned int
      |          %8ld
requests.c:486:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  486 |  printf("%8d bytes received of %8d estimated \n", received, estimate);
      |                                ~~^                          ~~~~~~~~
      |                                  |                          |
      |                                  int                        long unsigned int
      |                                %8ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  491 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |          ~~^                                   ~~~~~~~~~~~
      |            |                                   |
      |            int                                 long unsigned int
      |          %8ld
move.c:491:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  491 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |                                   ~~^                       ~~~~~
      |                                     |                       |
      |                                     int                     long unsigned int
      |                                   %8ld
move.c: In function 'establishSendAssociation':
move.c:554:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  554 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from move.c:50:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  288 |      fprintf(stderr, "Invalid status code in store response: %s\n",
      |                                                              ~^
      |                                                               |
      |                                                               char *
      |                                                              %d
  289 |       storeResponse->status);
      |       ~~~~~~~~~~~~~~~~~~~~~                                    
      |                    |
      |                    int
cget.c:304:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=]
  304 |      fprintf(stderr, "Invalid status code in store response: %s\n",
      |                                                              ~^
      |                                                               |
      |                                                               char *
      |                                                              %d
  305 |       storeResponse->status);
      |       ~~~~~~~~~~~~~~~~~~~~~                                    
      |                    |
      |                    int
cget.c:392:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration]
  392 |      COND_DumpConditions();
      |      ^~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  224 |  (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]
  292 |  if (islower(r->patient.PatNam[i]))
      |      ^~~~~~~
parse.c:293:29: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  293 |      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]
  433 |        queryMap, (int) DIM_OF(queryMap), queryCallback, NULL);
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          CONDITION (*)(DCM_ELEMENT *, void *) {aka long unsigned int (*)(DCM_ELEMENT *, void *)}
In file included from parse.c:68:
/build/ctn-3.2.0~dfsg/include/dicom_objects.h:314:16: note: expected 'CONDITION (*)(const DCM_ELEMENT *, void *)' {aka 'long unsigned int (*)(const DCM_ELEMENT *, void *)'} but argument is of type 'CONDITION (*)(DCM_ELEMENT *, void *)' {aka 'long unsigned int (*)(DCM_ELEMENT *, void *)'}
  314 |     CONDITION(*callback) (const DCM_ELEMENT* e, void* ctx),
      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fillImageDB.o fillImageDB.c
fillImageDB.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int]
   92 | main(int argc, char **argv)
      | ^~~~
fillImageDB.c: In function 'main':
fillImageDB.c:129:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration]
  129 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
fillImageDB.c: In function 'insertImage':
fillImageDB.c:224:12: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration]
  224 |     (void) COND_PopCondition(TRUE);
      |            ^~~~~~~~~~~~~~~~~
gcc -o fillImageDB -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  fillImageDB.o parse.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient   -lz -lm
install -m 4775 image_server /build/ctn-3.2.0~dfsg/debian/tmp/bin
install fillImageDB /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/image_server'
cd load_control;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/load_control'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mwlQuery.o mwlQuery.c
mwlQuery.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int]
  159 | main(int argc, char **argv)
      | ^~~~
mwlQuery.c: In function 'main':
mwlQuery.c:289:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=]
  289 |  (void) fprintf(stderr, "%x\n", cond);
      |                          ~^     ~~~~
      |                           |     |
      |                           |     CONDITION {aka long unsigned int}
      |                           unsigned int
      |                          %lx
gcc -o mwlQuery -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz mwlQuery.o -Wl,-z,relro -Wl,-z,now -lctn 
install mwlQuery /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/mwlQuery'
cd pdu_examples;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/pdu_examples'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ex1_initiator.o ex1_initiator.c
ex1_initiator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int]
   99 | main(int argc, char **argv)
      | ^~~~
gcc -o ex1_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz -L/usr/lib ex1_initiator.o -Wl,-z,relro -Wl,-z,now -lctn 
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ex2_initiator.o ex2_initiator.c
ex2_initiator.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int]
   95 | main(int argc, char **argv)
      | ^~~~
gcc -o ex2_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz -L/usr/lib ex2_initiator.o -Wl,-z,relro -Wl,-z,now -lctn 
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ex3_initiator.o ex3_initiator.c
ex3_initiator.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int]
   97 | main(int argc, char **argv)
      | ^~~~
gcc -o ex3_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz -L/usr/lib ex3_initiator.o -Wl,-z,relro -Wl,-z,now -lctn 
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ex3_acceptor.o ex3_acceptor.c
ex3_acceptor.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int]
  119 | main(int argc, char **argv)
      | ^~~~
ex3_acceptor.c: In function 'main':
ex3_acceptor.c:209:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  209 |     (void) setuid(getuid());
      |            ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ex4_initiator.o ex4_initiator.c
ex4_initiator.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int]
   99 | main(int argc, char **argv)
      | ^~~~
gcc -o ex4_initiator -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz -L/usr/lib ex4_initiator.o -Wl,-z,relro -Wl,-z,now -lctn 
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ex4_acceptor.o ex4_acceptor.c
ex4_acceptor.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int]
  115 | main(int argc, char **argv)
      | ^~~~
ex4_acceptor.c: In function 'main':
ex4_acceptor.c:245:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  245 |     (void) setuid(getuid());
      |            ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_mgr.c
print_mgr.c:832:1: warning: return type defaults to 'int' [-Wimplicit-int]
  832 | main(int argc, char *argv[])
      | ^~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  504 | get_wmShellWidgetClass()
      | ^~~~~~~~~~~~~~~~~~~~~~
Buttons.c:508:1: warning: return type defaults to 'int' [-Wimplicit-int]
  508 | get_applicationShellWidgetClass()
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_shared.c
print_shared.c: In function 'ncreateBFBCallback':
print_shared.c:1116:12: warning: type defaults to 'int' in declaration of 'filmBoxFlagList' [-Wimplicit-int]
 1116 |     static filmBoxFlagList[] = {
      |            ^~~~~~~~~~~~~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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
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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include display_study.c
In function 'SplitPName',
    inlined from 'ConvertPNameToName' at display_study.c:184:5,
    inlined from 'GetStudyList' at display_study.c:298:6:
display_study.c:147:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  147 |     lastname[i++] = '\0';
      |     ~~~~~~~~~~~~~~^~~~~~
display_study.c: In function 'GetStudyList':
display_study.c:181:9: note: at offset 64 to object 'last' with size 20 declared here
  181 |         last[20],
      |         ^~~~
In function 'SplitPName',
    inlined from 'ConvertPNameToName' at display_study.c:184:5,
    inlined from 'GetStudyList' at display_study.c:298:6:
display_study.c:151:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  151 |     firstname[i++] = '\0';
      |     ~~~~~~~~~~~~~~~^~~~~~
display_study.c: In function 'GetStudyList':
display_study.c:180:9: note: at offset 65 to object 'first' with size 24 declared here
  180 |         first[24],
      |         ^~~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  183 |  XtAddCallback(button, XtNcallback, cb, client_data);
      |                                     ^~
      |                                     |
      |                                     void (* (*)())(struct _WidgetRec *, void *, void *)
In file included from display_message.c:64:
/usr/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)())(struct _WidgetRec *, void *, void *)'
 1247 |     XtCallbackProc  /* callback */,
      |     ^~~~~~~~~~~~~~
gcc -o print_mgr -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -I/usr/openwin/include print_client.c
print_client.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int]
  130 | main(int argc, char **argv)
      | ^~~~
print_client.c: In function 'main':
print_client.c:271:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'CONDITION' {aka 'long unsigned int'} [-Wformat=]
  271 |  (void) fprintf(stderr, "%x\n", cond);
      |                          ~^     ~~~~
      |                           |     |
      |                           |     CONDITION {aka long unsigned int}
      |                           unsigned int
      |                          %lx
gcc -o print_client -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o get.o get.c
get.c: In function 'ngetCallback':
get.c:310:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  310 |   printf("N-GET for (%08x) %s\n",
      |                      ~~~^
      |                         |
      |                         unsigned int
      |                      %08lx
  311 |          prnAttribElem[index].tag, element.description);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |
      |                              DCM_TAG {aka long unsigned int}
get.c:336:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  336 |      printf("Server Not aware of such an attribute : %x\n",
      |                                                      ~^
      |                                                       |
      |                                                       unsigned int
      |                                                      %lx
  337 |      ngetRequest->attributeList[index]);
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
      |                                |
      |                                DCM_TAG {aka long unsigned int}
get.c:345:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'DCM_TAG' {aka 'long unsigned int'} [-Wformat=]
  345 |      printf("N-GET for (%08x) %s\n",
      |                         ~~~^
      |                            |
      |                            unsigned int
      |                         %08lx
  346 |      prnAttribElem[index2].tag, element.description);
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           DCM_TAG {aka long unsigned int}
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o create.o create.c
In file included from create.c:61:
static_variables.h:135:38: warning: initialization of 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  135 |     {DICOM_SOPCLASSBASICFILMSESSION, NULL}
      |                                      ^~~~
static_variables.h:135:38: note: (near initialization for 'bfbRefFilmSessionSequence[0].referencedFilmSessionSOPInstanceUID[0]')
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o set.o set.c
In file included from set.c:61:
static_variables.h:135:38: warning: initialization of 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  135 |     {DICOM_SOPCLASSBASICFILMSESSION, NULL}
      |                                      ^~~~
static_variables.h:135:38: note: (near initialization for 'bfbRefFilmSessionSequence[0].referencedFilmSessionSOPInstanceUID[0]')
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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' [-Wimplicit-function-declaration]
   88 |   unlink(elem.objFile);
      |   ^~~~~~
print_server_display.c:96:12: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
   96 |     (void) sleep(5);
      |            ^~~~~
print_server_display.c: In function 'createMainWin':
print_server_display.c:158:37: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types]
  158 |     XtAddCallback(btn, XtNcallback, quit, NULL);
      |                                     ^~~~
      |                                     |
      |                                     void (* (*)(struct _WidgetRec *, void *, void *))(struct _WidgetRec *, void *, void *)
In file included from print_server_display.c:36:
/usr/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (* (*)(struct _WidgetRec *, void *, void *))(struct _WidgetRec *, void *, void *)'
 1247 |     XtCallbackProc  /* callback */,
      |     ^~~~~~~~~~~~~~
print_server_display.c: In function 'pollQueue':
print_server_display.c:204:36: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types]
  204 |  XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL);
      |                                    ^~~~~~~~~
      |                                    |
      |                                    void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)}
In file included from print_server_display.c:36:
/usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'}
  990 |     XtTimerCallbackProc /* proc */,
      |     ^~~~~~~~~~~~~~~~~~~
print_server_display.c:215:36: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types]
  215 |  XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL);
      |                                    ^~~~~~~~~
      |                                    |
      |                                    void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)}
In file included from print_server_display.c:36:
/usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'}
  990 |     XtTimerCallbackProc /* proc */,
      |     ^~~~~~~~~~~~~~~~~~~
print_server_display.c:245:33: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types]
  245 |  XtAppAddTimeOut(app_ctx, 5000, delayedDelete, temp);
      |                                 ^~~~~~~~~~~~~
      |                                 |
      |                                 void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)}
In file included from print_server_display.c:36:
/usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'}
  990 |     XtTimerCallbackProc /* proc */,
      |     ^~~~~~~~~~~~~~~~~~~
print_server_display.c:255:33: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types]
  255 |     XtAppAddTimeOut(app_ctx, 1, pollQueue, NULL);
      |                                 ^~~~~~~~~
      |                                 |
      |                                 void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)}
In file included from print_server_display.c:36:
/usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'}
  990 |     XtTimerCallbackProc /* proc */,
      |     ^~~~~~~~~~~~~~~~~~~
print_server_display.c: In function 'main':
print_server_display.c:425:39: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types]
  425 |     XtAppAddTimeOut(app_ctx, TIMEOUT, pollQueue, NULL);
      |                                       ^~~~~~~~~
      |                                       |
      |                                       void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)}
In file included from print_server_display.c:36:
/usr/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'}
  990 |     XtTimerCallbackProc /* proc */,
      |     ^~~~~~~~~~~~~~~~~~~
print_server_display.c: In function 'delayedDelete':
print_server_display.c:176:16: warning: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Wformat-overflow=]
  176 |  sprintf(num, "%d", --num_client);
      |                ^~
print_server_display.c:176:15: note: directive argument in the range [-2147483648, 2147483646]
  176 |  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
  176 |  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=]
  225 |      sprintf(num, "%d", ++num_client);
      |                    ^~
print_server_display.c:225:19: note: directive argument in the range [-2147483647, 2147483647]
  225 |      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
  225 |      sprintf(num, "%d", ++num_client);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I/usr/openwin/include display_prn.c
display_prn.c:120:8: warning: type defaults to 'int' in declaration of 'ncolor' [-Wimplicit-int]
  120 | static ncolor;
      |        ^~~~~~
display_prn.c: In function 'DISP_DestroyDISP_SESSION':
display_prn.c:717:6: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
  717 |      unlink(img->filename);
      |      ^~~~~~
gcc -o print_server_display -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/X11R6/lib -L/usr/lib print_server_display.o display_prn.o -Wl,-z,relro -Wl,-z,now -lctn  -lXaw -lXt -lm -lXt -lX11 -lm
install print_server_display /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/print_server_display'
cd ris_gateway;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/ris_gateway'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ris_gateway.o ris_gateway.c
ris_gateway.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int]
   73 | main(int argc, char **argv)
      | ^~~~
ris_gateway.c: In function 'main':
ris_gateway.c:167:2: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration]
  167 |  COND_DumpConditions();
      |  ^~~~~~~~~~~~~~~~~~~
ris_gateway.c:171:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  171 |     setuid(getuid());  /* Return to proper uid */
      |     ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  118 |  return COND_PushCondition(APP_ERROR(APP_ASSOCIATIONRQFAILED));
      |         ^~~~~~~~~~~~~~~~~~
association.c:139:6: warning: implicit declaration of function 'COND_DumpConditions' [-Wimplicit-function-declaration]
  139 |      COND_DumpConditions();
      |      ^~~~~~~~~~~~~~~~~~~
association.c: In function 'requestAssociationHIS':
association.c:520:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  520 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from association.c:20:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  344 |   COND_DumpConditions();
      |   ^~~~~~~~~~~~~~~~~~~
procevent.c: In function 'insertNewResults':
procevent.c:541:5: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration]
  541 |     COND_PopCondition();
      |     ^~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  141 |      COND_DumpConditions();
      |      ^~~~~~~~~~~~~~~~~~~
requests.c:160:15: warning: implicit declaration of function 'COND_PopCondition' [-Wimplicit-function-declaration]
  160 |        (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]
  229 |  cond = NEventReportRequest(params, association, handle,
      |         ^~~~~~~~~~~~~~~~~~~
      |         SRV_NEventReportRequest
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o send_image.o send_image.c
send_image.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int]
  148 | main(int argc, char **argv)
      | ^~~~
send_image.c: In function 'sendImageSet':
send_image.c:584:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  584 |       printf("%10d bytes transfer in %7.3f seconds (%f kB/s)\n",
      |               ~~~^
      |                  |
      |                  int
      |               %10ld
  585 |      objectLength, deltaTime,
      |      ~~~~~~~~~~~~ 
      |      |
      |      long unsigned int
send_image.c: In function 'sendCallback':
send_image.c:690:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  690 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, (char *) string);
      |          ~~^                                   ~~~~~~~~~~~
      |            |                                   |
      |            int                                 long unsigned int
      |          %8ld
send_image.c:690:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  690 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, (char *) string);
      |                                   ~~^                       ~~~~~
      |                                     |                       |
      |                                     int                     long unsigned int
      |                                   %8ld
gcc -o send_image -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql   -L/usr/lib send_image.o -Wl,-z,relro -Wl,-z,now -lctn  -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql   -L/usr/lib
install send_image /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/send_image'
cd send_results;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/send_results'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o send_results.o send_results.c
send_results.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int]
  277 | main(int argc, char **argv)
      | ^~~~
send_results.c: In function 'selectImages':
send_results.c:426:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  426 |     printf("%d\n", LST_Count(&imageList));
      |             ~^     ~~~~~~~~~~~~~~~~~~~~~
      |              |     |
      |              int   long unsigned int
      |             %ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  120 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |          ~~^                                   ~~~~~~~~~~~
      |            |                                   |
      |            int                                 long unsigned int
      |          %8ld
association.c:120:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  120 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |                                   ~~^                       ~~~~~
      |                                     |                       |
      |                                     int                     long unsigned int
      |                                   %8ld
association.c: In function 'establishSendAssociation':
association.c:180:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  180 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from association.c:50:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  116 |  printf("%8d bytes transmitted of %8d (%s)\n",
      |          ~~^
      |            |
      |            int
      |          %8ld
  117 |         transmitted, total, string);
      |         ~~~~~~~~~~~
      |         |
      |         long unsigned int
send_study.c:116:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  116 |  printf("%8d bytes transmitted of %8d (%s)\n",
      |                                   ~~^
      |                                     |
      |                                     int
      |                                   %8ld
  117 |         transmitted, total, string);
      |                      ~~~~~           
      |                      |
      |                      long unsigned int
send_study.c: In function 'sendImages':
send_study.c:277:5: warning: implicit declaration of function 'establishSendAssociation' [-Wimplicit-function-declaration]
  277 |     establishSendAssociation(&network, imageList, destinationAETitle,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
send_study.c: At top level:
send_study.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int]
  320 | main(int argc, char **argv)
      | ^~~~
send_study.c: In function 'selectImages':
send_study.c:510:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
  510 |     printf("%d\n", LST_Count(&imageList));
      |             ~^     ~~~~~~~~~~~~~~~~~~~~~
      |              |     |
      |              int   long unsigned int
      |             %ld
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  120 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |          ~~^                                   ~~~~~~~~~~~
      |            |                                   |
      |            int                                 long unsigned int
      |          %8ld
association.c:120:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  120 |  printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |                                   ~~^                       ~~~~~
      |                                     |                       |
      |                                     int                     long unsigned int
      |                                   %8ld
association.c: In function 'establishSendAssociation':
association.c:180:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  180 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from association.c:50:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o simple_pacs.o simple_pacs.c
simple_pacs.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int]
  125 | main(int argc, char **argv)
      | ^~~~
simple_pacs.c: In function 'main':
simple_pacs.c:245:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  245 |     (void) setuid(getuid());
      |            ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o simple_storage.o simple_storage.c
simple_storage.c:437:1: warning: return type defaults to 'int' [-Wimplicit-int]
  437 | main(int argc, char **argv)
      | ^~~~
simple_storage.c: In function 'storageCallback':
simple_storage.c:1531:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 1531 |  printf("%8d bytes received of %8d estimated (%s)\n", received, estimate,
      |          ~~^                                          ~~~~~~~~
      |            |                                          |
      |            int                                        long unsigned int
      |          %8ld
simple_storage.c:1531:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
 1531 |  printf("%8d bytes received of %8d estimated (%s)\n", received, estimate,
      |                                ~~^                              ~~~~~~~~
      |                                  |                              |
      |                                  int                            long unsigned int
      |                                %8ld
simple_storage.c: In function 'sendCallback':
simple_storage.c:2055:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 2055 |     printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |             ~~^                                   ~~~~~~~~~~~
      |               |                                   |
      |               int                                 long unsigned int
      |             %8ld
simple_storage.c:2055:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
 2055 |     printf("%8d bytes transmitted of %8d (%s)\n", transmitted, total, string);
      |                                      ~~^                       ~~~~~
      |                                        |                       |
      |                                        int                     long unsigned int
      |                                      %8ld
simple_storage.c: In function 'main':
simple_storage.c:699:12: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  699 |     (void) setuid(getuid());
      |            ^~~~~~~~~~~~~~~~
simple_storage.c: In function 'storeRequest':
simple_storage.c:1483:28: warning: '%s' directive writing up to 64 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
 1483 |      sprintf(fileName, "%s/%s", directory, (*request)->instanceUID);
      |                            ^~
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from simple_storage.c:74:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1089 bytes into a destination of size 1024
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o snp_to_files.o snp_to_files.c
snp_to_files.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int]
   99 | main(int argc, char *argv[])
      | ^~~~
snp_to_files.c: In function 'main':
snp_to_files.c:171:71: warning: comparison between pointer and integer
  171 |     if ((fd_itoa = open(argv[8], O_WRONLY | O_CREAT | O_TRUNC, 0666)) == NULL) {
      |                                                                       ^~
snp_to_files.c:176:71: warning: comparison between pointer and integer
  176 |     if ((fd_atoi = open(argv[9], O_WRONLY | O_CREAT | O_TRUNC, 0666)) == NULL) {
      |                                                                       ^~
snp_to_files.c:198:2: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
  198 |  sleep(1);
      |  ^~~~~
snp_to_files.c:228:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  228 |     close(fd_itoa);
      |     ^~~~~
      |     pclose
snp_to_files.c: In function 'callbackITOA':
snp_to_files.c:310:10: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  310 |     if ((write(fd_itoa, (void *) &buf_head, 12)) != 12)
      |          ^~~~~
      |          fwrite
gcc -o snp_to_files -O -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib snp_to_files.o -Wl,-z,relro -Wl,-z,now -lctn  
install snp_to_files /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/snp_to_files'
cd storage_classes;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_classes'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -I/build/ctn-3.2.0~dfsg/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o storage_classes.o storage_classes.c
storage_classes.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int]
  101 | main(int argc, char **argv)
      | ^~~~
gcc -o storage_classes -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql  -lz -L/usr/lib storage_classes.o -Wl,-z,relro -Wl,-z,now -lctn 
install storage_classes /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_classes'
cd storage_commit;		make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/storage_commit'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o storage_commit.o storage_commit.c
storage_commit.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int]
   92 | main(int argc, char **argv)
      | ^~~~
storage_commit.c: In function 'main':
storage_commit.c:205:9: warning: implicit declaration of function 'establishAssociation' [-Wimplicit-function-declaration]
  205 |     if (establishAssociation(&networkKey,
      |         ^~~~~~~~~~~~~~~~~~~~
storage_commit.c:214:5: warning: implicit declaration of function 'sendStorageCommitRequest' [-Wimplicit-function-declaration]
  214 |     sendStorageCommitRequest(&fisHandle, transactionUID,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o association.o association.c
association.c: In function 'establishAssociation':
association.c:138:51: warning: ':' directive writing 1 byte into a region of size between 0 and 64 [-Wformat-overflow=]
  138 |     sprintf(params->calledPresentationAddress, "%s:%-d", ae.Node, ae.Port);
      |                                                   ^
In file included from /usr/include/stdio.h:867,
                 from /build/ctn-3.2.0~dfsg/include/ctn_os.h:62,
                 from association.c:50:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 77 bytes into a destination of size 64
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o commit_agent.o commit_agent.c
commit_agent.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int]
  112 | main(int argc, char **argv)
      | ^~~~
commit_agent.c: In function 'main':
commit_agent.c:226:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  226 |     setuid(getuid());  /* Return to proper uid */
      |     ^~~~~~~~~~~~~~~~
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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]
  242 |  cond = neventReportRequest(params, association, handle, ctx,
      |         ^~~~~~~~~~~~~~~~~~~
      |         SRV_NEventReportRequest
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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=]
  170 |      printf("Transaction UID: %s\n   SOP Instances committed: %d\n",
      |                                                               ~^
      |                                                                |
      |                                                                int
      |                                                               %ld
  171 |      storageCommit.TraUID,
  172 |      LST_Count(&l));
      |      ~~~~~~~~~~~~~                                              
      |      |
      |      long unsigned int
nevent.c:212:61: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  212 |      printf("Transaction UID: %s\n   SOP Instances failed: %d\n",
      |                                                            ~^
      |                                                             |
      |                                                             int
      |                                                            %ld
  213 |      storageCommit.TraUID,
  214 |      LST_Count(&l));
      |      ~~~~~~~~~~~~~                                           
      |      |
      |      long unsigned int
nevent.c:237:5: warning: implicit declaration of function 'UTL_GetDicomDate' [-Wimplicit-function-declaration]
  237 |     UTL_GetDicomDate(storageCommit.ResDat);
      |     ^~~~~~~~~~~~~~~~
nevent.c:238:5: warning: implicit declaration of function 'UTL_GetDicomTime' [-Wimplicit-function-declaration]
  238 |     UTL_GetDicomTime(storageCommit.ResTim);
      |     ^~~~~~~~~~~~~~~~
gcc -o commit_agent -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql commit_agent.o association.o requests.o nevent.o sscond.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient -lz
install storage_commit /build/ctn-3.2.0~dfsg/debian/tmp/bin
install commit_agent /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/storage_commit'
cd tbltest;			make install
make[4]: Entering directory '/build/ctn-3.2.0~dfsg/apps/tbltest'
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -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 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ttunique.o ttunique.c
ttunique.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int]
   59 | main()
      | ^~~~
gcc -o ttunique -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  -lz ttunique.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ttdelete.o ttdelete.c
ttdelete.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int]
   64 | main()
      | ^~~~
gcc -o ttdelete -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  -lz ttdelete.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ttselect.o ttselect.c
ttselect.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int]
   72 | main()
      | ^~~~
ttselect.c: In function 'main':
ttselect.c:117:54: warning: passing argument 5 of 'TBL_Select' from incompatible pointer type [-Wincompatible-pointer-types]
  117 |     cond = TBL_Select(&handle, NULL, fields, &count, callback, (void *) foo);
      |                                                      ^~~~~~~~
      |                                                      |
      |                                                      CONDITION (*)(TBL_FIELD *, int,  void *) {aka long unsigned int (*)(TBL_FIELD *, int,  void *)}
In file included from ttselect.c:57:
/build/ctn-3.2.0~dfsg/include/tbl.h:265:52: note: expected 'CONDITION (*)(TBL_FIELD *, long int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, long int,  void *)'} but argument is of type 'CONDITION (*)(TBL_FIELD *, int,  void *)' {aka 'long unsigned int (*)(TBL_FIELD *, int,  void *)'}
  265 |     TBL_FIELD * fieldList, long *count, CONDITION(*callback) (TBL_FIELD*, long, void*), void *ctx);
      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ttselect.c:123:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  123 |     printf("ALL DONE--Count: %d\n", count);
      |                              ~^     ~~~~~
      |                               |     |
      |                               int   long int
      |                              %ld
gcc -o ttselect -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  -lz ttselect.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ttlayout.o ttlayout.c
ttlayout.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int]
   72 | main()
      | ^~~~
ttlayout.c: In function 'main':
ttlayout.c:87:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
   87 |     scanf("%s", db);
      |     ^~~~~~~~~~~~~~~
ttlayout.c:89:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |     scanf("%s", tab);
      |     ^~~~~~~~~~~~~~~~
gcc -o ttlayout -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  -lz ttlayout.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient
gcc -g -DDEBUG -DLITTLE_ENDIAN_ARCHITECTURE -DLINUX -DSHARED_MEMORY -DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB -I/build/ctn-3.2.0~dfsg/include -I/usr/include/mysql -I/usr/include/Xm -I/usr/X11R6/include -g -O2 -fdebug-prefix-map=/build/ctn-3.2.0~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DLONGSIZE=32 -DINTSIZE=32 -DSHORTSIZE=16 -DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ttupdate.o ttupdate.c
ttupdate.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int]
   65 | main()
      | ^~~~
gcc -o ttupdate -g -L/build/ctn-3.2.0~dfsg/lib/ctn-mysql -L/usr/lib  -lz ttupdate.o -Wl,-z,relro -Wl,-z,now -lctn -L/usr/lib -lmysqlclient
install ttinsert /build/ctn-3.2.0~dfsg/debian/tmp/bin
install ttunique /build/ctn-3.2.0~dfsg/debian/tmp/bin
install ttdelete /build/ctn-3.2.0~dfsg/debian/tmp/bin
install ttselect /build/ctn-3.2.0~dfsg/debian/tmp/bin
install ttlayout /build/ctn-3.2.0~dfsg/debian/tmp/bin
install ttupdate /build/ctn-3.2.0~dfsg/debian/tmp/bin
make[4]: Leaving directory '/build/ctn-3.2.0~dfsg/apps/tbltest'
make[3]: Leaving directory '/build/ctn-3.2.0~dfsg/apps'
make[2]: Leaving directory '/build/ctn-3.2.0~dfsg'
make[1]: Leaving directory '/build/ctn-3.2.0~dfsg'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   debian/rules override_dh_prep
make[1]: Entering directory '/build/ctn-3.2.0~dfsg'
# ctn build process does build+install in one rush
# dear dh_prep, please leave my debian/tmp
mv /build/ctn-3.2.0~dfsg/debian/tmp /build/ctn-3.2.0~dfsg/debian/do_not_delete_this_tmp_dir
dh_prep
mv /build/ctn-3.2.0~dfsg/debian/do_not_delete_this_tmp_dir /build/ctn-3.2.0~dfsg/debian/tmp
make[1]: Leaving directory '/build/ctn-3.2.0~dfsg'
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory '/build/ctn-3.2.0~dfsg'
echo 'Do not try to call `make install` since it requires setting variable DICOM_MAKE'
Do not try to call `make install` since it requires setting variable DICOM_MAKE
make[1]: Leaving directory '/build/ctn-3.2.0~dfsg'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   debian/rules override_dh_fixperms
make[1]: Entering directory '/build/ctn-3.2.0~dfsg'
dh_fixperms
chmod +x `echo /build/ctn-3.2.0~dfsg/debian/ctn/usr/share/ctn/mysql/*`
chmod -x `echo /build/ctn-3.2.0~dfsg/debian/ctn/usr/share/ctn/mysql/*.script`
make[1]: Leaving directory '/build/ctn-3.2.0~dfsg'
   dh_missing
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'ctn' in '../ctn_3.2.0~dfsg-7_armhf.deb'.
dpkg-deb: building package 'ctn-dev' in '../ctn-dev_3.2.0~dfsg-7_armhf.deb'.
dpkg-deb: building package 'ctn-dbgsym' in '../ctn-dbgsym_3.2.0~dfsg-7_armhf.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../ctn_3.2.0~dfsg-7_armhf.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
dpkg-genchanges: info: not including original source code in upload
I: copying local configuration
I: 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/15474 and its subdirectories
I: Current time: Tue Aug 24 19:29:31 -12 2021
I: pbuilder-time-stamp: 1629876572