=> Building astro/saoimage Started : Wednesday, 24 JUL 2019 at 13:56:10 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/astro/saoimage XDG_CONFIG_HOME=/construction/astro/saoimage HOME=/construction/astro/saoimage TMPDIR="/tmp" PATH=/construction/astro/saoimage/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OFLAGS="-pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing " XDG_DATA_HOME=/construction/astro/saoimage XDG_CONFIG_HOME=/construction/astro/saoimage HOME=/construction/astro/saoimage TMPDIR="/tmp" PATH=/construction/astro/saoimage/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/astro/saoimage/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/saoimage" EXAMPLESDIR="share/examples/saoimage" DATADIR="share/saoimage" WWWDIR="www/saoimage" ETCDIR="etc/saoimage" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/saoimage DOCSDIR=/usr/local/share/doc/saoimage EXAMPLESDIR=/usr/local/share/examples/saoimage WWWDIR=/usr/local/www/saoimage ETCDIR=/usr/local/etc/saoimage -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.6 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The saoimage port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> saoimage-1.35.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> saoimage-1.35.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of saoimage-1.35.1_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The saoimage port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by saoimage-1.35.1_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The saoimage port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by saoimage-1.35.1_2 for building => SHA256 Checksum OK for saoimage-1.35.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The saoimage port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by saoimage-1.35.1_2 for building ===> Extracting for saoimage-1.35.1_2 ===> NOTICE: The saoimage port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by saoimage-1.35.1_2 for building => SHA256 Checksum OK for saoimage-1.35.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for saoimage-1.35.1_2 ===> Applying ports patches for saoimage-1.35.1_2 ===> Applying dragonfly patches for saoimage-1.35.1_2 /usr/bin/sed -i.bak -e 's@\(FreeBSD\):@\1 DragonFly:@g' /construction/astro/saoimage/saoimage-1.35.1/makefile -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> saoimage-1.35.1_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.8,1.txz Installing libX11-1.6.8,1... `-- Installing libXau-1.0.9... `-- Extracting libXau-1.0.9: .......... done `-- Installing libXdmcp-1.1.3... | `-- Installing xorgproto-2019.1... | `-- Extracting xorgproto-2019.1: .......... done `-- Extracting libXdmcp-1.1.3: ......... done `-- Installing libxcb-1.13.1... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.9... | `-- Extracting libxml2-2.9.9: .......... done `-- Extracting libxcb-1.13.1: .......... done Extracting libX11-1.6.8,1: .......... done ===> saoimage-1.35.1_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of saoimage-1.35.1_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for saoimage-1.35.1_2 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for saoimage-1.35.1_2 --- DragonFly --- /usr/bin/make -f makefile.FreeBSD saoimage ARCH=DragonFly --- btnlib/libbtn.a --- --- clralloc.o --- --- clrctrl.o --- --- clrhard.o --- --- clrinit.o --- --- btnlib/libbtn.a --- Building btnlib/libbtn.a... cd btnlib; /usr/bin/make CFLAGS="-c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT" CC=cc --- clrctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrctrl.c --- clralloc.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clralloc.c --- clrhard.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrhard.c --- clrinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrinit.c --- btnlib/libbtn.a --- --- attach.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT attach.c --- clrctrl.o --- clrctrl.c: In function 'reinit_color': clrctrl.c:288:23: warning: comparison between pointer and integer if( cgraph.graph.ID != NULL ) { ^~ --- clralloc.o --- clralloc.c: In function 'alloc_colors': clralloc.c:72:2: warning: implicit declaration of function 'init_hard_colors' [-Wimplicit-function-declaration] init_hard_colors(color, color->colormap); ^~~~~~~~~~~~~~~~ clralloc.c:73:2: warning: implicit declaration of function 'lookup_cursor_colors' [-Wimplicit-function-declaration] lookup_cursor_colors(color, color->colormap, 1); ^~~~~~~~~~~~~~~~~~~~ clralloc.c: In function 'free_color_cells': clralloc.c:158:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)color->pixvalmap, COLMAPSZ * sizeof(int)); ^~~~~ clralloc.c:158:3: warning: incompatible implicit declaration of built-in function 'bzero' --- clrinit.o --- clrinit.c: In function 'verify_pseudocolor': clrinit.c:237:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)(&linfo[ptr]), (char *)(&private_vinfo), ^~~~~ clrinit.c:237:5: warning: incompatible implicit declaration of built-in function 'bcopy' --- btnlib/libbtn.a --- --- draw.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT draw.c --- clrmap.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrmap.c --- clrmenu.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrmenu.c --- clrread.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrread.c clrread.c: In function 'parse_color_file': clrread.c:48:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] (strncmp(cbuf, "PSEUDOCOLOR", 11) != 0) ) { ^~~~~~~ clrread.c: In function 'advance_to_ascii': clrread.c:261:13: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(scratch, &line[i]); ^~~~~~ clrread.c:261:13: warning: incompatible implicit declaration of built-in function 'strcpy' clrread.c:261:13: note: include '' or provide a declaration of 'strcpy' clrread.c:23:1: +#include clrread.c:261:13: (void)strcpy(scratch, &line[i]); ^~~~~~ clrread.c: In function 'prep_alpha': clrread.c:306:12: warning: type of 'len' defaults to 'int' [-Wimplicit-int] static int prep_alpha ( line, len ) ^~~~~~~~~~ --- clrmenu.o --- clrmenu.c: In function 'read_color_file': clrmenu.c:102:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)&ctable, sizeof(ColorTable)); ^~~~~ clrmenu.c:102:3: warning: incompatible implicit declaration of built-in function 'bzero' --- btnlib/libbtn.a --- --- event.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT event.c --- clrsetup.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrsetup.c --- clrvary.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c clrvary.c --- clrsetup.o --- In file included from clrsetup.c:23: clrsetup.c: In function 'init_cell_color': /usr/local/include/X11/Xlib.h:99:21: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] #define AllPlanes ((unsigned long)~0L) ^ clrsetup.c:91:29: note: in expansion of macro 'AllPlanes' color->image_plane_mask = AllPlanes; ^~~~~~~~~ --- cmddisp.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c cmddisp.c --- cmdimage.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c cmdimage.c --- btnlib/libbtn.a --- --- border.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT border.c --- cmddisp.o --- cmddisp.c: In function 'parse_rotate': cmddisp.c:76:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( (strcmp(argv[i], "-rot") == 0) || ^~~~~~ --- btnlib/libbtn.a --- border.c: In function 'btn_MakeBdrBitmap': border.c:115:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)top_line, (char *)bottom_line, byte_width); ^~~~~ border.c:115:5: warning: incompatible implicit declaration of built-in function 'bcopy' --- cmdimage.o --- cmdimage.c: In function 'parse_filename': cmdimage.c:84:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( (strcmp(argv[i], "-name") == 0) || ^~~~~~ cmdimage.c: In function 'parse_filetype': cmdimage.c:176:21: warning: implicit declaration of function 'atoi'; did you mean 'atan'? [-Wimplicit-function-declaration] ((img.filecols = atoi (argv[++i])) <= 0) || ^~~~ atan cmdimage.c:178:10: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] return( usage("array size", argc, argv, i-3, i) ); ^~~~~ cmdimage.c:64:7: note: previous declaration of 'usage' was here int usage(); ^~~~~ cmdimage.c: In function 'parse_fileread': cmdimage.c:220:18: warning: implicit declaration of function 'atof'; did you mean 'atanf'? [-Wimplicit-function-declaration] if( (scale = atof(argv[++i])) <= 0.0 ) ^~~~ atanf --- cmdnew.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c cmdnew.c --- btnlib/libbtn.a --- --- create.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT create.c --- cmdnew.o --- cmdnew.c: In function 'get_new_cmd': cmdnew.c:89:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(input_line, cmd_edit->string, cmd_edit->char_cnt); ^~~~~~~ cmdnew.c:89:9: warning: incompatible implicit declaration of built-in function 'strncpy' cmdnew.c:89:9: note: include '' or provide a declaration of 'strncpy' cmdnew.c:45:1: +#include cmdnew.c:89:9: (void)strncpy(input_line, cmd_edit->string, cmd_edit->char_cnt); ^~~~~~~ cmdnew.c: In function 'new_command': cmdnew.c:126:11: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(fname, img.filename); ^~~~~~ cmdnew.c:126:11: warning: incompatible implicit declaration of built-in function 'strcpy' cmdnew.c:126:11: note: include '' or provide a declaration of 'strcpy' cmdnew.c: In function 'free_argv': cmdnew.c:258:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(argv[i]); ^~~~ cmdnew.c:258:5: warning: incompatible implicit declaration of built-in function 'free' cmdnew.c:258:5: note: include '' or provide a declaration of 'free' cmdnew.c:45:1: +#include cmdnew.c:258:5: free(argv[i]); ^~~~ cmdnew.c:259:3: warning: incompatible implicit declaration of built-in function 'free' free( (char *)argv ); ^~~~ cmdnew.c:259:3: note: include '' or provide a declaration of 'free' cmdnew.c: In function 'form_tokens': cmdnew.c:275:9: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(format, "%s"); ^~~~~~ cmdnew.c:275:9: note: include '' or provide a declaration of 'strcpy' cmdnew.c:277:11: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] (void)strncat(format, "%s", SZ_LINE); ^~~~~~~ cmdnew.c:277:11: warning: incompatible implicit declaration of built-in function 'strncat' cmdnew.c:277:11: note: include '' or provide a declaration of 'strncat' cmdnew.c:277:11: warning: 'strncat' specified bound 256 equals destination size [-Wstringop-overflow=] (void)strncat(format, "%s", SZ_LINE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- btnlib/libbtn.a --- create.c: In function 'btn_LabelButtons': create.c:321:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)off_out); ^~~~ create.c:321:3: warning: incompatible implicit declaration of built-in function 'free' create.c:321:3: note: include '' or provide a declaration of 'free' create.c:32:1: +#include create.c:321:3: free((char *)off_out); ^~~~ --- cmdparse.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c cmdparse.c cmdparse.c: In function 'parse_cmdline': cmdparse.c:120:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] else if (strcmp(argv[i], "help") == 0) ^~~~~~ cmdparse.c: In function 'parse_etc': cmdparse.c:198:15: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] return( usage("wcscom", argc, argv, i-1, i) ); ^~~~~ cmdparse.c:61:71: note: previous declaration of 'usage' was here int parse_rotate(), parse_scale(), parse_color(), parse_fileread(), usage(); ^~~~~ cmdparse.c:325:7: warning: implicit declaration of function 'set_region_file' [-Wimplicit-function-declaration] set_region_file (argv[i]); ^~~~~~~~~~~~~~~ cmdparse.c: In function 'string_cmdline': cmdparse.c:367:11: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(cmdline, argv[0]); ^~~~~~ cmdparse.c:367:11: warning: incompatible implicit declaration of built-in function 'strcpy' cmdparse.c:367:11: note: include '' or provide a declaration of 'strcpy' cmdparse.c:39:1: +#include cmdparse.c:367:11: (void)strcpy(cmdline, argv[0]); ^~~~~~ cmdparse.c:369:13: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] (void)strncat(cmdline, " ", linemax); ^~~~~~~ cmdparse.c:369:13: warning: incompatible implicit declaration of built-in function 'strncat' cmdparse.c:369:13: note: include '' or provide a declaration of 'strncat' --- crdinvrt.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c crdinvrt.c --- btnlib/libbtn.a --- --- label.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT label.c label.c: In function 'btn_StencilAlligned': label.c:311:13: warning: type of 'inverse' defaults to 'int' [-Wimplicit-int] static void btn_StencilAlligned ( src, msk, dst, last_dst, first_mask, ^~~~~~~~~~~~~~~~~~~ label.c: In function 'btn_StencilAllignedInv': label.c:356:13: warning: type of 'inverse' defaults to 'int' [-Wimplicit-int] static void btn_StencilAllignedInv ( src, msk, dst, last_dst, first_mask, ^~~~~~~~~~~~~~~~~~~~~~ --- crdrot.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c crdrot.c crdrot.c: In function 'move_mtrx': crdrot.c:109:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)(&translate), sizeof(Transform)); ^~~~~ crdrot.c:109:3: warning: incompatible implicit declaration of built-in function 'bzero' crdrot.c: In function 'flip_mtrx': crdrot.c:135:3: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)(&reflect), sizeof(Transform)); ^~~~~ crdrot.c: In function 'turn_mtrx': crdrot.c:163:3: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)(&rotate), sizeof(Transform)); ^~~~~ crdrot.c: In function 'mult_mtrx': crdrot.c:227:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)&temp, (char *)new, sizeof(Transform)); ^~~~~ crdrot.c:227:3: warning: incompatible implicit declaration of built-in function 'bcopy' --- crdset.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c crdset.c --- btnlib/libbtn.a --- --- image.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT image.c --- crdset.o --- crdset.c: In function 'set_fbuftran': crdset.c:184:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)buf, (char *)fbuf, sizeof(Coordsys)); ^~~~~ crdset.c:184:5: warning: incompatible implicit declaration of built-in function 'bcopy' crdset.c: In function 'set_buftran': crdset.c:205:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)&(coord->imgtofile), ^~~~~ --- btnlib/libbtn.a --- image.c: In function 'btn_MakeXImages': image.c:72:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)off_out, (char *)data, mapsz); ^~~~~ image.c:72:3: warning: incompatible implicit declaration of built-in function 'bcopy' --- mount.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT mount.c --- crdsynth.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c crdsynth.c --- btnlib/libbtn.a --- --- press.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT press.c --- crdtemp.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c crdtemp.c --- crdtrans.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c crdtrans.c --- crdtemp.o --- crdtemp.c: In function 'reset_tdisp': crdtemp.c:99:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)&coord->id, (char *)&coord->tid, sizeof(Edges)); ^~~~~ crdtemp.c:99:3: warning: incompatible implicit declaration of built-in function 'bcopy' crdtemp.c: In function 'set_disptran': crdtemp.c:112:3: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)&coord->tid, (char *)&coord->id, sizeof(Edges)); ^~~~~ crdtemp.c: In function 'panedge_zoom': crdtemp.c:144:15: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] box_width = abs((int)coord->tid.cenX - (int)imgX) * 2 + 1; ^~~ crdtemp.c: In function 'set_dispoff': crdtemp.c:231:3: warning: implicit declaration of function 'd_transform' [-Wimplicit-function-declaration] d_transform(BAtrans, 0.0, 0.0, &x, &y); ^~~~~~~~~~~ --- csranli.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csranli.c --- csrarea.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrarea.c --- csrcoord.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrcoord.c --- csrctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrctrl.c --- csrdraw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrdraw.c --- csrgrab.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrgrab.c --- btnlib/libbtn.a --- --- remote.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT remote.c --- csrmove.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrmove.c --- csrpoly1.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrpoly1.c --- csrpoly2.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrpoly2.c --- csrpoly1.o --- csrpoly1.c: In function 'on_polygon_vertex': csrpoly1.c:223:10: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] if( (abs(x - vertex[i].x) < GRAB_RANGE) && ^~~ --- csrmove.o --- csrmove.c: In function 'move_cursor': csrmove.c:77:5: warning: implicit declaration of function 'move_textcursor'; did you mean 'move_cursor'? [-Wimplicit-function-declaration] move_textcursor(dxm, dym); ^~~~~~~~~~~~~~~ move_cursor --- btnlib/libbtn.a --- --- resize.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT resize.c --- csrpoly2.o --- csrpoly2.c: In function 'collapse_polygon': csrpoly2.c:50:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)&cursor->poly[active], (char *)cursor->poly, ^~~~~ csrpoly2.c:50:3: warning: incompatible implicit declaration of built-in function 'bcopy' csrpoly2.c: In function 'copy_polygon_region_to_cursor': csrpoly2.c:246:3: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)region->points, (char *)points, ^~~~~ --- btnlib/libbtn.a --- resize.c: In function 'ResizeBox': resize.c:126:2: warning: implicit declaration of function 'XDestroyImage'; did you mean 'XDestroyIC'? [-Wimplicit-function-declaration] XDestroyImage(buttonbox->buttons[btn].image[OFF_OUT]); ^~~~~~~~~~~~~ XDestroyIC --- csrpoly3.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrpoly3.c --- btnlib/libbtn.a --- --- util.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT util.c util.c: In function 'btn_Alloc': util.c:40:9: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] char *calloc(); ^~~~~~ util.c:45:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit( 0 ); ^~~~ util.c:45:5: warning: incompatible implicit declaration of built-in function 'exit' util.c:45:5: note: include '' or provide a declaration of 'exit' util.c:22:1: +#include util.c:45:5: exit( 0 ); ^~~~ --- libbtn.a --- ar cr libbtn.a attach.o draw.o event.o border.o create.o label.o image.o mount.o press.o remote.o resize.o util.o --- csrsave.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrsave.c --- btnlib/libbtn.a --- rm -f *.o ranlib libbtn.a > /dev/null --- csrshape.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrshape.c --- csrsave.o --- csrsave.c: In function 'free_cursor': csrsave.c:104:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)cursor); ^~~~ csrsave.c:104:3: warning: incompatible implicit declaration of built-in function 'free' csrsave.c:104:3: note: include '' or provide a declaration of 'free' csrsave.c:30:1: +#include csrsave.c:104:3: free((char *)cursor); ^~~~ csrsave.c: In function 'copy_cursor': csrsave.c:141:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)cursor, (char *)copy, sizeof(struct cursorRec)); ^~~~~ csrsave.c:141:3: warning: incompatible implicit declaration of built-in function 'bcopy' csrsave.c: In function 'copy_region_to_cursor': csrsave.c:256:3: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)region, (char *)cursor, sizeof(struct cursorRec)); ^~~~~ --- csrslct.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrslct.c csrslct.c: In function 'select_cursor': csrslct.c:55:7: warning: implicit declaration of function 'grab_keys_for_textcursor'; did you mean 'clear_textcursor'? [-Wimplicit-function-declaration] grab_keys_for_textcursor(1); ^~~~~~~~~~~~~~~~~~~~~~~~ clear_textcursor csrslct.c:167:6: warning: implicit declaration of function 'report_cursor_info'; did you mean 'select_cursor'? [-Wimplicit-function-declaration] report_cursor_info (&cursor); ^~~~~~~~~~~~~~~~~~ select_cursor --- csrtext.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c csrtext.c --- ctrlcntn.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrlcntn.c ctrlcntn.c: In function 'close_connection': ctrlcntn.c:282:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(connection); ^~~~ ctrlcntn.c:282:7: warning: incompatible implicit declaration of built-in function 'free' ctrlcntn.c:282:7: note: include '' or provide a declaration of 'free' ctrlcntn.c:29:1: +#include extern struct controlRec control; ctrlcntn.c:282:7: free(connection); ^~~~ ctrlcntn.c:295:5: warning: incompatible implicit declaration of built-in function 'free' free(connection->affiliate); ^~~~ ctrlcntn.c:295:5: note: include '' or provide a declaration of 'free' --- csrtext.o --- csrtext.c: In function 'textcursor_keyentry': csrtext.c:216:7: warning: implicit declaration of function 'ascii_region'; did you mean 'disp_region'? [-Wimplicit-function-declaration] ascii_region(&control.event.xkey, XK_s); ^~~~~~~~~~~~ disp_region csrtext.c:233:5: warning: implicit declaration of function 'disp_dispbox'; did you mean 'disp_region'? [-Wimplicit-function-declaration] disp_dispbox(); ^~~~~~~~~~~~ disp_region csrtext.c:245:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(curtext->string, cursor_edit->string, cursor_edit->char_cnt + 1); ^~~~~~~ csrtext.c:245:5: warning: incompatible implicit declaration of built-in function 'strncpy' csrtext.c:245:5: note: include '' or provide a declaration of 'strncpy' csrtext.c:46:1: +#include csrtext.c:245:5: strncpy(curtext->string, cursor_edit->string, cursor_edit->char_cnt + 1); ^~~~~~~ csrtext.c: In function 'write_text_region': csrtext.c:462:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(line); ^~~~~~ csrtext.c:462:9: warning: incompatible implicit declaration of built-in function 'strlen' csrtext.c:462:9: note: include '' or provide a declaration of 'strlen' --- ctrldisk.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrldisk.c --- ctrlfile.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrlfile.c ctrlfile.c: In function 'open_output_file': ctrlfile.c:69:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(filename, edit->string, edit->char_cnt); ^~~~~~~ ctrlfile.c:69:3: warning: incompatible implicit declaration of built-in function 'strncpy' ctrlfile.c:69:3: note: include '' or provide a declaration of 'strncpy' ctrlfile.c:28:1: +#include ctrlfile.c:69:3: strncpy(filename, edit->string, edit->char_cnt); ^~~~~~~ ctrlfile.c:96:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(open_type, "w"); ^~~~~~ ctrlfile.c:96:4: warning: incompatible implicit declaration of built-in function 'strcpy' ctrlfile.c:96:4: note: include '' or provide a declaration of 'strcpy' ctrlfile.c:97:8: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if( unlink(filename) <0 ) { ^~~~~~ unix ctrlfile.c:105:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(open_type, "a"); ^~~~~~ ctrlfile.c:105:4: note: include '' or provide a declaration of 'strcpy' ctrlfile.c:114:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(open_type, "a"); ^~~~~~ ctrlfile.c:114:5: note: include '' or provide a declaration of 'strcpy' ctrlfile.c: In function 'open_input_file': ctrlfile.c:157:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(filename, edit->string, edit->char_cnt); ^~~~~~~ ctrlfile.c:157:3: note: include '' or provide a declaration of 'strncpy' --- ctrlgc.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrlgc.c --- ctrlmbox.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrlmbox.c --- ctrlpipe.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrlpipe.c --- ctrlsckt.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c ctrlsckt.c --- dispblnk.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c dispblnk.c --- ctrlsckt.o --- ctrlsckt.c: In function 'open_socket_listener': ctrlsckt.c:59:11: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] if( gethostname(name, 100) != 0 ) { ^~~~~~~~~~~ gethostbyname ctrlsckt.c:63:34: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] local_name = calloc_errchk(strlen(name)+2, 1, "socket host name"); ^~~~~~ ctrlsckt.c:63:34: warning: incompatible implicit declaration of built-in function 'strlen' ctrlsckt.c:63:34: note: include '' or provide a declaration of 'strlen' ctrlsckt.c:37:1: +#include ctrlsckt.c:63:34: local_name = calloc_errchk(strlen(name)+2, 1, "socket host name"); ^~~~~~ ctrlsckt.c:64:13: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(local_name, name, 100); ^~~~~~~ ctrlsckt.c:64:13: warning: incompatible implicit declaration of built-in function 'strncpy' ctrlsckt.c:64:13: note: include '' or provide a declaration of 'strncpy' ctrlsckt.c:87:17: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types] if( bind(ipc, &net_address, sizeof(net_address)) ) { ^~~~~~~~~~~~ In file included from ctrlsckt.c:26: /usr/include/sys/socket.h:488:15: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' int bind(int, const struct sockaddr *, socklen_t); ^~~~~~~~~~~~~~~~~~~~~~~ ctrlsckt.c: In function 'close_socket': ctrlsckt.c:154:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] if( close(ipc) ) ^~~~~ pclose --- dispblnk.o --- dispblnk.c: In function 'save_blink': dispblnk.c:68:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)blink[index].buf); ^~~~ dispblnk.c:68:7: warning: incompatible implicit declaration of built-in function 'free' dispblnk.c:68:7: note: include '' or provide a declaration of 'free' dispblnk.c:28:1: +#include dispblnk.c:68:7: free((char *)blink[index].buf); ^~~~ dispblnk.c:71:29: warning: comparison between pointer and integer if( blink[index].pixmap != NULL ) { ^~ dispblnk.c:73:27: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] blink[index].pixmap = NULL; ^ dispblnk.c:78:48: warning: comparison between pointer and integer dispbox.yheight, blink[index].depth)) == NULL ) ^~ dispblnk.c:82:27: warning: comparison between pointer and integer if( blink[index].pixmap != NULL ) { ^~ dispblnk.c:93:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)dispbox.image.data, blink[index].buf, bufsz); ^~~~~ dispblnk.c:93:5: warning: incompatible implicit declaration of built-in function 'bcopy' dispblnk.c: In function 'free_blink': dispblnk.c:111:7: warning: incompatible implicit declaration of built-in function 'free' free((char *)blink[i].buf); ^~~~ dispblnk.c:111:7: note: include '' or provide a declaration of 'free' dispblnk.c:114:25: warning: comparison between pointer and integer if( blink[i].pixmap != NULL ) { ^~ dispblnk.c:116:23: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] blink[i].pixmap = NULL; ^ dispblnk.c: In function 'display_blink': dispblnk.c:156:27: warning: comparison between pointer and integer if( blink[index].pixmap != NULL ) { ^~ --- dispbtmp.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c dispbtmp.c dispbtmp.c: In function 'panimage_halftone': dispbtmp.c:129:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(panbox.image.data, panbox.image.bytes_per_line * panbox.yheight); ^~~~~ dispbtmp.c:129:3: warning: incompatible implicit declaration of built-in function 'bzero' dispbtmp.c: In function 'make_halftone_display': dispbtmp.c:163:5: warning: incompatible implicit declaration of built-in function 'bzero' bzero(dispbox.image.data, dispbox.image.bytes_per_line * dispbox.yheight); ^~~~~ dispbtmp.c:165:5: warning: incompatible implicit declaration of built-in function 'bzero' bzero(dispbox.image.data + (coord.bd.dstY1 * dispbox.image.bytes_per_line), ^~~~~ --- ctrlgc.o --- ctrlgc.c: In function 'get_fontstruct': ctrlgc.c:247:60: warning: comparison between pointer and integer if( (app_font[app_code] == NULL) && (init_font(app_code) == NULL) ) ^~ --- dispdfse.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c dispdfse.c --- dispdthr.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c dispdthr.c --- display.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c display.c --- disppsct.o --- --- display.o --- display.c: In function 'clear_margins': display.c:164:7: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)destbuf, y1 * dest_width); ^~~~~ display.c:164:7: warning: incompatible implicit declaration of built-in function 'bzero' display.c:168:7: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)destbuf + ((y1 + ab->dstYhght) * dest_width), ^~~~~ display.c:181:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)dest, x1); ^~~~~ display.c:188:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)dest, xtot); ^~~~~ display.c:193:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)dest, x2); ^~~~~ --- disppsct.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c disppsct.c --- disppxmp.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c disppxmp.c --- display.o --- display.c: In function 'move_pointer': display.c:259:3: warning: implicit declaration of function 'd_transform' [-Wimplicit-function-declaration] d_transform(&coord.filetodisp, (double)ix, (double)iy, &fx, &fy); ^~~~~~~~~~~ --- disppxmp.o --- disppxmp.c: In function 'map_buf_repzoom': disppxmp.c:197:2: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)dst, (char *)dst_line, x_dst_count); ^~~~~ disppxmp.c:197:2: warning: incompatible implicit declaration of built-in function 'bcopy' disppxmp.c:198:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif ANSIC ^~~~~ --- disppsct.o --- disppsct.c: In function 'screen_dump': disppsct.c:307:13: warning: implicit declaration of function 'mkstemp'; did you mean 'mktime'? [-Wimplicit-function-declaration] if( (fd = mkstemp(tempfile)) == -1 ) { ^~~~~~~ mktime disppsct.c:331:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)zero); ^~~~ disppsct.c:331:5: warning: incompatible implicit declaration of built-in function 'free' disppsct.c:331:5: note: include '' or provide a declaration of 'free' disppsct.c:51:1: +#include extern struct windowRec desktop; disppsct.c:331:5: free((char *)zero); ^~~~ disppsct.c:349:19: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] if( (status = system(dispose)) != 0 ) ^~~~~~ disppsct.c:356:5: warning: incompatible implicit declaration of built-in function 'free' free((char *)obuf); ^~~~ disppsct.c:356:5: note: include '' or provide a declaration of 'free' disppsct.c: In function 'bitmap_to_postscript': disppsct.c:539:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] (strncmp(obuf, rt_full, SEGSIZE*2) == 0) ) { ^~~~~~~ --- editctrl.o --- --- disppsct.o --- disppsct.c: In function 'make_label': disppsct.c:611:17: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] pw = getpwuid(getuid()); ^~~~~~ getpwuid disppsct.c:612:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(username, pw->pw_name); ^~~~~~ disppsct.c:612:9: warning: incompatible implicit declaration of built-in function 'strcpy' disppsct.c:612:9: note: include '' or provide a declaration of 'strcpy' disppsct.c:51:1: +#include extern struct windowRec desktop; disppsct.c:612:9: (void)strcpy(username, pw->pw_name); ^~~~~~ --- editctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c editctrl.c --- editdraw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c editdraw.c --- editemcs.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c editemcs.c --- editctrl.o --- editctrl.c: In function 'init_edit_popup': editctrl.c:83:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if( (string != NULL) && ((len = strlen(string)) > 1) ) ^~~~~~ editctrl.c:83:35: warning: incompatible implicit declaration of built-in function 'strlen' editctrl.c:83:35: note: include '' or provide a declaration of 'strlen' editctrl.c:41:1: +#include editctrl.c:83:35: if( (string != NULL) && ((len = strlen(string)) > 1) ) ^~~~~~ editctrl.c: In function 'get_edit_input': editctrl.c:119:30: warning: incompatible implicit declaration of built-in function 'strlen' pop.prompt_y, prompt, strlen(prompt)); ^~~~~~ editctrl.c:119:30: note: include '' or provide a declaration of 'strlen' editctrl.c:148:27: warning: incompatible implicit declaration of built-in function 'strlen' pop.prompt_y, prompt, strlen(prompt)); ^~~~~~ editctrl.c:148:27: note: include '' or provide a declaration of 'strlen' editctrl.c: In function 'map_popwin': editctrl.c:264:57: warning: incompatible implicit declaration of built-in function 'strlen' pop.prompt_x + XTextWidth(pop.fontstruct, prompt, strlen(prompt)) + 10; ^~~~~~ editctrl.c:264:57: note: include '' or provide a declaration of 'strlen' --- editinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c editinit.c editinit.c: In function 'load_edit_string': editinit.c:123:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(edit->string, string, char_cnt); ^~~~~~~ editinit.c:123:9: warning: incompatible implicit declaration of built-in function 'strncpy' editinit.c:123:9: note: include '' or provide a declaration of 'strncpy' editinit.c:39:1: +#include editinit.c:123:9: (void)strncpy(edit->string, string, char_cnt); ^~~~~~~ --- editline.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c editline.c --- editrdrw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c editrdrw.c --- grphbar.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphbar.c --- grphbtmp.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphbtmp.c grphbtmp.c: In function 'make_halftone_colorbar': grphbtmp.c:41:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)bitdata, bytes_per_line * height); ^~~~~ grphbtmp.c:41:3: warning: incompatible implicit declaration of built-in function 'bzero' --- grphctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphctrl.c In file included from grphctrl.c:33: defs/cgraph.def:13:2: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window ID; handle of bar subwindow */ ^~~~ defs/cgraph.def:13:2: note: (near initialization for 'colorbar.ID') defs/cgraph.def:30:2: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Font font; font id for XDrawImageString */ ^~~~ defs/cgraph.def:30:2: note: (near initialization for 'cgraph.font') defs/cgraph.def:37:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window ID; handle of bar subwindow */ ^~~~ defs/cgraph.def:37:4: note: (near initialization for 'cgraph.bar.ID') defs/cgraph.def:48:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window min_ID; lowest color (0) subwindow */ ^~~~ defs/cgraph.def:48:4: note: (near initialization for 'cgraph.barlabel.min_ID') defs/cgraph.def:49:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window max_ID; highest color (ncolors-1) subwindow */ ^~~~ defs/cgraph.def:49:4: note: (near initialization for 'cgraph.barlabel.max_ID') defs/cgraph.def:58:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window ID; handle of graph subwindow */ ^~~~ defs/cgraph.def:58:4: note: (near initialization for 'cgraph.graph.ID') defs/cgraph.def:69:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window gamma_ID; window in which to label gamma */ ^~~~ defs/cgraph.def:69:4: note: (near initialization for 'cgraph.graphlabel.gamma_ID') defs/cgraph.def:70:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window minmax_ID; window in which to label min & max */ ^~~~ defs/cgraph.def:70:4: note: (near initialization for 'cgraph.graphlabel.minmax_ID') defs/cgraph.def:72:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window geq_ID; borderless box with "g=" */ ^~~~ defs/cgraph.def:72:4: note: (near initialization for 'cgraph.graphlabel.geq_ID') defs/cgraph.def:73:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window red_ID; red border box for red gamma */ ^~~~ defs/cgraph.def:73:4: note: (near initialization for 'cgraph.graphlabel.red_ID') defs/cgraph.def:74:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window green_ID; green border box for green gamma */ ^~~~ defs/cgraph.def:74:4: note: (near initialization for 'cgraph.graphlabel.green_ID') defs/cgraph.def:75:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window blue_ID; blue border box for blue gamma */ ^~~~ defs/cgraph.def:75:4: note: (near initialization for 'cgraph.graphlabel.blue_ID') grphctrl.c: In function 'map_graphbox': grphctrl.c:50:21: warning: comparison between pointer and integer if( graphbox.ID == NULL ) { ^~ --- grphdraw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphdraw.c --- grphgrab.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphgrab.c grphgrab.c: In function 'grab_old_color_vertex': grphgrab.c:136:10: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] if( (abs(hash[i].x - x) < GRAB_RANGE) && ^~~ --- grphinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphinit.c --- grphlbl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphlbl.c --- grphinit.o --- grphinit.c: In function 'set_colorbar_params': grphinit.c:228:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(bar->byte_data); ^~~~ grphinit.c:228:7: warning: incompatible implicit declaration of built-in function 'free' grphinit.c:228:7: note: include '' or provide a declaration of 'free' grphinit.c:34:1: +#include grphinit.c:228:7: free(bar->byte_data); ^~~~ grphinit.c: In function 'adjust_color_graph': grphinit.c:295:25: warning: comparison between pointer and integer if( cgraph.graph.ID == NULL ) { ^~ --- grphline.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphline.c --- grphmove.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphmove.c --- grpholap.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grpholap.c --- grphpos.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphpos.c --- grphtext.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c grphtext.c --- histdist.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c histdist.c --- histeql.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c histeql.c --- grphtext.o --- grphtext.c: In function 'init_color_graph_label': grphtext.c:50:37: warning: comparison between pointer and integer if( (cgraph.graphlabel.gamma_ID != NULL) && ^~ grphtext.c:60:39: warning: comparison between pointer and integer if( (cgraph.graphlabel.gamma_ID != NULL) && ^~ grphtext.c:64:31: warning: comparison between pointer and integer if( cgraph.graphlabel.geq_ID == NULL ) { ^~ grphtext.c:96:36: warning: comparison between pointer and integer if( cgraph.graphlabel.gamma_ID == NULL ) { ^~ grphtext.c:105:37: warning: comparison between pointer and integer if( (cgraph.graphlabel.gamma_ID != NULL) && ^~ grphtext.c:115:39: warning: comparison between pointer and integer if( (cgraph.graphlabel.gamma_ID != NULL) && ^~ grphtext.c:119:31: warning: comparison between pointer and integer if( cgraph.graphlabel.geq_ID == NULL ) ^~ grphtext.c:148:36: warning: comparison between pointer and integer if( cgraph.graphlabel.gamma_ID == NULL ) { ^~ grphtext.c: In function 'init_colorbar_label': grphtext.c:207:66: warning: comparison between pointer and integer if( (cgraph.graphlabel.active == 0) || (cgraph.barlabel.max_ID != NULL) ) ^~ --- histlist.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c histlist.c --- histmap.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c histmap.c histmap.c: In function 'generate_scalemap': histmap.c:50:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)trash); ^~~~ histmap.c:50:5: warning: incompatible implicit declaration of built-in function 'free' histmap.c:50:5: note: include '' or provide a declaration of 'free' histmap.c:19:1: +#include histmap.c:50:5: free((char *)trash); ^~~~ histmap.c: In function 'make_subrange_scalemap': histmap.c:107:3: warning: incompatible implicit declaration of built-in function 'free' free( (char *)list ); ^~~~ histmap.c:107:3: note: include '' or provide a declaration of 'free' --- histscan.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c histscan.c --- histzero.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c histzero.c --- imgcheck.o --- --- histzero.o --- histzero.c: In function 'merge_links': histzero.c:116:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free( (char *)lostlink ); ^~~~ histzero.c:116:3: warning: incompatible implicit declaration of built-in function 'free' histzero.c:116:3: note: include '' or provide a declaration of 'free' histzero.c:19:1: +#include histzero.c:116:3: free( (char *)lostlink ); ^~~~ --- imgcheck.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgcheck.c imgcheck.c: In function 'check_image': imgcheck.c:67:14: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] mwcs = strchr (img->filename, '%'); ^~~~~~ imgcheck.c:67:14: warning: incompatible implicit declaration of built-in function 'strchr' imgcheck.c:67:14: note: include '' or provide a declaration of 'strchr' imgcheck.c:43:1: +#include imgcheck.c:67:14: mwcs = strchr (img->filename, '%'); ^~~~~~ imgcheck.c:77:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(img->filename); ^~~~~~ imgcheck.c:77:13: warning: incompatible implicit declaration of built-in function 'strlen' imgcheck.c:77:13: note: include '' or provide a declaration of 'strlen' imgcheck.c:78:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp(&img->filename[len - 5], ".fits") == 0 ) { ^~~~~~ --- imgflip.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgflip.c imgflip.c: In function 'xflip_buf': imgflip.c:49:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)botrow, (char *)linebuf, bytes); ^~~~~ imgflip.c:49:5: warning: incompatible implicit declaration of built-in function 'bcopy' imgflip.c:56:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)linebuf); ^~~~ imgflip.c:56:3: warning: incompatible implicit declaration of built-in function 'free' imgflip.c:56:3: note: include '' or provide a declaration of 'free' imgflip.c:1:1: +#include #ifndef lint imgflip.c:56:3: free((char *)linebuf); ^~~~ imgflip.c: In function 'transfer_buf': imgflip.c:141:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)src, (char *)dst, sizeof(short) * (cols * rows)); ^~~~~ --- imglogo.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imglogo.c --- imgnew.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgnew.c --- imgparam.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgparam.c --- imgread.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgread.c --- imgnew.o --- imgnew.c: In function 'load_mainbuf': imgnew.c:142:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free( buffer.filebuf ); ^~~~ imgnew.c:142:5: warning: incompatible implicit declaration of built-in function 'free' imgnew.c:142:5: note: include '' or provide a declaration of 'free' imgnew.c:48:1: +#include extern struct windowRec desktop; imgnew.c:142:5: free( buffer.filebuf ); ^~~~ --- imgrot.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgrot.c --- imgtrans.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imgtrans.c --- imgrot.o --- imgrot.c: In function 'cwturn_buf': imgrot.c:43:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)toprow, (char *)linebuf, linedim * sizeof(short)); ^~~~~ imgrot.c:43:5: warning: incompatible implicit declaration of built-in function 'bcopy' imgrot.c:79:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)linebuf); ^~~~ imgrot.c:79:3: warning: incompatible implicit declaration of built-in function 'free' imgrot.c:79:3: note: include '' or provide a declaration of 'free' imgrot.c:1:1: +#include #ifndef lint imgrot.c:79:3: free((char *)linebuf); ^~~~ imgrot.c: In function 'ccwturn_buf': imgrot.c:106:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)toprow, (char *)linebuf, linedim * sizeof(short)); ^~~~~ imgrot.c:142:3: warning: incompatible implicit declaration of built-in function 'free' free((char *)linebuf); ^~~~ imgrot.c:142:3: note: include '' or provide a declaration of 'free' --- imgtrans.o --- imgtrans.c: In function 'square_buf': imgtrans.c:124:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)rectline, (char *)sqline, bytes); ^~~~~ imgtrans.c:124:5: warning: incompatible implicit declaration of built-in function 'bcopy' imgtrans.c: In function 'unsquare_buf': imgtrans.c:156:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)sqline, (char *)rectline, bytes); ^~~~~ --- irafcrd.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c irafcrd.c --- irafdisp.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c irafdisp.c --- irafenv.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c irafenv.c --- irafcrd.o --- irafcrd.c: In function 'parse_iraf_subsection': irafcrd.c:133:16: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] *block = atoi(u); ^~~~ --- iraffdbk.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c iraffdbk.c --- irafdisp.o --- irafdisp.c: In function 'disp_subpiece': irafdisp.c:100:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)&coord.disp, (char *)&disp, sizeof(Coordsys)); ^~~~~ irafdisp.c:100:3: warning: incompatible implicit declaration of built-in function 'bcopy' irafdisp.c:170:3: warning: implicit declaration of function 'disp_panbox'; did you mean 'disp_dispbox'? [-Wimplicit-function-declaration] disp_panbox(); ^~~~~~~~~~~ disp_dispbox --- imgnew.o --- imgnew.c: In function 'new_panimage': imgnew.c:181:4: warning: implicit declaration of function 'copy_buf_subsample'; did you mean 'copy_buf_max'? [-Wimplicit-function-declaration] copy_buf_subsample(buffer.shortbuf, buffer.panbuf, block_x, ^~~~~~~~~~~~~~~~~~ copy_buf_max imgnew.c:186:4: warning: implicit declaration of function 'copy_buf_sum'; did you mean 'copy_buf_max'? [-Wimplicit-function-declaration] copy_buf_sum(buffer.shortbuf, buffer.panbuf, block_x, block_y, 0, ^~~~~~~~~~~~ copy_buf_max imgnew.c: In function 'show_filename': imgnew.c:250:41: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if( (img.filename != NULL) && ((len = strlen(img.filename)) > 0) ) { ^~~~~~ imgnew.c:250:41: warning: incompatible implicit declaration of built-in function 'strlen' imgnew.c:250:41: note: include '' or provide a declaration of 'strlen' imgnew.c:48:1: +#include extern struct windowRec desktop; imgnew.c:250:41: if( (img.filename != NULL) && ((len = strlen(img.filename)) > 0) ) { ^~~~~~ imgnew.c:252:25: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] dir_len = strlen(strcpy(dir_string, "(IRAF)")); ^~~~~~ imgnew.c:252:25: warning: incompatible implicit declaration of built-in function 'strcpy' imgnew.c:252:25: note: include '' or provide a declaration of 'strcpy' imgnew.c:256:11: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(file_string, "file: "); ^~~~~~ imgnew.c:256:11: note: include '' or provide a declaration of 'strcpy' --- irafenv.o --- irafenv.c: In function 'set_path_iraf': irafenv.c:55:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(temproot, filename); ^~~~~~ irafenv.c:55:9: warning: incompatible implicit declaration of built-in function 'strcpy' irafenv.c:55:9: note: include '' or provide a declaration of 'strcpy' irafenv.c:40:1: +#include irafenv.c:55:9: (void)strcpy(temproot, filename); ^~~~~~ irafenv.c:66:12: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if( udir[strlen(udir)-1] == '/' ) ^~~~~~ irafenv.c:66:12: warning: incompatible implicit declaration of built-in function 'strlen' irafenv.c:66:12: note: include '' or provide a declaration of 'strlen' --- imgnew.o --- imgnew.c:260:13: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] (void)strcat(file_string, img.filename); ^~~~~~ imgnew.c:260:13: warning: incompatible implicit declaration of built-in function 'strcat' imgnew.c:260:13: note: include '' or provide a declaration of 'strcat' --- irafenv.o --- irafenv.c: In function 'update_wcs': irafenv.c:111:11: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(wcs_file, root_name); ^~~~~~ irafenv.c:111:11: note: include '' or provide a declaration of 'strcpy' --- imgnew.o --- imgnew.c:265:13: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] (void)strncat(dir_string, img.filename, dir_len); ^~~~~~~ imgnew.c:265:13: warning: incompatible implicit declaration of built-in function 'strncat' imgnew.c:265:13: note: include '' or provide a declaration of 'strncat' imgnew.c:267:13: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(file_string, dir_end+1); ^~~~~~ imgnew.c:267:13: note: include '' or provide a declaration of 'strcat' --- irafenv.o --- irafenv.c:172:11: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(title, label, SZ_FNAME); ^~~~~~~ irafenv.c:172:11: warning: incompatible implicit declaration of built-in function 'strncpy' irafenv.c:172:11: note: include '' or provide a declaration of 'strncpy' --- irafimtl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c irafimtl.c irafimtl.c: In function 'imtool_response': irafimtl.c:70:5: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(buffer.filebuf, buffer.filebuf_sz); ^~~~~ irafimtl.c:70:5: warning: incompatible implicit declaration of built-in function 'bzero' irafimtl.c:112:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if( strncmp(wcsbuf, buf, SZ_WCSBUF) != 0 ) ^~~~~~~ irafimtl.c:116:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(wcsbuf, buf, SZ_WCSBUF); ^~~~~~~ irafimtl.c:116:2: warning: incompatible implicit declaration of built-in function 'strncpy' irafimtl.c:116:2: note: include '' or provide a declaration of 'strncpy' irafimtl.c:35:1: +#include irafimtl.c:116:2: strncpy(wcsbuf, buf, SZ_WCSBUF); ^~~~~~~ --- irafio.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c irafio.c irafio.c: In function 'close_imtool_connection': irafio.c:74:3: warning: implicit declaration of function 'close_connection'; did you mean 'close_imtool_connection'? [-Wimplicit-function-declaration] close_connection(&control.IRAF_in); ^~~~~~~~~~~~~~~~ close_imtool_connection irafio.c: In function 'rename_imtool_connection': irafio.c:91:26: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] string = calloc_errchk(strlen(name)+2, 1, "string buffer"); ^~~~~~ irafio.c:91:26: warning: incompatible implicit declaration of built-in function 'strlen' irafio.c:91:26: note: include '' or provide a declaration of 'strlen' irafio.c:44:1: +#include extern struct controlRec control; irafio.c:91:26: string = calloc_errchk(strlen(name)+2, 1, "string buffer"); ^~~~~~ irafio.c:92:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(string, name); ^~~~~~ irafio.c:92:3: warning: incompatible implicit declaration of built-in function 'strcpy' irafio.c:92:3: note: include '' or provide a declaration of 'strcpy' --- irafpipe.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c irafpipe.c --- mainbffr.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mainbffr.c --- irafpipe.o --- irafpipe.c: In function 'read_imtool_packet': irafpipe.c:111:5: warning: implicit declaration of function 'flush_connection'; did you mean 'read_connection'? [-Wimplicit-function-declaration] flush_connection(port); ^~~~~~~~~~~~~~~~ read_connection --- mainevnt.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mainevnt.c --- mainbffr.o --- mainbffr.c: In function 'init_panbuf': mainbffr.c:75:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free( (char *)buffer.panbuf ); ^~~~ mainbffr.c:75:7: warning: incompatible implicit declaration of built-in function 'free' mainbffr.c:75:7: note: include '' or provide a declaration of 'free' mainbffr.c:33:1: +#include mainbffr.c:75:7: free( (char *)buffer.panbuf ); ^~~~ mainbffr.c:77:7: warning: incompatible implicit declaration of built-in function 'free' free( panbox.image.data ); ^~~~ mainbffr.c:77:7: note: include '' or provide a declaration of 'free' mainbffr.c: In function 'init_dispbuf': mainbffr.c:119:7: warning: incompatible implicit declaration of built-in function 'free' free( dispbox.image.data ); ^~~~ mainbffr.c:119:7: note: include '' or provide a declaration of 'free' mainbffr.c: In function 'init_imagebuf': mainbffr.c:184:5: warning: incompatible implicit declaration of built-in function 'free' free( buffer.filebuf ); ^~~~ mainbffr.c:184:5: note: include '' or provide a declaration of 'free' mainbffr.c:191:7: warning: incompatible implicit declaration of built-in function 'free' free( (char *)buffer.shortbuf ); ^~~~ mainbffr.c:191:7: note: include '' or provide a declaration of 'free' mainbffr.c:197:2: warning: incompatible implicit declaration of built-in function 'free' free( buffer.filebuf ); ^~~~ mainbffr.c:197:2: note: include '' or provide a declaration of 'free' mainbffr.c:216:2: warning: incompatible implicit declaration of built-in function 'free' free( (char *)buffer.shortbuf ); ^~~~ mainbffr.c:216:2: note: include '' or provide a declaration of 'free' --- maininit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c maininit.c --- mainkey.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mainkey.c --- mainevnt.o --- mainevnt.c: In function 'control_event_loop': mainevnt.c:99:4: warning: implicit declaration of function 'respond_to_connection' [-Wimplicit-function-declaration] respond_to_connection(mask); ^~~~~~~~~~~~~~~~~~~~~ --- mainslct.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mainslct.c --- mainutil.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mainutil.c --- maininit.o --- In file included from maininit.c:64: defs/cursor.def:18:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* Window ID; drawable where to draw */ ^~~~ defs/cursor.def:18:4: note: (near initialization for 'cursor.win.ID') defs/cursor.def:37:2: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, /* int point_cnt; number of points for XDrawLines */ ^~~~ defs/cursor.def:37:2: note: (near initialization for 'cursor.point_cnt') maininit.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ maininit.c: In function 'say_goodbye': maininit.c:138:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(code); ^~~~ maininit.c:138:3: warning: incompatible implicit declaration of built-in function 'exit' maininit.c:138:3: note: include '' or provide a declaration of 'exit' maininit.c:65:1: +#include maininit.c:138:3: exit(code); ^~~~ maininit.c: In function 'init_server': maininit.c:281:11: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(errmsg, "Could not connect to display: "); ^~~~~~ maininit.c:281:11: warning: incompatible implicit declaration of built-in function 'strcpy' maininit.c:281:11: note: include '' or provide a declaration of 'strcpy' maininit.c:65:1: +#include maininit.c:281:11: (void)strcpy(errmsg, "Could not connect to display: "); ^~~~~~ maininit.c:283:13: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] (void)strcat(errmsg, displayname); ^~~~~~ maininit.c:283:13: warning: incompatible implicit declaration of built-in function 'strcat' maininit.c:283:13: note: include '' or provide a declaration of 'strcat' --- mainkey.o --- mainkey.c: In function 'PrintFITSHead': mainkey.c:739:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy (line, iline, 80); ^~~~~~~ mainkey.c:739:9: warning: incompatible implicit declaration of built-in function 'strncpy' mainkey.c:739:9: note: include '' or provide a declaration of 'strncpy' mainkey.c:26:1: +#include mainkey.c:739:9: strncpy (line, iline, 80); ^~~~~~~ --- menuctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c menuctrl.c --- mainslct.o --- mainslct.c: In function 'dispatch_select': mainslct.c:62:7: warning: implicit declaration of function 'grab_keys_for_textcursor' [-Wimplicit-function-declaration] grab_keys_for_textcursor(0); ^~~~~~~~~~~~~~~~~~~~~~~~ --- menuinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c menuinit.c --- menupanl.o --- cc -c -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" panel/makemenu.c; mv -f makemenu.o menupanl.o --- mgfyctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mgfyctrl.c mgfyctrl.c: In function 'label_file_coords_proportional': mgfyctrl.c:323:9: warning: implicit declaration of function 'get_pixel_val' [-Wimplicit-function-declaration] if( get_pixel_val((int)bufX, (int)bufY, &ival, &dval, &clip) ) { ^~~~~~~~~~~~~ mgfyctrl.c:325:7: warning: implicit declaration of function 'integer_string' [-Wimplicit-function-declaration] integer_string(ival, clip, &(string[16]), VAL_SZ); ^~~~~~~~~~~~~~ mgfyctrl.c:327:7: warning: implicit declaration of function 'real_string' [-Wimplicit-function-declaration] real_string(dval, &string[17], VAL_SZ - 1); ^~~~~~~~~~~ --- menupanl.o --- In file included from panel/makemenu.c:8: panel/menucsr.h: In function 'MakeCursorPanel': panel/menucsr.h:481:3: warning: implicit declaration of function 'JoinMenus'; did you mean 'JoinMenu'? [-Wimplicit-function-declaration] JoinMenus (box[0], box[1]); ^~~~~~~~~ JoinMenu --- mgfydraw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mgfydraw.c mgfydraw.c: In function 'draw_magnifier': mgfydraw.c:157:7: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(magset.data, magset.data_size); ^~~~~ mgfydraw.c:157:7: warning: incompatible implicit declaration of built-in function 'bzero' mgfydraw.c:227:5: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)magset.data, magset.bitmap_size); ^~~~~ --- mgfyinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mgfyinit.c --- mgfymark.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mgfymark.c --- mgfyinit.o --- mgfyinit.c: In function 'set_magnifier': mgfyinit.c:138:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)magset.data); ^~~~ mgfyinit.c:138:7: warning: incompatible implicit declaration of built-in function 'free' mgfyinit.c:138:7: note: include '' or provide a declaration of 'free' mgfyinit.c:30:1: +#include mgfyinit.c:138:7: free((char *)magset.data); ^~~~ --- mgfytabl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mgfytabl.c --- mgfyval.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c mgfyval.c --- pancopy.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c pancopy.c pancopy.c: In function 'copy_buf_sum': pancopy.c:157:5: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)obuf, owidth); ^~~~~ pancopy.c:157:5: warning: incompatible implicit declaration of built-in function 'bzero' --- pancrsr.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c pancrsr.c --- panctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c panctrl.c --- panimage.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c panimage.c --- panwndw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c panwndw.c --- readarr.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c readarr.c readarr.c: In function 'read_array': readarr.c:102:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ readarr.c:102:5: warning: incompatible implicit declaration of built-in function 'exit' readarr.c:102:5: note: include '' or provide a declaration of 'exit' readarr.c:25:1: +#include readarr.c:102:5: exit(1); ^~~~ --- readfith.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c readfith.c readfith.c: In function 'get_keyint': readfith.c:122:18: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] key_not_end = (strncmp(keyword, "END ", 8) != 0); ^~~~~~~ --- readfits.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c readfits.c --- readint.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c readint.c readint.c: In function 'scale_data_i4': readint.c:170:11: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] (void)printf("min and max as read: %d, %d\n", datamin, datamax); ^~~~~~ readint.c:170:11: warning: incompatible implicit declaration of built-in function 'printf' readint.c:170:11: note: include '' or provide a declaration of 'printf' readint.c:37:1: +#include readint.c:170:11: (void)printf("min and max as read: %d, %d\n", datamin, datamax); ^~~~~~ readint.c:186:13: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("using given limits: %d, %d\n", datamin, datamax); ^~~~~~ readint.c:186:13: note: include '' or provide a declaration of 'printf' --- readiraf.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c readiraf.c --- readfits.o --- readfits.c: In function 'init_fits': readfits.c:136:12: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] mwcs = strchr (img->filename, '%'); ^~~~~~ readfits.c:136:12: warning: incompatible implicit declaration of built-in function 'strchr' readfits.c:136:12: note: include '' or provide a declaration of 'strchr' readfits.c:39:1: +#include readfits.c:136:12: mwcs = strchr (img->filename, '%'); ^~~~~~ --- readreal.o --- --- readfits.o --- readfits.c:157:8: warning: implicit declaration of function 'open_disk'; did you mean 'lseek_disk'? [-Wimplicit-function-declaration] fd = open_disk(img->filename, IOP_Read, 0); ^~~~~~~~~ lseek_disk readfits.c:184:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (header); ^~~~ readfits.c:184:5: warning: incompatible implicit declaration of built-in function 'free' readfits.c:184:5: note: include '' or provide a declaration of 'free' readfits.c:39:1: +#include readfits.c:184:5: free (header); ^~~~ --- readreal.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c readreal.c --- rgnanli.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgnanli.c --- rgnctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgnctrl.c --- rgndraw.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgndraw.c --- rgndrop.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgndrop.c --- rgnctrl.o --- rgnctrl.c: In function 'cycle_regions': rgnctrl.c:235:5: warning: implicit declaration of function 'reload_textcursor'; did you mean 'erase_cursor'? [-Wimplicit-function-declaration] reload_textcursor(); ^~~~~~~~~~~~~~~~~ erase_cursor --- rgndraw.o --- rgndraw.c: In function 'init_region_draw': rgndraw.c:48:6: warning: type of 'view' defaults to 'int' [-Wimplicit-int] void init_region_draw ( view, label ) ^~~~~~~~~~~~~~~~ rgndraw.c:48:6: warning: type of 'label' defaults to 'int' [-Wimplicit-int] rgndraw.c: In function 'label_region_cycle_magnifier': rgndraw.c:161:44: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] (XTextWidth(rgdraw.fontstruct, center, strlen(center)) + index_x); ^~~~~~ rgndraw.c:161:44: warning: incompatible implicit declaration of built-in function 'strlen' rgndraw.c:161:44: note: include '' or provide a declaration of 'strlen' rgndraw.c:42:1: +#include rgndraw.c:161:44: (XTextWidth(rgdraw.fontstruct, center, strlen(center)) + index_x); ^~~~~~ rgndraw.c: In function 'label_region': rgndraw.c:372:40: warning: incompatible implicit declaration of built-in function 'strlen' draw_region_label(center_string, strlen(center_string), gc, ^~~~~~ rgndraw.c:372:40: note: include '' or provide a declaration of 'strlen' rgndraw.c: In function 'mark_include': rgndraw.c:388:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(string); ^~~~~~ rgndraw.c:388:9: note: include '' or provide a declaration of 'strlen' --- rgnmake.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgnmake.c --- rgnctrl.o --- rgnctrl.c:241:7: warning: implicit declaration of function 'report_cursor_info' [-Wimplicit-function-declaration] report_cursor_info (&cursor); ^~~~~~~~~~~~~~~~~~ --- rgnmake.o --- rgnmake.c: In function 'make_next_region': rgnmake.c:169:11: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(curtext->string, &line[1], char_cnt); ^~~~~~~ rgnmake.c:169:11: warning: incompatible implicit declaration of built-in function 'strncpy' rgnmake.c:169:11: note: include '' or provide a declaration of 'strncpy' rgnmake.c:42:1: +#include rgnmake.c:169:11: (void)strncpy(curtext->string, &line[1], char_cnt); ^~~~~~~ --- rgnread.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgnread.c --- rgntoken.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgntoken.c --- rgnwpros.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgnwpros.c --- rgnread.o --- rgnread.c: In function 'read_regions': rgnread.c:107:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] lline = strlen (line); ^~~~~~ rgnread.c:107:15: warning: incompatible implicit declaration of built-in function 'strlen' rgnread.c:107:15: note: include '' or provide a declaration of 'strlen' rgnread.c:43:1: +#include rgnread.c:107:15: lline = strlen (line); ^~~~~~ rgnread.c:109:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy (region_title, line+2, lline-3); ^~~~~~~ rgnread.c:109:2: warning: incompatible implicit declaration of built-in function 'strncpy' rgnread.c:109:2: note: include '' or provide a declaration of 'strncpy' rgnread.c: In function 'set_region_file': rgnread.c:151:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (region_file); ^~~~ rgnread.c:151:2: warning: incompatible implicit declaration of built-in function 'free' rgnread.c:151:2: note: include '' or provide a declaration of 'free' rgnread.c:43:1: +#include rgnread.c:151:2: free (region_file); ^~~~ rgnread.c:152:11: warning: incompatible implicit declaration of built-in function 'strlen' lfn = strlen (filename); ^~~~~~ rgnread.c:152:11: note: include '' or provide a declaration of 'strlen' rgnread.c:153:28: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] region_file = (char *) calloc (1, lfn+1); ^~~~~~ rgnread.c:153:28: warning: incompatible implicit declaration of built-in function 'calloc' rgnread.c:153:28: note: include '' or provide a declaration of 'calloc' rgnread.c:154:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (region_file, filename); ^~~~~~ rgnread.c:154:5: warning: incompatible implicit declaration of built-in function 'strcpy' rgnread.c:154:5: note: include '' or provide a declaration of 'strcpy' rgnread.c:167:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy (region_title, line+2, lline-3); ^~~~~~~ rgnread.c:167:3: note: include '' or provide a declaration of 'strncpy' rgnread.c: In function 'parse_pros_regions': rgnread.c:295:11: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(temp, &line[1]); ^~~~~~ rgnread.c:295:11: note: include '' or provide a declaration of 'strcpy' rgnread.c:297:11: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(temp, line); ^~~~~~ rgnread.c:297:11: note: include '' or provide a declaration of 'strcpy' rgnread.c:300:17: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] if ((string = strchr (line,'#')) != NULL) { ^~~~~~ rgnread.c:300:17: warning: incompatible implicit declaration of built-in function 'strchr' rgnread.c:300:17: note: include '' or provide a declaration of 'strchr' rgnread.c:302:12: warning: incompatible implicit declaration of built-in function 'strlen' lstr = strlen (string); ^~~~~~ rgnread.c:302:12: note: include '' or provide a declaration of 'strlen' rgnread.c:303:22: warning: incompatible implicit declaration of built-in function 'calloc' label = (char *) calloc (1,lstr); ^~~~~~ rgnread.c:303:22: note: include '' or provide a declaration of 'calloc' rgnread.c:304:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy (label, string); ^~~~~~ rgnread.c:304:5: note: include '' or provide a declaration of 'strcpy' rgnread.c: In function 'check_special': rgnread.c:393:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if( (strncmp(line, "# ARROW(", 8) == 0) ^~~~~~~ --- rgntoken.o --- rgntoken.c: In function 'burst_line': rgntoken.c:119:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)&records[0], sizeof(struct reg_param)); ^~~~~ rgntoken.c:119:3: warning: incompatible implicit declaration of built-in function 'bzero' --- rgnwpros.o --- rgnwpros.c: In function 'write_region_pros': rgnwpros.c:79:11: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] (void)strcat(line, "\n"); ^~~~~~ rgnwpros.c:79:11: warning: incompatible implicit declaration of built-in function 'strcat' rgnwpros.c:79:11: note: include '' or provide a declaration of 'strcat' rgnwpros.c:39:1: +#include rgnwpros.c:79:11: (void)strcat(line, "\n"); ^~~~~~ rgnwpros.c: In function 'cat_shape': rgnwpros.c:101:11: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, "BOX("); ^~~~~~ rgnwpros.c:101:11: note: include '' or provide a declaration of 'strcat' rgnwpros.c:130:11: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(&line[2], "ARROW("); ^~~~~~ rgnwpros.c:130:11: warning: incompatible implicit declaration of built-in function 'strcpy' rgnwpros.c:130:11: note: include '' or provide a declaration of 'strcpy' rgnwpros.c:147:9: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, ")"); ^~~~~~ rgnwpros.c:147:9: note: include '' or provide a declaration of 'strcat' rgnwpros.c: In function 'cat_params': rgnwpros.c:184:9: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, params); ^~~~~~ rgnwpros.c:184:9: note: include '' or provide a declaration of 'strcat' rgnwpros.c: In function 'cat_cen': rgnwpros.c:205:9: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, center); ^~~~~~ rgnwpros.c:205:9: note: include '' or provide a declaration of 'strcat' rgnwpros.c: In function 'cat_pt': rgnwpros.c:255:9: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, point); ^~~~~~ rgnwpros.c:255:9: note: include '' or provide a declaration of 'strcat' rgnwpros.c: In function 'cat_annulus': rgnwpros.c:272:9: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, "ANNULUS("); ^~~~~~ rgnwpros.c:272:9: note: include '' or provide a declaration of 'strcat' rgnwpros.c: In function 'write_annuli': rgnwpros.c:301:11: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat(line, "\n"); ^~~~~~ rgnwpros.c:301:11: note: include '' or provide a declaration of 'strcat' rgnwpros.c: In function 'cat_annular': rgnwpros.c:337:11: warning: incompatible implicit declaration of built-in function 'strcat' (void)strcat (line, " & !"); ^~~~~~ rgnwpros.c:337:11: note: include '' or provide a declaration of 'strcat' --- rgnwrite.o --- --- sclctrl.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c sclctrl.c --- rgnwrite.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c rgnwrite.c --- sclctrl.o --- sclctrl.c: In function 'make_histogram': sclctrl.c:223:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)histogram, SCALEBUFSZ * sizeof(int)); ^~~~~ sclctrl.c:223:3: warning: incompatible implicit declaration of built-in function 'bzero' --- rgnwrite.o --- rgnwrite.c: In function 'write_regions': rgnwrite.c:85:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (fname,img.filename); ^~~~~~ rgnwrite.c:85:7: warning: incompatible implicit declaration of built-in function 'strcpy' rgnwrite.c:85:7: note: include '' or provide a declaration of 'strcpy' rgnwrite.c:46:1: +#include rgnwrite.c:85:7: strcpy (fname,img.filename); ^~~~~~ rgnwrite.c:86:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat (fname,".plist"); ^~~~~~ rgnwrite.c:86:7: warning: incompatible implicit declaration of built-in function 'strcat' rgnwrite.c:86:7: note: include '' or provide a declaration of 'strcat' rgnwrite.c:92:39: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] load_edit_struct(region_edit, fname, strlen(fname)); ^~~~~~ rgnwrite.c:92:39: warning: incompatible implicit declaration of built-in function 'strlen' rgnwrite.c:92:39: note: include '' or provide a declaration of 'strlen' rgnwrite.c:109:42: warning: incompatible implicit declaration of built-in function 'strlen' load_edit_struct(region_edit, ProsName, strlen(fname)); ^~~~~~ rgnwrite.c:109:42: note: include '' or provide a declaration of 'strlen' In file included from rgnwrite.c:42: rgnwrite.c: In function 'timestamp': rgnwrite.c:164:21: warning: incompatible implicit declaration of built-in function 'strlen' len = MAX(0, (int)strlen(line) - 1); ^~~~~~ hfiles/define.h:30:27: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ rgnwrite.c:164:21: note: include '' or provide a declaration of 'strlen' len = MAX(0, (int)strlen(line) - 1); ^~~~~~ hfiles/define.h:30:27: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ rgnwrite.c: In function 'set_time_string': rgnwrite.c:199:9: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(time_string, asctime(localtime(&timeofday))); ^~~~~~ rgnwrite.c:199:9: note: include '' or provide a declaration of 'strcpy' --- sclmap.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c sclmap.c --- wndwadj.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wndwadj.c --- wndwconf.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wndwconf.c --- wndwcre.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wndwcre.c --- wndwinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wndwinit.c --- wndwmaus.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wndwmaus.c --- wndwinit.o --- wndwinit.c: In function 'set_border_color': wndwinit.c:259:12: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( (strcmp(color_name, "white") == 0) ) ^~~~~~ --- prntcurs.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c prntcurs.c --- prntcent.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c prntcent.c --- fitsfile.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c fitsfile.c --- imio.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imio.c --- wcsinit.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wcsinit.c --- wcs.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wcs.c --- worldpos.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c worldpos.c --- platepos.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c platepos.c --- dsspos.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c dsspos.c --- fitsfile.o --- fitsfile.c: In function 'fitsrthead': fitsfile.c:903:2: warning: attempt to free a non-heap object 'temp' [-Wfree-nonheap-object] free (temp); ^~~~~~~~~~~ --- tnxpos.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c tnxpos.c --- wcscon.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wcscon.c --- slasubs.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c slasubs.c --- imhfile.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c imhfile.c --- hget.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c hget.c --- iget.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c iget.c --- hput.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c hput.c --- wcslib.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wcslib.c --- hput.o --- hput.c: In function 'hputs': hput.c:345:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy (&value[1],cval,lcval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c:339:19: note: length computed here lcval = (int) strlen (cval); ^~~~~~~~~~~~~ hput.c: In function 'hadd': hput.c:706:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy (hplace, keyword, lkey); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c:705:18: note: length computed here lkey = (int) strlen (keyword); ^~~~~~~~~~~~~~~~ --- lin.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c lin.c --- cel.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c cel.c --- proj.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c proj.c --- wcstrig.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c wcstrig.c --- sph.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c sph.c --- dateutil.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c dateutil.c --- imhfile.o --- imhfile.c: In function 'irafwimage': imhfile.c:1007:5: warning: attempt to free a non-heap object 'pixname' [-Wfree-nonheap-object] free (pixname); ^~~~~~~~~~~~~~ --- distort.o --- cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" -c distort.c distort.c: In function 'distortinit': distort.c:74:4: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf (keyword, "A_%d_%d", i, j); ^~~~~~~ distort.c:74:4: warning: incompatible implicit declaration of built-in function 'sprintf' distort.c:74:4: note: include '' or provide a declaration of 'sprintf' distort.c:42:1: +#include distort.c:74:4: sprintf (keyword, "A_%d_%d", i, j); ^~~~~~~ distort.c:91:4: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf (keyword, "B_%d_%d", i, j); ^~~~~~~ distort.c:91:4: note: include '' or provide a declaration of 'sprintf' distort.c:108:4: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf (keyword, "AP_%d_%d", i, j); ^~~~~~~ distort.c:108:4: note: include '' or provide a declaration of 'sprintf' distort.c:125:4: warning: incompatible implicit declaration of built-in function 'sprintf' sprintf (keyword, "BP_%d_%d", i, j); ^~~~~~~ distort.c:125:4: note: include '' or provide a declaration of 'sprintf' distort.c: In function 'getdistcode': distort.c:297:19: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] dcode = (char *) calloc (8, sizeof (char)); ^~~~~~ distort.c:297:19: warning: incompatible implicit declaration of built-in function 'calloc' distort.c:297:19: note: include '' or provide a declaration of 'calloc' distort.c:42:1: +#include distort.c:297:19: dcode = (char *) calloc (8, sizeof (char)); ^~~~~~ --- saoimage --- Building saoimage for architecture DragonFly. cc -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing -I/usr/local/include -DLSB -DSUN -DPSCRIPT -DQUIT -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/usr/local/etc/imtoolrc\" clralloc.o clrctrl.o clrhard.o clrinit.o clrmap.o clrmenu.o clrread.o clrsetup.o clrvary.o cmddisp.o cmdimage.o cmdnew.o cmdparse.o crdinvrt.o crdrot.o crdset.o crdsynth.o crdtemp.o crdtrans.o csranli.o csrarea.o csrcoord.o csrctrl.o csrdraw.o csrgrab.o csrmove.o csrpoly1.o csrpoly2.o csrpoly3.o csrsave.o csrshape.o csrslct.o csrtext.o ctrlcntn.o ctrldisk.o ctrlfile.o ctrlgc.o ctrlmbox.o ctrlpipe.o ctrlsckt.o dispblnk.o dispbtmp.o dispdfse.o dispdthr.o display.o disppsct.o disppxmp.o editctrl.o editdraw.o editemcs.o editinit.o editline.o editrdrw.o grphbar.o grphbtmp.o grphctrl.o grphdraw.o grphgrab.o grphinit.o grphlbl.o grphline.o grphmove.o grpholap.o grphpos.o grphtext.o histdist.o histeql.o histlist.o histmap.o histscan.o histzero.o imgcheck.o imgflip.o imglogo.o imgnew.o imgparam.o imgread.o imgrot.o imgtrans.o irafcrd.o irafdisp.o irafenv.o iraffdbk.o irafimtl.o irafio.o irafpipe.o mainbffr.o mainevnt.o maininit.o mainkey.o mainslct.o mainutil.o menuctrl.o menuinit.o menupanl.o mgfyctrl.o mgfydraw.o mgfyinit.o mgfymark.o mgfytabl.o mgfyval.o pancopy.o pancrsr.o panctrl.o panimage.o panwndw.o readarr.o readfith.o readfits.o readint.o readiraf.o readreal.o rgnanli.o rgnctrl.o rgndraw.o rgndrop.o rgnmake.o rgnread.o rgntoken.o rgnwpros.o rgnwrite.o sclctrl.o sclmap.o wndwadj.o wndwconf.o wndwcre.o wndwinit.o wndwmaus.o prntcurs.o prntcent.o fitsfile.o imio.o wcsinit.o wcs.o worldpos.o platepos.o dsspos.o tnxpos.o wcscon.o slasubs.o imhfile.o hget.o iget.o hput.o wcslib.o lin.o cel.o proj.o wcstrig.o sph.o dateutil.o distort.o -o saoimage -lm btnlib/libbtn.a -L/usr/local/lib -lX11 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> saoimage-1.35.1_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for saoimage-1.35.1_2 ===> Generating temporary packing list install -s -m 555 /construction/astro/saoimage/saoimage-1.35.1/saoimage /construction/astro/saoimage/stage/usr/local/bin install -m 0644 /construction/astro/saoimage/saoimage-1.35.1/imtoolrc /construction/astro/saoimage/stage/usr/local/etc/imtoolrc.sample install -m 444 /construction/astro/saoimage/saoimage-1.35.1/doc/saoimage.man /construction/astro/saoimage/stage/usr/local/man/man1/saoimage.1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for saoimage-1.35.1_2 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Wednesday, 24 JUL 2019 at 13:56:30 UTC Duration: 00:00:19