<86>Feb  8 18:19:03 userdel[2964141]: delete user 'rooter'
<86>Feb  8 18:19:03 groupadd[2964149]: group added to /etc/group: name=rooter, GID=687
<86>Feb  8 18:19:03 groupadd[2964149]: group added to /etc/gshadow: name=rooter
<86>Feb  8 18:19:03 groupadd[2964149]: new group: name=rooter, GID=687
<86>Feb  8 18:19:03 useradd[2964157]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash
<86>Feb  8 18:19:03 userdel[2964168]: delete user 'builder'
<86>Feb  8 18:19:03 userdel[2964168]: removed group 'builder' owned by 'builder'
<86>Feb  8 18:19:03 userdel[2964168]: removed shadow group 'builder' owned by 'builder'
<86>Feb  8 18:19:03 groupadd[2964178]: group added to /etc/group: name=builder, GID=688
<86>Feb  8 18:19:03 groupadd[2964178]: group added to /etc/gshadow: name=builder
<86>Feb  8 18:19:03 groupadd[2964178]: new group: name=builder, GID=688
<86>Feb  8 18:19:03 useradd[2964186]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash
/usr/src/in/srpm/kannel-1.5.0-alt1.cvs20091101.3.src.rpm: license not found in '/usr/share/license' directory: Kannel
warning: line 39: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base
<13>Feb  8 18:19:06 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed
<13>Feb  8 18:19:07 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed
<13>Feb  8 18:19:07 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed
<13>Feb  8 18:19:07 rpmi: libgomp1-10.2.1-alt2 sisyphus+263054.100.3.1 1607510657 installed
<13>Feb  8 18:19:07 rpmi: libwebp7-1.2.0-alt1 sisyphus+265504.100.2.1 1612122046 installed
<13>Feb  8 18:19:07 rpmi: libverto-0.3.1-alt1_2 sisyphus+265276.100.1.1 1611604625 installed
<13>Feb  8 18:19:07 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed
<13>Feb  8 18:19:07 rpmi: liblcms2-2.11-alt1 sisyphus+253499.100.1.1 1592287020 installed
<13>Feb  8 18:19:07 rpmi: libltdl7-2.4.6-alt2 sisyphus+263722.100.1.1 1608561894 installed
<13>Feb  8 18:19:07 rpmi: libopenjpeg2.0-2.4.0-alt1 sisyphus+264173.100.1.1 1609245156 installed
<13>Feb  8 18:19:07 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed
<13>Feb  8 18:19:07 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed
<13>Feb  8 18:19:07 rpmi: libnettle8-3.7-alt1 sisyphus+265128.100.1.1 1611325151 installed
<13>Feb  8 18:19:07 rpmi: libjbig-2.1-alt1 1401380926 installed
<13>Feb  8 18:19:07 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed
<13>Feb  8 18:19:07 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed
<13>Feb  8 18:19:07 rpmi: libfribidi-1.0.10-alt1 sisyphus+254557.100.1.1 1594020362 installed
<13>Feb  8 18:19:07 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed
<13>Feb  8 18:19:07 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed
<13>Feb  8 18:19:07 rpmi: ilmbase25-common-2.5.3-alt1 sisyphus+260406.100.1.1 1603706892 installed
<13>Feb  8 18:19:07 rpmi: libiex25-2.5.3-alt1 sisyphus+260406.100.1.1 1603706892 installed
<13>Feb  8 18:19:07 rpmi: libilmthread25-2.5.3-alt1 sisyphus+260406.100.1.1 1603706892 installed
<13>Feb  8 18:19:07 rpmi: libimath25-2.5.3-alt1 sisyphus+260406.100.1.1 1603706892 installed
<13>Feb  8 18:19:07 rpmi: libhalf25-2.5.3-alt1 sisyphus+260406.100.1.1 1603706892 installed
<13>Feb  8 18:19:07 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed
<13>Feb  8 18:19:07 rpmi: libhogweed6-3.7-alt1 sisyphus+265128.100.1.1 1611325151 installed
<13>Feb  8 18:19:07 rpmi: libcom_err-devel-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed
<13>Feb  8 18:19:07 rpmi: libverto-devel-0.3.1-alt1_2 sisyphus+265276.100.1.1 1611604625 installed
<13>Feb  8 18:19:07 rpmi: libflif-0.3-alt3 sisyphus+248230.100.1.1 1584818790 installed
<13>Feb  8 18:19:07 rpmi: libjasper-2.0.24-alt1 sisyphus+265033.100.2.3 1611263852 installed
<13>Feb  8 18:19:07 rpmi: libraw-0.20.2-alt1 sisyphus+258819.40.9.1 1604414258 installed
<13>Feb  8 18:19:07 rpmi: libtcl-8.6.11-alt1 sisyphus+264361.140.8.1 1610711374 installed
<13>Feb  8 18:19:07 rpmi: libsqlite3-3.34.1-alt1 sisyphus+265135.100.1.1 1611333114 installed
<13>Feb  8 18:19:07 rpmi: libpcre16-8.44-alt1 sisyphus+246874.100.1.1 1582587781 installed
<13>Feb  8 18:19:07 rpmi: pcretest-8.44-alt1 sisyphus+246874.100.1.1 1582587781 installed
<13>Feb  8 18:19:07 rpmi: openldap-common-2.4.56-alt1 sisyphus+264049.140.3.1 1609084202 installed
<13>Feb  8 18:19:07 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed
<13>Feb  8 18:19:07 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed
<13>Feb  8 18:19:07 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Feb  8 18:19:07 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Feb  8 18:19:07 rpmi: ca-certificates-2021.01.27-alt1 sisyphus+265371.200.1.1 1611759824 installed
<13>Feb  8 18:19:07 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Feb  8 18:19:07 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed
<13>Feb  8 18:19:07 rpmi: libcrypto1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed
<13>Feb  8 18:19:07 rpmi: libssl1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed
<86>Feb  8 18:19:07 groupadd[2972763]: group added to /etc/group: name=_keytab, GID=499
<86>Feb  8 18:19:07 groupadd[2972763]: group added to /etc/gshadow: name=_keytab
<86>Feb  8 18:19:07 groupadd[2972763]: new group: name=_keytab, GID=499
<13>Feb  8 18:19:07 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed
<86>Feb  8 18:19:07 groupadd[2972892]: group added to /etc/group: name=sasl, GID=498
<86>Feb  8 18:19:07 groupadd[2972892]: group added to /etc/gshadow: name=sasl
<86>Feb  8 18:19:07 groupadd[2972892]: new group: name=sasl, GID=498
<13>Feb  8 18:19:07 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed
<13>Feb  8 18:19:08 rpmi: libldap-2.4.56-alt1 sisyphus+264049.140.3.1 1609084359 installed
<13>Feb  8 18:19:08 rpmi: libpq5-13.1-alt2 sisyphus+263419.100.1.1 1607919391 installed
<13>Feb  8 18:19:08 rpmi: libecpg6-13.1-alt2 sisyphus+263419.100.1.1 1607919391 installed
<13>Feb  8 18:19:08 rpmi: libkrb5-ldap-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed
<13>Feb  8 18:19:08 rpmi: libkrb5-devel-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed
<13>Feb  8 18:19:08 rpmi: libmysqlclient21-8.0.22-alt2 sisyphus+263841.100.2.1 1610775743 installed
<13>Feb  8 18:19:08 rpmi: libImageMagick6-common-6.9.11.53-alt1 sisyphus+264282.100.1.1 1609576406 installed
<13>Feb  8 18:19:08 rpmi: libwmflite-0.2.8.4-alt13 1506519339 installed
<13>Feb  8 18:19:08 rpmi: liblqr-0.4.2-alt1 1383038438 installed
<13>Feb  8 18:19:08 rpmi: libx265-192-3.4-alt1 sisyphus+254160.100.7.1 1593756037 installed
<13>Feb  8 18:19:08 rpmi: libde265-1.0.7-alt1 sisyphus+258615.100.1.1 1600957231 installed
<13>Feb  8 18:19:08 rpmi: libaom2-2.0.1-alt1 sisyphus+265247.100.1.1 1611584743 installed
<13>Feb  8 18:19:08 rpmi: libfftw3-common-3.3.8-alt1 sisyphus+247390.100.1.1 1583426835 installed
<13>Feb  8 18:19:08 rpmi: libfftw3-3.3.8-alt1 sisyphus+247390.100.1.1 1583426459 installed
<13>Feb  8 18:19:08 rpmi: djvu-common-3.5.27-alt1 sisyphus+252709.100.1.1 1591173068 installed
<13>Feb  8 18:19:08 rpmi: libdjvu-3.5.27-alt1 sisyphus+252709.100.1.1 1591173066 installed
<13>Feb  8 18:19:08 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+225727.500.8.1 1553672623 installed
<13>Feb  8 18:19:08 rpmi: libpaper-1.1.28-alt1 sisyphus+259176.100.1.1 1601738993 installed
<13>Feb  8 18:19:08 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed
<13>Feb  8 18:19:08 rpmi: libgnutls30-3.6.15-alt1 sisyphus+257742.200.2.1 1599668978 installed
<13>Feb  8 18:19:08 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed
<13>Feb  8 18:19:08 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed
<13>Feb  8 18:19:09 rpmi: libgcrypt20-1.9.1-alt1 sisyphus+265464.100.1.1 1611920829 installed
<13>Feb  8 18:19:09 rpmi: libsystemd-1:247.3-alt1 sisyphus+265719.100.2.1 1612573505 installed
<13>Feb  8 18:19:09 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed
<13>Feb  8 18:19:09 rpmi: libavahi-0.8-alt1 sisyphus+255349.240.4.1 1595604514 installed
<13>Feb  8 18:19:09 rpmi: libcups-2.3.3-alt1 sisyphus+265411.100.1.1 1611832621 installed
<13>Feb  8 18:19:09 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed
<13>Feb  8 18:19:09 rpmi: libgdk-pixbuf-locales-2.42.2-alt1 sisyphus+263074.100.1.1 1607428070 installed
<13>Feb  8 18:19:09 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+263711.100.20.1 1609407991 installed
<13>Feb  8 18:19:09 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed
<13>Feb  8 18:19:09 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed
<13>Feb  8 18:19:09 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed
<13>Feb  8 18:19:09 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed
<13>Feb  8 18:19:09 rpmi: shared-mime-info-2.1-alt1 sisyphus+264261.100.1.1 1609507723 installed
<13>Feb  8 18:19:10 rpmi: gsettings-desktop-schemas-data-3.38.0-alt1 sisyphus+258314.500.14.2 1600843028 installed
<13>Feb  8 18:19:10 rpmi: libgio-2.66.6-alt1 sisyphus+265811.100.1.1 1612475090 installed
<13>Feb  8 18:19:10 rpmi: gsettings-desktop-schemas-3.38.0-alt1 sisyphus+258314.500.14.2 1600843530 installed
<13>Feb  8 18:19:10 rpmi: libgdk-pixbuf-2.42.2-alt1 sisyphus+263074.100.1.1 1607428069 installed
<13>Feb  8 18:19:10 rpmi: gtk-update-icon-cache-3.24.24-alt1 sisyphus+262986.100.1.1 1607244068 installed
<13>Feb  8 18:19:10 rpmi: libheif-1.9.0-alt1 sisyphus+258615.200.1.1 1600957299 installed
<13>Feb  8 18:19:10 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587971055 installed
<13>Feb  8 18:19:10 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed
<13>Feb  8 18:19:10 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed
<13>Feb  8 18:19:10 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed
<13>Feb  8 18:19:10 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed
<13>Feb  8 18:19:10 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed
<13>Feb  8 18:19:10 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed
Updating fonts cache: <29>Feb  8 18:19:11 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>Feb  8 18:19:12 rpmi: libgs-9.53.3-alt1 sisyphus+260366.100.1.1 1603614538 installed
<13>Feb  8 18:19:12 rpmi: libraqm-0.7.0-alt1 sisyphus+235164.100.2.1 1564651518 installed
<13>Feb  8 18:19:12 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed
<13>Feb  8 18:19:12 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed
<13>Feb  8 18:19:12 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed
<13>Feb  8 18:19:12 rpmi: libdrm-1:2.4.104-alt1 sisyphus+264662.100.1.1 1610612753 installed
<13>Feb  8 18:19:12 rpmi: libgbm-4:20.3.4-alt1 sisyphus+265564.100.1.1 1612163514 installed
<13>Feb  8 18:19:12 rpmi: libX11-locales-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed
<13>Feb  8 18:19:12 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed
<13>Feb  8 18:19:12 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed
<13>Feb  8 18:19:12 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed
<13>Feb  8 18:19:13 rpmi: libX11-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed
<13>Feb  8 18:19:13 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed
<13>Feb  8 18:19:13 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed
<13>Feb  8 18:19:13 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed
<13>Feb  8 18:19:13 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed
<13>Feb  8 18:19:13 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed
<13>Feb  8 18:19:13 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed
<13>Feb  8 18:19:13 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed
<13>Feb  8 18:19:13 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed
<13>Feb  8 18:19:13 rpmi: libGLX-mesa-4:20.3.4-alt1 sisyphus+265564.100.1.1 1612163514 installed
<13>Feb  8 18:19:13 rpmi: libEGL-mesa-4:20.3.4-alt1 sisyphus+265564.100.1.1 1612163514 installed
<13>Feb  8 18:19:13 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed
<13>Feb  8 18:19:13 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed
<13>Feb  8 18:19:13 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed
<13>Feb  8 18:19:13 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed
<13>Feb  8 18:19:13 rpmi: libpango-1.48.1-alt1 sisyphus+265097.100.1.1 1611302495 installed
<13>Feb  8 18:19:13 rpmi: liblasi-1.1.3-alt2 sisyphus+239300.100.1.1 1571209616 installed
<13>Feb  8 18:19:13 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed
<13>Feb  8 18:19:13 rpmi: librsvg-1:2.50.3-alt1 sisyphus+265438.100.1.1 1611858650 installed
<13>Feb  8 18:19:13 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed
<13>Feb  8 18:19:13 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed
<13>Feb  8 18:19:13 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed
<13>Feb  8 18:19:13 rpmi: libXpm-3.5.13-alt1 sisyphus+247690.300.1.1 1584000526 installed
<13>Feb  8 18:19:13 rpmi: libgd3-2.3.0-alt2 sisyphus+250375.100.2.1 1587542909 installed
<13>Feb  8 18:19:13 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed
<13>Feb  8 18:19:13 rpmi: libgtk+2-2.24.33-alt1 sisyphus+263711.100.20.1 1609408077 installed
<13>Feb  8 18:19:14 rpmi: libgraphviz-2.41.2-alt4 sisyphus+258874.100.1.1 1601381242 installed
<13>Feb  8 18:19:14 rpmi: openexr25-common-2.5.3-alt1 sisyphus+260406.200.2.1 1603719730 installed
<13>Feb  8 18:19:14 rpmi: libilmimf25-2.5.3-alt1 sisyphus+260406.200.2.1 1603719730 installed
<13>Feb  8 18:19:14 rpmi: libImageMagick6.6-6.9.11.53-alt1 sisyphus+264282.100.1.1 1609576406 installed
<13>Feb  8 18:19:14 rpmi: rpm-macros-pam0-1.5.1-alt1 sisyphus+260508.100.1.1 1606328316 installed
<13>Feb  8 18:19:14 rpmi: libpam0-devel-1.5.1-alt1 sisyphus+260508.100.1.1 1606328327 installed
<13>Feb  8 18:19:14 rpmi: ImageMagick-tools-6.9.11.53-alt1 sisyphus+264282.100.1.1 1609576406 installed
<13>Feb  8 18:19:14 rpmi: libmysqlclient21-devel-8.0.22-alt2 sisyphus+263841.100.2.1 1610775743 installed
<13>Feb  8 18:19:14 rpmi: postgresql-devel-13.1-alt2 sisyphus+263419.100.1.1 1607919391 installed
<13>Feb  8 18:19:14 rpmi: openssl-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed
<13>Feb  8 18:19:14 rpmi: openssl-engines-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed
<13>Feb  8 18:19:14 rpmi: libpcre-devel-8.44-alt1 sisyphus+246874.100.1.1 1582587781 installed
<13>Feb  8 18:19:14 rpmi: libsqlite3-devel-3.34.1-alt1 sisyphus+265135.100.1.1 1611333114 installed
<13>Feb  8 18:19:15 rpmi: sqlite3-3.34.1-alt1 sisyphus+265135.100.1.1 1611333114 installed
<13>Feb  8 18:19:15 rpmi: libxml2-devel-1:2.9.10-alt5 sisyphus+265350.100.1.1 1611742530 installed
<13>Feb  8 18:19:15 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed
warning: line 39: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/kannel-1.5.0-alt1.cvs20091101.3.nosrc.rpm (w1.gzdio)
warning: line 28: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base
Installing kannel-1.5.0-alt1.cvs20091101.3.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76693
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf gateway-1.5.0
+ echo 'Source #0 (gateway-1.5.0.tar.bz2):'
Source #0 (gateway-1.5.0.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/gateway-1.5.0.tar.bz2
+ /bin/tar -xf -
+ cd gateway-1.5.0
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (kannel-1.4.1-alt-rm_enquire_link.patch):'
Patch #0 (kannel-1.4.1-alt-rm_enquire_link.patch):
+ /usr/bin/patch -p2
patching file gw/smsc/smpp_pdu.c
patching file gw/smsc/smsc_smpp.c
Hunk #1 succeeded at 969 with fuzz 2.
Hunk #2 succeeded at 1924 with fuzz 2.
+ echo 'Patch #1 (kannel_store_tools.patch):'
Patch #1 (kannel_store_tools.patch):
+ /usr/bin/patch -p0
patching file test/store_tools.c
+ echo 'Patch #2 (kannel-dlr-retry.patch):'
Patch #2 (kannel-dlr-retry.patch):
+ /usr/bin/patch -p0
patching file gwlib/cfg.def
patching file gw/dlr.c
Hunk #1 succeeded at 230 (offset 2 lines).
Hunk #2 succeeded at 274 (offset 4 lines).
Hunk #3 succeeded at 377 (offset 4 lines).
Hunk #4 succeeded at 391 (offset 4 lines).
patching file gw/dlr_p.h
+ echo 'Patch #3 (kannel-pam.patch):'
Patch #3 (kannel-pam.patch):
+ /usr/bin/patch -p0
patching file configure.in
patching file gw-config.h.in
patching file gw/smsbox.c
patching file gw/urltrans.c
patching file gw/urltrans.h
patching file gwlib/cfg.def
Hunk #1 succeeded at 492 (offset 3 lines).
+ echo 'Patch #4 (kannel-fix-aarch64-build.patch):'
Patch #4 (kannel-fix-aarch64-build.patch):
+ /usr/bin/patch -p1
patching file gwlib/log.c
+ echo 'Patch #5 (kannel-1.5.0-alt-mysql8-transition.patch):'
Patch #5 (kannel-1.5.0-alt-mysql8-transition.patch):
+ /usr/bin/patch -p0
patching file ./gwlib/dbpool_mysql.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.76693
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd gateway-1.5.0
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ sort -u
+ xargs -ri dirname -- '{}'
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-cflags=-fPIC --enable-cookies --enable-largefile --disable-docs --disable-drafts --enable-keepalive --disable-mutex-stats --enable-localtime --enable-pam --enable-pcre --enable-sms --enable-ssl --disable-start-stop-daemon --with-defaults=speed --enable-wap --with-mysql --with-pgsql --without-sqlite --with-sqlite3 --with-ssl=/usr/lib/openssl --disable-ssl-thread-test
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --without-sqlite
checking cvs checkout date... grep: CVS/Entries: No such file or directory
grep: CVS/Entries: No such file or directory


Configuring for Kannel gateway version cvs- ...

Running system checks ...
checking build system type... i586-alt-linux-gnu
checking host system type... i586-alt-linux-gnu
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking for i586-alt-linux-gcc option to accept ISO C99... none needed
checking for a BSD-compatible install... /bin/install -c
checking for i586-alt-linux-ranlib... no
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for i586-alt-linux-ar... no
checking for ar... ar
checking for convert... /usr/bin/convert
checking for perl... /usr/bin/perl
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking how to run the C preprocessor... i586-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... no
checking for inet_ntop in -lresolv... yes
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... yes
checking for srandom... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in <sys/socket.h>... yes
checking for getopt in <stdio.h>... no
checking for getopt in <unistd.h>... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes

Checking for POSIX threads support ...
checking for working pthreads... yes
checking for pthread_spinlock support... yes
checking for pthread_rwlock support... yes
checking for sem_init in -lrt... yes
checking for semaphore support... yes

Checking for libxml2 support ...
checking for xml2-config... /usr/bin/xml2-config
checking libxml version... 2.9.10

Configuring for PCRE support ...
checking whether to compile with PCRE support... searching
checking for pcre-config... /usr/bin/pcre-config
checking PCRE version... 8.44
checking for POSIX regex provider... PCRE library
checking pcreposix.h usability... yes
checking pcreposix.h presence... no
configure: WARNING: pcreposix.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pcreposix.h: proceeding with the compiler's result
checking for pcreposix.h... yes
checking for regcomp in -lpcreposix... yes
checking pcre.h usability... yes
checking pcre.h presence... no
configure: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pcre.h: proceeding with the compiler's result
checking for pcre.h... yes
checking for pcre_compile... yes

Configuring DocBook support ...
checking for jade... no
checking for openjade... no
checking for jadetex... no
checking for pdfjadetex... no
checking for dvips... no
checking for fig2dev... no
checking for convert... /usr/bin/convert
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no
checking for /usr/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no
checking for /usr/share/dsssl/docbook-dsssl/html/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no
checking for /usr/local/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no
checking for /usr/local/share/dsssl/docbook-dsssl/html/docbook.dsl... no
checking for /sw/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /sw/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for /sw/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no
checking for /sw/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no
checking for /sw/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no
checking for /sw/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no
checking for /sw/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no
checking for /sw/share/dsssl/docbook-dsssl/html/docbook.dsl... no
checking for /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /opt/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no
checking for /opt/local/share/sgml/dsssl/docbook-dsssl-nwalsh/html/docbook.dsl... no
checking for /opt/local/share/dsssl/docbook-dsssl/html/docbook.dsl... no
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no
checking for /usr/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no
checking for /usr/share/dsssl/docbook-dsssl/print/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no
checking for /usr/local/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no
checking for /usr/local/share/dsssl/docbook-dsssl/print/docbook.dsl... no
checking for /sw/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no
checking for /sw/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no
checking for /sw/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no
checking for /sw/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no
checking for /sw/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no
checking for /sw/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no
checking for /sw/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no
checking for /sw/share/dsssl/docbook-dsssl/print/docbook.dsl... no
checking for /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no
checking for /opt/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no
checking for /opt/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no
checking for /opt/local/share/sgml/dsssl/docbook-dsssl-nwalsh/print/docbook.dsl... no
checking for /opt/local/share/dsssl/docbook-dsssl/print/docbook.dsl... no
Not building documentation.

Configuring parameters ...
checking which malloc to use... native malloc
disabling assertion checking
checking for pam_end in -lpam... yes
checking for main in -ldl... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
PAM authentication is enabled.
enabling local time
enabling cookies
enabling HTTP/1.1 keep-alive

Configuring OpenSSL support ...
checking whether to compile with SSL support... trying /usr/lib/openssl/lib /usr/lib/openssl/include
checking for openssl... /usr/bin/openssl
checking for CRYPTO_lock in -lcrypto... no

Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/bin/mysql_config
checking mysql version... 8.0.22
checking mysql reentrant libs...  -L/usr/lib -lmysqlclient 
checking for mysql_init in -lmysqlclient_r... no
checking mysql libs...  -L/usr/lib -lmysqlclient 
checking for mysql_init in -lmysqlclient... yes
checking mysql includes... -I/usr/include/mysql
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking mysql/mysql_version.h usability... yes
checking mysql/mysql_version.h presence... yes
checking for mysql/mysql_version.h... yes
checking for mysql_stmt_init in -lmysqlclient_r... no
checking for mysql_stmt_init in -lmysqlclient... yes
checking whether to compile with MySQL support... yes
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 support... disabled
checking whether to compile with SQLite3 support... searching
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_open in -lsqlite3... yes
checking for sqlite3... /usr/bin/sqlite3
checking sqlite3 version... 3.34.1 2021-01-20 14:10:07 10e20c0b43500cfb9bbc0eaa061c57514f715d87238f4d835880cd846b9ealt1
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... searching
checking for pg_config... /usr/bin/pg_config
checking PostgreSQL version... PostgreSQL 13.1
checking PostgreSQL libs... /usr/lib
checking PostgreSQL includes... /usr/include/pgsql
checking postgresql/libpq-fe.h usability... yes
checking postgresql/libpq-fe.h presence... yes
checking for postgresql/libpq-fe.h... yes
checking for PQconnectdb in -lpq... yes
checking whether to compile with PostgreSQL support... yes
checking whether to compile with FreeTDS Ct-Lib support... disabled

Generating output files ...
configure: creating ./config.status
config.status: creating gwlib/gw_uuid_types.h
config.status: creating Makefile
config.status: creating gw-config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --without-sqlite

License information ...
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the Kannel Software License, available |
| in this distribution in the file LICENSE. By continuing this       |
| installation process, you are bound by the terms of this license   |
| agreement. If you do not agree with the terms of this license, you |
| must abort the installation process at this point.                 |
|                                                                    |
|                      The Kannel Group <http://www.kannel.org/>     |
+--------------------------------------------------------------------+

Thank you for using Kannel.
+ make
make: Entering directory '/usr/src/RPM/BUILD/gateway-1.5.0'
for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \
for file in $dir/*.c; do \
    i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -MM $file -MT $dir/`basename $file .c`.o -MT $dir/`basename $file .c`.i; done; done > .depend  
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_alog.o -c gw/bb_alog.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/bb_alog.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_boxc.o -c gw/bb_boxc.c
In file included from /usr/include/errno.h:25,
                 from gw/bb_boxc.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_http.o -c gw/bb_http.c
In file included from /usr/include/errno.h:25,
                 from gw/bb_http.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_smscconn.o -c gw/bb_smscconn.c
In file included from /usr/include/errno.h:25,
                 from gw/bb_smscconn.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_store.o -c gw/bb_store.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/bb_store.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_store_file.o -c gw/bb_store_file.c
In file included from /usr/include/errno.h:25,
                 from gw/bb_store_file.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_store_spool.o -c gw/bb_store_spool.c
In file included from /usr/include/unistd.h:25,
                 from gw/bb_store_spool.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bb_udp.o -c gw/bb_udp.c
In file included from /usr/include/errno.h:25,
                 from gw/bb_udp.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr.o -c gw/dlr.c
In file included from /usr/include/ctype.h:25,
                 from gw/dlr.c:82:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/dlr.c: In function 'dlr_find':
gw/dlr.c:409:70: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=]
  409 |   debug("dlr.dlr", 0, "DLR from SMSC<%s> for DST<%s>. Attempt %d of %d.",
      |                                                                     ~^
      |                                                                      |
      |                                                                      int
      |                                                                     %ld
  410 |     octstr_get_cstr(smsc), octstr_get_cstr(dst), retry, handles->retry_count);
      |                                                         ~~~~~~~~~~~~~~~~~~~~
      |                                                                |
      |                                                                long int
gw/dlr.c:414:71: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
  414 |   warning(0, "DLR[%s]: DLR from SMSC<%s> for DST<%s> not found after %d attempts.",
      |                                                                      ~^
      |                                                                       |
      |                                                                       int
      |                                                                      %ld
  415 |     dlr_type(), octstr_get_cstr(smsc), octstr_get_cstr(dst), handles->retry_count);
      |                                                              ~~~~~~~~~~~~~~~~~~~~
      |                                                                     |
      |                                                                     long int
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_mem.o -c gw/dlr_mem.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/dlr_mem.c:68:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_mssql.o -c gw/dlr_mssql.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/dlr_mssql.c:69:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_mysql.o -c gw/dlr_mysql.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/dlr_mysql.c:68:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_oracle.o -c gw/dlr_oracle.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/dlr_oracle.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_pgsql.o -c gw/dlr_pgsql.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/dlr_pgsql.c:68:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/dlr_sdb.o -c gw/dlr_sdb.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/dlr_sdb.c:69:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/heartbeat.o -c gw/heartbeat.c
In file included from /usr/include/signal.h:25,
                 from gw/heartbeat.c:61:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/html.o -c gw/html.c
In file included from /usr/include/ctype.h:25,
                 from gw/html.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/load.o -c gw/load.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/load.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/meta_data.o -c gw/meta_data.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/meta_data.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/mime_decompiler.o -c gw/mime_decompiler.c
In file included from /usr/include/time.h:25,
                 from gw/mime_decompiler.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/msg.o -c gw/msg.c
In file included from /usr/include/errno.h:25,
                 from gw/msg.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/numhash.o -c gw/numhash.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gw/numhash.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/ota_compiler.o -c gw/ota_compiler.c
In file included from /usr/include/ctype.h:25,
                 from gw/ota_compiler.c:82:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/ota_prov.o -c gw/ota_prov.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gw/ota_prov.c:72:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/ota_prov.c: In function 'ota_pack_push_headers':
gw/ota_prov.c:177:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  177 |         p = "";
      |           ^
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/shared.o -c gw/shared.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/shared.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/sms.o -c gw/sms.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/msg.h:69,
                 from gw/sms.h:89,
                 from gw/sms.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smscconn.o -c gw/smscconn.c
In file included from /usr/include/signal.h:25,
                 from gw/smscconn.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/urltrans.o -c gw/urltrans.c
In file included from /usr/include/ctype.h:25,
                 from gw/urltrans.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap-appl.o -c gw/wap-appl.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gw/wap-appl.c:85:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/wap-appl.c: In function 'main_thread':
gw/wap-appl.c:362:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  362 |         if (have_ppg && wap_push_ppg_have_push_session_for_sid(sid))
      |         ^~
gw/wap-appl.c:364:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  364 |      wap_event_destroy(ind);
      |      ^~~~~~~~~~~~~~~~~
gw/wap-appl.c:1478:13: warning: 'inh' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1478 |             http_destroy_headers(inh);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
gw/wap-appl.c:1465:11: note: 'inh' was declared here
 1465 |     List *inh;
      |           ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap-error.o -c gw/wap-error.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/wap-error.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap-maps.o -c gw/wap-maps.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/wap-maps.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_ota.o -c gw/wap_push_ota.c
In file included from /usr/include/errno.h:25,
                 from gw/wap_push_ota.c:78:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_pap_compiler.o -c gw/wap_push_pap_compiler.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libxml2/libxml/xmlmemory.h:15,
                 from gw/wap_push_pap_compiler.c:85:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/wap_push_pap_compiler.c: In function 'parse_pap_value':
gw/wap_push_pap_compiler.c:944:13: warning: variable 'ros' set but not used [-Wunused-but-set-variable]
  944 |     Octstr *ros;
      |             ^~~
gw/wap_push_pap_compiler.c: In function 'parse_push_response_value':
gw/wap_push_pap_compiler.c:1107:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1107 |     int ret;
      |         ^~~
gw/wap_push_pap_compiler.c: In function 'parse_code':
gw/wap_push_pap_compiler.c:1326:10: warning: variable 'len' set but not used [-Wunused-but-set-variable]
 1326 |          len;
      |          ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_pap_mime.o -c gw/wap_push_pap_mime.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/wap_push_pap_mime.h:68,
                 from gw/wap_push_pap_mime.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/wap_push_pap_mime.c: In function 'pass_extension_headers':
gw/wap_push_pap_mime.c:728:10: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  728 |          count;
      |          ^~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_ppg.o -c gw/wap_push_ppg.c
In file included from /usr/include/time.h:25,
                 from gw/wap_push_ppg.c:76:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/wap_push_ppg.c: In function 'pap_request_thread':
gw/wap_push_ppg.c:920:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  920 |                     if (client == NULL)
      |                     ^~
gw/wap_push_ppg.c:922:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  922 |                  goto not_acceptable;
      |                  ^~~~
gw/wap_push_ppg.c: In function 'handle_push_message':
gw/wap_push_ppg.c:1069:13: warning: variable 'push_data' set but not used [-Wunused-but-set-variable]
 1069 |     Octstr *push_data=NULL;
      |             ^~~~~~~~~
gw/wap_push_ppg.c: In function 'select_bearer_network':
gw/wap_push_ppg.c:2097:13: warning: variable 'network' set but not used [-Wunused-but-set-variable]
 2097 |            *network;
      |             ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_ppg_pushuser.o -c gw/wap_push_ppg_pushuser.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/wap_push_ppg_pushuser.h:73,
                 from gw/wap_push_ppg_pushuser.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.c
In file included from /usr/include/ctype.h:25,
                 from gw/wap_push_si_compiler.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wap_push_sl_compiler.o -c gw/wap_push_sl_compiler.c
In file included from /usr/include/ctype.h:25,
                 from gw/wap_push_sl_compiler.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wml_compiler.o -c gw/wml_compiler.c
In file included from /usr/include/time.h:25,
                 from gw/wml_compiler.c:68:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/xml_shared.o -c gw/xml_shared.c
In file included from /usr/include/ctype.h:25,
                 from gw/xml_shared.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/xml_shared.c: In function 'find_charset_encoding':
gw/xml_shared.c:154:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  154 |     if (enc < 0 || enc + 10 > gt)
      |     ^~
gw/xml_shared.c:157:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  157 |  temp = octstr_copy(document, enc + 10, gt - (enc + 10));
      |  ^~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/emimsg.o -c gw/smsc/emimsg.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/smsc/emimsg.h:67,
                 from gw/smsc/emimsg.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smasi_pdu.o -c gw/smsc/smasi_pdu.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gw/smsc/smasi_pdu.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smpp_pdu.o -c gw/smsc/smpp_pdu.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gw/smsc/smpp_pdu.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc.o -c gw/smsc/smsc.c
In file included from /usr/include/errno.h:25,
                 from gw/smsc/smsc.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc.c: In function 'smscenter_read_into_buffer':
gw/smsc/smsc.c:351:14: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  351 |     int ret, result;
      |              ^~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_at.o -c gw/smsc/smsc_at.c
In file included from /usr/include/errno.h:25,
                 from gw/smsc/smsc_at.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_at.c: In function 'at2_scan_for_telnet_escapes':
gw/smsc/smsc_at.c:109:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  109 |     int i;
      |         ^
gw/smsc/smsc_at.c: In function 'at2_wait_modem_command':
gw/smsc/smsc_at.c:764:9: warning: variable 'len' set but not used [-Wunused-but-set-variable]
  764 |     int len;
      |         ^~~
gw/smsc/smsc_at.c: In function 'at2_pdu_extract':
gw/smsc/smsc_at.c:1702:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 1702 |     while (isspace(octstr_get_char(buffer, pos)))
      |     ^~~~~
gw/smsc/smsc_at.c:1705:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
 1705 |  octstr_truncate(smsc_number,0);
      |  ^~~~~~~~~~~~~~~
gw/smsc/smsc_at.c: In function 'gsm2number':
gw/smsc/smsc_at.c:1757:6: warning: variable 'npi' set but not used [-Wunused-but-set-variable]
 1757 |  int npi;
      |      ^~~
gw/smsc/smsc_at.c: In function 'at2_encode7bituncompressed':
gw/smsc/smsc_at.c:2485:9: warning: variable 'posT' set but not used [-Wunused-but-set-variable]
 2485 |     int posT, posS;
      |         ^~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_cgw.o -c gw/smsc/smsc_cgw.c
In file included from /usr/include/sys/types.h:25,
                 from gw/smsc/smsc_cgw.c:107:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_cgw.c: In function 'cgw_receiver':
gw/smsc/smsc_cgw.c:1032:13: warning: variable 'str' set but not used [-Wunused-but-set-variable]
 1032 |     Octstr *str = NULL;
      |             ^~~
gw/smsc/smsc_cgw.c: In function 'cgw_handle_op':
gw/smsc/smsc_cgw.c:1071:37: warning: variable 'msgtype' set but not used [-Wunused-but-set-variable]
 1071 |     Octstr *from, *app, *sid, *to, *msgtype, *msgdata; /* for messages */
      |                                     ^~~~~~~
gw/smsc/smsc_cgw.c:1071:20: warning: variable 'app' set but not used [-Wunused-but-set-variable]
 1071 |     Octstr *from, *app, *sid, *to, *msgtype, *msgdata; /* for messages */
      |                    ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_cimd.o -c gw/smsc/smsc_cimd.c
In file included from /usr/include/errno.h:25,
                 from gw/smsc/smsc_cimd.c:62:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_cimd2.o -c gw/smsc/smsc_cimd2.c
In file included from /usr/include/ctype.h:25,
                 from gw/smsc/smsc_cimd2.c:80:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_cimd2.c: In function 'packet_check':
gw/smsc/smsc_cimd2.c:849:15: warning: variable 'len' set but not used [-Wunused-but-set-variable]
  849 |     long pos, len, next;
      |               ^~~
gw/smsc/smsc_cimd2.c: In function 'packet_create':
gw/smsc/smsc_cimd2.c:466:17: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=]
  466 | #define STX_str "\02"
      |                 ^~~~~
gw/smsc/smsc_cimd2.c:1185:24: note: in expansion of macro 'STX_str'
 1185 |     sprintf(minpacket, STX_str "%02d:%03d" TAB_str ETX_str, operation, seq);
      |                        ^~~~~~~
gw/smsc/smsc_cimd2.c:1185:33: note: format string is defined here
 1185 |     sprintf(minpacket, STX_str "%02d:%03d" TAB_str ETX_str, operation, seq);
      |                                 ^~~~
gw/smsc/smsc_cimd2.c:466:17: note: directive argument in the range [-2147483598, 2147483647]
  466 | #define STX_str "\02"
      |                 ^~~~~
gw/smsc/smsc_cimd2.c:1185:24: note: in expansion of macro 'STX_str'
 1185 |     sprintf(minpacket, STX_str "%02d:%03d" TAB_str ETX_str, operation, seq);
      |                        ^~~~~~~
In file included from /usr/include/stdio.h:866,
                 from ./gwlib/utils.h:67,
                 from ./gwlib/gwlib.h:79,
                 from gw/smsc/smsc_cimd2.c:88:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 27 bytes into a destination of size 10
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_emi.o -c gw/smsc/smsc_emi.c
In file included from /usr/include/sys/types.h:25,
                 from gw/smsc/smsc_emi.c:75:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_emi.c: In function 'msg_to_emimsg':
gw/smsc/smsc_emi.c:527:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  527 |     if (privdata->alt_charset == EMI_NRC_ISO_21)
      |     ^~
gw/smsc/smsc_emi.c:532:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  532 |  if (charset_gsm_truncate(str, 160))
      |  ^~
gw/smsc/smsc_emi.c: In function 'handle_operation':
gw/smsc/smsc_emi.c:617:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  617 |         if (privdata->alt_charset == EMI_NRC_ISO_21)
      |         ^~
gw/smsc/smsc_emi.c:620:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  620 |      charset_gsm_to_utf8(msg->sms.msgdata);
      |      ^~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi.c:765:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  765 |         if (privdata->alt_charset == EMI_NRC_ISO_21)
      |         ^~
gw/smsc/smsc_emi.c:768:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  768 |      charset_gsm_to_utf8(msg->sms.msgdata);
      |      ^~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi.c: In function 'emi2_sender':
gw/smsc/smsc_emi.c:542:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
  542 |  sprintf(p, "%02d%02d%02d%02d%02d",
      |                                  ^
In file included from /usr/include/stdio.h:866,
                 from ./gwlib/utils.h:67,
                 from ./gwlib/gwlib.h:79,
                 from gw/smsc/smsc_emi.c:83:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 11 and 48 bytes into a destination of size 20
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi.c:552:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
  552 |  sprintf(p, "%02d%02d%02d%02d%02d",
      |                                  ^
In file included from /usr/include/stdio.h:866,
                 from ./gwlib/utils.h:67,
                 from ./gwlib/gwlib.h:79,
                 from gw/smsc/smsc_emi.c:83:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 11 and 48 bytes into a destination of size 20
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_emi_x25.o -c gw/smsc/smsc_emi_x25.c
In file included from /usr/include/errno.h:25,
                 from gw/smsc/smsc_emi_x25.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_emi_x25.c: In function 'memorybuffer_cut_rawmessage':
gw/smsc/smsc_emi_x25.c:862:9: warning: variable 'size_of_the_rest' set but not used [-Wunused-but-set-variable]
  862 |     int size_of_the_rest;
      |         ^~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:532,
                 from gw/smsc/smsc_emi_x25.c:65:
In function 'strncat',
    inlined from 'parse_binary_to_emi' at gw/smsc/smsc_emi_x25.c:1205:9,
    inlined from 'parse_binary_to_emi' at gw/smsc/smsc_emi_x25.c:1193:12:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' output may be truncated copying 2 bytes from a string of length 9 [-Wstringop-truncation]
  122 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
    inlined from 'parse_iso88591_to_emi' at gw/smsc/smsc_emi_x25.c:1185:9,
    inlined from 'parse_msg_to_rawmessage.constprop' at gw/smsc/smsc_emi_x25.c:1081:9:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying 2 bytes from a string of length 9 [-Wstringop-truncation]
  122 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi_x25.c: In function 'acknowledge_from_rawmessage.isra':
gw/smsc/smsc_emi_x25.c:1006:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 1021 and 2044 [-Wformat-overflow=]
 1006 |     sprintf(isotext, "A//%s:%s", emivars[4], emivars[18]);
      |                             ^~               ~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from gw/smsc/smsc_emi_x25.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 2051 bytes into a destination of size 2048
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi_x25.c:1014:34: warning: '%s' directive writing up to 1023 bytes into a region of size between 1016 and 2039 [-Wformat-overflow=]
 1014 |     sprintf(emitext, "%s/%05i/%s/%s", emivars[0], (int) strlen(isotext) + 17,
      |                                  ^~
 1015 |             "R", emivars[3]);
      |                  ~~~~~~~~~~       
In file included from /usr/include/stdio.h:866,
                 from gw/smsc/smsc_emi_x25.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 2056 bytes into a destination of size 2048
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi_x25.c:1020:30: warning: '/' directive writing 1 byte into a region of size between 0 and 2047 [-Wformat-overflow=]
 1020 |     sprintf(timestamp, "%s/%s/", emitext, isotext);
      |                              ^
In file included from /usr/include/stdio.h:866,
                 from gw/smsc/smsc_emi_x25.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 2050) into a destination of size 2048
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_emi_x25.c:1023:26: warning: '/' directive writing 1 byte into a region of size between 0 and 2047 [-Wformat-overflow=]
 1023 |     sprintf(sender, "%c%s/%s/%s%c", 0x02, emitext, isotext, receiver, 0x03);
      |                          ^
In file included from /usr/include/stdio.h:866,
                 from gw/smsc/smsc_emi_x25.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 4099) into a destination of size 2048
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_fake.o -c gw/smsc/smsc_fake.c
In file included from /usr/include/sys/types.h:25,
                 from gw/smsc/smsc_fake.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_http.o -c gw/smsc/smsc_http.c
In file included from /usr/include/sys/types.h:25,
                 from gw/smsc/smsc_http.c:114:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_http.c: In function 'kannel_receive_sms':
gw/smsc/smsc_http.c:581:13: warning: variable 'dlrurl' set but not used [-Wunused-but-set-variable]
  581 |     Octstr *dlrurl, *dlrmid;
      |             ^~~~~~
gw/smsc/smsc_http.c: In function 'brunet_receive_sms':
gw/smsc/smsc_http.c:1149:52: warning: variable 'type' set but not used [-Wunused-but-set-variable]
 1149 |     Octstr *user, *from, *to, *text, *udh, *date, *type;
      |                                                    ^~~~
gw/smsc/smsc_http.c:1149:45: warning: variable 'date' set but not used [-Wunused-but-set-variable]
 1149 |     Octstr *user, *from, *to, *text, *udh, *date, *type;
      |                                             ^~~~
gw/smsc/smsc_http.c: In function 'generic_receive_sms':
gw/smsc/smsc_http.c:1645:9: warning: variable 'mclass' set but not used [-Wunused-but-set-variable]
 1645 |     int mclass, mwi, coding, validity, deferred, dlrmask;
      |         ^~~~~~
gw/smsc/smsc_http.c:1643:13: warning: variable 'dlrurl' set but not used [-Wunused-but-set-variable]
 1643 |     Octstr *dlrurl, *dlrmid;
      |             ^~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_loopback.o -c gw/smsc/smsc_loopback.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/smsc/smsc_loopback.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_ois.o -c gw/smsc/smsc_ois.c
In file included from /usr/include/unistd.h:25,
                 from gw/smsc/smsc_ois.c:111:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_ois.c: In function 'ois_ignore_protocol_id':
gw/smsc/smsc_ois.c:1246:9: warning: variable 'value' set but not used [-Wunused-but-set-variable]
 1246 |     int value;
      |         ^~~~~
gw/smsc/smsc_ois.c: In function 'ois_deliver_sm_result':
gw/smsc/smsc_ois.c:1347:9: warning: variable 'len' set but not used [-Wunused-but-set-variable]
 1347 |     int len;
      |         ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_oisd.o -c gw/smsc/smsc_oisd.c
In file included from /usr/include/ctype.h:25,
                 from gw/smsc/smsc_oisd.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_sema.o -c gw/smsc/smsc_sema.c
In file included from /usr/include/errno.h:25,
                 from gw/smsc/smsc_sema.c:79:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_sema.c: In function 'sema_reopen':
gw/smsc/smsc_sema.c:176:33: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
  176 |     memset(smsc->buffer,0,sizeof(smsc->buffer));
      |                                 ^
In file included from /usr/include/string.h:532,
                 from gw/smsc/smsc_sema.c:83:
In function 'strncpy',
    inlined from 'pack_continous_byte' at gw/smsc/smsc_sema.c:1901:2:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
   91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'pack_continous_byte' at gw/smsc/smsc_sema.c:1899:2:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
   91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsc/smsc_sema.c: In function 'X28_close_send_link.isra':
gw/smsc/smsc_sema.c:573:33: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=]
  573 |     sprintf(discnntbuff,"%cCLR\r",0x10);
      |                                 ^
In file included from /usr/include/stdio.h:866,
                 from gw/smsc/smsc_sema.c:81:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 6 bytes into a destination of size 5
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_smasi.o -c gw/smsc/smsc_smasi.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/smsc/smsc_smasi.c:82:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsc/smsc_smasi.c: In function 'smasi_thread':
gw/smsc/smsc_smasi.c:914:10: warning: variable 'len' set but not used [-Wunused-but-set-variable]
  914 |     long len;
      |          ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_smpp.o -c gw/smsc/smsc_smpp.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/smsc/smsc_smpp.c:72:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_soap.o -c gw/smsc/smsc_soap.c
In file included from /usr/include/sys/types.h:25,
                 from gw/smsc/smsc_soap.c:114:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsc/smsc_wrapper.o -c gw/smsc/smsc_wrapper.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gw/smsc/smsc_wrapper.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
ar rc libgw.a gw/bb_alog.o gw/bb_boxc.o gw/bb_http.o gw/bb_smscconn.o gw/bb_store.o gw/bb_store_file.o gw/bb_store_spool.o gw/bb_udp.o gw/dlr.o gw/dlr_mem.o gw/dlr_mssql.o gw/dlr_mysql.o gw/dlr_oracle.o gw/dlr_pgsql.o gw/dlr_sdb.o gw/heartbeat.o gw/html.o gw/load.o gw/meta_data.o gw/mime_decompiler.o gw/msg.o gw/numhash.o gw/ota_compiler.o gw/ota_prov.o gw/shared.o gw/sms.o gw/smscconn.o gw/urltrans.o gw/wap-appl.o gw/wap-error.o gw/wap-maps.o gw/wap_push_ota.o gw/wap_push_pap_compiler.o gw/wap_push_pap_mime.o gw/wap_push_ppg.o gw/wap_push_ppg_pushuser.o gw/wap_push_si_compiler.o gw/wap_push_sl_compiler.o gw/wml_compiler.o gw/xml_shared.o gw/smsc/emimsg.o gw/smsc/smasi_pdu.o gw/smsc/smpp_pdu.o gw/smsc/smsc.o gw/smsc/smsc_at.o gw/smsc/smsc_cgw.o gw/smsc/smsc_cimd.o gw/smsc/smsc_cimd2.o gw/smsc/smsc_emi.o gw/smsc/smsc_emi_x25.o gw/smsc/smsc_fake.o gw/smsc/smsc_http.o gw/smsc/smsc_loopback.o gw/smsc/smsc_ois.o gw/smsc/smsc_oisd.o gw/smsc/smsc_sema.o gw/smsc/smsc_smasi.o gw/smsc/smsc_smpp.o gw/smsc/smsc_soap.o gw/smsc/smsc_wrapper.o
ranlib libgw.a
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wmlsc.o -c wmlscript/wmlsc.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wmlsc.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wmlsdasm.o -c wmlscript/wmlsdasm.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wmlsdasm.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/ws.o -c wmlscript/ws.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/ws.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsalloc.o -c wmlscript/wsalloc.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsalloc.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsasm.o -c wmlscript/wsasm.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsasm.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsbc.o -c wmlscript/wsbc.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsbc.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsbuffer.o -c wmlscript/wsbuffer.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsbuffer.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsencode.o -c wmlscript/wsencode.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsencode.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wserror.o -c wmlscript/wserror.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wserror.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsfalloc.o -c wmlscript/wsfalloc.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsfalloc.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsgram.o -c wmlscript/wsgram.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./wmlscript/wsint.h:76,
                 from wmlscript/wsgram.y:15:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wshash.o -c wmlscript/wshash.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wshash.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsieee754.o -c wmlscript/wsieee754.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsieee754.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wslexer.o -c wmlscript/wslexer.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wslexer.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsopt.o -c wmlscript/wsopt.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsopt.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstdlib.o -c wmlscript/wsstdlib.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsstdlib.c:72:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstream.o -c wmlscript/wsstream.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsstream.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstream_data.o -c wmlscript/wsstream_data.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./wmlscript/wsint.h:76,
                 from wmlscript/wsstream_data.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstream_file.o -c wmlscript/wsstream_file.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsstream_file.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsstree.o -c wmlscript/wsstree.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsstree.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wmlscript/wsutf8.o -c wmlscript/wsutf8.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from wmlscript/wsint.h:76,
                 from wmlscript/wsutf8.c:72:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
ar rc libwmlscript.a wmlscript/wmlsc.o wmlscript/wmlsdasm.o wmlscript/ws.o wmlscript/wsalloc.o wmlscript/wsasm.o wmlscript/wsbc.o wmlscript/wsbuffer.o wmlscript/wsencode.o wmlscript/wserror.o wmlscript/wsfalloc.o wmlscript/wsgram.o wmlscript/wshash.o wmlscript/wsieee754.o wmlscript/wslexer.o wmlscript/wsopt.o wmlscript/wsstdlib.o wmlscript/wsstream.o wmlscript/wsstream_data.o wmlscript/wsstream_file.o wmlscript/wsstree.o wmlscript/wsutf8.o
ranlib libwmlscript.a
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/cookies.o -c wap/cookies.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from wap/cookies.c:69:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/timers.o -c wap/timers.c
In file included from /usr/include/signal.h:25,
                 from wap/timers.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wap.o -c wap/wap.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wap.c:61:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wap_addr.o -c wap/wap_addr.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from wap/wap_addr.c:61:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wap_events.o -c wap/wap_events.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wap_events.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
wap/wap_events.def: In function 'wap_event_assert':
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:79:1: note: in expansion of macro 'WAPEVENT'
   79 | WAPEVENT(T_Unitdata_Ind, "T-Unitdata.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:84:1: note: in expansion of macro 'WAPEVENT'
   84 | WAPEVENT(SEC_Create_Ind, "SEC-Create.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:88:1: note: in expansion of macro 'WAPEVENT'
   88 | WAPEVENT(SEC_Create_Request_Req, "SEC-Create.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:92:1: note: in expansion of macro 'WAPEVENT'
   92 | WAPEVENT(SEC_Terminate_Req, "SEC-Terminate.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:98:1: note: in expansion of macro 'WAPEVENT'
   98 | WAPEVENT(SEC_Exception_Req, "SEC-Exception.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:104:1: note: in expansion of macro 'WAPEVENT'
  104 | WAPEVENT(SEC_Create_Res, "SEC-Create.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:113:1: note: in expansion of macro 'WAPEVENT'
  113 | WAPEVENT(SEC_Exchange_Req, "SEC-Exchange.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:117:1: note: in expansion of macro 'WAPEVENT'
  117 | WAPEVENT(SEC_Commit_Req, "SEC-Commit.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:121:1: note: in expansion of macro 'WAPEVENT'
  121 | WAPEVENT(SEC_Unitdata_Req, "SEC-Unidata.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:130:1: note: in expansion of macro 'WAPEVENT'
  130 | WAPEVENT(T_DUnitdata_Req, "T-DUnitdata.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:142:1: note: in expansion of macro 'WAPEVENT'
  142 | WAPEVENT(T_DUnitdata_Ind, "T-DUnitdata.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:151:1: note: in expansion of macro 'WAPEVENT'
  151 | WAPEVENT(TR_Invoke_Req, "TR-Invoke.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:159:1: note: in expansion of macro 'WAPEVENT'
  159 | WAPEVENT(TR_Invoke_Ind, "TR-Invoke.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:167:1: note: in expansion of macro 'WAPEVENT'
  167 | WAPEVENT(TR_Invoke_Res, "TR-Invoke.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:171:1: note: in expansion of macro 'WAPEVENT'
  171 | WAPEVENT(TR_Invoke_Cnf, "TR-Invoke.cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:177:1: note: in expansion of macro 'WAPEVENT'
  177 | WAPEVENT(TR_Result_Req, "TR-Result.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:182:1: note: in expansion of macro 'WAPEVENT'
  182 | WAPEVENT(TR_Result_Cnf, "TR-Result.cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:188:1: note: in expansion of macro 'WAPEVENT'
  188 | WAPEVENT(TR_Abort_Req, "TR-Abort.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:194:1: note: in expansion of macro 'WAPEVENT'
  194 | WAPEVENT(TR_Abort_Ind, "TR-Abort.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:207:1: note: in expansion of macro 'WAPEVENT'
  207 | WAPEVENT(S_Connect_Ind, "S-Connect.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:215:1: note: in expansion of macro 'WAPEVENT'
  215 | WAPEVENT(S_Connect_Res, "S-Connect.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:222:1: note: in expansion of macro 'WAPEVENT'
  222 | WAPEVENT(S_Suspend_Ind, "S-Suspend.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:228:1: note: in expansion of macro 'WAPEVENT'
  228 | WAPEVENT(S_Resume_Ind, "S-Resume.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:235:1: note: in expansion of macro 'WAPEVENT'
  235 | WAPEVENT(S_Resume_Res, "S-Resume.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:245:1: note: in expansion of macro 'WAPEVENT'
  245 | WAPEVENT(S_Connect_Req, "S-Connect.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:253:1: note: in expansion of macro 'WAPEVENT'
  253 | WAPEVENT(S_Suspend_Req, "S-Suspend.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:258:1: note: in expansion of macro 'WAPEVENT'
  258 | WAPEVENT(S_Resume_Req, "S-Resume.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:265:1: note: in expansion of macro 'WAPEVENT'
  265 | WAPEVENT(S_Resume_Cnf, "S-Resume.cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:276:1: note: in expansion of macro 'WAPEVENT'
  276 | WAPEVENT(S_Disconnect_Req, "S-Disconnect.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:286:1: note: in expansion of macro 'WAPEVENT'
  286 | WAPEVENT(S_Disconnect_Ind, "S-Disconnect.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:300:1: note: in expansion of macro 'WAPEVENT'
  300 | WAPEVENT(Disconnect_Event, "Disconnect",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:305:1: note: in expansion of macro 'WAPEVENT'
  305 | WAPEVENT(Suspend_Event, "Suspend",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:310:1: note: in expansion of macro 'WAPEVENT'
  310 | WAPEVENT(Release_Event, "Release",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:315:1: note: in expansion of macro 'WAPEVENT'
  315 | WAPEVENT(Abort_Event, "Abort",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:323:1: note: in expansion of macro 'WAPEVENT'
  323 | WAPEVENT(S_MethodInvoke_Ind, "S-MethodInvoke.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:336:1: note: in expansion of macro 'WAPEVENT'
  336 | WAPEVENT(S_MethodInvoke_Res, "S-MethodInvoke.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:342:1: note: in expansion of macro 'WAPEVENT'
  342 | WAPEVENT(S_MethodResult_Req, "S-MethodResult.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:351:1: note: in expansion of macro 'WAPEVENT'
  351 | WAPEVENT(S_MethodResult_Cnf, "S-MethodResult.cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:361:1: note: in expansion of macro 'WAPEVENT'
  361 | WAPEVENT(S_MethodInvoke_Req, "S-MethodInvoke.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:371:1: note: in expansion of macro 'WAPEVENT'
  371 | WAPEVENT(S_MethodInvoke_Cnf, "S-MethodInvoke.cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:377:1: note: in expansion of macro 'WAPEVENT'
  377 | WAPEVENT(S_MethodResult_Ind, "S-MethodResult.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:386:1: note: in expansion of macro 'WAPEVENT'
  386 | WAPEVENT(S_MethodResult_Res, "S-MethodResult.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:397:1: note: in expansion of macro 'WAPEVENT'
  397 | WAPEVENT(S_MethodAbort_Req, "S-MethodAbort.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:403:1: note: in expansion of macro 'WAPEVENT'
  403 | WAPEVENT(S_MethodAbort_Ind, "S-MethodAbort.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:414:1: note: in expansion of macro 'WAPEVENT'
  414 | WAPEVENT(S_Push_Req, "S-Push.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:421:1: note: in expansion of macro 'WAPEVENT'
  421 | WAPEVENT(S_Push_Ind, "S-Push.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:429:1: note: in expansion of macro 'WAPEVENT'
  429 | WAPEVENT(S_ConfirmedPush_Req, "S-ConfirmedPush.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:437:1: note: in expansion of macro 'WAPEVENT'
  437 | WAPEVENT(S_ConfirmedPush_Ind, "S-ConfirmedPush.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:445:1: note: in expansion of macro 'WAPEVENT'
  445 | WAPEVENT(S_ConfirmedPush_Res, "S-ConfirmedPush.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:451:1: note: in expansion of macro 'WAPEVENT'
  451 | WAPEVENT(S_ConfirmedPush_Cnf, "S-ConfirmedPush.cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:457:1: note: in expansion of macro 'WAPEVENT'
  457 | WAPEVENT(S_PushAbort_Ind, "S-PushAbort.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:472:1: note: in expansion of macro 'WAPEVENT'
  472 | WAPEVENT(S_PushAbort_Req, "S-PushAbort.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:479:1: note: in expansion of macro 'WAPEVENT'
  479 | WAPEVENT(Push_Abort, "Internal abort",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:488:1: note: in expansion of macro 'WAPEVENT'
  488 | WAPEVENT(RcvInvoke, "RcvInvoke",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:502:1: note: in expansion of macro 'WAPEVENT'
  502 | WAPEVENT(RcvSegInvoke, "RcvSegInvoke",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:513:1: note: in expansion of macro 'WAPEVENT'
  513 | WAPEVENT(RcvResult, "RcvResult",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:522:1: note: in expansion of macro 'WAPEVENT'
  522 | WAPEVENT(RcvAbort, "RcvAbort",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:529:1: note: in expansion of macro 'WAPEVENT'
  529 | WAPEVENT(RcvAck, "RcvAck",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:537:1: note: in expansion of macro 'WAPEVENT'
  537 | WAPEVENT(RcvNegativeAck, "RcvNack",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:549:1: note: in expansion of macro 'WAPEVENT'
  549 | WAPEVENT(TimerTO_A, "Timeout-A",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:553:1: note: in expansion of macro 'WAPEVENT'
  553 | WAPEVENT(TimerTO_R, "Timeout-R",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:557:1: note: in expansion of macro 'WAPEVENT'
  557 | WAPEVENT(TimerTO_W, "Timeout-W",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:561:1: note: in expansion of macro 'WAPEVENT'
  561 | WAPEVENT(RcvErrorPDU, "RcvErrorPDU",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:570:1: note: in expansion of macro 'WAPEVENT'
  570 | WAPEVENT(S_Unit_MethodInvoke_Req, "S-Unit-MethodInvoke.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:579:1: note: in expansion of macro 'WAPEVENT'
  579 | WAPEVENT(S_Unit_MethodInvoke_Ind, "S-Unit_MethodInvoke.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:588:1: note: in expansion of macro 'WAPEVENT'
  588 | WAPEVENT(S_Unit_MethodResult_Req, "S-Unit-MethodResult.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:596:1: note: in expansion of macro 'WAPEVENT'
  596 | WAPEVENT(S_Unit_MethodResult_Ind, "S-Unit-MethodResult.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:604:1: note: in expansion of macro 'WAPEVENT'
  604 | WAPEVENT(S_Unit_Push_Req, "S-Unit-Push.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:618:1: note: in expansion of macro 'WAPEVENT'
  618 | WAPEVENT(S_Unit_Push_Ind, "S-Unit-Push.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:629:1: note: in expansion of macro 'WAPEVENT'
  629 | WAPEVENT(Pom_SessionRequest_Req, "Pom-SessionRequest.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:642:1: note: in expansion of macro 'WAPEVENT'
  642 | WAPEVENT(Pom_Connect_Ind, "Pom-Connect.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:653:1: note: in expansion of macro 'WAPEVENT'
  653 | WAPEVENT(Pom_Connect_Res, "Pom-Connect.res",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:659:1: note: in expansion of macro 'WAPEVENT'
  659 | WAPEVENT(Pom_Disconnect_Ind, "Pom-Disconnect.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:669:1: note: in expansion of macro 'WAPEVENT'
  669 | WAPEVENT(Pom_Suspend_Ind, "Pom-Suspend.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:675:1: note: in expansion of macro 'WAPEVENT'
  675 | WAPEVENT(Pom_Resume_Ind, "Pom-Resume.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:683:1: note: in expansion of macro 'WAPEVENT'
  683 | WAPEVENT(Po_Push_Req, "Po-Push.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:693:1: note: in expansion of macro 'WAPEVENT'
  693 | WAPEVENT(Po_ConfirmedPush_Req, "Po-ConfirmedPush.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:704:1: note: in expansion of macro 'WAPEVENT'
  704 | WAPEVENT(Po_ConfirmedPush_Cnf, "Po-ConfirmedPush.Cnf",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:710:1: note: in expansion of macro 'WAPEVENT'
  710 | WAPEVENT(Po_Unit_Push_Req, "Po-Unit-Push.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:727:1: note: in expansion of macro 'WAPEVENT'
  727 | WAPEVENT(Po_PushAbort_Req, "Po-PushAbort.req",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:734:1: note: in expansion of macro 'WAPEVENT'
  734 | WAPEVENT(Po_PushAbort_Ind, "Po-PushAbort.ind",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:754:1: note: in expansion of macro 'WAPEVENT'
  754 | WAPEVENT(Push_Message, "push-message",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:784:1: note: in expansion of macro 'WAPEVENT'
  784 | WAPEVENT(Push_Response, "push-response",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:798:1: note: in expansion of macro 'WAPEVENT'
  798 | WAPEVENT(Progress_Note, "progress-note",
      | ^~~~~~~~
wap/wap_events.c:225:17: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  225 |  { struct name *p = &event->u.name; fields; p = NULL; break; }
      |                 ^
wap/wap_events.def:808:1: note: in expansion of macro 'WAPEVENT'
  808 | WAPEVENT(Bad_Message_Response, "badmessage-response",
      | ^~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp.o -c wap/wsp.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from wap/wsp.c:62:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_caps.o -c wap/wsp_caps.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wsp_caps.c:62:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_headers.o -c wap/wsp_headers.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from wap/wsp_headers.c:84:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_pdu.o -c wap/wsp_pdu.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wsp_pdu.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
wap/wsp_pdu.def: In function 'wsp_pdu_destroy':
wap/wsp_pdu.c:109:15: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  109 |  struct name *p; p = &pdu->u.name; \
      |               ^
wap/wsp_pdu.def:83:1: note: in expansion of macro 'PDU'
   83 | PDU(Disconnect, "...",
      | ^~~
wap/wsp_pdu.c:109:15: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  109 |  struct name *p; p = &pdu->u.name; \
      |               ^
wap/wsp_pdu.def:128:1: note: in expansion of macro 'PDU'
  128 | PDU(Suspend, "...",
      | ^~~
wap/wsp_pdu.def: In function 'fixup_length_fields':
wap/wsp_pdu.c:250:16: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  250 |   struct name *p; p = &pdu->u.name; \
      |                ^
wap/wsp_pdu.def:75:1: note: in expansion of macro 'PDU'
   75 | PDU(Redirect, "Problem: need REPEAT structure to parse addresses",
      | ^~~
wap/wsp_pdu.c:250:16: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  250 |   struct name *p; p = &pdu->u.name; \
      |                ^
wap/wsp_pdu.def:83:1: note: in expansion of macro 'PDU'
   83 | PDU(Disconnect, "...",
      | ^~~
wap/wsp_pdu.c:250:16: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  250 |   struct name *p; p = &pdu->u.name; \
      |                ^
wap/wsp_pdu.def:128:1: note: in expansion of macro 'PDU'
  128 | PDU(Suspend, "...",
      | ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_push_client.o -c wap/wsp_push_client.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wsp_push_client.h:68,
                 from wap/wsp_push_client.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_session.o -c wap/wsp_session.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from wap/wsp_session.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
wap/wsp_server_session_states.def: In function 'handle_session_event':
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:183:1: note: in expansion of macro 'ROW'
  183 | ROW(CONNECTING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:198:1: note: in expansion of macro 'ROW'
  198 | ROW(CONNECTING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:260:1: note: in expansion of macro 'ROW'
  260 | ROW(TERMINATING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:269:1: note: in expansion of macro 'ROW'
  269 | ROW(TERMINATING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:278:1: note: in expansion of macro 'ROW'
  278 | ROW(TERMINATING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:286:1: note: in expansion of macro 'ROW'
  286 | ROW(TERMINATING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:296:1: note: in expansion of macro 'ROW'
  296 | ROW(CONNECTING_2,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:335:1: note: in expansion of macro 'ROW'
  335 | ROW(CONNECTING_2,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:358:1: note: in expansion of macro 'ROW'
  358 | ROW(CONNECTING_2,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:375:1: note: in expansion of macro 'ROW'
  375 | ROW(CONNECTING_2,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:560:1: note: in expansion of macro 'ROW'
  560 | ROW(CONNECTED,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:596:1: note: in expansion of macro 'ROW'
  596 | ROW(CONNECTED,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:619:1: note: in expansion of macro 'ROW'
  619 | ROW(CONNECTED,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:633:1: note: in expansion of macro 'ROW'
  633 | ROW(CONNECTED,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:785:1: note: in expansion of macro 'ROW'
  785 | ROW(SUSPENDED,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:836:1: note: in expansion of macro 'ROW'
  836 | ROW(RESUMING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:879:1: note: in expansion of macro 'ROW'
  879 | ROW(RESUMING,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:980:1: note: in expansion of macro 'ROW'
  980 | ROW(RESUMING_2,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:1019:1: note: in expansion of macro 'ROW'
 1019 | ROW(RESUMING_2,
      | ^~~
wap/wsp_session.c:418:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  418 |    struct event *e; \
      |                  ^
wap/wsp_server_session_states.def:1042:1: note: in expansion of macro 'ROW'
 1042 | ROW(RESUMING_2,
      | ^~~
wap/wsp_server_method_states.def: In function 'handle_method_event':
wap/wsp_session.c:582:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  582 |    struct event *e; \
      |                  ^
wap/wsp_server_method_states.def:162:1: note: in expansion of macro 'ROW'
  162 | ROW(HOLDING,
      | ^~~
wap/wsp_session.c:582:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  582 |    struct event *e; \
      |                  ^
wap/wsp_server_method_states.def:227:1: note: in expansion of macro 'ROW'
  227 | ROW(REQUESTING,
      | ^~~
wap/wsp_session.c:582:18: warning: variable 'e' set but not used [-Wunused-but-set-variable]
  582 |    struct event *e; \
      |                  ^
wap/wsp_server_method_states.def:393:1: note: in expansion of macro 'ROW'
  393 | ROW(REPLYING,
      | ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_strings.o -c wap/wsp_strings.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wsp_strings.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wsp_unit.o -c wap/wsp_unit.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from wap/wsp_unit.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls-secmgr.o -c wap/wtls-secmgr.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from wap/wtls-secmgr.c:75:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls.o -c wap/wtls.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtls.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls_pdu.o -c wap/wtls_pdu.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtls_pdu.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls_pdusupport.o -c wap/wtls_pdusupport.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtls_pdusupport.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtls_statesupport.o -c wap/wtls_statesupport.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtls_statesupport.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp.o -c wap/wtp.c
In file included from /usr/include/errno.h:25,
                 from wap/wtp.h:65,
                 from wap/wtp.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_init.o -c wap/wtp_init.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtp_init.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_pack.o -c wap/wtp_pack.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtp_pack.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_pdu.o -c wap/wtp_pdu.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtp_pdu.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
wap/wtp_pdu.def: In function 'wtp_pdu_destroy':
wap/wtp_pdu.c:111:15: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  111 |  struct name *p; p = &pdu->u.name; \
      |               ^
wap/wtp_pdu.def:84:1: note: in expansion of macro 'PDU'
   84 | PDU(Ack, "...",
      | ^~~
wap/wtp_pdu.c:111:15: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  111 |  struct name *p; p = &pdu->u.name; \
      |               ^
wap/wtp_pdu.def:94:1: note: in expansion of macro 'PDU'
   94 | PDU(Abort, "...",
      | ^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_resp.o -c wap/wtp_resp.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtp_resp.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o wap/wtp_tid.o -c wap/wtp_tid.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from wap/wtp_tid.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o radius/radius_acct.o -c radius/radius_acct.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from radius/radius_acct.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o radius/radius_pdu.o -c radius/radius_pdu.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from radius/radius_pdu.c:69:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
radius/radius_pdu.c: In function 'radius_pdu_unpack':
radius/radius_pdu.c:363:15: warning: variable 'ident' set but not used [-Wunused-but-set-variable]
  363 |     int type, ident;
      |               ^~~~~
radius/radius_attributes.def: In function 'radius_attr_dump':
radius/radius_pdu.c:472:13: warning: variable 'id' set but not used [-Wunused-but-set-variable]
  472 |         int id; \
      |             ^~
radius/radius_attributes.def:90:1: note: in expansion of macro 'ATTRIBUTES'
   90 | ATTRIBUTES(
      | ^~~~~~~~~~
ar rc libwap.a wap/cookies.o wap/timers.o wap/wap.o wap/wap_addr.o wap/wap_events.o wap/wsp.o wap/wsp_caps.o wap/wsp_headers.o wap/wsp_pdu.o wap/wsp_push_client.o wap/wsp_session.o wap/wsp_strings.o wap/wsp_unit.o wap/wtls-secmgr.o wap/wtls.o wap/wtls_pdu.o wap/wtls_pdusupport.o wap/wtls_statesupport.o wap/wtp.o wap/wtp_init.o wap/wtp_pack.o wap/wtp_pdu.o wap/wtp_resp.o wap/wtp_tid.o radius/radius_acct.o radius/radius_pdu.o
ranlib libwap.a
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/accesslog.o -c gwlib/accesslog.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from gwlib/accesslog.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/cfg.o -c gwlib/cfg.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gwlib/cfg.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/cfg.c: In function 'cfg_read':
gwlib/cfg.c:449:10: warning: variable 'lineno' set but not used [-Wunused-but-set-variable]
  449 |     long lineno;
      |          ^~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/charset.o -c gwlib/charset.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gwlib/charset.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/conn.o -c gwlib/conn.c
In file included from /usr/include/signal.h:25,
                 from gwlib/conn.c:74:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/conn.c: In function 'unlocked_read':
gwlib/conn.c:343:41: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign]
  343 |         octstr_append_data(conn->inbuf, buf, len);
      |                                         ^~~
      |                                         |
      |                                         unsigned char *
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/conn.c:82:
./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  448 | void octstr_append_data(Octstr *ostr, const char *data, long len);
      |                                       ~~~~~~~~~~~~^~~~
gwlib/conn.c: In function 'conn_write_data':
gwlib/conn.c:1055:38: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign]
 1055 |     octstr_append_data(conn->outbuf, data, length);
      |                                      ^~~~
      |                                      |
      |                                      unsigned char *
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/conn.c:82:
./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  448 | void octstr_append_data(Octstr *ostr, const char *data, long len);
      |                                       ~~~~~~~~~~~~^~~~
gwlib/conn.c: In function 'conn_write_withlen':
gwlib/conn.c:1069:38: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign]
 1069 |     octstr_append_data(conn->outbuf, lengthbuf, 4);
      |                                      ^~~~~~~~~
      |                                      |
      |                                      unsigned char *
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/conn.c:82:
./gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  448 | void octstr_append_data(Octstr *ostr, const char *data, long len);
      |                                       ~~~~~~~~~~~~^~~~
gwlib/conn.c: In function 'conn_read_withlen':
gwlib/conn.c:1175:35: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness [-Wpointer-sign]
 1175 |             octstr_get_many_chars(lengthbuf, conn->inbuf, conn->inbufpos, 4);
      |                                   ^~~~~~~~~
      |                                   |
      |                                   unsigned char *
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/conn.c:82:
./gwlib/octstr.h:217:34: note: expected 'char *' but argument is of type 'unsigned char *'
  217 | void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, long len);
      |                            ~~~~~~^~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/counter.o -c gwlib/counter.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/i586-alt-linux/10/include/limits.h:195,
                 from /usr/lib/gcc/i586-alt-linux/10/include/syslimits.h:7,
                 from /usr/lib/gcc/i586-alt-linux/10/include/limits.h:34,
                 from gwlib/counter.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/date.o -c gwlib/date.c
In file included from /usr/include/unistd.h:25,
                 from gwlib/date.c:62:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool.o -c gwlib/dbpool.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwlib.h:70,
                 from gwlib/dbpool.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_mssql.o -c gwlib/dbpool_mssql.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_mysql.o -c gwlib/dbpool_mysql.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_oracle.o -c gwlib/dbpool_oracle.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_pgsql.o -c gwlib/dbpool_pgsql.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_sdb.o -c gwlib/dbpool_sdb.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_sqlite.o -c gwlib/dbpool_sqlite.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dbpool_sqlite3.o -c gwlib/dbpool_sqlite3.c
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/dict.o -c gwlib/dict.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwlib.h:70,
                 from gwlib/dict.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/fdset.o -c gwlib/fdset.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/fdset.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/fdset.c: In function 'submit_action':
gwlib/fdset.c:194:11: warning: variable 'sync' set but not used [-Wunused-but-set-variable]
  194 |     void *sync;
      |           ^~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gw-prioqueue.o -c gwlib/gw-prioqueue.c
In file included from /usr/include/pthread.h:21,
                 from gwlib/gw-prioqueue.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gw-rwlock.o -c gwlib/gw-rwlock.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwlib.h:70,
                 from gwlib/gw-rwlock.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gw_uuid.o -c gwlib/gw_uuid.c
In file included from /usr/include/unistd.h:25,
                 from gwlib/gw_uuid.c:23:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwlib.o -c gwlib/gwlib.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwlib.h:70,
                 from gwlib/gwlib.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwmem-check.o -c gwlib/gwmem-check.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwmem-check.c:93:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwmem-native.o -c gwlib/gwmem-native.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwmem-native.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwpoll.o -c gwlib/gwpoll.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gwlib/gwpoll.c:59:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/gwthread-pthread.o -c gwlib/gwthread-pthread.c
In file included from /usr/include/unistd.h:25,
                 from gwlib/gwthread-pthread.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/gwthread-pthread.c: In function 'gwthread_wakeup':
gwlib/gwthread-pthread.c:679:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  679 |     write(fd, &c, 1);
      |     ^~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/http.o -c gwlib/http.c
In file included from /usr/include/ctype.h:25,
                 from gwlib/http.c:76:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/list.o -c gwlib/list.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gwlib/list.c:90:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/log.o -c gwlib/log.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gwlib/gwlib.h:70,
                 from gwlib/log.c:61:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/log.c: In function 'log_init':
gwlib/log.c:176:22: warning: iteration 1024 invokes undefined behavior [-Waggressive-loop-optimizations]
  176 |         thread_to[i] = 0;
      |         ~~~~~~~~~~~~~^~~
gwlib/log.c:175:5: note: within this loop
  175 |     for (i = 0; i <= THREADTABLE_SIZE; i++) {
      |     ^~~
gwlib/log.c:176:22: warning: '__builtin_memset' forming offset [4096, 4099] is out of the bounds [0, 4096] of object 'thread_to' with type 'unsigned int[1024]' [-Warray-bounds]
  176 |         thread_to[i] = 0;
      |         ~~~~~~~~~~~~~^~~
gwlib/log.c:119:21: note: 'thread_to' declared here
  119 | static unsigned int thread_to[(long)THREADTABLE_SIZE];
      |                     ^~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/md5.o -c gwlib/md5.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from gwlib/md5.c:88:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from gwlib/utils.h:68,
                 from gwlib/gwlib.h:79,
                 from gwlib/md5.c:90:
gwlib/md5.c: In function 'md5':
gwlib/octstr.h:234:6: warning: pointer targets in passing argument 2 of 'md5_update' differ in signedness [-Wpointer-sign]
  234 |     (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
      |     ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |      |
      |      char *
gwlib/md5.c:397:26: note: in expansion of macro 'octstr_get_cstr'
  397 |     md5_update(&context, octstr_get_cstr(data), octstr_len(data));
      |                          ^~~~~~~~~~~~~~~
gwlib/md5.c:195:63: note: expected 'const unsigned char *' but argument is of type 'char *'
  195 | static void md5_update(md5_ctx *context, const unsigned char *input,
      |                                          ~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from gwlib/gwlib.h:83,
                 from gwlib/md5.c:90:
gwlib/octstr.h:135:57: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign]
  135 |     (Octstr*)gw_claim_area(octstr_create_from_data_real((data), (len), __FILE__, __LINE__, __func__))
      |                                                         ^~~~~~
      |                                                         |
      |                                                         unsigned char *
gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/md5.c:400:11: note: in expansion of macro 'octstr_create_from_data'
  400 |     enc = octstr_create_from_data(digest, 16);
      |           ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gwlib/utils.h:68,
                 from gwlib/gwlib.h:79,
                 from gwlib/md5.c:90:
gwlib/octstr.h:132:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  132 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
      |                                      ~~~~~~~~~~~~^~~~
gwlib/md5.c: In function 'md5digest':
gwlib/octstr.h:234:6: warning: pointer targets in passing argument 2 of 'md5_digest' differ in signedness [-Wpointer-sign]
  234 |     (octstr_get_cstr_real(ostr, __FILE__, __LINE__, __func__))
      |     ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |      |
      |      char *
gwlib/md5.c:416:24: note: in expansion of macro 'octstr_get_cstr'
  416 |     md5_digest(md5str, octstr_get_cstr(digest));
      |                        ^~~~~~~~~~~~~~~
gwlib/md5.c:102:53: note: expected 'unsigned char *' but argument is of type 'char *'
  102 | static void md5_digest(char *md5str, unsigned char *digest)
      |                                      ~~~~~~~~~~~~~~~^~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/mime.o -c gwlib/mime.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gwlib/mime.c:69:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/octstr.o -c gwlib/octstr.c
In file included from /usr/include/ctype.h:25,
                 from gwlib/octstr.c:66:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/octstr.c: In function 'urlcode_init':
gwlib/octstr.c:208:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  208 |     unsigned char *safe = " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gwlib/octstr.c: In function 'octstr_imm':
gwlib/octstr.c:309:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  309 |         os->len = strlen(data);
      |                          ^~~~
      |                          |
      |                          unsigned char *
In file included from gwlib/octstr.c:70:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
In file included from gwlib/gwlib.h:83,
                 from gwlib/octstr.c:76:
gwlib/octstr.c: In function 'octstr_copy_real':
gwlib/octstr.c:364:53: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign]
  364 |     return octstr_create_from_data_trace(ostr->data + from, len, file,
      |                                          ~~~~~~~~~~~^~~~~~
      |                                                     |
      |                                                     unsigned char * const
gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/octstr.c:364:12: note: in expansion of macro 'octstr_create_from_data_trace'
  364 |     return octstr_create_from_data_trace(ostr->data + from, len, file,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gwlib/octstr.c:247:50: note: expected 'const char *' but argument is of type 'unsigned char * const'
  247 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
      |                                      ~~~~~~~~~~~~^~~~
In file included from gwlib/gwlib.h:83,
                 from gwlib/octstr.c:76:
gwlib/octstr.c: In function 'octstr_duplicate_real':
gwlib/octstr.c:376:46: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign]
  376 |     return octstr_create_from_data_trace(ostr->data, ostr->len, file, line, func);
      |                                          ~~~~^~~~~~
      |                                              |
      |                                              unsigned char * const
gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/octstr.c:376:12: note: in expansion of macro 'octstr_create_from_data_trace'
  376 |     return octstr_create_from_data_trace(ostr->data, ostr->len, file, line, func);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gwlib/octstr.c:247:50: note: expected 'const char *' but argument is of type 'unsigned char * const'
  247 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
      |                                      ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_get_cstr_real':
gwlib/octstr.c:445:16: warning: pointer targets in returning 'unsigned char * const' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
  445 |     return ostr->data;
      |            ~~~~^~~~~~
gwlib/octstr.c: In function 'octstr_binary_to_hex':
gwlib/octstr.c:473:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  473 |     hexits = uppercase ? "0123456789ABCDEF" : "0123456789abcdef";
      |            ^
gwlib/octstr.c: In function 'octstr_parse_long':
gwlib/octstr.c:766:32: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign]
  766 |     number = strtol(ostr->data + pos, &endptr, base);
      |                     ~~~~~~~~~~~^~~~~
      |                                |
      |                                unsigned char *
In file included from gwlib/octstr.c:69:
/usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  176 | extern long int strtol (const char *__restrict __nptr,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
gwlib/octstr.c:767:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  767 |     endpos = endptr;
      |            ^
gwlib/octstr.c: In function 'octstr_parse_double':
gwlib/octstr.c:798:32: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness [-Wpointer-sign]
  798 |     number = strtod(ostr->data + pos, &endptr);
      |                     ~~~~~~~~~~~^~~~~
      |                                |
      |                                unsigned char *
In file included from gwlib/octstr.c:69:
/usr/include/stdlib.h:117:46: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  117 | extern double strtod (const char *__restrict __nptr,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
gwlib/octstr.c:799:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  799 |     endpos = endptr;
      |            ^
gwlib/octstr.c: In function 'octstr_str_compare':
gwlib/octstr.c:980:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
  980 |     return strcmp(ostr->data, str);
      |                   ~~~~^~~~~~
      |                       |
      |                       unsigned char * const
In file included from gwlib/octstr.c:70:
/usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char * const'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_str_case_compare':
gwlib/octstr.c:993:27: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign]
  993 |     return strcasecmp(ostr->data, str);
      |                       ~~~~^~~~~~
      |                           |
      |                           unsigned char * const
In file included from /usr/include/string.h:446,
                 from gwlib/octstr.c:70:
/usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'unsigned char * const'
  116 | extern int strcasecmp (const char *__s1, const char *__s2)
      |                        ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_str_ncompare':
gwlib/octstr.c:1006:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
 1006 |     return strncmp(ostr->data, str, n);
      |                    ~~~~^~~~~~
      |                        |
      |                        unsigned char * const
In file included from gwlib/octstr.c:70:
/usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char * const'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                     ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_append_from_socket':
gwlib/octstr.c:1241:30: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign]
 1241 |     octstr_append_data(ostr, buf, len);
      |                              ^~~
      |                              |
      |                              unsigned char *
In file included from gwlib/utils.h:68,
                 from gwlib/gwlib.h:79,
                 from gwlib/octstr.c:76:
gwlib/octstr.h:448:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  448 | void octstr_append_data(Octstr *ostr, const char *data, long len);
      |                                       ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_append_char':
gwlib/octstr.c:1466:41: warning: pointer targets in passing argument 3 of 'octstr_insert_data' differ in signedness [-Wpointer-sign]
 1466 |     octstr_insert_data(ostr, ostr->len, &c, 1);
      |                                         ^~
      |                                         |
      |                                         unsigned char *
gwlib/octstr.c:1404:61: note: expected 'const char *' but argument is of type 'unsigned char *'
 1404 | void octstr_insert_data(Octstr *ostr, long pos, const char *data, long len)
      |                                                 ~~~~~~~~~~~~^~~~
In file included from gwlib/gwlib.h:83,
                 from gwlib/octstr.c:76:
gwlib/octstr.c: In function 'octstr_split_words':
gwlib/octstr.c:1574:51: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness [-Wpointer-sign]
 1574 |         word = octstr_create_from_data(ostr->data + start,
gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/octstr.c:1574:16: note: in expansion of macro 'octstr_create_from_data'
 1574 |         word = octstr_create_from_data(ostr->data + start,
      |                ^~~~~~~~~~~~~~~~~~~~~~~
gwlib/octstr.c:247:50: note: expected 'const char *' but argument is of type 'unsigned char * const'
  247 | Octstr *octstr_create_from_data_real(const char *data, long len, const char *file,
      |                                      ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_url_encode':
gwlib/octstr.c:1649:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
 1649 |     hexits = "0123456789ABCDEF";
      |            ^
gwlib/octstr.c: In function 'octstr_append_uintvar':
gwlib/octstr.c:1890:37: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness [-Wpointer-sign]
 1890 |     octstr_append_data(ostr, octets + start, 5 - start);
      |                              ~~~~~~~^~~~~~~
      |                                     |
      |                                     unsigned char *
gwlib/octstr.c:1440:51: note: expected 'const char *' but argument is of type 'unsigned char *'
 1440 | void octstr_append_data(Octstr *ostr, const char *data, long len)
      |                                       ~~~~~~~~~~~~^~~~
gwlib/octstr.c: In function 'octstr_dump_debug':
gwlib/octstr.c:1957:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
 1957 |         sprintf(p, "%02x ", c);
      |                 ^
      |                 |
      |                 unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/ctype.h:25,
                 from gwlib/octstr.c:66:
/usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
gwlib/octstr.c:1958:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
 1958 |         p = strchr(p, '\0');
      |                    ^
      |                    |
      |                    unsigned char *
In file included from gwlib/octstr.c:70:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
gwlib/octstr.c:1958:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
 1958 |         p = strchr(p, '\0');
      |           ^
gwlib/octstr.c: In function 'octstr_dump_real':
gwlib/octstr.c:2026:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
 2026 |         sprintf(p, "%02x ", c); \
      |                 ^
      |                 |
      |                 unsigned char *
gwlib/octstr.c:2069:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2069 |             octstr_dump_LOGLEVEL(info, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:465,
                 from /usr/include/ctype.h:25,
                 from gwlib/octstr.c:66:
/usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
gwlib/octstr.c:2027:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
 2027 |         p = strchr(p, '\0'); \
      |                    ^
      |                    |
      |                    unsigned char *
gwlib/octstr.c:2069:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2069 |             octstr_dump_LOGLEVEL(info, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from gwlib/octstr.c:70:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
gwlib/octstr.c:2027:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
 2027 |         p = strchr(p, '\0'); \
      |           ^
gwlib/octstr.c:2069:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2069 |             octstr_dump_LOGLEVEL(info, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
gwlib/octstr.c:2026:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
 2026 |         sprintf(p, "%02x ", c); \
      |                 ^
      |                 |
      |                 unsigned char *
gwlib/octstr.c:2072:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2072 |             octstr_dump_LOGLEVEL(warning, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:465,
                 from /usr/include/ctype.h:25,
                 from gwlib/octstr.c:66:
/usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
gwlib/octstr.c:2027:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
 2027 |         p = strchr(p, '\0'); \
      |                    ^
      |                    |
      |                    unsigned char *
gwlib/octstr.c:2072:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2072 |             octstr_dump_LOGLEVEL(warning, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from gwlib/octstr.c:70:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
gwlib/octstr.c:2027:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
 2027 |         p = strchr(p, '\0'); \
      |           ^
gwlib/octstr.c:2072:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2072 |             octstr_dump_LOGLEVEL(warning, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
gwlib/octstr.c:2026:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
 2026 |         sprintf(p, "%02x ", c); \
      |                 ^
      |                 |
      |                 unsigned char *
gwlib/octstr.c:2075:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2075 |             octstr_dump_LOGLEVEL(error, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:465,
                 from /usr/include/ctype.h:25,
                 from gwlib/octstr.c:66:
/usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
gwlib/octstr.c:2027:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
 2027 |         p = strchr(p, '\0'); \
      |                    ^
      |                    |
      |                    unsigned char *
gwlib/octstr.c:2075:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2075 |             octstr_dump_LOGLEVEL(error, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from gwlib/octstr.c:70:
/usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *'
  230 | extern char *strchr (const char *__s, int __c)
      |                      ~~~~~~~~~~~~^~~
gwlib/octstr.c:2027:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
 2027 |         p = strchr(p, '\0'); \
      |           ^
gwlib/octstr.c:2075:13: note: in expansion of macro 'octstr_dump_LOGLEVEL'
 2075 |             octstr_dump_LOGLEVEL(error, ostr, level);
      |             ^~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/parse.o -c gwlib/parse.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gwlib/parse.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/pcre.o -c gwlib/pcre.c
In file included from /usr/include/ctype.h:25,
                 from gwlib/pcre.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/pki.o -c gwlib/pki.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from gwlib/pki.c:62:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/protected.o -c gwlib/protected.c
In file included from /usr/include/locale.h:25,
                 from gwlib/protected.c:63:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/regex.o -c gwlib/regex.c
In file included from /usr/include/ctype.h:25,
                 from gwlib/regex.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/semaphore.o -c gwlib/semaphore.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gwlib/semaphore.c:65:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/socket.o -c gwlib/socket.c
In file included from /usr/include/ctype.h:25,
                 from gwlib/socket.c:57:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/ssl.o -c gwlib/ssl.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from ./gwlib/gwlib.h:70,
                 from gwlib/ssl.c:71:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/thread.o -c gwlib/thread.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from gwlib/thread.c:57:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/utils.o -c gwlib/utils.c
In file included from /usr/include/ctype.h:25,
                 from gwlib/utils.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gwlib/utils.c: In function 'become_daemon':
gwlib/utils.c:219:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  219 |     dup(fd); /* stdout */
      |     ^~~~~~~
gwlib/utils.c:220:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result]
  220 |     dup(fd); /* stderr */
      |     ^~~~~~~
gwlib/utils.c:222:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  222 |     chdir("/");
      |     ^~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libxml2/libxml/xmlmemory.h:15,
                 from gwlib/xmlrpc.c:68:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_document':
gwlib/xmlrpc.c:1386:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 1386 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1386:12: note: in expansion of macro 'octstr_create'
 1386 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_methodcall_element':
gwlib/xmlrpc.c:1492:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 1492 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1492:12: note: in expansion of macro 'octstr_create'
 1492 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
  126 |     (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
      |                                               ^~~~~~
      |                                               |
      |                                               xmlChar * {aka unsigned char *}
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1526:43: note: in expansion of macro 'octstr_create'
 1526 |                 methodcall->method_name = octstr_create(content_buff);
      |                                           ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_methodresponse_element':
gwlib/xmlrpc.c:1613:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 1613 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1613:12: note: in expansion of macro 'octstr_create'
 1613 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_params_element':
gwlib/xmlrpc.c:1720:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 1720 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1720:12: note: in expansion of macro 'octstr_create'
 1720 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_param_element':
gwlib/xmlrpc.c:1822:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 1822 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1822:12: note: in expansion of macro 'octstr_create'
 1822 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_value_element':
gwlib/xmlrpc.c:1922:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 1922 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1922:12: note: in expansion of macro 'octstr_create'
 1922 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
  126 |     (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
      |                                               ^~~~~~
      |                                               |
      |                                               xmlChar * {aka unsigned char *}
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:1947:17: note: in expansion of macro 'octstr_create'
 1947 |         value = octstr_create(content_buff);
      |                 ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_struct_element':
gwlib/xmlrpc.c:2123:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 2123 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:2123:12: note: in expansion of macro 'octstr_create'
 2123 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_member_element':
gwlib/xmlrpc.c:2226:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 2226 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:2226:12: note: in expansion of macro 'octstr_create'
 2226 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:126:47: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
  126 |     (Octstr*)gw_claim_area(octstr_create_real((cstr), __FILE__, __LINE__, __func__))
      |                                               ^~~~~~
      |                                               |
      |                                               xmlChar * {aka unsigned char *}
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:2265:28: note: in expansion of macro 'octstr_create'
 2265 |             member->name = octstr_create(content_buff);
      |                            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_array_element':
gwlib/xmlrpc.c:2335:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 2335 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:2335:12: note: in expansion of macro 'octstr_create'
 2335 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_data_element':
gwlib/xmlrpc.c:2429:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 2429 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:2429:12: note: in expansion of macro 'octstr_create'
 2429 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
In file included from ./gwlib/gwlib.h:83,
                 from gwlib/xmlrpc.c:73:
gwlib/xmlrpc.c: In function 'parse_fault_element':
gwlib/xmlrpc.c:2527:30: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness [-Wpointer-sign]
 2527 |     name = octstr_create(node->name);
./gwlib/gwmem.h:129:44: note: in definition of macro 'gw_claim_area'
  129 | #define gw_claim_area(ptr) (gw_native_noop(ptr))
      |                                            ^~~
gwlib/xmlrpc.c:2527:12: note: in expansion of macro 'octstr_create'
 2527 |     name = octstr_create(node->name);
      |            ^~~~~~~~~~~~~
In file included from ./gwlib/utils.h:68,
                 from ./gwlib/gwlib.h:79,
                 from gwlib/xmlrpc.c:73:
./gwlib/octstr.h:123:40: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
  123 | Octstr *octstr_create_real(const char *cstr, const char *file, long line,
      |                            ~~~~~~~~~~~~^~~~
ar rc  libgwlib.a gwlib/accesslog.o gwlib/cfg.o gwlib/charset.o gwlib/conn.o gwlib/counter.o gwlib/date.o gwlib/dbpool.o gwlib/dbpool_mssql.o gwlib/dbpool_mysql.o gwlib/dbpool_oracle.o gwlib/dbpool_pgsql.o gwlib/dbpool_sdb.o gwlib/dbpool_sqlite.o gwlib/dbpool_sqlite3.o gwlib/dict.o gwlib/fdset.o gwlib/gw-prioqueue.o gwlib/gw-rwlock.o gwlib/gw_uuid.o gwlib/gwlib.o gwlib/gwmem-check.o gwlib/gwmem-native.o gwlib/gwpoll.o gwlib/gwthread-pthread.o gwlib/http.o gwlib/list.o gwlib/log.o gwlib/md5.o gwlib/mime.o gwlib/octstr.o gwlib/parse.o gwlib/pcre.o gwlib/pki.o gwlib/protected.o gwlib/regex.o gwlib/semaphore.o gwlib/socket.o gwlib/ssl.o gwlib/thread.o gwlib/utils.o gwlib/xmlrpc.o 
ranlib libgwlib.a
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/seewbmp.o -c utils/seewbmp.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from utils/seewbmp.c:88:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/mtbatch.o -c utils/mtbatch.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from utils/mtbatch.c:72:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/decode_emimsg.o -c utils/decode_emimsg.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from utils/decode_emimsg.c:62:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/bearerbox.o -c gw/bearerbox.c
In file included from /usr/include/errno.h:25,
                 from gw/bearerbox.c:67:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/smsbox.o -c gw/smsbox.c
In file included from /usr/include/errno.h:25,
                 from gw/smsbox.c:61:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gw/smsbox.c: In function 'obey_request_thread':
gw/smsbox.c:1714:17: warning: variable 'converted' set but not used [-Wunused-but-set-variable]
 1714 |             int converted = 0;
      |                 ^~~~~~~~~
gw/smsbox.c: In function 'smsbox_req_handle':
gw/smsbox.c:1983:10: warning: variable 'del' set but not used [-Wunused-but-set-variable]
 1983 |     long del;
      |          ^~~
gw/smsbox.c: In function 'smsbox_xmlrpc_post':
gw/smsbox.c:2765:19: warning: variable 'mclass' set but not used [-Wunused-but-set-variable]
 2765 |     int dlr_mask, mclass, mwi, coding, compress, validity,
      |                   ^~~~~~
gw/smsbox.c:2760:13: warning: variable 'from' set but not used [-Wunused-but-set-variable]
 2760 |     Octstr *from, *to, *udh, *smsc, *charset, *dlr_url, *account, *binfo, *meta_data;
      |             ^~~~
gw/smsbox.c:2759:26: warning: variable 'user' set but not used [-Wunused-but-set-variable]
 2759 |     Octstr *ret, *type, *user, *pass;
      |                          ^~~~
gw/smsbox.c: In function 'obey_request_thread':
gw/smsbox.c:1536:19: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 10 and 17 [-Wformat-overflow=]
 1536 |  sprintf(p, "%04d-%02d-%02d %02d:%02d:%02d",
      |                   ^~~~
gw/smsbox.c:1536:13: note: directive argument in the range [-2147483647, 2147483647]
 1536 |  sprintf(p, "%04d-%02d-%02d %02d:%02d:%02d",
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from ./gwlib/utils.h:67,
                 from ./gwlib/gwlib.h:79,
                 from gw/smsbox.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 22
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsbox.c:1382:19: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 10 and 17 [-Wformat-overflow=]
 1382 |  sprintf(p, "%04d-%02d-%02d %02d:%02d:%02d",
      |                   ^~~~
gw/smsbox.c:1382:13: note: directive argument in the range [-2147483647, 2147483647]
 1382 |  sprintf(p, "%04d-%02d-%02d %02d:%02d:%02d",
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from ./gwlib/utils.h:67,
                 from ./gwlib/gwlib.h:79,
                 from gw/smsbox.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 22
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gw/smsbox.c:1388:19: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 10 and 17 [-Wformat-overflow=]
 1388 |  sprintf(p, "%04d-%02d-%02d %02d:%02d:%02d",
      |                   ^~~~
gw/smsbox.c:1388:13: note: directive argument in the range [-2147483647, 2147483647]
 1388 |  sprintf(p, "%04d-%02d-%02d %02d:%02d:%02d",
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from ./gwlib/utils.h:67,
                 from ./gwlib/gwlib.h:79,
                 from gw/smsbox.c:66:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 22
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o gw/wapbox.o -c gw/wapbox.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from gw/wapbox.c:64:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -o utils/run_kannel_box.o -c utils/run_kannel_box.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from utils/run_kannel_box.c:57:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o wmlscript/wmlsdasm wmlscript/wmlsdasm.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/seewbmp utils/seewbmp.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/mtbatch utils/mtbatch.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o utils/decode_emimsg utils/decode_emimsg.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o gw/bearerbox gw/bearerbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o gw/smsbox gw/smsbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
i586-alt-linux-gcc -D_REENTRANT=1 -I. -Igw -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/pcre -I/usr/lib/openssl/include -I/usr/include/mysql -I/usr/include/pgsql -rdynamic -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpq -lmysqlclient -ldl -lpam -lpcreposix -lrt -lresolv -lm  -lpthread -lxml2 -lpcreposix -lpcre -L/usr/lib/openssl/lib  -L/usr/lib -lmysqlclient  -L/usr/local/lib -lsqlite3 -L/usr/lib 
ld: libwap.a(wtp_resp.o):/usr/src/RPM/BUILD/gateway-1.5.0/wap/wtp_resp.c:100: multiple definition of `dispatch_to_wsp'; libgw.a(wap_push_ota.o):/usr/src/RPM/BUILD/gateway-1.5.0/gw/wap_push_ota.c:116: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:366: gw/wapbox] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/gateway-1.5.0'
error: Bad exit status from /usr/src/tmp/rpm-tmp.76693 (%build)


RPM build errors:
    line 28: Deprecated PreReq converted to Requires(pre,postun): PreReq: monit-base
    Bad exit status from /usr/src/tmp/rpm-tmp.76693 (%build)
Command exited with non-zero status 1
53.95user 6.16system 1:18.73elapsed 76%CPU (0avgtext+0avgdata 87560maxresident)k
0inputs+0outputs (0major+2063159minor)pagefaults 0swaps
hsh-rebuild: rebuild of `kannel-1.5.0-alt1.cvs20091101.3.src.rpm' failed.
Command exited with non-zero status 1
67.11user 9.43system 1:36.14elapsed 79%CPU (0avgtext+0avgdata 106576maxresident)k
72inputs+0outputs (0major+2416544minor)pagefaults 0swaps