=>> Building japanese/sj3-lib build started at Sat Mar 30 10:38:22 GMT 2024 port directory: /usr/ports/japanese/sj3-lib package name: ja-sj3-lib-2.0.1.20_8 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 803 Mar 8 2023 /usr/ports/japanese/sj3-lib/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work/.cache HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/sj3-lib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/sj3-lib/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work/.cache HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/sj3-lib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/sj3-lib/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sj3" EXAMPLESDIR="share/examples/sj3" DATADIR="share/sj3" WWWDIR="www/sj3" ETCDIR="etc/sj3" --End PLIST_SUB-- --SUB_LIST-- DESTDIR= PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sj3 DOCSDIR=/usr/local/share/doc/sj3 EXAMPLESDIR=/usr/local/share/examples/sj3 WWWDIR=/usr/local/www/sj3 ETCDIR=/usr/local/etc/sj3 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-lib-2.0.1.20_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ja-sj3-lib-2.0.1.20_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building => SHA256 Checksum OK for sj3-2.0.1.20.tar.gz. => SHA256 Checksum OK for sj3-qq-2.0.1.21.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building ===> Extracting for ja-sj3-lib-2.0.1.20_8 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building => SHA256 Checksum OK for sj3-2.0.1.20.tar.gz. => SHA256 Checksum OK for sj3-qq-2.0.1.21.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-sj3-lib-2.0.1.20_8 ===> Applying distribution patches for ja-sj3-lib-2.0.1.20_8 ===> Applying FreeBSD patches for ja-sj3-lib-2.0.1.20_8 from /usr/ports/japanese/sj3-lib/files cd /wrkdirs/usr/ports/japanese/sj3-lib/work/sj3-2.0.1.20 && /bin/cat /usr/ports/japanese/sj3-lib/files/post-patch-Imakefile /usr/ports/japanese/sj3-lib/files/post-patch-include-Const.h | /usr/bin/patch cat: /usr/ports/japanese/sj3-lib/files/post-patch-include-Const.h: No such file or directory Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig 2008-09-07 16:20:03.000000000 +0900 |+++ Imakefile 2008-09-07 16:20:51.000000000 +0900 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 42. Hunk #2 succeeded at 62. done =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-lib-2.0.1.20_8 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg-builder.dan.net.uk] Installing imake-1.0.10_1,1... [pkg-builder.dan.net.uk] `-- Installing gccmakedep-1.0.4... [pkg-builder.dan.net.uk] `-- Extracting gccmakedep-1.0.4: .. done [pkg-builder.dan.net.uk] `-- Installing makedepend-1.0.9,1... [pkg-builder.dan.net.uk] `-- Extracting makedepend-1.0.9,1: .. done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xorg-cf-files-1.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting imake-1.0.10_1,1: .......... done ===> ja-sj3-lib-2.0.1.20_8 depends on executable: imake - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 ===> ja-sj3-lib-2.0.1.20_8 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg-builder.dan.net.uk] Installing tradcpp-0.5.3... [pkg-builder.dan.net.uk] Extracting tradcpp-0.5.3: .. done ===> ja-sj3-lib-2.0.1.20_8 depends on executable: tradcpp - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-sj3-lib-2.0.1.20_8 install -m 0644 /wrkdirs/usr/ports/japanese/sj3-lib/work/sj3_freebsd.tmpl /wrkdirs/usr/ports/japanese/sj3-lib/work/sj3-2.0.1.20/sj3_freebsd.tmpl imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in sjcompat... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in sj3lib... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:118:11: Warning: value of undefined symbol LargePICTable is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:407:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:444:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:455:12: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:461:12: Warning: value of undefined symbol LibBuild is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:465:12: Warning: value of undefined symbol LibCreate is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:476:14: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:504:14: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:528:13: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:566:14: Warning: value of undefined symbol LibHeaders is 0 make includes cp include/Paths.h.in include/Paths.h chmod +w include/Paths.h (echo "#define SocketName \"/var/run/sj3/socket\""; echo "#define LockFile \"/var/run/sj3/lock\""; echo ""; echo "#define RunCmdFile \"/usr/local/etc/sj3/serverrc\""; echo "#define DictRootDir \"/usr/local/lib/sh3/dict\""; echo ""; echo "#define DEFRKFILE \"/usr/local/etc/sj3/sjrk\""; echo "#define DEFRCFILE \"/usr/local/etc/sj3/sjrc\""; echo "#define DEFKEYFILE \"/usr/local/etc/sj3/cvtkey.\"") >> include/Paths.h including in ./sjcompat... including in ./sj3lib... + mkdir unshared + mkdir -p ../exports/include + cd ../exports/include make depend depending in ./sjcompat... rm -f .depend gccmakedep -f- -- -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- bsd-snprintf.c strlcat.c strlcpy.c > .depend depending in ./sj3lib... rm -f .depend gccmakedep -f- -- -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- level1.c sj.c string.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-sj3-lib-2.0.1.20_8 cp include/Paths.h.in include/Paths.h chmod +w include/Paths.h (echo "#define SocketName \"/var/run/sj3/socket\""; echo "#define LockFile \"/var/run/sj3/lock\""; echo ""; echo "#define RunCmdFile \"/usr/local/etc/sj3/serverrc\""; echo "#define DictRootDir \"/usr/local/lib/sh3/dict\""; echo ""; echo "#define DEFRKFILE \"/usr/local/etc/sj3/sjrk\""; echo "#define DEFRCFILE \"/usr/local/etc/sj3/sjrc\""; echo "#define DEFKEYFILE \"/usr/local/etc/sj3/cvtkey.\"") >> include/Paths.h including in ./sjcompat... including in ./sj3lib... + cd ../exports/include making all in ./sjcompat... rm -f bsd-snprintf.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY bsd-snprintf.c rm -f strlcat.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY strlcat.c rm -f strlcpy.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY strlcpy.c rm -f libsjcompat.a ar cq libsjcompat.a bsd-snprintf.o strlcat.o strlcpy.o ranlib libsjcompat.a making all in ./sj3lib... rm -f level1.o unshared/level1.o cc -c -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY level1.c -o unshared/level1.o level1.c:320:1: warning: non-void function does not return a value [-Wreturn-type] } ^ level1.c:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = getservbyname(sj3_port_name, "tcp")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level1.c:400:9: note: place parentheses around the assignment to silence this warning if (sp = getservbyname(sj3_port_name, "tcp")) ^ ( ) level1.c:400:9: note: use '==' to turn this assignment into an equality comparison if (sp = getservbyname(sj3_port_name, "tcp")) ^ == level1.c:504:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:505:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:506:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:509:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:509:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:510:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here u_char *(*func3)(), u_char *str3, int len3, ^ level1.c:519:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:520:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:521:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:524:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:524:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:525:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here u_char *(*func3)(), u_char *str3, int len3, ^ level1.c:528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:528:11: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:528:11: note: use '==' to turn this assignment into an equality comparison if (tmp = get_int()) { ^ == level1.c:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:548:10: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:548:10: note: use '==' to turn this assignment into an equality comparison if (tmp = get_int()) { ^ == level1.c:595:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(dictname, dictlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:596:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:599:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 2, put_string, dictname, dictlen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:600:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:604:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return 0; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:604:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return 0; ^ ( ) level1.c:604:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return 0; ^ == level1.c:617:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:617:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:617:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:637:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(stdyname, stdylen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:638:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:641:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 2, put_string, stdyname, stdylen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:642:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:646:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:646:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:646:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:657:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:657:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:657:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:671:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:671:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:671:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:686:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:686:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:686:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:697:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:697:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:697:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:718:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] srclen = strlen(src) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:733:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:733:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:733:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:741:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:741:11: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:741:11: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:750:12: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:750:12: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:800:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:800:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:800:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:820:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:820:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:820:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:840:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:840:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:840:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:873:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:873:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:873:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:902:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:902:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:902:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:907:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] douon -> dlen = strlen(douon -> ddata); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:936:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:936:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:936:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:947:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen1 = strlen(yomi1) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:948:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen2 = strlen(yomi2) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:967:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:967:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:967:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:981:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:982:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1001:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1001:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1001:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1012:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1013:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1032:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1032:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1052:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1052:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1052:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1073:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1073:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1073:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1094:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1094:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1094:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1117:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1123:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1129:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1129:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1129:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1148:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1154:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1160:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1160:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1160:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1178:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1181:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 1, put_string, path, pathlen, NULL, NULL, 0, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1187:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1187:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1187:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1207:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1211:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 2, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1242:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_nstring(ret -> hostname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1243:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_nstring(ret -> username, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1244:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_nstring(ret -> progname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1268:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1268:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1268:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1279:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1279:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1279:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == 70 warnings generated. rm -f level1.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -fPIC level1.c level1.c:320:1: warning: non-void function does not return a value [-Wreturn-type] } ^ level1.c:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = getservbyname(sj3_port_name, "tcp")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level1.c:400:9: note: place parentheses around the assignment to silence this warning if (sp = getservbyname(sj3_port_name, "tcp")) ^ ( ) level1.c:400:9: note: use '==' to turn this assignment into an equality comparison if (sp = getservbyname(sj3_port_name, "tcp")) ^ == level1.c:504:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:505:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:506:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:509:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:509:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:510:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here u_char *(*func3)(), u_char *str3, int len3, ^ level1.c:519:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:520:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:521:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:524:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:524:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:525:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here u_char *(*func3)(), u_char *str3, int len3, ^ level1.c:528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:528:11: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:528:11: note: use '==' to turn this assignment into an equality comparison if (tmp = get_int()) { ^ == level1.c:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:548:10: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:548:10: note: use '==' to turn this assignment into an equality comparison if (tmp = get_int()) { ^ == level1.c:595:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(dictname, dictlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:596:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:599:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 2, put_string, dictname, dictlen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:600:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:604:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return 0; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:604:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return 0; ^ ( ) level1.c:604:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return 0; ^ == level1.c:617:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:617:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:617:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:637:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(stdyname, stdylen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:638:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:641:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 2, put_string, stdyname, stdylen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:642:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here u_char *(*func2)(), u_char *str2, int len2, ^ level1.c:646:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:646:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:646:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:657:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:657:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:657:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:671:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:671:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:671:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:686:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:686:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:686:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:697:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:697:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:697:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:718:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] srclen = strlen(src) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:733:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:733:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:733:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:741:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:741:11: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:741:11: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:750:12: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:750:12: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:800:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:800:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:800:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:820:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:820:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:820:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:840:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:840:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:840:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:873:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:873:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:873:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:902:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:902:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:902:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:907:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] douon -> dlen = strlen(douon -> ddata); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:936:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:936:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:936:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:947:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen1 = strlen(yomi1) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:948:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen2 = strlen(yomi2) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:967:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:967:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:967:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:981:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:982:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1001:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1001:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1001:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1012:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1013:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1032:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1032:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1052:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1052:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1052:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1073:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1073:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1073:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1094:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1094:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1094:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1117:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1123:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1129:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1129:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1129:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1148:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1154:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1160:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1160:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1160:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1178:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1181:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 1, put_string, path, pathlen, NULL, NULL, 0, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1187:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1187:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1187:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1207:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here put_ndata(u_char *p, int n) ^ level1.c:1211:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (put_over(buflen, 2, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here u_char *(*func1)(), u_char *str1, int len1, ^ level1.c:1242:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_nstring(ret -> hostname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1243:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_nstring(ret -> username, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1244:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_nstring(ret -> progname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1268:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1268:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1268:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == level1.c:1279:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1279:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1279:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == 70 warnings generated. rm -f sj.o unshared/sj.o cc -c -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY sj.c -o unshared/sj.o sj.c:98:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static make_dirs(path) ~~~~~~ ^ sj.c:374:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:394:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:408:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> srclen = strlen(yomi); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:429:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:432:53: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:466:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:480:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> srclen = strlen(yp); ^~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:493:44: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = sj3_str_sjistoeuc(knj, knjorg, kp, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:529:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sj3_douoncnt(u_char *yomi) ^ sj.c:533:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:553:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:557:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:598:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:616:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:620:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:633:22: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dou[j].ddata, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:696:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi1, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:699:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf2, sizeof(buf2), yomi2, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:764:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:767:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:841:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:844:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:911:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:912:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:916:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:919:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:974:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:975:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:979:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:982:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:1037:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:1038:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:1042:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:1045:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 35 warnings generated. rm -f sj.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -fPIC sj.c sj.c:98:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static make_dirs(path) ~~~~~~ ^ sj.c:374:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:394:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:408:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> srclen = strlen(yomi); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:429:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:432:53: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:466:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:480:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bun -> srclen = strlen(yp); ^~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:493:44: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = sj3_str_sjistoeuc(knj, knjorg, kp, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:529:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sj3_douoncnt(u_char *yomi) ^ sj.c:533:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:553:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:557:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:598:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:616:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:620:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:633:22: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dou[j].ddata, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:696:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi1, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:699:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf2, sizeof(buf2), yomi2, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:764:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:767:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:841:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:844:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:911:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:912:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:916:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:919:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:974:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:975:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:979:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:982:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:1037:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj.c:1038:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:1042:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:1045:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 35 warnings generated. rm -f string.o unshared/string.o cc -c -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY string.c -o unshared/string.o rm -f string.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -fPIC string.c rm -f libsj3lib.so.1.21~ + cd . + cc -o './libsj3lib.so.1.21~' -shared -Wl,-rpath /usr/local/lib -Wl,-soname,libsj3lib.so.1 level1.o sj.o string.o -L../sjcompat -lsjcompat + rm -f libsj3lib.so.1 + ln -s libsj3lib.so.1.21 libsj3lib.so.1 rm -f libsj3lib.so.1.21 mv -f libsj3lib.so.1.21~ libsj3lib.so.1.21 + rm -f libsj3lib.so + ln -s libsj3lib.so.1.21 libsj3lib.so rm -f libsj3lib.a + cd unshared + ar cq ../libsj3lib.a level1.o sj.o string.o ranlib libsj3lib.a =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-sj3-lib-2.0.1.20_8 ===> Generating temporary packing list installing in ./sjcompat... install in sjcompat done installing in ./sj3lib... + /usr/bin/install -c -m 0755 libsj3lib.so.1 /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib + rm -f /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib/libsj3lib.so + ln -s libsj3lib.so.1 /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib/libsj3lib.so /usr/bin/install -c -m 0644 libsj3lib.a /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib ranlib /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib/libsj3lib.a + /usr/bin/install -c -m 0444 sj3lib.h /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/include install in sj3lib done ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-03-30T10:38:22+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-sj3-lib-2.0.1.20_8 ===> Building ja-sj3-lib-2.0.1.20_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-sj3-lib-2.0.1.20_8 build of japanese/sj3-lib | ja-sj3-lib-2.0.1.20_8 ended at Sat Mar 30 10:55:14 GMT 2024 build time: 00:16:55