<86>Dec 12 10:41:41 userdel[2599533]: delete user 'rooter' <86>Dec 12 10:41:41 userdel[2599533]: removed group 'rooter' owned by 'rooter' <86>Dec 12 10:41:41 userdel[2599533]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 12 10:41:41 groupadd[2599539]: group added to /etc/group: name=rooter, GID=636 <86>Dec 12 10:41:41 groupadd[2599539]: group added to /etc/gshadow: name=rooter <86>Dec 12 10:41:41 groupadd[2599539]: new group: name=rooter, GID=636 <86>Dec 12 10:41:41 useradd[2599543]: new user: name=rooter, UID=636, GID=636, home=/root, shell=/bin/bash <86>Dec 12 10:41:41 userdel[2599549]: delete user 'builder' <86>Dec 12 10:41:41 userdel[2599549]: removed group 'builder' owned by 'builder' <86>Dec 12 10:41:41 userdel[2599549]: removed shadow group 'builder' owned by 'builder' <86>Dec 12 10:41:41 groupadd[2599555]: group added to /etc/group: name=builder, GID=637 <86>Dec 12 10:41:41 groupadd[2599555]: group added to /etc/gshadow: name=builder <86>Dec 12 10:41:41 groupadd[2599555]: new group: name=builder, GID=637 <86>Dec 12 10:41:41 useradd[2599559]: new user: name=builder, UID=637, GID=637, home=/usr/src, shell=/bin/bash warning: user aris does not exist - using root warning: group aris does not exist - using root warning: user aris does not exist - using root warning: group aris does not exist - using root <13>Dec 12 10:41:45 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Dec 12 10:41:45 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Dec 12 10:41:45 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 12 10:41:45 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 12 10:41:45 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059905 installed <13>Dec 12 10:41:45 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Dec 12 10:41:45 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 12 10:41:45 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Dec 12 10:41:45 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Dec 12 10:41:45 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Dec 12 10:41:45 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed <13>Dec 12 10:41:45 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Dec 12 10:41:45 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 12 10:41:45 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 12 10:41:45 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 12 10:41:45 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Dec 12 10:41:45 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Dec 12 10:41:45 rpmi: libXScrnSaver-1.2.3-alt1 sisyphus+223149.500.2.1 1551268358 installed <13>Dec 12 10:41:45 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Dec 12 10:41:45 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 12 10:41:48 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 12 10:41:48 rpmi: libX11-devel-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 12 10:41:48 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Dec 12 10:41:48 rpmi: libXrandr-devel-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Dec 12 10:41:48 rpmi: libXScrnSaver-devel-1.2.3-alt1 sisyphus+223149.500.2.1 1551268358 installed <13>Dec 12 10:41:48 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 12 10:41:48 rpmi: libXinerama-devel-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Dec 12 10:41:48 rpmi: libXxf86vm-devel-1.1.4-alt2 1527672187 installed <13>Dec 12 10:41:48 rpmi: libtiff-devel-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Dec 12 10:41:48 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 12 10:41:48 rpmi: libusb-devel-1.0.23-alt1 sisyphus+237317.100.1.1 1568059905 installed <13>Dec 12 10:41:48 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/argyllcms-1.9.2-alt1.nosrc.rpm Installing argyllcms-1.9.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.73951 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf hargyllcms-1.9.2 + echo 'Source #0 (hargyllcms-1.9.2.tar.xz):' Source #0 (hargyllcms-1.9.2.tar.xz): + /usr/bin/xz -dc /usr/src/RPM/SOURCES/hargyllcms-1.9.2.tar.xz + /bin/tar -xf - + cd hargyllcms-1.9.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.64983 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd hargyllcms-1.9.2 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize-default: linking file 'build-aux/config.guess' libtoolize-default: linking file 'build-aux/config.sub' libtoolize-default: linking file 'build-aux/install-sh' libtoolize-default: linking file 'build-aux/ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize-default: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:7: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/missing' icc/Makefile.am: installing 'build-aux/depcomp' lib/Makefile.am:17: warning: source file '../cgats/pars.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. lib/Makefile.am:17: warning: source file '../cgats/cgats.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../cgats/parsstd.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../cgats/cgatsstd.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../gamut/gamut.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../gamut/gammap.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../gamut/nearsmth.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../plot/plot.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../plot/vrml.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../profile/profin.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../profile/profout.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../render/render.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../render/thscreen.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../rspl/rspl.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../rspl/scat.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../rspl/rev.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../rspl/gam.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../rspl/spline.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../rspl/opt.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../scanin/scanrd.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/insttypes.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/instappsup.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/specbos.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/xdg_bds.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/i1d3.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/inst.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dtp20.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dtp22.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dtp41.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dtp51.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dtp92.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/i1disp.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/i1pro.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/i1pro_imp.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/munki.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/munki_imp.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/ss.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/ss_imp.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/hcfr.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/spyd2.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/huey.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/usbio.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/hidio.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/icoms.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/colorhug.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/kleink10.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/disptechs.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/aglob.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/xrga.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/rspec.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/smcube.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/ex1.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/webwin.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/mongoose.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dispsup.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/dispwin.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/conv.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../spectro/pollem.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../target/alphix.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../target/randix.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xicc.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xlutfix.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xspect.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xdevlin.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xcam.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/cam97s3.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/cam02.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/mpp.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xfit.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/moncurve.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xdgb.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xcal.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xcolorants.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/bt1886.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/ccmx.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/ccss.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/xutils.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../xicc/iccjpeg.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/numsup.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/dnsq.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/powell.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/dhsx.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/ludecomp.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/svd.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/ui.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/zbrent.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/rand.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/sobol.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled lib/Makefile.am:17: warning: source file '../numlib/aatree.c' is in a subdirectory, lib/Makefile.am:17: but option 'subdir-objects' is disabled tools/Makefile.am:28: warning: source file '../gamut/GenRMGam.c' is in a subdirectory, tools/Makefile.am:28: but option 'subdir-objects' is disabled tools/Makefile.am:31: warning: source file '../gamut/GenVisGam.c' is in a subdirectory, tools/Makefile.am:31: but option 'subdir-objects' is disabled tools/Makefile.am:289: warning: source file '../numlib/LUtest.c' is in a subdirectory, tools/Makefile.am:289: but option 'subdir-objects' is disabled tools/Makefile.am:89: warning: source file '../profile/applycal.c' is in a subdirectory, tools/Makefile.am:89: but option 'subdir-objects' is disabled tools/Makefile.am:182: warning: source file '../spectro/average.c' is in a subdirectory, tools/Makefile.am:182: but option 'subdir-objects' is disabled tools/Makefile.am:111: warning: source file '../rspl/c1.c' is in a subdirectory, tools/Makefile.am:111: but option 'subdir-objects' is disabled tools/Makefile.am:114: warning: source file '../rspl/c1df.c' is in a subdirectory, tools/Makefile.am:114: but option 'subdir-objects' is disabled tools/Makefile.am:59: warning: source file '../profile/cb2ti3.c' is in a subdirectory, tools/Makefile.am:59: but option 'subdir-objects' is disabled tools/Makefile.am:319: warning: source file '../imdi/cctiff.c' is in a subdirectory, tools/Makefile.am:319: but option 'subdir-objects' is disabled tools/Makefile.am:251: warning: source file '../xicc/ccttest.c' is in a subdirectory, tools/Makefile.am:251: but option 'subdir-objects' is disabled tools/Makefile.am:196: warning: source file '../spectro/ccxxmake.c' is in a subdirectory, tools/Makefile.am:196: but option 'subdir-objects' is disabled tools/Makefile.am:170: warning: source file '../spectro/chartread.c' is in a subdirectory, tools/Makefile.am:170: but option 'subdir-objects' is disabled tools/Makefile.am:260: warning: source file '../link/collink.c' is in a subdirectory, tools/Makefile.am:260: but option 'subdir-objects' is disabled tools/Makefile.am:83: warning: source file '../profile/colprof.c' is in a subdirectory, tools/Makefile.am:83: but option 'subdir-objects' is disabled tools/Makefile.am:80: warning: source file '../profile/colverify.c' is in a subdirectory, tools/Makefile.am:80: but option 'subdir-objects' is disabled tools/Makefile.am:334: warning: source file '../imdi/ctest.c' is in a subdirectory, tools/Makefile.am:334: but option 'subdir-objects' is disabled tools/Makefile.am:334: warning: source file '../imdi/cgen.c' is in a subdirectory, tools/Makefile.am:334: but option 'subdir-objects' is disabled tools/Makefile.am:161: warning: source file '../spectro/dispcal.c' is in a subdirectory, tools/Makefile.am:161: but option 'subdir-objects' is disabled tools/Makefile.am:158: warning: source file '../spectro/dispread.c' is in a subdirectory, tools/Makefile.am:158: but option 'subdir-objects' is disabled tools/Makefile.am:154: warning: source file '../spectro/dispwin.c' is in a subdirectory, tools/Makefile.am:154: but option 'subdir-objects' is disabled tools/Makefile.am:280: warning: source file '../numlib/dnsqtest.c' is in a subdirectory, tools/Makefile.am:280: but option 'subdir-objects' is disabled tools/Makefile.am:242: warning: source file '../xicc/extracticc.c' is in a subdirectory, tools/Makefile.am:242: but option 'subdir-objects' is disabled tools/Makefile.am:245: warning: source file '../xicc/extractttag.c' is in a subdirectory, tools/Makefile.am:245: but option 'subdir-objects' is disabled tools/Makefile.am:223: warning: source file '../xicc/fakeCMY.c' is in a subdirectory, tools/Makefile.am:223: but option 'subdir-objects' is disabled tools/Makefile.am:40: warning: source file '../gamut/fakegam.c' is in a subdirectory, tools/Makefile.am:40: but option 'subdir-objects' is disabled tools/Makefile.am:164: warning: source file '../spectro/fakeread.c' is in a subdirectory, tools/Makefile.am:164: but option 'subdir-objects' is disabled tools/Makefile.am:326: warning: source file '../imdi/greytiff.c' is in a subdirectory, tools/Makefile.am:326: but option 'subdir-objects' is disabled tools/Makefile.am:305: warning: source file '../icc/iccdump.c' is in a subdirectory, tools/Makefile.am:305: but option 'subdir-objects' is disabled tools/Makefile.am:227: warning: source file '../xicc/iccgamut.c' is in a subdirectory, tools/Makefile.am:227: but option 'subdir-objects' is disabled tools/Makefile.am:309: warning: source file '../icc/icclu.c' is in a subdirectory, tools/Makefile.am:309: but option 'subdir-objects' is disabled tools/Makefile.am:313: warning: source file '../icc/icctest.c' is in a subdirectory, tools/Makefile.am:313: but option 'subdir-objects' is disabled tools/Makefile.am:173: warning: source file '../spectro/illumread.c' is in a subdirectory, tools/Makefile.am:173: but option 'subdir-objects' is disabled tools/Makefile.am:71: warning: source file '../profile/invprofcheck.c' is in a subdirectory, tools/Makefile.am:71: but option 'subdir-objects' is disabled tools/Makefile.am:339: warning: source file '../imdi/itest.c' is in a subdirectory, tools/Makefile.am:339: but option 'subdir-objects' is disabled tools/Makefile.am:339: warning: source file '../imdi/refi.c' is in a subdirectory, tools/Makefile.am:339: but option 'subdir-objects' is disabled tools/Makefile.am:56: warning: source file '../profile/kodak2ti3.c' is in a subdirectory, tools/Makefile.am:56: but option 'subdir-objects' is disabled tools/Makefile.am:34: warning: source file '../gamut/maptest.c' is in a subdirectory, tools/Makefile.am:34: but option 'subdir-objects' is disabled tools/Makefile.am:77: warning: source file '../profile/mppcheck.c' is in a subdirectory, tools/Makefile.am:77: but option 'subdir-objects' is disabled tools/Makefile.am:230: warning: source file '../xicc/mpplu.c' is in a subdirectory, tools/Makefile.am:230: but option 'subdir-objects' is disabled tools/Makefile.am:74: warning: source file '../profile/mppprof.c' is in a subdirectory, tools/Makefile.am:74: but option 'subdir-objects' is disabled tools/Makefile.am:185: warning: source file '../spectro/inflate.c' is in a subdirectory, tools/Makefile.am:185: but option 'subdir-objects' is disabled tools/Makefile.am:185: warning: source file '../spectro/oemarch.c' is in a subdirectory, tools/Makefile.am:185: but option 'subdir-objects' is disabled tools/Makefile.am:185: warning: source file '../spectro/oeminst.c' is in a subdirectory, tools/Makefile.am:185: but option 'subdir-objects' is disabled tools/Makefile.am:185: warning: source file '../spectro/spyd2.c' is in a subdirectory, tools/Makefile.am:185: but option 'subdir-objects' is disabled tools/Makefile.am:185: warning: source file '../spectro/vinflate.c' is in a subdirectory, tools/Makefile.am:185: but option 'subdir-objects' is disabled tools/Makefile.am:263: warning: source file '../link/pathplot.c' is in a subdirectory, tools/Makefile.am:263: but option 'subdir-objects' is disabled tools/Makefile.am:86: warning: source file '../profile/printcal.c' is in a subdirectory, tools/Makefile.am:86: but option 'subdir-objects' is disabled tools/Makefile.am:210: warning: source file '../target/printtarg.c' is in a subdirectory, tools/Makefile.am:210: but option 'subdir-objects' is disabled tools/Makefile.am:68: warning: source file '../profile/profcheck.c' is in a subdirectory, tools/Makefile.am:68: but option 'subdir-objects' is disabled tools/Makefile.am:272: warning: source file '../tweak/refine.c' is in a subdirectory, tools/Makefile.am:272: but option 'subdir-objects' is disabled tools/Makefile.am:108: warning: source file '../rspl/revbench.c' is in a subdirectory, tools/Makefile.am:108: but option 'subdir-objects' is disabled tools/Makefile.am:233: warning: source file '../xicc/revfix.c' is in a subdirectory, tools/Makefile.am:233: but option 'subdir-objects' is disabled tools/Makefile.am:140: warning: source file '../scanin/scanin.c' is in a subdirectory, tools/Makefile.am:140: but option 'subdir-objects' is disabled tools/Makefile.am:53: warning: source file '../profile/simpprof.c' is in a subdirectory, tools/Makefile.am:53: but option 'subdir-objects' is disabled tools/Makefile.am:25: warning: source file '../gamut/smthtest.c' is in a subdirectory, tools/Makefile.am:25: but option 'subdir-objects' is disabled tools/Makefile.am:298: warning: source file '../numlib/soboltest.c' is in a subdirectory, tools/Makefile.am:298: but option 'subdir-objects' is disabled tools/Makefile.am:179: warning: source file '../spectro/spec2cie.c' is in a subdirectory, tools/Makefile.am:179: but option 'subdir-objects' is disabled tools/Makefile.am:248: warning: source file '../xicc/specplot.c' is in a subdirectory, tools/Makefile.am:248: but option 'subdir-objects' is disabled tools/Makefile.am:65: warning: source file '../profile/splitti3.c' is in a subdirectory, tools/Makefile.am:65: but option 'subdir-objects' is disabled tools/Makefile.am:176: warning: source file '../spectro/spotread.c' is in a subdirectory, tools/Makefile.am:176: but option 'subdir-objects' is disabled tools/Makefile.am:37: warning: source file '../gamut/surftest.c' is in a subdirectory, tools/Makefile.am:37: but option 'subdir-objects' is disabled tools/Makefile.am:292: warning: source file '../numlib/svdtest.c' is in a subdirectory, tools/Makefile.am:292: but option 'subdir-objects' is disabled tools/Makefile.am:151: warning: source file '../spectro/synthcal.c' is in a subdirectory, tools/Makefile.am:151: but option 'subdir-objects' is disabled tools/Makefile.am:167: warning: source file '../spectro/synthread.c' is in a subdirectory, tools/Makefile.am:167: but option 'subdir-objects' is disabled tools/Makefile.am:117: warning: source file '../rspl/t2d.c' is in a subdirectory, tools/Makefile.am:117: but option 'subdir-objects' is disabled tools/Makefile.am:120: warning: source file '../rspl/t2ddf.c' is in a subdirectory, tools/Makefile.am:120: but option 'subdir-objects' is disabled tools/Makefile.am:123: warning: source file '../rspl/t3d.c' is in a subdirectory, tools/Makefile.am:123: but option 'subdir-objects' is disabled tools/Makefile.am:126: warning: source file '../rspl/t3ddf.c' is in a subdirectory, tools/Makefile.am:126: but option 'subdir-objects' is disabled tools/Makefile.am:206: warning: source file '../target/targen.c' is in a subdirectory, tools/Makefile.am:206: but option 'subdir-objects' is disabled tools/Makefile.am:206: warning: source file '../target/ofps.c' is in a subdirectory, tools/Makefile.am:206: but option 'subdir-objects' is disabled tools/Makefile.am:206: warning: source file '../target/ifarp.c' is in a subdirectory, tools/Makefile.am:206: but option 'subdir-objects' is disabled tools/Makefile.am:206: warning: source file '../target/simplat.c' is in a subdirectory, tools/Makefile.am:206: but option 'subdir-objects' is disabled tools/Makefile.am:206: warning: source file '../target/simdlat.c' is in a subdirectory, tools/Makefile.am:206: but option 'subdir-objects' is disabled tools/Makefile.am:206: warning: source file '../target/prand.c' is in a subdirectory, tools/Makefile.am:206: but option 'subdir-objects' is disabled tools/Makefile.am:286: warning: source file '../numlib/tdhsx.c' is in a subdirectory, tools/Makefile.am:286: but option 'subdir-objects' is disabled tools/Makefile.am:236: warning: source file '../xicc/tiffgamut.c' is in a subdirectory, tools/Makefile.am:236: but option 'subdir-objects' is disabled tools/Makefile.am:100: warning: source file '../render/timage.c' is in a subdirectory, tools/Makefile.am:100: but option 'subdir-objects' is disabled tools/Makefile.am:129: warning: source file '../rspl/tnd.c' is in a subdirectory, tools/Makefile.am:129: but option 'subdir-objects' is disabled tools/Makefile.am:283: warning: source file '../numlib/tpowell.c' is in a subdirectory, tools/Makefile.am:283: but option 'subdir-objects' is disabled tools/Makefile.am:132: warning: source file '../rspl/trnd.c' is in a subdirectory, tools/Makefile.am:132: but option 'subdir-objects' is disabled tools/Makefile.am:62: warning: source file '../profile/txt2ti3.c' is in a subdirectory, tools/Makefile.am:62: but option 'subdir-objects' is disabled tools/Makefile.am:20: warning: source file '../gamut/viewgam.c' is in a subdirectory, tools/Makefile.am:20: but option 'subdir-objects' is disabled tools/Makefile.am:239: warning: source file '../xicc/xicclu.c' is in a subdirectory, tools/Makefile.am:239: but option 'subdir-objects' is disabled tools/Makefile.am:295: warning: source file '../numlib/zbrenttest.c' is in a subdirectory, tools/Makefile.am:295: but option 'subdir-objects' is disabled autoreconf-default: Leaving directory `.' + export 'LIBS= -lpng' + LIBS=' -lpng' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '637' is supported by ustar format... yes checking whether GID '637' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libpng... yes checking for libusb-1.0 >= 1.0.0... yes checking for sqrt in -lm... yes checking for inflate in -lz... yes checking for pthread_create in -lpthread... yes checking for TIFFOpen in -ltiff... yes checking for jpeg_finish_decompress in -ljpeg... yes checking for dlopen... no checking for dlopen in -ldl... yes checking for XOpenDisplay in -lX11... yes checking for XextFindDisplay in -lXext... yes checking for XRRRootToScreen in -lXrandr... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XF86VidModeGetGamma in -lXxf86vm... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating jcnf/Makefile config.status: creating cgats/Makefile config.status: creating doc/Makefile config.status: creating gamut/Makefile config.status: creating h/Makefile config.status: creating icc/Makefile config.status: creating imdi/Makefile config.status: creating link/Makefile config.status: creating numlib/Makefile config.status: creating plot/Makefile config.status: creating profile/Makefile config.status: creating ref/Makefile config.status: creating render/Makefile config.status: creating rspl/Makefile config.status: creating scanin/Makefile config.status: creating spectro/Makefile config.status: creating target/Makefile config.status: creating tweak/Makefile config.status: creating xicc/Makefile config.status: creating tools/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make make: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2' Making all in cgats make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/cgats' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/cgats' Making all in doc make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/doc' Making all in gamut make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/gamut' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/gamut' Making all in h make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/h' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/h' Making all in icc make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/icc' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o icctest.o icctest.c /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o icc.lo icc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c icc.c -fPIC -DPIC -o .libs/icc.o icc.c: In function 'sat_mul': icc.c:156:15: warning: unused variable 'c' [-Wunused-variable] 156 | unsigned int c; | ^ icc.c: In function 'ssat_mul': icc.c:247:9: warning: unused variable 'c' [-Wunused-variable] 247 | size_t c; | ^ icc.c: In function 'read_PCSNumber': icc.c:814:3: warning: case value '1281450546' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 814 | case icmSigLabV2Data: | ^~~~ icc.c:817:3: warning: case value '1281450548' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 817 | case icmSigLabV4Data: | ^~~~ icc.c:811:3: warning: case value '1281450552' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 811 | case icmSigLab8Data: | ^~~~ icc.c: In function 'write_PCSNumber': icc.c:850:3: warning: case value '1281450546' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 850 | case icmSigLabV2Data: | ^~~~ icc.c:853:3: warning: case value '1281450548' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 853 | case icmSigLabV4Data: | ^~~~ icc.c:847:3: warning: case value '1281450552' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 847 | case icmSigLab8Data: | ^~~~ icc.c: In function 'number_ColorSpaceSignature': icc.c:1135:3: warning: case value '1277173792' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1135 | case icmSigLData: | ^~~~ icc.c:1139:3: warning: case value '1277173810' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1139 | case icmSigLV2Data: | ^~~~ icc.c:1141:3: warning: case value '1277173812' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1141 | case icmSigLV4Data: | ^~~~ icc.c:1137:3: warning: case value '1277173816' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1137 | case icmSigL8Data: | ^~~~ icc.c:1147:3: warning: case value '1281450546' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1147 | case icmSigLabV2Data: | ^~~~ icc.c:1149:3: warning: case value '1281450548' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1149 | case icmSigLabV4Data: | ^~~~ icc.c:1145:3: warning: case value '1281450552' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1145 | case icmSigLab8Data: | ^~~~ icc.c:1143:3: warning: case value '1346589472' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1143 | case icmSigPCSData: | ^~~~ icc.c:1133:3: warning: case value '1495277600' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1133 | case icmSigYData: | ^~~~ icc.c: In function 'chnames_ColorSpaceSignature': icc.c:1245:6: warning: case value '1277173792' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1245 | case icmSigLData: | ^~~~ icc.c:1241:6: warning: case value '1495277600' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1241 | case icmSigYData: | ^~~~ icc.c: In function 'string_TagSignature': icc.c:1478:3: warning: case value '1634890867' not in enumerated type 'icTagSignature' [-Wswitch] 1478 | case icmSigAbsToRelTransSpace: | ^~~~ icc.c: In function 'string_ColorSpaceSignature': icc.c:1661:3: warning: case value '1277173792' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1661 | case icmSigLData: | ^~~~ icc.c:1665:3: warning: case value '1277173810' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1665 | case icmSigLV2Data: | ^~~~ icc.c:1667:3: warning: case value '1277173812' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1667 | case icmSigLV4Data: | ^~~~ icc.c:1663:3: warning: case value '1277173816' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1663 | case icmSigL8Data: | ^~~~ icc.c:1673:3: warning: case value '1281450546' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1673 | case icmSigLabV2Data: | ^~~~ icc.c:1675:3: warning: case value '1281450548' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1675 | case icmSigLabV4Data: | ^~~~ icc.c:1671:3: warning: case value '1281450552' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1671 | case icmSigLab8Data: | ^~~~ icc.c:1669:3: warning: case value '1346589472' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1669 | case icmSigPCSData: | ^~~~ icc.c:1659:3: warning: case value '1495277600' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 1659 | case icmSigYData: | ^~~~ icc.c: In function 'string_PlatformSignature': icc.c:1730:3: warning: case value '711879032' not in enumerated type 'icPlatformSignature' [-Wswitch] 1730 | case icmSig_nix: | ^~~~ icc.c: In function 'string_RenderingIntent': icc.c:1766:3: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 1766 | case icmAbsolutePerceptual: /* icclib specials */ | ^~~~ icc.c:1768:3: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 1768 | case icmAbsoluteSaturation: /* icclib specials */ | ^~~~ icc.c:1770:3: warning: case value '99' not in enumerated type 'icRenderingIntent' [-Wswitch] 1770 | case icmDefaultIntent: /* icclib specials */ | ^~~~ icc.c: In function 'icmSetMultiLutTables': icc.c:6308:12: warning: unused variable 'ix' [-Wunused-variable] 6308 | int ix; | ^~ icc.c: In function 'icmLut_read': icc.c:6468:21: warning: unused variable 'g' [-Wunused-variable] 6468 | unsigned int i, j, g, size; | ^ icc.c: In function 'check_icc_legal': icc.c:11529:35: warning: comparison between 'icProfileClassSignature' and 'enum ' [-Wenum-compare] 11529 | for (i = 0; tagchecktable[i].sig != icMaxEnumType; i++) { | ^~ icc.c:11544:41: warning: comparison between 'icTagSignature' and 'enum ' [-Wenum-compare] 11544 | for (j = 0; tagchecktable[i].tags[j] != icMaxEnumType; j++) { | ^~ icc.c:11560:33: warning: comparison between 'icTagSignature' and 'enum ' [-Wenum-compare] 11560 | if (tagchecktable[i].tags[j] == icMaxEnumType) { | ^~ icc.c: In function 'icc_rem_temp_tags': icc.c:12070:23: warning: unused variable 'chadTag' [-Wunused-variable] 12070 | icmS15Fixed16Array *chadTag; | ^~~~~~~ icc.c:12068:7: warning: unused variable 'rv' [-Wunused-variable] 12068 | int rv; | ^~ icc.c:12101:11: warning: unused variable 'wp' [-Wunused-variable] 12101 | double wp[3]; | ^~ icc.c:12094:23: warning: unused variable 'chadTag' [-Wunused-variable] 12094 | icmS15Fixed16Array *chadTag; | ^~~~~~~ icc.c:12092:7: warning: unused variable 'rv' [-Wunused-variable] 12092 | int rv; | ^~ icc.c: In function 'icc_add_tag': icc.c:12456:35: warning: comparison between 'icTagSignature' and 'enum ' [-Wenum-compare] 12456 | for (i = 0; sigtypetable[i].sig != icMaxEnumType; i++) { | ^~ icc.c: In function 'icc_link_tag': icc.c:12567:34: warning: comparison between 'icTagSignature' and 'enum ' [-Wenum-compare] 12567 | for (i = 0; sigtypetable[i].sig != icMaxEnumType; i++) { | ^~ icc.c: In function 'icc_rename_tag': icc.c:12801:34: warning: comparison between 'icTagSignature' and 'enum ' [-Wenum-compare] 12801 | for (i = 0; sigtypetable[i].sig != icMaxEnumType; i++) { | ^~ icc.c: In function 'icmInverse3x3': icc.c:13827:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13827 | for (i = 0; i < 3; i++) | ^~~ icc.c:13830:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 13830 | return 0; | ^~~~~~ icc.c: In function 'icmVecPlaneIsect': icc.c:14177:9: warning: unused variable 'ival' [-Wunused-variable] 14177 | double ival[3]; /* Intersection value */ | ^~~~ icc.c: In function 'icm1976UCS2XYZ': icc.c:14642:27: warning: unused variable 'sum' [-Wunused-variable] 14642 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~~ icc.c:14642:23: warning: unused variable 'fv' [-Wunused-variable] 14642 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ icc.c:14642:19: warning: unused variable 'fu' [-Wunused-variable] 14642 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ icc.c:14642:15: warning: unused variable 'fl' [-Wunused-variable] 14642 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ icc.c: In function 'icm1960UCS2XYZ': icc.c:14685:27: warning: unused variable 'sum' [-Wunused-variable] 14685 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~~ icc.c:14685:23: warning: unused variable 'fv' [-Wunused-variable] 14685 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ icc.c:14685:19: warning: unused variable 'fu' [-Wunused-variable] 14685 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ icc.c:14685:15: warning: unused variable 'fl' [-Wunused-variable] 14685 | double u, v, fl, fu, fv, sum, X, Y, Z; | ^~ icc.c: In function 'icc_set_illum': icc.c:15194:10: warning: unused variable 'wp' [-Wunused-variable] 15194 | double wp[3]; | ^~ icc.c: In function 'icmDICOM_bwd': icc.c:15975:6: warning: unused variable 'i' [-Wunused-variable] 15975 | int i; | ^ icc.c: In function 'icc_get_luobj': icc.c:18511:10: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 18511 | case icmAbsolutePerceptual: /* Special icclib intent */ | ^~~~ icc.c:18516:10: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 18516 | case icmAbsoluteSaturation: /* Special icclib intent */ | ^~~~ icc.c:18612:10: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 18612 | case icmAbsolutePerceptual: /* Special icclib intent */ | ^~~~ icc.c:18617:10: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 18617 | case icmAbsoluteSaturation: /* Special icclib intent */ | ^~~~ icc.c:18717:10: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 18717 | case icmAbsolutePerceptual: /* Special icclib intent */ | ^~~~ icc.c:18721:10: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 18721 | case icmAbsoluteSaturation: /* Special icclib intent */ | ^~~~ icc.c:18787:10: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 18787 | case icmAbsolutePerceptual: /* Special icclib intent */ | ^~~~ icc.c:18791:10: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 18791 | case icmAbsoluteSaturation: /* Special icclib intent */ | ^~~~ icc.c:18857:10: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 18857 | case icmAbsolutePerceptual: /* Special icclib intent */ | ^~~~ icc.c:18858:10: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 18858 | case icmAbsoluteSaturation: /* Special icclib intent */ | ^~~~ icc.c:18860:7: warning: case value '99' not in enumerated type 'icRenderingIntent' [-Wswitch] 18860 | case icmDefaultIntent: | ^~~~ icc.c:18893:10: warning: case value '97' not in enumerated type 'icRenderingIntent' [-Wswitch] 18893 | case icmAbsolutePerceptual: /* Special icclib intent */ | ^~~~ icc.c:18894:10: warning: case value '98' not in enumerated type 'icRenderingIntent' [-Wswitch] 18894 | case icmAbsoluteSaturation: /* Special icclib intent */ | ^~~~ At top level: icc.c:239:15: warning: 'ssat_sub' defined but not used [-Wunused-function] 239 | static size_t ssat_sub(size_t a, size_t b) { | ^~~~~~~~ icc.c:232:15: warning: 'ssat_add' defined but not used [-Wunused-function] 232 | static size_t ssat_add(size_t a, size_t b) { | ^~~~~~~~ icc.c:211:12: warning: 'ovr_sub' defined but not used [-Wunused-function] 211 | static int ovr_sub(unsigned int a, unsigned int b) { | ^~~~~~~ icc.c:203:12: warning: 'ovr_add' defined but not used [-Wunused-function] 203 | static int ovr_add(unsigned int a, unsigned int b) { | ^~~~~~~ icc.c: In function 'icmLut_lookup_clut_sx': icc.c:5209:15: warning: 'co[]' may be used uninitialized in this function [-Wmaybe-uninitialized] 5209 | w = 1.0 - co[si[p->inputChan-1]]; /* Vertex at base of cell */ | ~~^~~~~~~~~~~~~~~~~~~~ icc.c: In function 'icmSetMultiLutTables': icc.c:6043:11: warning: 'ti3' may be used uninitialized in this function [-Wmaybe-uninitialized] 6043 | int ti, ti3; /* Table indexes */ | ^~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o iccstd.lo iccstd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c iccstd.c -fPIC -DPIC -o .libs/iccstd.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -version-info 0:0:0 -export-dynamic -no-undefined -o libargyllicc.la -rpath /usr/lib icc.lo iccstd.lo -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -shared -fPIC -DPIC .libs/icc.o .libs/iccstd.o -lpthread -lz -lm -lpng -g -O2 -march=i586 -mtune=generic -Wl,-soname -Wl,libargyllicc.so.0 -o .libs/libargyllicc.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libargyllicc.so.0" && ln -s "libargyllicc.so.0.0.0" "libargyllicc.so.0") libtool: link: (cd ".libs" && rm -f "libargyllicc.so" && ln -s "libargyllicc.so.0.0.0" "libargyllicc.so") libtool: link: ( cd ".libs" && rm -f "libargyllicc.la" && ln -s "../libargyllicc.la" "libargyllicc.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o icctest icctest.o libargyllicc.la -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/icctest icctest.o ./.libs/libargyllicc.so -lpthread -lz -lm -lpng i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o iccdump.o iccdump.c /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o iccdump iccdump.o libargyllicc.la -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/iccdump iccdump.o ./.libs/libargyllicc.so -lpthread -lz -lm -lpng i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o icclu.o icclu.c /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o icclu icclu.o libargyllicc.la -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/icclu icclu.o ./.libs/libargyllicc.so -lpthread -lz -lm -lpng make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/icc' Making all in imdi make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/imdi' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o imdi_make.o imdi_make.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o imdi_gen.o imdi_gen.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cgen.o cgen.c /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o imdi_make imdi_make.o imdi_gen.o cgen.o -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o imdi_make imdi_make.o imdi_gen.o cgen.o -lpthread -lz -lm -lpng ./imdi_make make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/imdi' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o imdi.lo imdi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c imdi.c -fPIC -DPIC -o .libs/imdi.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o imdi_tab.lo imdi_tab.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c imdi_tab.c -fPIC -DPIC -o .libs/imdi_tab.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I../h -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -version-info 0:0:0 -export-dynamic -no-undefined -o libimdi.la -rpath /usr/lib imdi.lo imdi_tab.lo ../icc/libargyllicc.la -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -shared -fPIC -DPIC .libs/imdi.o .libs/imdi_tab.o -Wl,-rpath -Wl,/usr/src/RPM/BUILD/hargyllcms-1.9.2/icc/.libs ../icc/.libs/libargyllicc.so -lpthread -lz -lm -lpng -g -O2 -march=i586 -mtune=generic -Wl,-soname -Wl,libimdi.so.0 -o .libs/libimdi.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libimdi.so.0" && ln -s "libimdi.so.0.0.0" "libimdi.so.0") libtool: link: (cd ".libs" && rm -f "libimdi.so" && ln -s "libimdi.so.0.0.0" "libimdi.so") libtool: link: ( cd ".libs" && rm -f "libimdi.la" && ln -s "../libimdi.la" "libimdi.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/imdi' make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/imdi' Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pars.lo `test -f '../cgats/pars.c' || echo './'`../cgats/pars.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../cgats/pars.c -fPIC -DPIC -o .libs/pars.o ../cgats/pars.c: In function 'get_token': ../cgats/pars.c:555:15: warning: array subscript has type 'char' [-Wchar-subscripts] 555 | if ((p->delf[c] & PARS_QUOTE) != 0) { | ^ ../cgats/pars.c:571:43: warning: array subscript has type 'char' [-Wchar-subscripts] 571 | if ((p->q != 0 && (p->q != c || (p->delf[c] & PARS_SKIP) == 0)) | ^ ../cgats/pars.c:573:30: warning: array subscript has type 'char' [-Wchar-subscripts] 573 | || (!(tbo == 0 && (p->delf[c] & PARS_TERM) != 0 && (p->delf[c] & PARS_SKIP) != 0) | ^ ../cgats/pars.c:573:63: warning: array subscript has type 'char' [-Wchar-subscripts] 573 | || (!(tbo == 0 && (p->delf[c] & PARS_TERM) != 0 && (p->delf[c] & PARS_SKIP) != 0) | ^ ../cgats/pars.c:575:17: warning: array subscript has type 'char' [-Wchar-subscripts] 575 | && (p->delf[c] & PARS_SKIP) == 0)) /* Skip non-readers */ | ^ ../cgats/pars.c:579:27: warning: array subscript has type 'char' [-Wchar-subscripts] 579 | && tbo != 0 && (p->delf[c] & PARS_TERM) != 0) | ^ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cgats.lo `test -f '../cgats/cgats.c' || echo './'`../cgats/cgats.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../cgats/cgats.c -fPIC -DPIC -o .libs/cgats.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parsstd.lo `test -f '../cgats/parsstd.c' || echo './'`../cgats/parsstd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../cgats/parsstd.c -fPIC -DPIC -o .libs/parsstd.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cgatsstd.lo `test -f '../cgats/cgatsstd.c' || echo './'`../cgats/cgatsstd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../cgats/cgatsstd.c -fPIC -DPIC -o .libs/cgatsstd.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gamut.lo `test -f '../gamut/gamut.c' || echo './'`../gamut/gamut.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../gamut/gamut.c -fPIC -DPIC -o .libs/gamut.o ../gamut/gamut.c: In function 'exp_cyl': ../gamut/gamut.c:1220:12: warning: unused variable 'k' [-Wunused-variable] 1220 | int i, j, k; | ^ ../gamut/gamut.c: In function 'nexpintersect': ../gamut/gamut.c:1346:14: warning: unused variable 's2' [-Wunused-variable] 1346 | gamut *s1, *s2; | ^~ ../gamut/gamut.c:1346:9: warning: unused variable 's1' [-Wunused-variable] 1346 | gamut *s1, *s2; | ^~ ../gamut/gamut.c: In function 'expdstbysrcmdst': ../gamut/gamut.c:1482:15: warning: unused variable 'r4' [-Wunused-variable] 1482 | double rr, r4; | ^~ ../gamut/gamut.c:1482:11: warning: unused variable 'rr' [-Wunused-variable] 1482 | double rr, r4; | ^~ ../gamut/gamut.c:1481:18: warning: unused variable 'ppv' [-Wunused-variable] 1481 | double pp[3], ppv, p2[3]; | ^~~ ../gamut/gamut.c:1433:14: warning: unused variable 'kk' [-Wunused-variable] 1433 | int ii, jj, kk; /* List indexes */ | ^~ ../gamut/gamut.c:1433:10: warning: unused variable 'jj' [-Wunused-variable] 1433 | int ii, jj, kk; /* List indexes */ | ^~ ../gamut/gamut.c:1433:6: warning: unused variable 'ii' [-Wunused-variable] 1433 | int ii, jj, kk; /* List indexes */ | ^~ ../gamut/gamut.c: In function 'nssverts': ../gamut/gamut.c:3206:11: warning: unused variable 'dp' [-Wunused-variable] 3206 | double dp; /* Dot product of point in triangle and normal */ | ^~ ../gamut/gamut.c: In function 'lu_split': ../gamut/gamut.c:3764:10: warning: unused variable 'rs' [-Wunused-variable] 3764 | double rs; | ^~ ../gamut/gamut.c:3763:13: warning: unused variable 'e' [-Wunused-variable] 3763 | int i, j, e; | ^ ../gamut/gamut.c:3763:10: warning: unused variable 'j' [-Wunused-variable] 3763 | int i, j, e; | ^ ../gamut/gamut.c: In function 'compute_vector_isect': ../gamut/gamut.c:5404:8: warning: unused variable 'tp' [-Wunused-variable] 5404 | gtri *tp; | ^~ ../gamut/gamut.c: In function 'compute_vector_isectns': ../gamut/gamut.c:5623:8: warning: unused variable 'tp' [-Wunused-variable] 5623 | gtri *tp; | ^~ At top level: ../gamut/gamut.c:4846:12: warning: 'compute_vector_isect_bf' defined but not used [-Wunused-function] 4846 | static int compute_vector_isect_bf( | ^~~~~~~~~~~~~~~~~~~~~~~ ../gamut/gamut.c:4109:1: warning: 'nearest_bf' defined but not used [-Wunused-function] 4109 | nearest_bf( | ^~~~~~~~~~ ../gamut/gamut.c:3525:1: warning: 'radial_bf' defined but not used [-Wunused-function] 3525 | radial_bf( | ^~~~~~~~~ ../gamut/gamut.c: In function 'vector_isect_rec': ../gamut/gamut.c:5230:10: warning: 'tpp' may be used uninitialized in this function [-Wmaybe-uninitialized] 5230 | gtri *t = *tpp; | ^ ../gamut/gamut.c:5228:3: warning: 'nt' may be used uninitialized in this function [-Wmaybe-uninitialized] 5228 | for (i = 0; i < nt; i++, tpp++) { | ^~~ ../gamut/gamut.c:5119:21: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] 5119 | den = vb[j] + ti * vv[j]; | ~~~^~~~~~~ ../gamut/gamut.c: In function 'radial_point_triang.isra': ../gamut/gamut.c:3982:10: warning: 'tpp' may be used uninitialized in this function [-Wmaybe-uninitialized] 3982 | gtri *t = *tpp; | ^ ../gamut/gamut.c:3981:3: warning: 'nt' may be used uninitialized in this function [-Wmaybe-uninitialized] 3981 | for (i = 0; i < nt; i++, tpp++) { | ^~~ ../gamut/gamut.c: In function 'compute_vector_isectns': ../gamut/gamut.c:5855:10: warning: 'poutx' may be used uninitialized in this function [-Wmaybe-uninitialized] 5855 | if ((lp[i].dir ^ pdir) == 0) { /* Not opposite to previous */ | ^ ../gamut/gamut.c:5333:6: warning: 'sj' may be used uninitialized in this function [-Wmaybe-uninitialized] 5333 | if (j == sj) | ^ ../gamut/gamut.c:5319:6: note: 'sj' was declared here 5319 | int sj, j, i; | ^~ ../gamut/gamut.c: In function 'intersect': ../gamut/gamut.c:1189:8: warning: 'ss' may be used uninitialized in this function [-Wmaybe-uninitialized] 1189 | if (ss->cswbset) { | ~~^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gammap.lo `test -f '../gamut/gammap.c' || echo './'`../gamut/gammap.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../gamut/gammap.c -fPIC -DPIC -o .libs/gammap.o ../gamut/gammap.c: In function 'new_gammap': ../gamut/gammap.c:1589:8: warning: unused variable 'cp' [-Wunused-variable] 1589 | co cp; | ^~ ../gamut/gammap.c:1977:12: warning: unused variable 'mdst' [-Wunused-variable] 1977 | double mdst[3]; | ^~~~ ../gamut/gammap.c:1975:12: warning: unused variable 'blue' [-Wunused-variable] 1975 | double blue[3] = { 0.2, 0.2, 1.0 }; | ^~~~ ../gamut/gammap.c:1974:12: warning: unused variable 'purp' [-Wunused-variable] 1974 | double purp[3] = { 0.6, 0.0, 1.0 }; | ^~~~ ../gamut/gammap.c:1973:12: warning: unused variable 'lgrey' [-Wunused-variable] 1973 | double lgrey[3] = { 0.8, 0.8, 0.8 }; | ^~~~~ ../gamut/gammap.c:1969:12: warning: unused variable 'cpexf' [-Wunused-variable] 1969 | double cpexf; /* The effective compression or expansion factor */ | ^~~~~ ../gamut/gammap.c:2053:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2053 | if ((npoints = locus->t[table].nsets) <= 0) | ^~ ../gamut/gammap.c:2056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2056 | for (j = 0; j < 3; j++) { | ^~~ ../gamut/gammap.c:2068:10: warning: unused variable 'cp' [-Wunused-variable] 2068 | co cp; | ^~ ../gamut/gammap.c:2085:10: warning: unused variable 'cp' [-Wunused-variable] 2085 | co cp; | ^~ ../gamut/gammap.c:2153:11: warning: unused variable 'k' [-Wunused-variable] 2153 | int k; | ^ ../gamut/gammap.c:2152:10: warning: unused variable 'cp' [-Wunused-variable] 2152 | co cp; | ^~ ../gamut/gammap.c:2207:10: warning: unused variable 'cp' [-Wunused-variable] 2207 | co cp; | ^~ ../gamut/gammap.c:2206:14: warning: unused variable 'pp' [-Wunused-variable] 2206 | double pp[3]; | ^~ ../gamut/gammap.c:1849:8: warning: unused variable 'nix' [-Wunused-variable] 1849 | int nix = -1; /* Index of point to show neighbour */ | ^~~ ../gamut/gammap.c:1848:11: warning: unused variable 'nc' [-Wunused-variable] 1848 | double nc[3] = { 1.0, 0.4, 0.7 }; /* Pink for neighbors */ | ^~ ../gamut/gammap.c: In function 'dopartialmap2': ../gamut/gammap.c:2416:7: warning: unused variable 'e' [-Wunused-variable] 2416 | int e; | ^ ../gamut/gammap.c: In function 'invgmfunc': ../gamut/gammap.c:2456:9: warning: unused variable 'tt' [-Wunused-variable] 2456 | double tt, rv = 0.0; | ^~ At top level: ../gamut/gammap.c:2407:13: warning: 'dopartialmap2' defined but not used [-Wunused-function] 2407 | static void dopartialmap2( | ^~~~~~~~~~~~~ ../gamut/gammap.c: In function 'new_gammap': ../gamut/gammap.c:1656:5: warning: 'cpexf' may be used uninitialized in this function [-Wmaybe-uninitialized] 1656 | icmBlend3(nsm[i].div2, nsm[i].sv2, nsm[i].dv2, cpexf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o nearsmth.lo `test -f '../gamut/nearsmth.c' || echo './'`../gamut/nearsmth.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../gamut/nearsmth.c -fPIC -DPIC -o .libs/nearsmth.o ../gamut/nearsmth.c: In function 'diffLChsq': ../gamut/nearsmth.c:206:9: warning: unused variable 'vv' [-Wunused-variable] 206 | double vv; | ^~ ../gamut/nearsmth.c: In function 'optfunc1': ../gamut/nearsmth.c:417:12: warning: unused variable 'k' [-Wunused-variable] 417 | int i, j, k; | ^ ../gamut/nearsmth.c:417:9: warning: unused variable 'j' [-Wunused-variable] 417 | int i, j, k; | ^ ../gamut/nearsmth.c:417:6: warning: unused variable 'i' [-Wunused-variable] 417 | int i, j, k; | ^ ../gamut/nearsmth.c: In function 'optfunc1a': ../gamut/nearsmth.c:459:12: warning: unused variable 'k' [-Wunused-variable] 459 | int i, j, k; | ^ ../gamut/nearsmth.c:459:9: warning: unused variable 'j' [-Wunused-variable] 459 | int i, j, k; | ^ ../gamut/nearsmth.c:459:6: warning: unused variable 'i' [-Wunused-variable] 459 | int i, j, k; | ^ ../gamut/nearsmth.c: In function 'init_ce': ../gamut/nearsmth.c:684:7: warning: unused variable 'isJab' [-Wunused-variable] 684 | int isJab; | ^~~~~ ../gamut/nearsmth.c: In function 'near_wcopy': ../gamut/nearsmth.c:1139:1: warning: multi-line comment [-Wcomment] 1139 | //#define NSCOPY(xxx) if (src->xxx >= 0.0) { \ | ^ ../gamut/nearsmth.c: In function 'interp_xweights': ../gamut/nearsmth.c:1462:20: warning: unused variable 'tmp' [-Wunused-variable] 1462 | double h, JCh[3], tmp[3]; | ^~~ ../gamut/nearsmth.c: In function 'near_smooth': ../gamut/nearsmth.c:2088:18: warning: variable 'imr' set but not used [-Wunused-but-set-variable] 2088 | double imv[3], imr; /* cspace/image gamut source point and radius */ | ^~~ ../gamut/nearsmth.c:2409:12: warning: unused variable 'dd' [-Wunused-variable] 2409 | double dd; | ^~ ../gamut/nearsmth.c:2483:12: warning: unused variable 'dd' [-Wunused-variable] 2483 | double dd; | ^~ ../gamut/nearsmth.c:2396:11: warning: unused variable 'mv' [-Wunused-variable] 2396 | double mv; | ^~ ../gamut/nearsmth.c:2389:10: warning: unused variable 'ne' [-Wunused-variable] 2389 | double ne; /* New error */ | ^~ ../gamut/nearsmth.c:2520:11: warning: unused variable 'mv' [-Wunused-variable] 2520 | double mv; | ^~ ../gamut/nearsmth.c:2513:10: warning: unused variable 'ne' [-Wunused-variable] 2513 | double ne; /* New error */ | ^~ ../gamut/nearsmth.c:2701:11: warning: unused variable 'len' [-Wunused-variable] 2701 | double len; | ^~~ ../gamut/nearsmth.c:2747:11: warning: unused variable 'mv' [-Wunused-variable] 2747 | double mv; | ^~ ../gamut/nearsmth.c:2680:13: warning: unused variable 'oh' [-Wunused-variable] 2680 | datao ol, oh; | ^~ ../gamut/nearsmth.c:2680:9: warning: unused variable 'ol' [-Wunused-variable] 2680 | datao ol, oh; | ^~ ../gamut/nearsmth.c:2679:13: warning: unused variable 'ih' [-Wunused-variable] 2679 | datai il, ih; | ^~ ../gamut/nearsmth.c:2679:9: warning: unused variable 'il' [-Wunused-variable] 2679 | datai il, ih; | ^~ ../gamut/nearsmth.c:2675:10: warning: unused variable 'ne' [-Wunused-variable] 2675 | double ne; /* New error */ | ^~ ../gamut/nearsmth.c:2668:23: warning: unused variable 'rad' [-Wunused-variable] 2668 | double p[3], p2[3], rad; | ^~~ ../gamut/nearsmth.c:2668:16: warning: unused variable 'p2' [-Wunused-variable] 2668 | double p[3], p2[3], rad; | ^~ ../gamut/nearsmth.c:3206:12: warning: unused variable 'evect' [-Wunused-variable] 3206 | double evect[3]; | ^~~~~ ../gamut/nearsmth.c:3205:8: warning: unused variable 'cp' [-Wunused-variable] 3205 | co cp; | ^~ ../gamut/nearsmth.c:3306:12: warning: unused variable 'tt' [-Wunused-variable] 3306 | double tt; | ^~ ../gamut/nearsmth.c:3151:11: warning: unused variable 'ovlen' [-Wunused-variable] 3151 | double ovlen; | ^~~~~ ../gamut/nearsmth.c:3147:11: warning: unused variable 'tmp' [-Wunused-variable] 3147 | double tmp[3]; | ^~~ ../gamut/nearsmth.c:3398:22: warning: unused variable 'nv' [-Wunused-variable] 3398 | double mv[3], ml, nv[3]; /* Mapping vector & length, noralized mv */ | ^~ ../gamut/nearsmth.c:3842:13: warning: unused variable 'mv' [-Wunused-variable] 3842 | double mv; | ^~ ../gamut/nearsmth.c:3837:13: warning: unused variable 'ne' [-Wunused-variable] 3837 | double ne; /* New error */ | ^~ ../gamut/nearsmth.c:1845:6: warning: unused variable 'nmxmv' [-Wunused-variable] 1845 | int nmxmv; /* Number of maxmoves less than stopping threshold */ | ^~~~~ ../gamut/nearsmth.c:1844:9: warning: unused variable 'mxmv' [-Wunused-variable] 1844 | double mxmv; /* Maximum a point gets moved */ | ^~~~ ../gamut/nearsmth.c:1843:9: warning: unused variable 'codf' [-Wunused-variable] 1843 | double codf; /* Itteration overshoot/damping factor */ | ^~~~ ../gamut/nearsmth.c:1840:6: warning: unused variable 'pass' [-Wunused-variable] 1840 | int pass; | ^~~~ ../gamut/nearsmth.c:1830:16: warning: unused variable 'k' [-Wunused-variable] 1830 | int ix, i, j, k; | ^ At top level: ../gamut/nearsmth.c:1662:12: warning: 'vintersect' defined but not used [-Wunused-function] 1662 | static int vintersect( | ^~~~~~~~~~ ../gamut/nearsmth.c:1101:13: warning: 'inv_comp_ce' defined but not used [-Wunused-function] 1101 | static void inv_comp_ce( | ^~~~~~~~~~~ ../gamut/nearsmth.c:352:13: warning: 'spow3' defined but not used [-Wunused-function] 352 | static void spow3(double *out, double *in, double ex) { | ^~~~~ ../gamut/nearsmth.c:345:15: warning: 'spow' defined but not used [-Wunused-function] 345 | static double spow(double arg, double ex) { | ^~~~ ../gamut/nearsmth.c: In function 'near_smooth': ../gamut/nearsmth.c:2797:10: warning: 'bnv[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 2797 | tp[2] = bnv[1]; | ~~~~~~^~~~~~~~ ../gamut/nearsmth.c:2798:10: warning: 'bnv[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 2798 | tp[1] = bnv[0]; | ~~~~~~^~~~~~~~ ../gamut/nearsmth.c:2574:10: warning: 'bnv[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 2574 | tp[2] = bnv[1]; | ~~~~~~^~~~~~~~ ../gamut/nearsmth.c:2575:10: warning: 'bnv[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 2575 | tp[1] = bnv[0]; | ~~~~~~^~~~~~~~ ../gamut/nearsmth.c:2471:10: warning: 'bnv[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 2471 | tp[2] = bnv[1]; | ~~~~~~^~~~~~~~ ../gamut/nearsmth.c:2472:10: warning: 'bnv[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 2472 | tp[1] = bnv[0]; | ~~~~~~^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o plot.lo `test -f '../plot/plot.c' || echo './'`../plot/plot.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../plot/plot.c -fPIC -DPIC -o .libs/plot.o ../plot/plot.c: In function 'do_plot10': ../plot/plot.c:502:6: warning: unused variable 'nn' [-Wunused-variable] 502 | int nn = abs(n); | ^~ ../plot/plot.c: In function 'do_plot10p': ../plot/plot.c:577:6: warning: unused variable 'nn' [-Wunused-variable] 577 | int nn = abs(n); | ^~ In file included from ../plot/plot.c:41: At top level: ../numlib/ui.h:22:13: warning: 'pui_initialized' defined but not used [-Wunused-variable] 22 | static int *pui_initialized = &ui_initialized; | ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o vrml.lo `test -f '../plot/vrml.c' || echo './'`../plot/vrml.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../plot/vrml.c -fPIC -DPIC -o .libs/vrml.o ../plot/vrml.c: In function 'make_points': ../plot/vrml.c:383:9: warning: unused variable 'j' [-Wunused-variable] 383 | int i, j; | ^ ../plot/vrml.c: In function 'make_line_tri_quad': ../plot/vrml.c:674:12: warning: unused variable 'out' [-Wunused-variable] 674 | double out[3]; | ^~~ ../plot/vrml.c:711:12: warning: unused variable 'out' [-Wunused-variable] 711 | double out[3]; | ^~~ ../plot/vrml.c:815:12: warning: unused variable 'out' [-Wunused-variable] 815 | double out[3]; | ^~~ ../plot/vrml.c:846:12: warning: unused variable 'out' [-Wunused-variable] 846 | double out[3]; | ^~~ ../plot/vrml.c:597:6: warning: unused variable 'v' [-Wunused-variable] 597 | int v[3]; | ^ ../plot/vrml.c:596:20: warning: unused variable 'ix' [-Wunused-variable] 596 | int i, j, nverts, ix; | ^~ ../plot/vrml.c:596:12: warning: unused variable 'nverts' [-Wunused-variable] 596 | int i, j, nverts, ix; | ^~~~~~ ../plot/vrml.c: In function 'add_cusps': ../plot/vrml.c:1135:6: warning: unused variable 'v' [-Wunused-variable] 1135 | int v[3]; | ^ ../plot/vrml.c:1133:10: warning: variable 'cv' set but not used [-Wunused-but-set-variable] 1133 | double *cv = NULL; | ^~ ../plot/vrml.c:1132:17: warning: unused variable 'xyz' [-Wunused-variable] 1132 | double rgb[3], xyz[3]; | ^~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o profin.lo `test -f '../profile/profin.c' || echo './'`../profile/profin.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../profile/profin.c -fPIC -DPIC -o .libs/profin.o ../profile/profin.c: In function 'make_input_icc': ../profile/profin.c:609:9: warning: unused variable 'crt' [-Wunused-variable] 609 | char *crt; | ^~~ ../profile/profin.c:1006:22: warning: unused variable 'cwt' [-Wunused-variable] 1006 | double corr[3], cwt; /* Correction */ | ^~~ ../profile/profin.c:1006:13: warning: unused variable 'corr' [-Wunused-variable] 1006 | double corr[3], cwt; /* Correction */ | ^~~~ ../profile/profin.c:938:8: warning: variable 'pcsy' set but not used [-Wunused-but-set-variable] 938 | int pcsy; /* Effective PCS L or Y chanel index */ | ^~~~ ../profile/profin.c:1073:32: warning: 'cix' may be used uninitialized in this function [-Wmaybe-uninitialized] 1073 | + bl * (tpat[cix].p[0] + tpat[cix].p[1] + tpat[cix].p[1])/3.0; | ^ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o profout.lo `test -f '../profile/profout.c' || echo './'`../profile/profout.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../profile/profout.c -fPIC -DPIC -o .libs/profout.o ../profile/profout.c: In function 'make_output_icc': ../profile/profout.c:1517:9: warning: unused variable 'crt' [-Wunused-variable] 1517 | char *crt; | ^~~ ../profile/profout.c:2032:19: warning: unused variable 'L' [-Wunused-variable] 2032 | double xyz[3], L; | ^ ../profile/profout.c:2475:19: warning: 'intents' may be used uninitialized in this function [-Wmaybe-uninitialized] 2475 | if ((ixs = src_xicc->get_luobj(src_xicc, ICX_CLIP_NEAREST | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2476 | , icmFwd, intents, icSigLabData, icmLuOrdNorm, &ivc, &iink)) == NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o render.lo `test -f '../render/render.c' || echo './'`../render/render.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../render/render.c -fPIC -DPIC -o .libs/render.o ../render/render.c: In function 'line2d_rend': ../render/render.c:1621:17: warning: unused variable 'ny' [-Wunused-variable] 1621 | double t, nx, ny; | ^~ ../render/render.c:1621:13: warning: unused variable 'nx' [-Wunused-variable] 1621 | double t, nx, ny; | ^~ ../render/render.c: In function 'new_line2d': ../render/render.c:1669:9: warning: unused variable 'tt' [-Wunused-variable] 1669 | double tt[3][3]; | ^~ ../render/render.c:1667:6: warning: unused variable 'i' [-Wunused-variable] 1667 | int i, j; | ^ ../render/render.c: In function 'inverse3x3': ../render/render.c:2209:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2209 | for (i = 0; i < 3; i++) | ^~~ ../render/render.c:2212:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2212 | return 0; | ^~~~~~ At top level: ../render/render.c:284:12: warning: 'zzstrlen' defined but not used [-Wunused-function] 284 | static int zzstrlen(char *s) { | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o thscreen.lo `test -f '../render/thscreen.c' || echo './'`../render/thscreen.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../render/thscreen.c -fPIC -DPIC -o .libs/thscreen.o ../render/thscreen.c: In function 'screen_edscreens': ../render/thscreen.c:81:10: warning: unused variable 'yo' [-Wunused-variable] 81 | int xo, yo; /* Threshold screen offset */ | ^~ ../render/thscreen.c:81:6: warning: unused variable 'xo' [-Wunused-variable] 81 | int xo, yo; /* Threshold screen offset */ | ^~ ../render/thscreen.c: In function 'new_thscreens': ../render/thscreen.c:369:7: warning: unused variable 'npix' [-Wunused-variable] 369 | int npix; | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rspl.lo `test -f '../rspl/rspl.c' || echo './'`../rspl/rspl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../rspl/rspl.c -fPIC -DPIC -o .libs/rspl.o ../rspl/rspl.c:67:12: warning: 'interp_rspl_nl' declared 'static' but never defined [-Wunused-function] 67 | static int interp_rspl_nl(rspl *s, co *p); | ^~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o scat.lo `test -f '../rspl/scat.c' || echo './'`../rspl/scat.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../rspl/scat.c -fPIC -DPIC -o .libs/scat.o ../rspl/scat.c: In function 'set_it_info': ../rspl/scat.c:337:12: warning: unused variable 'f' [-Wunused-variable] 337 | int i, e, f; | ^ ../rspl/scat.c: In function 'freeit_info': ../rspl/scat.c:393:9: warning: unused variable 'f' [-Wunused-variable] 393 | int i, f; | ^ ../rspl/scat.c:393:6: warning: unused variable 'i' [-Wunused-variable] 393 | int i, f; | ^ ../rspl/scat.c: In function 'fit_rspl_plane_imp': ../rspl/scat.c:647:9: warning: variable 'psm' set but not used [-Wunused-but-set-variable] 647 | mgtmp *psm = NULL, *sm = NULL; /* Smoothing map */ | ^~~ ../rspl/scat.c: In function 'free_mgtmp': ../rspl/scat.c:1615:9: warning: unused variable 'di' [-Wunused-variable] 1615 | int e, di = m->s->di, gno = m->g.no; | ^~ ../rspl/scat.c: In function 'setup_solve': ../rspl/scat.c:1942:12: warning: unused variable 'dw' [-Wunused-variable] 1942 | double dw, w0, w1, tt; | ^~ ../rspl/scat.c: In function 'mgtmp_interp': ../rspl/scat.c:2369:9: warning: unused variable 'n' [-Wunused-variable] 2369 | int e, n; | ^ ../rspl/scat.c: In function 'one_itter2': ../rspl/scat.c:2716:6: warning: variable 'gc' set but not used [-Wunused-but-set-variable] 2716 | int gc[MXRI]; | ^~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rev.lo `test -f '../rspl/rev.c' || echo './'`../rspl/rev.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../rspl/rev.c -fPIC -DPIC -o .libs/rev.o ../rspl/rev.c: In function 'rev_set_limit_rspl': ../rspl/rev.c:414:11: warning: variable 'b' set but not used [-Wunused-but-set-variable] 414 | schbase *b; | ^ ../rspl/rev.c: In function 'rev_interp_rspl': ../rspl/rev.c:534:10: warning: variable 'ax' set but not used [-Wunused-but-set-variable] 534 | double ax[MXRI]; | ^~ ../rspl/rev.c: In function 'rev_locus_segs_rspl': ../rspl/rev.c:832:10: warning: variable 'ax' set but not used [-Wunused-but-set-variable] 832 | double ax[MXRI]; | ^~ ../rspl/rev.c: In function 'nn_grpinit': ../rspl/rev.c:2029:10: warning: unused variable 'maxde' [-Wunused-variable] 2029 | double maxde = -1.0; | ^~~~~ ../rspl/rev.c: In function 'clipn_setsort': ../rspl/rev.c:3056:9: warning: unused variable 'fdi' [-Wunused-variable] 3056 | int f, fdi = s->fdi; | ^~~ ../rspl/rev.c:3056:6: warning: unused variable 'f' [-Wunused-variable] 3056 | int f, fdi = s->fdi; | ^ ../rspl/rev.c: In function 'lchw_nnearest_clip_solve': ../rspl/rev.c:3726:9: warning: unused variable 'tb' [-Wunused-variable] 3726 | double tb[MXRO]; /* RHS & Parameter solution */ | ^~ ../rspl/rev.c:3724:9: warning: unused variable 'ee' [-Wunused-variable] 3724 | int e, ee, sdi = x->sdi; | ^~ ../rspl/rev.c: In function 'lchw_edge_Dp_sq': ../rspl/rev.c:4164:26: warning: unused variable 'Ddc' [-Wunused-variable] 4164 | double ct, cv, Dcv, dc, Ddc, Dvv1sq, Dvv2sq, Ddcsq; /* Delta C squared */ | ^~~ ../rspl/rev.c: In function 'lchw_tri_Dp_sq': ../rspl/rev.c:4335:13: warning: unused variable 'Ddl' [-Wunused-variable] 4335 | double dl, Ddl[2], Ddlsq[2]; /* Delta L squared */ | ^~~ ../rspl/rev.c: In function 'lchw_tri_solve': ../rspl/rev.c:4482:24: warning: unused variable 'fit' [-Wunused-variable] 4482 | int ff1 = 0, ff2 = 0, fit = -1; | ^~~ ../rspl/rev.c:4482:15: warning: unused variable 'ff2' [-Wunused-variable] 4482 | int ff1 = 0, ff2 = 0, fit = -1; | ^~~ ../rspl/rev.c:4482:6: warning: unused variable 'ff1' [-Wunused-variable] 4482 | int ff1 = 0, ff2 = 0, fit = -1; | ^~~ ../rspl/rev.c: In function 'get_fxcell': ../rspl/rev.c:4640:6: warning: unused variable 'ff' [-Wunused-variable] 4640 | int ff, f, fdi = s->fdi; | ^~ ../rspl/rev.c: In function 'alloc_simplexes': ../rspl/rev.c:4816:8: warning: variable 'icomb' set but not used [-Wunused-but-set-variable] 4816 | int *icomb, *offs; | ^~~~~ ../rspl/rev.c:4876:8: warning: variable 'icomb' set but not used [-Wunused-but-set-variable] 4876 | int *icomb; | ^~~~~ ../rspl/rev.c: In function 'free_revcache': ../rspl/rev.c:5949:6: warning: unused variable 'i' [-Wunused-variable] 5949 | int i; | ^ ../rspl/rev.c: In function 'decrease_revcache': ../rspl/rev.c:6077:6: warning: unused variable 'hit' [-Wunused-variable] 6077 | int hit = 0; | ^~~ ../rspl/rev.c: In function 'free_rev': ../rspl/rev.c:6331:14: warning: unused variable 'rp' [-Wunused-variable] 6331 | int **rpp, *rp; | ^~ ../rspl/rev.c: In function 'check_trirec': ../rspl/rev.c:7160:6: warning: unused variable 'i' [-Wunused-variable] 7160 | int i; | ^ ../rspl/rev.c: In function 'shadow_group_group': ../rspl/rev.c:7482:6: warning: unused variable 'i' [-Wunused-variable] 7482 | int i; | ^ ../rspl/rev.c: In function 'shadow_group_vertex': ../rspl/rev.c:7526:6: warning: unused variable 'i' [-Wunused-variable] 7526 | int i; | ^ In file included from ../rspl/rev.c:104: ../rspl/rev.c: In function 'create_nnrev_list': ../rspl/rev.c:7643:29: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 7643 | HEAPSORT(int, dp + 3, dp[1]-3) | ~~~~~^~ ../h/sort.h:33:11: note: in definition of macro 'HEAPSORT' 33 | hs_l = NUMBER >> 1; \ | ^~~~~~ ../rspl/rev.c:7684:11: warning: unused variable 'em' [-Wunused-variable] 7684 | double em, ex; | ^~ ../rspl/rev.c:7584:15: warning: unused variable 'hashk' [-Wunused-variable] 7584 | unsigned int hashk; | ^~~~~ ../rspl/rev.c: In function 'free_assdir': ../rspl/rev.c:8288:9: warning: unused variable 'ee' [-Wunused-variable] 8288 | int e, ee, di = s->di; | ^~ ../rspl/rev.c:8288:6: warning: unused variable 'e' [-Wunused-variable] 8288 | int e, ee, di = s->di; | ^ ../rspl/rev.c: In function 'solve_se_2x2': ../rspl/rev.c:8318:6: warning: unused variable 'rv' [-Wunused-variable] 8318 | int rv; | ^~ ../rspl/rev.c: In function 'calc_ocent': ../rspl/rev.c:8610:10: warning: unused variable 'vv' [-Wunused-variable] 8610 | double vv[MXRO]; | ^~ ../rspl/rev.c:8526:9: warning: variable 'mid' set but not used [-Wunused-but-set-variable] 8526 | double mid[MXRO]; /* Middle of midix[] */ | ^~~ ../rspl/rev.c:8520:6: warning: unused variable 'i' [-Wunused-variable] 8520 | int i, j, aa, mm; | ^ ../rspl/rev.c: In function 'init_revaccell': ../rspl/rev.c:8932:7: warning: variable 'edge' set but not used [-Wunused-but-set-variable] 8932 | int edge = 0; /* This fwd cell contains a device edge */ | ^~~~ ../rspl/rev.c:9309:13: warning: unused variable 'vx' [-Wunused-variable] 9309 | vtxrec *vx; | ^~ ../rspl/rev.c:9308:21: warning: unused variable 'nrp' [-Wunused-variable] 9308 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:9615:13: warning: variable 'shdwd' set but not used [-Wunused-but-set-variable] 9615 | int shdwd; /* whether vertex is shadowed */ | ^~~~~ ../rspl/rev.c:9398:22: warning: unused variable 'nrp' [-Wunused-variable] 9398 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:9398:11: warning: unused variable 'crp' [-Wunused-variable] 9398 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:9744:11: warning: unused variable 'crp' [-Wunused-variable] 9744 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:9743:14: warning: unused variable 'nvx' [-Wunused-variable] 9743 | vtxrec *nvx; | ^~~ ../rspl/rev.c:9742:23: warning: unused variable 'aftercount' [-Wunused-variable] 9742 | int beforecount, aftercount; | ^~~~~~~~~~ ../rspl/rev.c:9742:10: warning: variable 'beforecount' set but not used [-Wunused-but-set-variable] 9742 | int beforecount, aftercount; | ^~~~~~~~~~~ ../rspl/rev.c:9294:8: warning: variable 'morevtxadded' set but not used [-Wunused-but-set-variable] 9294 | int morevtxadded = 0; | ^~~~~~~~~~~~ ../rspl/rev.c:9991:9: warning: unused variable 'aftercount' [-Wunused-variable] 9991 | int aftercount; /* vertex count after thinning */ | ^~~~~~~~~~ ../rspl/rev.c:9990:18: warning: unused variable 'nvx' [-Wunused-variable] 9990 | vtxrec *vx, *nvx; | ^~~ ../rspl/rev.c:9989:10: warning: unused variable 'crp' [-Wunused-variable] 9989 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:9971:12: warning: unused variable 'vx' [-Wunused-variable] 9971 | vtxrec *vx; | ^~ ../rspl/rev.c:9969:8: warning: unused variable 'sdi' [-Wunused-variable] 9969 | int sdi = 2; /* sub-simplexes are triangles */ | ^~~ ../rspl/rev.c:10622:8: warning: unused variable 'ttouch' [-Wunused-variable] 10622 | int ttouch; | ^~~~~~ ../rspl/rev.c:10621:20: warning: unused variable 'nrp' [-Wunused-variable] 10621 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:10621:15: warning: unused variable 'rp' [-Wunused-variable] 10621 | int *crp, *rp, *nrp; | ^~ ../rspl/rev.c:10621:9: warning: unused variable 'crp' [-Wunused-variable] 10621 | int *crp, *rp, *nrp; | ^~~ ../rspl/rev.c:10620:8: warning: unused variable 'sdi' [-Wunused-variable] 10620 | int sdi = 1; /* sub-simplexes are edges */ | ^~~ ../rspl/rev.c:10711:17: warning: unused variable 'nvx' [-Wunused-variable] 10711 | vtxrec *vx, *nvx; | ^~~ ../rspl/rev.c:10708:8: warning: unused variable 'sdi' [-Wunused-variable] 10708 | int sdi = 1; /* sub-simplexes are edges */ | ^~~ ../rspl/rev.c: In function 'invalidate_revaccell': ../rspl/rev.c:11214:14: warning: unused variable 'rp' [-Wunused-variable] 11214 | int **rpp, *rp; | ^~ ../rspl/rev.c:11213:6: warning: unused variable 'e' [-Wunused-variable] 11213 | int e, di = s->di; | ^ ../rspl/rev.c: In function 'make_rev_one': ../rspl/rev.c:11550:6: warning: variable 'rgres_1' set but not used [-Wunused-but-set-variable] 11550 | int rgres_1; /* rgres -1 == maximum base coord value */ | ^~~~~~~ ../rspl/rev.c:11548:12: warning: unused variable 'gno' [-Wunused-variable] 11548 | int rgno, gno = s->g.no; | ^~~ ../rspl/rev.c:11546:6: warning: unused variable 'di' [-Wunused-variable] 11546 | int di = s->di; | ^~ ../rspl/rev.c:11545:16: warning: unused variable 'ff' [-Wunused-variable] 11545 | int e, f, ee, ff; | ^~ ../rspl/rev.c:11545:12: warning: unused variable 'ee' [-Wunused-variable] 11545 | int e, f, ee, ff; | ^~ ../rspl/rev.c:11545:6: warning: unused variable 'e' [-Wunused-variable] 11545 | int e, f, ee, ff; | ^ ../rspl/rev.c: At top level: ../rspl/rev.c:221:14: warning: 'pcellorange' declared 'static' but never defined [-Wunused-function] 221 | static char *pcellorange(fxcell *c); | ^~~~~~~~~~~ ../rspl/rev.c:4291:15: warning: 'lchw_tri_sq' defined but not used [-Wunused-function] 4291 | static double lchw_tri_sq(rspl *s, double *vt, double v[MXRI+1][MXRO+1], double *p) { | ^~~~~~~~~~~ ../rspl/rev.c:2124:12: warning: 'nn_insphere' defined but not used [-Wunused-function] 2124 | static int nn_insphere(rspl *s, double *dist, nn_grp *p, double *src) { | ^~~~~~~~~~~ ../rspl/rev.c:1860:9: warning: 'lchw_sq_f' defined but not used [-Wunused-function] 1860 | LCHW_SQ(lchw_sq_f, float) | ^~~~~~~~~ ../rspl/rev.c:1798:15: note: in definition of macro 'LCHW_SQ' 1798 | static double fname(rspl *s, double in1[MXDO], arg2type in2[MXDO]) { \ | ^~~~~ ../rspl/rev.c: In function 'nn_grpinit.constprop': ../rspl/rev.c:1963:36: warning: 'spf' may be used uninitialized in this function [-Wmaybe-uninitialized] 1963 | p->bcent[f] = (max[spf][f] + min[spf][f])/2.0; | ~~~^~~~~ ../rspl/rev.c: In function 'shadow_group_vertex.isra': ../rspl/rev.c:7547:9: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] 7547 | vlen = sqrt(vlen); | ^~~~~~~~~~ ../rspl/rev.c: In function 'clipn_compute': ../rspl/rev.c:3159:11: warning: 'dist' may be used uninitialized in this function [-Wmaybe-uninitialized] 3159 | b->cdist = err; | ~~~~~~~~~^~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gam.lo `test -f '../rspl/gam.c' || echo './'`../rspl/gam.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../rspl/gam.c -fPIC -DPIC -o .libs/gam.o ../rspl/gam.c: In function 'get_edge': ../rspl/gam.c:439:18: warning: variable 'v2' set but not used [-Wunused-but-set-variable] 439 | double v1[3], v2[3]; | ^~ ../rspl/gam.c:439:11: warning: variable 'v1' set but not used [-Wunused-but-set-variable] 439 | double v1[3], v2[3]; | ^~ ../rspl/gam.c:420:11: warning: unused variable 'lg' [-Wunused-variable] 420 | int sm, lg; | ^~ ../rspl/gam.c:420:7: warning: unused variable 'sm' [-Wunused-variable] 420 | int sm, lg; | ^~ ../rspl/gam.c: In function 'check_tri': ../rspl/gam.c:483:15: warning: unused variable 'f' [-Wunused-variable] 483 | int i, j, k, f, fdi = s->fdi; | ^ ../rspl/gam.c:483:12: warning: unused variable 'k' [-Wunused-variable] 483 | int i, j, k, f, fdi = s->fdi; | ^ ../rspl/gam.c: In function 'make_tri': ../rspl/gam.c:532:15: warning: unused variable 'f' [-Wunused-variable] 532 | int i, j, k, f, fdi = s->fdi; | ^ ../rspl/gam.c: In function 'free_gam': ../rspl/gam.c:1168:6: warning: unused variable 'i' [-Wunused-variable] 1168 | int i; | ^ ../rspl/gam.c: In function 'rspl_gam_plot': ../rspl/gam.c:1230:14: warning: unused variable 'nvp' [-Wunused-variable] 1230 | rvert *vp, *nvp; | ^~~ ../rspl/gam.c:1229:9: warning: unused variable 'col' [-Wunused-variable] 1229 | double col[3] = { 0.7, 0.7, 0.7 }; | ^~~ ../rspl/gam.c:1228:6: warning: unused variable 'i' [-Wunused-variable] 1228 | int i; | ^ At top level: ../rspl/gam.c:482:14: warning: 'check_tri' defined but not used [-Wunused-function] 482 | static rtri *check_tri(rspl *s, redge *ep, rvert *_vv) { | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o spline.lo `test -f '../rspl/spline.c' || echo './'`../rspl/spline.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../rspl/spline.c -fPIC -DPIC -o .libs/spline.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o opt.lo `test -f '../rspl/opt.c' || echo './'`../rspl/opt.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../rspl/opt.c -fPIC -DPIC -o .libs/opt.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o scanrd.lo `test -f '../scanin/scanrd.c' || echo './'`../scanin/scanrd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../scanin/scanrd.c -fPIC -DPIC -o .libs/scanrd.o ../scanin/scanrd.c: In function 'calc_perspective': ../scanin/scanrd.c:1488:6: warning: unused variable 'nl' [-Wunused-variable] 1488 | int nl; /* Number of lines used */ | ^~ ../scanin/scanrd.c: In function 'improve_match': ../scanin/scanrd.c:3069:8: warning: unused variable 'j' [-Wunused-variable] 3069 | int i,j; | ^ ../scanin/scanrd.c: In function 'Anti_Init': ../scanin/scanrd.c:4034:13: warning: variable 'tablesize' set but not used [-Wunused-but-set-variable] 4034 | static int tablesize=0; | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o insttypes.lo `test -f '../spectro/insttypes.c' || echo './'`../spectro/insttypes.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/insttypes.c -fPIC -DPIC -o .libs/insttypes.o ../spectro/insttypes.c: In function 'inst_category': ../spectro/insttypes.c:43:2: warning: enumeration value 'devUnknown' not handled in switch [-Wswitch] 43 | switch (itype) { | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o instappsup.lo `test -f '../spectro/instappsup.c' || echo './'`../spectro/instappsup.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/instappsup.c -fPIC -DPIC -o .libs/instappsup.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o specbos.lo `test -f '../spectro/specbos.c' || echo './'`../spectro/specbos.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/specbos.c -fPIC -DPIC -o .libs/specbos.o ../spectro/specbos.c: In function 'specbos_readresp': ../spectro/specbos.c:204:8: warning: unused variable 'cp' [-Wunused-variable] 204 | char *cp, *tc = "\r\006\025"; /* Return, Ack or Nak */ | ^~ ../spectro/specbos.c:203:6: warning: unused variable 'rv' [-Wunused-variable] 203 | int rv, se; | ^~ ../spectro/specbos.c: In function 'specbos_init_coms': ../spectro/specbos.c:224:11: warning: unused variable 'itype' [-Wunused-variable] 224 | instType itype = pp->itype; | ^~~~~ ../spectro/specbos.c: In function 'specbos_read_sample': ../spectro/specbos.c:1124:13: warning: unused variable 'xsize' [-Wunused-variable] 1124 | int ii,i, xsize; | ^~~~~ ../spectro/specbos.c:1220:11: warning: unused variable 'vv' [-Wunused-variable] 1220 | double vv; | ^~ ../spectro/specbos.c:1234:18: warning: unused variable 'k' [-Wunused-variable] 1234 | int i, ii, j, k; | ^ ../spectro/specbos.c: In function 'specbos_read_refrate': ../spectro/specbos.c:1438:7: warning: unused variable 'buf' [-Wunused-variable] 1438 | char buf[MAX_MES_SIZE]; | ^~~ ../spectro/specbos.c: In function 'specbos_imp_measure_set_refresh': ../spectro/specbos.c:1475:9: warning: unused variable 'pval' [-Wunused-variable] 1475 | double pval; | ^~~~ ../spectro/specbos.c:1474:6: warning: unused variable 'mul' [-Wunused-variable] 1474 | int mul; | ^~~ ../spectro/specbos.c: In function 'specbos_calibrate': ../spectro/specbos.c:1608:7: warning: unused variable 'i' [-Wunused-variable] 1608 | int i; | ^ ../spectro/specbos.c: In function 'specbos_get_disptypesel': ../spectro/specbos.c:2209:12: warning: unused variable 'rv' [-Wunused-variable] 2209 | inst_code rv = inst_ok; | ^~ At top level: ../spectro/specbos.c:197:1: warning: 'specbos_readresp' defined but not used [-Wunused-function] 197 | specbos_readresp( | ^~~~~~~~~~~~~~~~ ../spectro/specbos.c: In function 'specbos_meas_config': ../spectro/specbos.c:2089:7: warning: 'mval' may be used uninitialized in this function [-Wmaybe-uninitialized] 2089 | mval |= inst_mode_emis_refresh_ovd | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2090 | | inst_mode_emis_norefresh_ovd | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2091 | | inst_mode_colorimeter | ~~~~~~~~~~~~~~~~~~~~~~~~ 2092 | | inst_mode_spectral; | ~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xdg_bds.lo `test -f '../spectro/xdg_bds.c' || echo './'`../spectro/xdg_bds.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/xdg_bds.c -fPIC -DPIC -o .libs/xdg_bds.o ../spectro/xdg_bds.c:163:14: warning: 'append' defined but not used [-Wunused-function] 163 | static char *append(char *in, char *app) { | ^~~~~~ ../spectro/xdg_bds.c:147:13: warning: 'mputenv' defined but not used [-Wunused-function] 147 | static void mputenv(char *ss) { | ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o i1d3.lo `test -f '../spectro/i1d3.c' || echo './'`../spectro/i1d3.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/i1d3.c -fPIC -DPIC -o .libs/i1d3.o ../spectro/i1d3.c: In function 'i1d3_imp_measure_refresh': ../spectro/i1d3.c:975:10: warning: unused variable 'bins' [-Wunused-variable] 975 | double *bins[3]; /* PBPMS sample bins */ | ^~~~ ../spectro/i1d3.c:974:6: warning: unused variable 'nbins' [-Wunused-variable] 974 | int nbins; | ^~~~~ ../spectro/i1d3.c:963:33: warning: unused variable 'eutime' [-Wunused-variable] 963 | double sutime, putime, cutime, eutime; | ^~~~~~ ../spectro/i1d3.c: In function 'i1d3_measure_set_refresh': ../spectro/i1d3.c:1491:6: warning: unused variable 'mul' [-Wunused-variable] 1491 | int mul; | ^~~ ../spectro/i1d3.c: In function 'i1d3_take_emis_measurement': ../spectro/i1d3.c:1881:10: warning: unused variable 'n' [-Wunused-variable] 1881 | int n; | ^ ../spectro/i1d3.c:1918:14: warning: unused variable 'tt' [-Wunused-variable] 1918 | double tt; | ^~ ../spectro/i1d3.c:1562:9: warning: unused variable 'k' [-Wunused-variable] 1562 | int i, k; | ^ ../spectro/i1d3.c: In function 'i1d3_init_inst': ../spectro/i1d3.c:2558:6: warning: unused variable 'i' [-Wunused-variable] 2558 | int i, stat; | ^ ../spectro/i1d3.c: In function 'i1d3_meas_delay': ../spectro/i1d3.c:3051:6: warning: unused variable 'mtachdel' [-Wunused-variable] 3051 | int mtachdel; | ^~~~~~~~ ../spectro/i1d3.c:3049:12: warning: unused variable 'k' [-Wunused-variable] 3049 | int i, j, k; | ^ ../spectro/i1d3.c:3049:9: warning: unused variable 'j' [-Wunused-variable] 3049 | int i, j, k; | ^ ../spectro/i1d3.c: In function 'i1d3_set_mode': ../spectro/i1d3.c:3595:6: warning: unused variable 'refrmode' [-Wunused-variable] 3595 | int refrmode; | ^~~~~~~~ ../spectro/i1d3.c: In function 'set_disp_type': ../spectro/i1d3.c:3681:6: warning: unused variable 'refrmode' [-Wunused-variable] 3681 | int refrmode; | ^~~~~~~~ ../spectro/i1d3.c: In function 'i1d3_get_set_opt': ../spectro/i1d3.c:3869:14: warning: unused variable 'ev' [-Wunused-variable] 3869 | inst_code ev = inst_ok; | ^~ ../spectro/i1d3.c:3827:12: warning: unused variable 'ev' [-Wunused-variable] 3827 | inst_code ev; | ^~ ../spectro/i1d3.c: At top level: ../spectro/i1d3.c:80:18: warning: 'i1d3_check_unlock' declared 'static' but never defined [-Wunused-function] 80 | static inst_code i1d3_check_unlock(i1d3 *p); | ^~~~~~~~~~~~~~~~~ ../spectro/i1d3.c:411:1: warning: 'i1d3_get_info' defined but not used [-Wunused-function] 411 | i1d3_get_info( | ^~~~~~~~~~~~~ ../spectro/i1d3.c:390:12: warning: 'buf2int' defined but not used [-Wunused-function] 390 | static int buf2int(unsigned char *buf) { | ^~~~~~~ In file included from /usr/include/string.h:508, from ../spectro/i1d3.c:44: In function 'strncpy', inlined from 'i1d3_get_prodname' at ../spectro/i1d3.c:476:2, inlined from 'i1d3_init_inst.part.0' at ../spectro/i1d3.c:2576:12: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 61 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'i1d3_get_firmver' at ../spectro/i1d3.c:522:2, inlined from 'i1d3_init_inst.part.0' at ../spectro/i1d3.c:2584:12: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 61 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'i1d3_get_firmdate' at ../spectro/i1d3.c:545:2, inlined from 'i1d3_init_inst.part.0' at ../spectro/i1d3.c:2586:12: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 61 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o inst.lo `test -f '../spectro/inst.c' || echo './'`../spectro/inst.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/inst.c -fPIC -DPIC -o .libs/inst.o ../spectro/inst.c: In function 'new_inst': ../spectro/inst.c:631:53: warning: implicit declaration of function 'inst_category' [-Wimplicit-function-declaration] 631 | icom->dctype = (icom->dctype & ~icomt_cat_mask) | inst_category(itype); | ^~~~~~~~~~~~~ ../spectro/inst.c: In function 'fast_ser_inst_type': ../spectro/inst.c:1465:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1465 | if (len >= 5 && strncmp(buf, ":26", 3) == 0 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ../spectro/inst.c:139:18: warning: 'check_mode' defined but not used [-Wunused-function] 139 | static inst_code check_mode( | ^~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dtp20.lo `test -f '../spectro/dtp20.c' || echo './'`../spectro/dtp20.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dtp20.c -fPIC -DPIC -o .libs/dtp20.o ../spectro/dtp20.c: In function 'dtp20_read_strip': ../spectro/dtp20.c:619:13: warning: unused variable 'se' [-Wunused-variable] 619 | int i, cs, se; | ^~ ../spectro/dtp20.c: In function 'dtp20_read_sample': ../spectro/dtp20.c:861:6: warning: unused variable 'se' [-Wunused-variable] 861 | int se; | ^~ ../spectro/dtp20.c: In function 'dtp20_calibrate': ../spectro/dtp20.c:1163:7: warning: unused variable 'i' [-Wunused-variable] 1163 | int i; | ^ ../spectro/dtp20.c: At top level: ../spectro/dtp20.c:78:18: warning: 'activate_mode' declared 'static' but never defined [-Wunused-function] 78 | static inst_code activate_mode(dtp20 *p); | ^~~~~~~~~~~~~ ../spectro/dtp20.c: In function 'dtp20_read_chart.part.0': ../spectro/dtp20.c:519:21: warning: '01TS ' directive writing 5 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 519 | sprintf(cmd, "%03d01TS\r",six); | ^~~~~~ In file included from /usr/include/stdio.h:867, from ../spectro/dtp20.c:57: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 16 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dtp22.lo `test -f '../spectro/dtp22.c' || echo './'`../spectro/dtp22.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dtp22.c -fPIC -DPIC -o .libs/dtp22.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dtp41.lo `test -f '../spectro/dtp41.c' || echo './'`../spectro/dtp41.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dtp41.c -fPIC -DPIC -o .libs/dtp41.o ../spectro/dtp41.c: In function 'dtp41_read_strip': ../spectro/dtp41.c:497:9: warning: unused variable 'se' [-Wunused-variable] 497 | int i, se; | ^~ ../spectro/dtp41.c: In function 'dtp41_read_sample': ../spectro/dtp41.c:679:9: warning: unused variable 'se' [-Wunused-variable] 679 | int i, se; | ^~ ../spectro/dtp41.c: In function 'dtp41_calibrate': ../spectro/dtp41.c:953:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 953 | if ((*calc & inst_calc_cond_mask) != inst_calc_uop_trans_white) | ^~ ../spectro/dtp41.c:956:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 956 | return inst_cal_setup; | ^~~~~~ ../spectro/dtp41.c: In function 'dtp41_check_mode': ../spectro/dtp41.c:1211:9: warning: unused variable 'p' [-Wunused-variable] 1211 | dtp41 *p = (dtp41 *)pp; | ^ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dtp51.lo `test -f '../spectro/dtp51.c' || echo './'`../spectro/dtp51.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dtp51.c -fPIC -DPIC -o .libs/dtp51.o ../spectro/dtp51.c: In function 'dtp51_get_set_opt': ../spectro/dtp51.c:863:14: warning: unused variable 'buf' [-Wunused-variable] 863 | static char buf[MAX_MES_SIZE]; | ^~~ At top level: ../spectro/dtp51.c:863:14: warning: 'buf' defined but not used [-Wunused-variable] /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dtp92.lo `test -f '../spectro/dtp92.c' || echo './'`../spectro/dtp92.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dtp92.c -fPIC -DPIC -o .libs/dtp92.o ../spectro/dtp92.c: In function 'dtp92_read_refrate': ../spectro/dtp92.c:675:7: warning: unused variable 'buf2' [-Wunused-variable] 675 | char buf2[MAX_RD_SIZE]; | ^~~~ ../spectro/dtp92.c: In function 'dtp92_get_refr_rate': ../spectro/dtp92.c:880:7: warning: unused variable 'buf2' [-Wunused-variable] 880 | char buf2[MAX_RD_SIZE]; | ^~~~ ../spectro/dtp92.c: In function 'dtp92_get_set_opt': ../spectro/dtp92.c:1375:12: warning: unused variable 'ev' [-Wunused-variable] 1375 | inst_code ev = inst_ok; | ^~ ../spectro/dtp92.c:1374:7: warning: unused variable 'buf' [-Wunused-variable] 1374 | char buf[MAX_MES_SIZE]; | ^~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o i1disp.lo `test -f '../spectro/i1disp.c' || echo './'`../spectro/i1disp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/i1disp.c -fPIC -DPIC -o .libs/i1disp.o ../spectro/i1disp.c: In function 'i1disp_command_1': ../spectro/i1disp.c:163:16: warning: variable 'smsec' set but not used [-Wunused-but-set-variable] 163 | unsigned int smsec; | ^~~~~ ../spectro/i1disp.c: In function 'i1disp_do_fcal_setit': ../spectro/i1disp.c:1374:6: warning: unused variable 'i' [-Wunused-variable] 1374 | int i; | ^ ../spectro/i1disp.c: In function 'i1disp_read_all_regs': ../spectro/i1disp.c:1672:10: warning: unused variable 'v' [-Wunused-variable] 1672 | int i, v; | ^ ../spectro/i1disp.c:1672:7: warning: unused variable 'i' [-Wunused-variable] 1672 | int i, v; | ^ ../spectro/i1disp.c: In function 'i1disp_get_set_opt': ../spectro/i1disp.c:2612:12: warning: unused variable 'ev' [-Wunused-variable] 2612 | inst_code ev; | ^~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o i1pro.lo `test -f '../spectro/i1pro.c' || echo './'`../spectro/i1pro.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/i1pro.c -fPIC -DPIC -o .libs/i1pro.o ../spectro/i1pro.c: In function 'i1pro_init_coms': ../spectro/i1pro.c:88:6: warning: unused variable 'rsize' [-Wunused-variable] 88 | int rsize, se; | ^~~~~ ../spectro/i1pro.c: In function 'i1pro_check_mode': ../spectro/i1pro.c:705:11: warning: unused variable 'mmode' [-Wunused-variable] 705 | i1p_mode mmode = 0; /* Instrument measurement mode */ | ^~~~~ ../spectro/i1pro.c: In function 'i1pro_get_set_opt': ../spectro/i1pro.c:851:13: warning: unused variable 'rv' [-Wunused-variable] 851 | inst_code rv; | ^~ In file included from ../spectro/i1pro.c:72: ../spectro/i1pro.c: At top level: ../spectro/i1pro_imp.h:537:19: warning: 'i1pro_set_log_data' declared 'static' but never defined [-Wunused-function] 537 | static i1pro_code i1pro_set_log_data(i1pro *p); | ^~~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.h:1007:1: warning: 'i1pro_readmeasurement' declared 'static' but never defined [-Wunused-function] 1007 | i1pro_readmeasurement( | ^~~~~~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.h:1082:1: warning: 'i1pro2_delayed_trigger' declared 'static' but never defined [-Wunused-function] 1082 | i1pro2_delayed_trigger(void *pp); | ^~~~~~~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.h:1103:1: warning: 'i1pro2_stop_ruler' declared 'static' but never defined [-Wunused-function] 1103 | i1pro2_stop_ruler(void *pp, int parm); | ^~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.h:1108:1: warning: 'i1pro2_indLEDseq' declared 'static' but never defined [-Wunused-function] 1108 | i1pro2_indLEDseq(void *pp, unsigned char *buf, int size); | ^~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.h:1112:1: warning: 'i1pro2_indLEDoff' declared 'static' but never defined [-Wunused-function] 1112 | i1pro2_indLEDoff(void *pp); | ^~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o i1pro_imp.lo `test -f '../spectro/i1pro_imp.c' || echo './'`../spectro/i1pro_imp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/i1pro_imp.c -fPIC -DPIC -o .libs/i1pro_imp.o ../spectro/i1pro_imp.c: In function 'i1pro_imp_init': ../spectro/i1pro_imp.c:455:6: warning: unused variable 'len' [-Wunused-variable] 455 | int len = 8192; | ^~~ ../spectro/i1pro_imp.c: In function 'i1pro_imp_calibrate': ../spectro/i1pro_imp.c:1588:12: warning: unused variable 'abswav' [-Wunused-variable] 1588 | double *abswav; | ^~~~~~ ../spectro/i1pro_imp.c: In function 'i1pro_imp_meas_delay': ../spectro/i1pro_imp.c:2577:15: warning: unused variable 'mm' [-Wunused-variable] 2577 | int i, j, k, mm; | ^~ ../spectro/i1pro_imp.c:2576:15: warning: unused variable 's' [-Wunused-variable] 2576 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_imp_measure': ../spectro/i1pro_imp.c:2835:9: warning: unused variable 'cerr' [-Wunused-variable] 2835 | int cerr; | ^~~~ ../spectro/i1pro_imp.c: In function 'i1pro_imp_meas_refrate': ../spectro/i1pro_imp.c:3735:15: warning: unused variable 'mul' [-Wunused-variable] 3735 | int split, mul, niia; | ^~~ ../spectro/i1pro_imp.c:3229:9: warning: variable 'peakh' set but not used [-Wunused-but-set-variable] 3229 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ ../spectro/i1pro_imp.c: In function 'i1pro_dark_measure_2': ../spectro/i1pro_imp.c:4784:15: warning: unused variable 's' [-Wunused-variable] 4784 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_whitemeasure': ../spectro/i1pro_imp.c:4922:6: warning: unused variable 'rv' [-Wunused-variable] 4922 | int rv; | ^~ ../spectro/i1pro_imp.c: In function 'i1pro2_wl_measure': ../spectro/i1pro_imp.c:5138:15: warning: unused variable 's' [-Wunused-variable] 5138 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_read_patches_1': ../spectro/i1pro_imp.c:5295:6: warning: unused variable 'rv' [-Wunused-variable] 5295 | int rv = 0; | ^~ ../spectro/i1pro_imp.c:5293:15: warning: unused variable 's' [-Wunused-variable] 5293 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_read_patches': ../spectro/i1pro_imp.c:5591:6: warning: unused variable 'rv' [-Wunused-variable] 5591 | int rv = 0; | ^~ ../spectro/i1pro_imp.c:5587:15: warning: unused variable 's' [-Wunused-variable] 5587 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_read_patches_all': ../spectro/i1pro_imp.c:5638:6: warning: unused variable 'rv' [-Wunused-variable] 5638 | int rv = 0; | ^~ ../spectro/i1pro_imp.c:5635:15: warning: unused variable 's' [-Wunused-variable] 5635 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_raw_to_absraw': ../spectro/i1pro_imp.c:6219:9: warning: unused variable 'fval' [-Wunused-variable] 6219 | double fval; | ^~~~ ../spectro/i1pro_imp.c:6216:12: warning: unused variable 'k' [-Wunused-variable] 6216 | int i, j, k; | ^ ../spectro/i1pro_imp.c:6216:9: warning: unused variable 'j' [-Wunused-variable] 6216 | int i, j, k; | ^ ../spectro/i1pro_imp.c:6216:6: warning: unused variable 'i' [-Wunused-variable] 6216 | int i, j, k; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_absraw_to_meas': ../spectro/i1pro_imp.c:6263:9: warning: unused variable 'avlastv' [-Wunused-variable] 6263 | double avlastv = 0.0; | ^~~~~~~ ../spectro/i1pro_imp.c:6262:12: warning: unused variable 'k' [-Wunused-variable] 6262 | int i, j, k; | ^ ../spectro/i1pro_imp.c:6262:6: warning: unused variable 'i' [-Wunused-variable] 6262 | int i, j, k; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_extract_patches_flash': ../spectro/i1pro_imp.c:7320:7: warning: variable 'sample' set but not used [-Wunused-but-set-variable] 7320 | int sample = 0; | ^~~~~~ ../spectro/i1pro_imp.c:7160:15: warning: unused variable 'pix' [-Wunused-variable] 7160 | int i, j, k, pix; | ^~~ ../spectro/i1pro_imp.c: In function 'i1pro2_match_wl_meas': ../spectro/i1pro_imp.c:7962:30: warning: unused variable 'refnm' [-Wunused-variable] 7962 | double raw, wlnm, wlraw1, refnm; | ^~~~~ ../spectro/i1pro_imp.c:7813:6: warning: variable 'roff' set but not used [-Wunused-but-set-variable] 7813 | int roff, moff; /* Base index */ | ^~~~ ../spectro/i1pro_imp.c: In function 'i1pro_create_hr': ../spectro/i1pro_imp.c:8822:7: warning: unused variable 'ncp' [-Wunused-variable] 8822 | int ncp = 0; /* Number of shape points */ | ^~~ ../spectro/i1pro_imp.c:8821:12: warning: unused variable 'fshape' [-Wunused-variable] 8821 | i1pro_fs fshape[100 * 16]; /* Existing filter shape */ | ^~~~~~ ../spectro/i1pro_imp.c:9740:18: warning: variable 'rwl' set but not used [-Wunused-but-set-variable] 9740 | double cwl, rwl; /* center, relative wavelegth */ | ^~~ ../spectro/i1pro_imp.c: In function 'i1pro_set_highres': ../spectro/i1pro_imp.c:10098:6: warning: unused variable 'i' [-Wunused-variable] 10098 | int i; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_set_stdres': ../spectro/i1pro_imp.c:10117:6: warning: unused variable 'i' [-Wunused-variable] 10117 | int i; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_set_scan_toll': ../spectro/i1pro_imp.c:10135:13: warning: unused variable 'ev' [-Wunused-variable] 10135 | i1pro_code ev = I1PRO_OK; | ^~ ../spectro/i1pro_imp.c: In function 'i1pro_check_white_reference1': ../spectro/i1pro_imp.c:10276:13: warning: unused variable 'ev' [-Wunused-variable] 10276 | i1pro_code ev = I1PRO_OK; | ^~ ../spectro/i1pro_imp.c: In function 'i1pro_compute_white_cal': ../spectro/i1pro_imp.c:10355:15: warning: unused variable 's' [-Wunused-variable] 10355 | i1pro_state *s = &m->ms[m->mmode]; | ^ ../spectro/i1pro_imp.c: In function 'i1pro_optimise_sensor': ../spectro/i1pro_imp.c:10696:13: warning: unused variable 'ev' [-Wunused-variable] 10696 | i1pro_code ev = I1PRO_OK; | ^~ ../spectro/i1pro_imp.c: In function 'i1pro_writeEEProm': ../spectro/i1pro_imp.c:11039:6: warning: unused variable 'i' [-Wunused-variable] 11039 | int i; | ^ ../spectro/i1pro_imp.c:11037:6: warning: unused variable 'len' [-Wunused-variable] 11037 | int len = 8; /* Message length */ | ^~~ ../spectro/i1pro_imp.c:11036:16: warning: unused variable 'pbuf' [-Wunused-variable] 11036 | unsigned char pbuf[8]; /* Write EEprom parameters */ | ^~~~ ../spectro/i1pro_imp.c:11035:6: warning: unused variable 'rwbytes' [-Wunused-variable] 11035 | int rwbytes; /* Data bytes read or written */ | ^~~~~~~ ../spectro/i1pro_imp.c: In function 'i1pro_delayed_trigger': ../spectro/i1pro_imp.c:11281:10: warning: unused variable 'rv' [-Wunused-variable] 11281 | int se, rv = I1PRO_OK; | ^~ ../spectro/i1pro_imp.c: In function 'i1pro2_delayed_trigger': ../spectro/i1pro_imp.c:11883:10: warning: unused variable 'rv' [-Wunused-variable] 11883 | int se, rv = I1PRO_OK; | ^~ ../spectro/i1pro_imp.c: In function 'i1pro2_stop_ruler': ../spectro/i1pro_imp.c:12001:12: warning: unused variable 'm' [-Wunused-variable] 12001 | i1proimp *m = (i1proimp *)p->m; | ^ ../spectro/i1pro_imp.c: In function 'i1pro2_indLEDseq': ../spectro/i1pro_imp.c:12054:12: warning: unused variable 'm' [-Wunused-variable] 12054 | i1proimp *m = (i1proimp *)p->m; | ^ ../spectro/i1pro_imp.c: In function 'i1data_ser_ints': ../spectro/i1pro_imp.c:12604:9: warning: unused variable 'p' [-Wunused-variable] 12604 | i1pro *p = d->p; | ^ ../spectro/i1pro_imp.c: In function 'i1data_ser_doubles': ../spectro/i1pro_imp.c:12632:9: warning: unused variable 'p' [-Wunused-variable] 12632 | i1pro *p = d->p; | ^ ../spectro/i1pro_imp.c: In function 'i1data_det_type': ../spectro/i1pro_imp.c:12954:3: warning: case value '11000' not in enumerated type 'i1key' [-Wswitch] 12954 | case key_checksum + 1000: | ^~~~ ../spectro/i1pro_imp.c:12957:3: warning: case value '11001' not in enumerated type 'i1key' [-Wswitch] 12957 | case key_rpinttime + 1000: | ^~~~ ../spectro/i1pro_imp.c:12960:3: warning: case value '11002' not in enumerated type 'i1key' [-Wswitch] 12960 | case key_rpcount + 1000: | ^~~~ ../spectro/i1pro_imp.c:12963:3: warning: case value '11003' not in enumerated type 'i1key' [-Wswitch] 12963 | case key_acount + 1000: | ^~~~ ../spectro/i1pro_imp.c:12966:3: warning: case value '11004' not in enumerated type 'i1key' [-Wswitch] 12966 | case key_lampage + 1000: | ^~~~ ../spectro/i1pro_imp.c:12933:3: warning: case value '11005' not in enumerated type 'i1key' [-Wswitch] 12933 | case key_meascount + 1000: | ^~~~ ../spectro/i1pro_imp.c:12936:3: warning: case value '11010' not in enumerated type 'i1key' [-Wswitch] 12936 | case key_darkreading + 1000: | ^~~~ ../spectro/i1pro_imp.c:12939:3: warning: case value '11011' not in enumerated type 'i1key' [-Wswitch] 12939 | case key_whitereading + 1000: | ^~~~ ../spectro/i1pro_imp.c:12942:3: warning: case value '11012' not in enumerated type 'i1key' [-Wswitch] 12942 | case key_gainmode + 1000: | ^~~~ ../spectro/i1pro_imp.c:12945:3: warning: case value '11013' not in enumerated type 'i1key' [-Wswitch] 12945 | case key_inttime + 1000: | ^~~~ ../spectro/i1pro_imp.c:12948:3: warning: case value '11020' not in enumerated type 'i1key' [-Wswitch] 12948 | case key_caldate + 1000: | ^~~~ ../spectro/i1pro_imp.c:12951:3: warning: case value '11021' not in enumerated type 'i1key' [-Wswitch] 12951 | case key_calcount + 1000: | ^~~~ ../spectro/i1pro_imp.c:13031:3: warning: case value '12000' not in enumerated type 'i1key' [-Wswitch] 13031 | case 0x2ee0: | ^~~~ ../spectro/i1pro_imp.c:13037:3: warning: case value '12003' not in enumerated type 'i1key' [-Wswitch] 13037 | case 0x2ee3: | ^~~~ ../spectro/i1pro_imp.c:13039:3: warning: case value '12004' not in enumerated type 'i1key' [-Wswitch] 13039 | case 0x2ee4: | ^~~~ ../spectro/i1pro_imp.c:13042:3: warning: case value '12010' not in enumerated type 'i1key' [-Wswitch] 13042 | case 0x2eea: | ^~~~ ../spectro/i1pro_imp.c:13049:3: warning: case value '12020' not in enumerated type 'i1key' [-Wswitch] 13049 | case 0x2ef4: | ^~~~ ../spectro/i1pro_imp.c:13051:3: warning: case value '12021' not in enumerated type 'i1key' [-Wswitch] 13051 | case 0x2ef5: | ^~~~ ../spectro/i1pro_imp.c:13053:3: warning: case value '12022' not in enumerated type 'i1key' [-Wswitch] 13053 | case 0x2ef6: | ^~~~ ../spectro/i1pro_imp.c:13061:3: warning: case value '12031' not in enumerated type 'i1key' [-Wswitch] 13061 | case 0x2eff: | ^~~~ ../spectro/i1pro_imp.c:13064:3: warning: case value '12040' not in enumerated type 'i1key' [-Wswitch] 13064 | case 0x2f08: | ^~~~ ../spectro/i1pro_imp.c:13066:3: warning: case value '12041' not in enumerated type 'i1key' [-Wswitch] 13066 | case 0x2f09: | ^~~~ ../spectro/i1pro_imp.c:13068:3: warning: case value '12050' not in enumerated type 'i1key' [-Wswitch] 13068 | case 0x2f12: | ^~~~ ../spectro/i1pro_imp.c:13070:3: warning: case value '12051' not in enumerated type 'i1key' [-Wswitch] 13070 | case 0x2f13: | ^~~~ ../spectro/i1pro_imp.c:13072:3: warning: case value '12052' not in enumerated type 'i1key' [-Wswitch] 13072 | case 0x2f14: | ^~~~ ../spectro/i1pro_imp.c:13074:3: warning: case value '12053' not in enumerated type 'i1key' [-Wswitch] 13074 | case 0x2f15: | ^~~~ ../spectro/i1pro_imp.c:13087:3: warning: case value '12112' not in enumerated type 'i1key' [-Wswitch] 13087 | case 0x2f50: | ^~~~ ../spectro/i1pro_imp.c:13097:3: warning: case value '12140' not in enumerated type 'i1key' [-Wswitch] 13097 | case 0x2f6c: | ^~~~ ../spectro/i1pro_imp.c:13099:3: warning: case value '12141' not in enumerated type 'i1key' [-Wswitch] 13099 | case 0x2f6d: | ^~~~ ../spectro/i1pro_imp.c:13101:3: warning: case value '12142' not in enumerated type 'i1key' [-Wswitch] 13101 | case 0x2f6e: | ^~~~ ../spectro/i1pro_imp.c:13103:3: warning: case value '12150' not in enumerated type 'i1key' [-Wswitch] 13103 | case 0x2f76: | ^~~~ ../spectro/i1pro_imp.c:13105:3: warning: case value '12151' not in enumerated type 'i1key' [-Wswitch] 13105 | case 0x2f77: | ^~~~ ../spectro/i1pro_imp.c:13108:3: warning: case value '13000' not in enumerated type 'i1key' [-Wswitch] 13108 | case 0x32c8: | ^~~~ ../spectro/i1pro_imp.c:13110:3: warning: case value '13001' not in enumerated type 'i1key' [-Wswitch] 13110 | case 0x32c9: | ^~~~ ../spectro/i1pro_imp.c:13112:3: warning: case value '13002' not in enumerated type 'i1key' [-Wswitch] 13112 | case 0x32ca: | ^~~~ ../spectro/i1pro_imp.c:13115:3: warning: case value '14000' not in enumerated type 'i1key' [-Wswitch] 13115 | case 0x36b0: | ^~~~ ../spectro/i1pro_imp.c:13117:3: warning: case value '14001' not in enumerated type 'i1key' [-Wswitch] 13117 | case 0x36b1: | ^~~~ ../spectro/i1pro_imp.c:13119:3: warning: case value '14002' not in enumerated type 'i1key' [-Wswitch] 13119 | case 0x36b2: | ^~~~ ../spectro/i1pro_imp.c:13122:3: warning: case value '15001' not in enumerated type 'i1key' [-Wswitch] 13122 | case 0x3a99: | ^~~~ ../spectro/i1pro_imp.c:13124:3: warning: case value '15002' not in enumerated type 'i1key' [-Wswitch] 13124 | case 0x3a9a: | ^~~~ ../spectro/i1pro_imp.c:13126:3: warning: case value '15003' not in enumerated type 'i1key' [-Wswitch] 13126 | case 0x3a9b: | ^~~~ ../spectro/i1pro_imp.c:13128:3: warning: case value '15004' not in enumerated type 'i1key' [-Wswitch] 13128 | case 0x3a9c: | ^~~~ ../spectro/i1pro_imp.c:13130:3: warning: case value '15005' not in enumerated type 'i1key' [-Wswitch] 13130 | case 0x3a9d: | ^~~~ ../spectro/i1pro_imp.c:13133:3: warning: case value '16001' not in enumerated type 'i1key' [-Wswitch] 13133 | case 0x3e81: | ^~~~ ../spectro/i1pro_imp.c:13135:3: warning: case value '16002' not in enumerated type 'i1key' [-Wswitch] 13135 | case 0x3e82: | ^~~~ ../spectro/i1pro_imp.c:13137:3: warning: case value '16010' not in enumerated type 'i1key' [-Wswitch] 13137 | case 0x3e8a: | ^~~~ ../spectro/i1pro_imp.c:13140:3: warning: case value '16020' not in enumerated type 'i1key' [-Wswitch] 13140 | case 0x3e94: | ^~~~ ../spectro/i1pro_imp.c: In function 'i1data_checksum': ../spectro/i1pro_imp.c:13185:9: warning: unused variable 'n' [-Wunused-variable] 13185 | int i, n, j; | ^ At top level: ../spectro/i1pro_imp.c:12094:1: warning: 'i1pro2_indLEDoff' defined but not used [-Wunused-function] 12094 | i1pro2_indLEDoff(void *pp) { | ^~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.c:11999:1: warning: 'i1pro2_stop_ruler' defined but not used [-Wunused-function] 11999 | i1pro2_stop_ruler(void *pp, int parm) { | ^~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.c:8505:15: warning: 'lin_fshape' defined but not used [-Wunused-function] 8505 | static double lin_fshape(i1pro_fs *fsh, int n, double x) { | ^~~~~~~~~~ ../spectro/i1pro_imp.c:3968:19: warning: 'i1pro_set_log_data' defined but not used [-Wunused-function] 3968 | static i1pro_code i1pro_set_log_data(i1pro *p) { | ^~~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.c:310:15: warning: 'wav_lerp_cv' defined but not used [-Wunused-function] 310 | static double wav_lerp_cv(i1proimp *m, int hires, double *ary, double wl, double cv) { | ^~~~~~~~~~~ ../spectro/i1pro_imp.c: In function 'i1pro_create_hr': ../spectro/i1pro_imp.c:8961:23: warning: 'y4' may be used uninitialized in this function [-Wmaybe-uninitialized] 8961 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ ../spectro/i1pro_imp.c:8961:13: warning: 'y3' may be used uninitialized in this function [-Wmaybe-uninitialized] 8961 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ ../spectro/i1pro_imp.c:8961:13: warning: 'y2' may be used uninitialized in this function [-Wmaybe-uninitialized] ../spectro/i1pro_imp.c:8961:23: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized] 8961 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ ../spectro/i1pro_imp.c: In function 'i1pro_trigger_one_measure': ../spectro/i1pro_imp.c:5966:4: warning: 'measmodeflags2' may be used uninitialized in this function [-Wmaybe-uninitialized] 5966 | a1logd(p->log,2,"\ni1pro: SetMeasureParam2 %d, %d, %d, 0x%04x @ %d msec\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5967 | intclocks, lampclocks, nummeas, measmodeflags2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5968 | msec_time() - m->msec); | ~~~~~~~~~~~~~~~~~~~~~~ ../spectro/i1pro_imp.c: In function 'i1pro_imp_measure': ../spectro/i1pro_imp.c:3016:13: warning: 'bsize' may be used uninitialized in this function [-Wmaybe-uninitialized] 3016 | if ((ev = i1pro_dark_measure_1(p, nummeas, &s->inttime, s->gainmode, buf, bsize)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o munki.lo `test -f '../spectro/munki.c' || echo './'`../spectro/munki.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/munki.c -fPIC -DPIC -o .libs/munki.o ../spectro/munki.c: In function 'munki_check_mode': ../spectro/munki.c:724:10: warning: unused variable 'mmode' [-Wunused-variable] 724 | mk_mode mmode = 0; | ^~~~~ ../spectro/munki.c: In function 'munki_set_mode': ../spectro/munki.c:741:12: warning: unused variable 'cap' [-Wunused-variable] 741 | inst_mode cap = p->cap; | ^~~ ../spectro/munki.c: In function 'munki_get_set_opt': ../spectro/munki.c:966:13: warning: unused variable 'rv' [-Wunused-variable] 966 | inst_code rv; | ^~ In file included from ../spectro/munki.c:57: ../spectro/munki.c: At top level: ../spectro/munki_imp.h:638:1: warning: 'munki_trigger_one_measure' declared 'static' but never defined [-Wunused-function] 638 | munki_trigger_one_measure( | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/munki_imp.h:952:1: warning: 'munki_readmeasurement' declared 'static' but never defined [-Wunused-function] 952 | munki_readmeasurement( | ^~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o munki_imp.lo `test -f '../spectro/munki_imp.c' || echo './'`../spectro/munki_imp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/munki_imp.c -fPIC -DPIC -o .libs/munki_imp.o ../spectro/munki_imp.c: In function 'munki_imp_meas_delay': ../spectro/munki_imp.c:1791:6: warning: unused variable 'isdeb' [-Wunused-variable] 1791 | int isdeb; | ^~~~~ ../spectro/munki_imp.c:1785:9: warning: unused variable 'ucalf' [-Wunused-variable] 1785 | double ucalf = 1.0; /* usec_time calibration factor */ | ^~~~~ ../spectro/munki_imp.c:1781:15: warning: unused variable 'mm' [-Wunused-variable] 1781 | int i, j, k, mm; | ^~ ../spectro/munki_imp.c:1780:15: warning: unused variable 's' [-Wunused-variable] 1780 | munki_state *s = &m->ms[m->mmode]; | ^ ../spectro/munki_imp.c: In function 'munki_imp_measure': ../spectro/munki_imp.c:2048:9: warning: unused variable 'cerr' [-Wunused-variable] 2048 | int cerr; | ^~~~ ../spectro/munki_imp.c: In function 'munki_imp_meas_refrate': ../spectro/munki_imp.c:2967:15: warning: unused variable 'mul' [-Wunused-variable] 2967 | int split, mul, niia; | ^~~ ../spectro/munki_imp.c:2462:9: warning: variable 'peakh' set but not used [-Wunused-but-set-variable] 2462 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ ../spectro/munki_imp.c: In function 'munki_read_patches_2a': ../spectro/munki_imp.c:4551:9: warning: unused variable 'satthresh' [-Wunused-variable] 4551 | double satthresh; /* Saturation threshold */ | ^~~~~~~~~ ../spectro/munki_imp.c: In function 'munki_read_patches_all': ../spectro/munki_imp.c:4613:6: warning: unused variable 'rv' [-Wunused-variable] 4613 | int rv = 0; | ^~ ../spectro/munki_imp.c:4610:15: warning: unused variable 's' [-Wunused-variable] 4610 | munki_state *s = &m->ms[m->mmode]; | ^ ../spectro/munki_imp.c: In function 'munki_sub_raw_to_absraw': ../spectro/munki_imp.c:4932:9: warning: unused variable 'off' [-Wunused-variable] 4932 | double off[] = { 0.7, 0.0, 0.6, -0.9, -0.8, -0.5 }; | ^~~ ../spectro/munki_imp.c:4930:9: warning: unused variable 'pos' [-Wunused-variable] 4930 | int pos[] = { 0, 20, 56, 62, 75, 127 }; | ^~~ ../spectro/munki_imp.c:4925:9: warning: variable 'rawmax' set but not used [-Wunused-but-set-variable] 4925 | double rawmax, maxval = -1e38; | ^~~~~~ ../spectro/munki_imp.c: In function 'munki_extract_patches_flash': ../spectro/munki_imp.c:6069:7: warning: variable 'sample' set but not used [-Wunused-but-set-variable] 6069 | int sample = 0; | ^~~~~~ ../spectro/munki_imp.c: In function 'munki_create_hr': ../spectro/munki_imp.c:7325:12: warning: unused variable 'jj' [-Wunused-variable] 7325 | int ii, jj; | ^~ ../spectro/munki_imp.c:6434:6: warning: unused variable 'ncp' [-Wunused-variable] 6434 | int ncp = 0; /* Number of shape points */ | ^~~ ../spectro/munki_imp.c:6433:11: warning: unused variable 'fshape' [-Wunused-variable] 6433 | munki_fs fshape[40 * 16]; /* Existing filter shape */ | ^~~~~~ ../spectro/munki_imp.c: In function 'munki_set_scan_toll': ../spectro/munki_imp.c:7849:13: warning: unused variable 'ev' [-Wunused-variable] 7849 | munki_code ev = MUNKI_OK; | ^~ ../spectro/munki_imp.c: In function 'munki_compute_white_cal': ../spectro/munki_imp.c:7979:15: warning: unused variable 's' [-Wunused-variable] 7979 | munki_state *s = &m->ms[m->mmode]; | ^ ../spectro/munki_imp.c: In function 'munki_optimise_sensor': ../spectro/munki_imp.c:8066:13: warning: unused variable 'ev' [-Wunused-variable] 8066 | munki_code ev = MUNKI_OK; | ^~ At top level: ../spectro/munki_imp.c:6361:15: warning: 'lin_fshape' defined but not used [-Wunused-function] 6361 | static double lin_fshape(munki_fs *fsh, int n, double x) { | ^~~~~~~~~~ ../spectro/munki_imp.c:431:13: warning: 'short2buf' defined but not used [-Wunused-function] 431 | static void short2buf(unsigned char *buf, int inv) { | ^~~~~~~~~ ../spectro/munki_imp.c: In function 'munki_create_hr': ../spectro/munki_imp.c:6616:22: warning: 'y4' may be used uninitialized in this function [-Wmaybe-uninitialized] 6616 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ ../spectro/munki_imp.c:6616:12: warning: 'y3' may be used uninitialized in this function [-Wmaybe-uninitialized] 6616 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ ../spectro/munki_imp.c:6616:12: warning: 'y2' may be used uninitialized in this function [-Wmaybe-uninitialized] ../spectro/munki_imp.c:6616:22: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized] 6616 | yn = (y2 * y3 - y1 * y4)/den; | ~~~^~~~ ../spectro/munki_imp.c: In function 'munki_imp_measure': ../spectro/munki_imp.c:2267:13: warning: 'bsize' may be used uninitialized in this function [-Wmaybe-uninitialized] 2267 | if ((ev = munki_dark_measure_1(p, nummeas, &s->inttime, s->gainmode, buf, bsize)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ss.lo `test -f '../spectro/ss.c' || echo './'`../spectro/ss.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/ss.c -fPIC -DPIC -o .libs/ss.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ss_imp.lo `test -f '../spectro/ss_imp.c' || echo './'`../spectro/ss_imp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/ss_imp.c -fPIC -DPIC -o .libs/ss_imp.o ../spectro/ss_imp.c: In function 'ss_incorp_err': ../spectro/ss_imp.c:449:9: warning: comparison between 'ss_et' and 'enum ' [-Wenum-compare] 449 | if (se == ss_set_NoError) | ^~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o hcfr.lo `test -f '../spectro/hcfr.c' || echo './'`../spectro/hcfr.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/hcfr.c -fPIC -DPIC -o .libs/hcfr.o ../spectro/hcfr.c: In function 'hcfr_command': ../spectro/hcfr.c:89:7: warning: unused variable 'ec' [-Wunused-variable] 89 | int ec; | ^~ ../spectro/hcfr.c:86:6: warning: unused variable 'rv' [-Wunused-variable] 86 | int rv, se; | ^~ ../spectro/hcfr.c: In function 'hcfr_break': ../spectro/hcfr.c:103:6: warning: unused variable 'rwbytes' [-Wunused-variable] 103 | int rwbytes; /* Data bytes read or written */ | ^~~~~~~ ../spectro/hcfr.c: In function 'hcfr_flush': ../spectro/hcfr.c:124:12: warning: unused variable 'ev' [-Wunused-variable] 124 | inst_code ev = inst_ok; | ^~ ../spectro/hcfr.c: In function 'hcfr_init_coms': ../spectro/hcfr.c:365:10: warning: unused variable 'i' [-Wunused-variable] 365 | int bi, i, se; | ^ ../spectro/hcfr.c:365:6: warning: unused variable 'bi' [-Wunused-variable] 365 | int bi, i, se; | ^~ ../spectro/hcfr.c:364:7: warning: unused variable 'etime' [-Wunused-variable] 364 | long etime; | ^~~~~ ../spectro/hcfr.c:363:6: warning: unused variable 'rsize' [-Wunused-variable] 363 | int rsize; | ^~~~~ ../spectro/hcfr.c: In function 'hcfr_init_inst': ../spectro/hcfr.c:407:14: warning: unused variable 'buf' [-Wunused-variable] 407 | static char buf[MAX_MES_SIZE]; | ^~~ ../spectro/hcfr.c: In function 'hcfr_interp_code': ../spectro/hcfr.c:601:8: warning: unused variable 'p' [-Wunused-variable] 601 | hcfr *p = (hcfr *)pp; | ^ ../spectro/hcfr.c: In function 'hcfr_capabilities': ../spectro/hcfr.c:649:8: warning: unused variable 'p' [-Wunused-variable] 649 | hcfr *p = (hcfr *)pp; | ^ ../spectro/hcfr.c: In function 'hcfr_get_set_opt': ../spectro/hcfr.c:913:12: warning: unused variable 'ev' [-Wunused-variable] 913 | inst_code ev = inst_ok; | ^~ At top level: ../spectro/hcfr.c:407:14: warning: 'buf' defined but not used [-Wunused-variable] 407 | static char buf[MAX_MES_SIZE]; | ^~~ ../spectro/hcfr.c:119:1: warning: 'hcfr_flush' defined but not used [-Wunused-function] 119 | hcfr_flush( | ^~~~~~~~~~ In file included from /usr/include/string.h:508, from ../spectro/hcfr.c:45: In function 'strncpy', inlined from 'hcfr_get_rgb' at ../spectro/hcfr.c:233:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 493 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'hcfr_get_rgb' at ../spectro/hcfr.c:235:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 490 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'hcfr_get_rgb' at ../spectro/hcfr.c:241:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 487 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o spyd2.lo `test -f '../spectro/spyd2.c' || echo './'`../spectro/spyd2.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/spyd2.c -fPIC -DPIC -o .libs/spyd2.o ../spectro/spyd2.c: In function 'spyd2_GetRefRate': ../spectro/spyd2.c:1630:6: warning: unused variable 'i' [-Wunused-variable] 1630 | int i; | ^ ../spectro/spyd2.c: In function 'spyd4_load_cal': ../spectro/spyd2.c:2841:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2841 | for (j = 0; j < 41; j++) | ^~~ ../spectro/spyd2.c:2843:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2843 | spyd4_cals[0].spec_wl_short = 380; | ^~~~~~~~~~ At top level: ../spectro/spyd2.c:1431:21: warning: 'spyd4_crc32' defined but not used [-Wunused-function] 1431 | static unsigned int spyd4_crc32(unsigned char *data, int len) { | ^~~~~~~~~~~ ../spectro/spyd2.c:1267:1: warning: 'spyd2_ReadRegister' defined but not used [-Wunused-function] 1267 | spyd2_ReadRegister( | ^~~~~~~~~~~~~~~~~~ ../spectro/spyd2.c:1184:1: warning: 'spyd2_ReadTempConfig' defined but not used [-Wunused-function] 1184 | spyd2_ReadTempConfig( | ^~~~~~~~~~~~~~~~~~~~ ../spectro/spyd2.c:159:12: warning: 'buf2short' defined but not used [-Wunused-function] 159 | static int buf2short(unsigned char *buf) { | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o huey.lo `test -f '../spectro/huey.c' || echo './'`../spectro/huey.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/huey.c -fPIC -DPIC -o .libs/huey.o ../spectro/huey.c: In function 'huey_command': ../spectro/huey.c:172:6: warning: unused variable 'i' [-Wunused-variable] 172 | int i; | ^ ../spectro/huey.c: In function 'huey_rdreg_byte': ../spectro/huey.c:306:6: warning: unused variable 'rsize' [-Wunused-variable] 306 | int rsize; | ^~~~~ ../spectro/huey.c: In function 'huey_wrreg_byte': ../spectro/huey.c:414:6: warning: unused variable 'rsize' [-Wunused-variable] 414 | int rsize; | ^~~~~ ../spectro/huey.c:412:6: warning: unused variable 'cval' [-Wunused-variable] 412 | int cval; | ^~~~ ../spectro/huey.c: In function 'huey_rd_int_time': ../spectro/huey.c:481:6: warning: unused variable 'rsize' [-Wunused-variable] 481 | int rsize; | ^~~~~ ../spectro/huey.c: In function 'huey_wr_int_time': ../spectro/huey.c:501:6: warning: unused variable 'rsize' [-Wunused-variable] 501 | int rsize; | ^~~~~ ../spectro/huey.c: In function 'huey_freq_measure': ../spectro/huey.c:522:6: warning: unused variable 'i' [-Wunused-variable] 522 | int i; | ^ ../spectro/huey.c: In function 'huey_period_measure': ../spectro/huey.c:561:6: warning: unused variable 'rsize' [-Wunused-variable] 561 | int rsize; | ^~~~~ ../spectro/huey.c:558:6: warning: unused variable 'i' [-Wunused-variable] 558 | int i; | ^ ../spectro/huey.c: In function 'huey_take_raw_measurement_3': ../spectro/huey.c:601:6: warning: unused variable 'rsize' [-Wunused-variable] 601 | int rsize; | ^~~~~ ../spectro/huey.c:598:6: warning: unused variable 'i' [-Wunused-variable] 598 | int i; | ^ ../spectro/huey.c: In function 'huey_take_measurement_2': ../spectro/huey.c:648:9: warning: unused variable 'j' [-Wunused-variable] 648 | int i, j; | ^ ../spectro/huey.c: In function 'huey_take_amb_measurement_1': ../spectro/huey.c:754:6: warning: unused variable 'rsize' [-Wunused-variable] 754 | int rsize; | ^~~~~ ../spectro/huey.c:751:6: warning: unused variable 'i' [-Wunused-variable] 751 | int i; | ^ ../spectro/huey.c: In function 'huey_set_LEDs': ../spectro/huey.c:806:6: warning: unused variable 'i' [-Wunused-variable] 806 | int i; | ^ ../spectro/huey.c: In function 'huey_check_unlock': ../spectro/huey.c:879:9: warning: unused variable 'ver' [-Wunused-variable] 879 | double ver; | ^~~ ../spectro/huey.c:878:6: warning: unused variable 'vv' [-Wunused-variable] 878 | int vv; | ^~ ../spectro/huey.c:876:6: warning: unused variable 'rsize' [-Wunused-variable] 876 | int rsize; | ^~~~~ ../spectro/huey.c: In function 'huey_compute_factors': ../spectro/huey.c:1003:6: warning: unused variable 'i' [-Wunused-variable] 1003 | int i; | ^ ../spectro/huey.c: In function 'huey_init_coms': ../spectro/huey.c:1038:17: warning: unused variable 'rv' [-Wunused-variable] 1038 | int bi, i, se, rv; | ^~ ../spectro/huey.c:1038:10: warning: unused variable 'i' [-Wunused-variable] 1038 | int bi, i, se, rv; | ^ ../spectro/huey.c:1038:6: warning: unused variable 'bi' [-Wunused-variable] 1038 | int bi, i, se, rv; | ^~ ../spectro/huey.c:1037:7: warning: unused variable 'etime' [-Wunused-variable] 1037 | long etime; | ^~~~~ ../spectro/huey.c:1036:6: warning: unused variable 'rsize' [-Wunused-variable] 1036 | int rsize; | ^~~~~ ../spectro/huey.c: In function 'huey_capabilities': ../spectro/huey.c:1414:8: warning: unused variable 'p' [-Wunused-variable] 1414 | huey *p = (huey *)pp; | ^ ../spectro/huey.c: In function 'huey_get_set_opt': ../spectro/huey.c:1678:12: warning: unused variable 'ev' [-Wunused-variable] 1678 | inst_code ev = inst_ok; | ^~ At top level: ../spectro/huey.c:593:1: warning: 'huey_take_raw_measurement_3' defined but not used [-Wunused-function] 593 | huey_take_raw_measurement_3( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/huey.c:496:1: warning: 'huey_wr_int_time' defined but not used [-Wunused-function] 496 | huey_wr_int_time( | ^~~~~~~~~~~~~~~~ ../spectro/huey.c:459:1: warning: 'huey_wrreg_float' defined but not used [-Wunused-function] 459 | huey_wrreg_float( | ^~~~~~~~~~~~~~~~ ../spectro/huey.c:329:1: warning: 'huey_rdreg_short' defined but not used [-Wunused-function] 329 | huey_rdreg_short( | ^~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o usbio.lo `test -f '../spectro/usbio.c' || echo './'`../spectro/usbio.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/usbio.c -fPIC -DPIC -o .libs/usbio.o In file included from ../spectro/usbio.c:100: ../spectro/usbio_lx.c: In function 'usb_check_and_add': ../spectro/usbio_lx.c:133:26: warning: unused variable 'inface' [-Wunused-variable] 133 | unsigned int ninfaces, inface, nep; | ^~~~~~ ../spectro/usbio_lx.c: In function 'usb_get_paths': ../spectro/usbio_lx.c:253:11: warning: unused variable 'pid' [-Wunused-variable] 253 | int vid, pid; | ^~~ ../spectro/usbio_lx.c:253:6: warning: unused variable 'vid' [-Wunused-variable] 253 | int vid, pid; | ^~~ ../spectro/usbio_lx.c: In function 'usb_close_port': ../spectro/usbio_lx.c:379:17: warning: unused variable 'buf' [-Wunused-variable] 379 | unsigned char buf[8+IUSB_DESC_TYPE_DEVICE_SIZE]; | ^~~ ../spectro/usbio_lx.c:378:23: warning: unused variable 'urb' [-Wunused-variable] 378 | struct usbdevfs_urb urb; | ^~~ ../spectro/usbio_lx.c: In function 'usb_open_port': ../spectro/usbio_lx.c:436:6: warning: unused variable 'rv' [-Wunused-variable] 436 | int rv, tries = 0; | ^~ In file included from ../spectro/usbio.c:100: ../spectro/usbio_lx.c: In function 'icoms_usb_transaction': ../spectro/usbio_lx.c:875:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] 875 | gettimeofday(&tv, NULL); | ^~~~~~~~~~~~ ../spectro/usbio.c: In function 'icoms_usb_ser_read': ../spectro/usbio.c:517:7: warning: unused variable 'c' [-Wunused-variable] 517 | int c, rv; | ^ In file included from ../spectro/usbio.c:100: At top level: ../spectro/usbio_lx.c:57:13: warning: 'int2buf' defined but not used [-Wunused-function] 57 | static void int2buf(unsigned char *buf, int inv) { | ^~~~~~~ ../spectro/usbio_lx.c:39:21: warning: 'buf2uint' defined but not used [-Wunused-function] 39 | static unsigned int buf2uint(unsigned char *buf) { | ^~~~~~~~ ../spectro/usbio_lx.c: In function 'usb_check_and_add': ../spectro/usbio_lx.c:199:33: warning: 'ifaceno' may be used uninitialized in this function [-Wmaybe-uninitialized] 199 | usbd->EPINFO(ad).interface = ifaceno; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o hidio.lo `test -f '../spectro/hidio.c' || echo './'`../spectro/hidio.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/hidio.c -fPIC -DPIC -o .libs/hidio.o ../spectro/hidio.c: In function 'icoms_hid_write': ../spectro/hidio.c:983:11: warning: "/*" within comment [-Wcomment] 983 | 9, /* Bulk or Interrupt transfer ??? - or wbuf[0] ?? */ | /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o icoms.lo `test -f '../spectro/icoms.c' || echo './'`../spectro/icoms.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/icoms.c -fPIC -DPIC -o .libs/icoms.o ../spectro/icoms.c: In function 'icompaths_get_path_sel': ../spectro/icoms.c:125:13: warning: comparison between 'icom_type' and 'enum ' [-Wenum-compare] 125 | if (dctype != dtix_combined | ^~ ../spectro/icoms.c:126:13: warning: comparison between 'icom_type' and 'enum ' [-Wenum-compare] 126 | && dctype != dtix_inst | ^~ ../spectro/icoms.c:127:13: warning: comparison between 'icom_type' and 'enum ' [-Wenum-compare] 127 | && dctype != dtix_3dlut | ^~ ../spectro/icoms.c:128:13: warning: comparison between 'icom_type' and 'enum ' [-Wenum-compare] 128 | && dctype != dtix_vtpg | ^~ ../spectro/icoms.c:129:13: warning: comparison between 'icom_type' and 'enum ' [-Wenum-compare] 129 | && dctype != dtix_printer) | ^~ ../spectro/icoms.c:132:13: warning: comparison between 'icom_type' and 'enum ' [-Wenum-compare] 132 | if (dctype == dtix_inst) | ^~ ../spectro/icoms.c: In function 'icompaths_set_serial_itype': ../spectro/icoms.c:292:46: warning: implicit declaration of function 'inst_category' [-Wimplicit-function-declaration] 292 | p->dctype = (p->dctype & ~icomt_cat_mask) | inst_category(itype); | ^~~~~~~~~~~~~ ../spectro/icoms.c: In function 'icompath_set_usb': ../spectro/icoms.c:322:6: warning: unused variable 'rv' [-Wunused-variable] 322 | int rv; | ^~ ../spectro/icoms.c: In function 'icompaths_refresh_paths_sel': ../spectro/icoms.c:438:13: warning: implicit declaration of function 'serial_get_paths'; did you mean 'hid_get_paths'? [-Wimplicit-function-declaration] 438 | if ((rv = serial_get_paths(p, mask)) != ICOM_OK) | ^~~~~~~~~~~~~~~~ | hid_get_paths In file included from ../spectro/icoms.c:622: ../spectro/icoms_ux.c: In function 'serial_get_paths': ../spectro/icoms_ux.c:57:6: warning: unused variable 'rv' [-Wunused-variable] 57 | int rv; | ^~ ../spectro/icoms_ux.c: In function 'icoms_ser_write': ../spectro/icoms_ux.c:721:24: warning: unused variable 'news' [-Wunused-variable] 721 | struct termios origs, news; | ^~~~ ../spectro/icoms_ux.c:721:17: warning: unused variable 'origs' [-Wunused-variable] 721 | struct termios origs, news; | ^~~~~ ../spectro/icoms_ux.c: In function 'icoms_ser_read': ../spectro/icoms_ux.c:851:9: warning: unused variable 'btr' [-Wunused-variable] 851 | int btr; | ^~~ ../spectro/icoms_ux.c:812:6: warning: unused variable 'bread' [-Wunused-variable] 812 | int bread = 0; | ^~~~~ ../spectro/icoms_ux.c:810:24: warning: unused variable 'news' [-Wunused-variable] 810 | struct termios origs, news; | ^~~~ ../spectro/icoms_ux.c:810:17: warning: unused variable 'origs' [-Wunused-variable] 810 | struct termios origs, news; | ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o colorhug.lo `test -f '../spectro/colorhug.c' || echo './'`../spectro/colorhug.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/colorhug.c -fPIC -DPIC -o .libs/colorhug.o ../spectro/colorhug.c: In function 'colorhug_command': ../spectro/colorhug.c:159:6: warning: unused variable 'i' [-Wunused-variable] 159 | int i; | ^ ../spectro/colorhug.c: In function 'colorhug_set_LEDs': ../spectro/colorhug.c:340:6: warning: unused variable 'i' [-Wunused-variable] 340 | int i; | ^ ../spectro/colorhug.c: In function 'colorhug_init_inst': ../spectro/colorhug.c:580:6: warning: unused variable 'i' [-Wunused-variable] 580 | int i; | ^ ../spectro/colorhug.c: In function 'colorhug_capabilities': ../spectro/colorhug.c:838:12: warning: unused variable 'p' [-Wunused-variable] 838 | colorhug *p = (colorhug *)pp; | ^ ../spectro/colorhug.c: In function 'colorhug_get_set_opt': ../spectro/colorhug.c:1143:12: warning: unused variable 'ev' [-Wunused-variable] 1143 | inst_code ev = inst_ok; | ^~ ../spectro/colorhug.c: In function 'new_colorhug': ../spectro/colorhug.c:1202:6: warning: unused variable 'i' [-Wunused-variable] 1202 | int i; | ^ At top level: ../spectro/colorhug.c:320:21: warning: 'buf2ushort_le' defined but not used [-Wunused-function] 320 | static unsigned int buf2ushort_le(unsigned char *buf) { | ^~~~~~~~~~~~~ ../spectro/colorhug.c:286:13: warning: 'ushort2buf_le' defined but not used [-Wunused-function] 286 | static void ushort2buf_le(unsigned char *buf, unsigned int inv) { | ^~~~~~~~~~~~~ ../spectro/colorhug.c:272:13: warning: 'uint2buf_le' defined but not used [-Wunused-function] 272 | static void uint2buf_le(unsigned char *buf, unsigned int inv) { | ^~~~~~~~~~~ ../spectro/colorhug.c:264:13: warning: 'int2buf_le' defined but not used [-Wunused-function] 264 | static void int2buf_le(unsigned char *buf, int inv) { | ^~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o kleink10.lo `test -f '../spectro/kleink10.c' || echo './'`../spectro/kleink10.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/kleink10.c -fPIC -DPIC -o .libs/kleink10.o ../spectro/kleink10.c: In function 'k10_init_coms': ../spectro/kleink10.c:359:8: warning: unused variable 'cp' [-Wunused-variable] 359 | char *cp; | ^~ ../spectro/kleink10.c:357:11: warning: unused variable 'itype' [-Wunused-variable] 357 | instType itype = pp->itype; | ^~~~~ ../spectro/kleink10.c: In function 'k10_init_inst': ../spectro/kleink10.c:467:6: warning: unused variable 'se' [-Wunused-variable] 467 | int se; | ^~ ../spectro/kleink10.c:464:7: warning: unused variable 'mes' [-Wunused-variable] 464 | char mes[100]; | ^~~ ../spectro/kleink10.c: In function 'decodeRange': ../spectro/kleink10.c:582:6: warning: unused variable 'tt' [-Wunused-variable] 582 | int tt; | ^~ ../spectro/kleink10.c:581:21: warning: unused variable 'r3' [-Wunused-variable] 581 | int t, r0, r1, r2, r3; | ^~ ../spectro/kleink10.c:581:17: warning: unused variable 'r2' [-Wunused-variable] 581 | int t, r0, r1, r2, r3; | ^~ ../spectro/kleink10.c:581:13: warning: unused variable 'r1' [-Wunused-variable] 581 | int t, r0, r1, r2, r3; | ^~ ../spectro/kleink10.c:581:9: warning: unused variable 'r0' [-Wunused-variable] 581 | int t, r0, r1, r2, r3; | ^~ ../spectro/kleink10.c:581:6: warning: unused variable 't' [-Wunused-variable] 581 | int t, r0, r1, r2, r3; | ^ ../spectro/kleink10.c: In function 'k10_read_cal_matrix': ../spectro/kleink10.c:713:6: warning: unused variable 'se' [-Wunused-variable] 713 | int se; | ^~ ../spectro/kleink10.c: In function 'k10_read_flicker_samples': ../spectro/kleink10.c:1000:7: warning: unused variable 'se' [-Wunused-variable] 1000 | int se; | ^~ ../spectro/kleink10.c: In function 'k10_imp_measure_refresh': ../spectro/kleink10.c:1489:14: warning: operation on 'minv' may be undefined [-Wsequence-point] 1489 | minv = minv = minv = 1e20; | ~~~~~^~~~~~~~~~~~~ ../spectro/kleink10.c:1490:14: warning: operation on 'maxv' may be undefined [-Wsequence-point] 1490 | maxv = maxv = maxv = -11e20; | ~~~~~^~~~~~~~~~~~~~~ ../spectro/kleink10.c:1455:9: warning: variable 'peakh' set but not used [-Wunused-but-set-variable] 1455 | double peakh[MAXPKS]; /* Peak heighheight */ | ^~~~~ ../spectro/kleink10.c:1442:9: warning: variable 'maxt' set but not used [-Wunused-but-set-variable] 1442 | double maxt; /* Time range */ | ^~~~ ../spectro/kleink10.c:1433:15: warning: unused variable 'mm' [-Wunused-variable] 1433 | int i, j, k, mm; | ^~ ../spectro/kleink10.c: In function 'k10_read_refrate': ../spectro/kleink10.c:1884:7: warning: unused variable 'buf' [-Wunused-variable] 1884 | char buf[MAX_MES_SIZE]; | ^~~ ../spectro/kleink10.c: In function 'k10_meas_delay': ../spectro/kleink10.c:1931:33: warning: unused variable 'eutime' [-Wunused-variable] 1931 | double sutime, putime, cutime, eutime; | ^~~~~~ ../spectro/kleink10.c:1931:17: warning: variable 'putime' set but not used [-Wunused-but-set-variable] 1931 | double sutime, putime, cutime, eutime; | ^~~~~~ ../spectro/kleink10.c:1931:9: warning: unused variable 'sutime' [-Wunused-variable] 1931 | double sutime, putime, cutime, eutime; | ^~~~~~ ../spectro/kleink10.c:1930:12: warning: unused variable 'k' [-Wunused-variable] 1930 | int i, j, k; | ^ ../spectro/kleink10.c:1930:9: warning: unused variable 'j' [-Wunused-variable] 1930 | int i, j, k; | ^ ../spectro/kleink10.c: In function 'k10_white_change': ../spectro/kleink10.c:2117:12: warning: unused variable 'ev' [-Wunused-variable] 2117 | inst_code ev; | ^~ ../spectro/kleink10.c: In function 'k10_do_black_cal': ../spectro/kleink10.c:2208:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2208 | for (i = 0; i < 6; i++) | ^~~ ../spectro/kleink10.c:2211:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2211 | a1logd(p->log, 4, "Thermal %d\n",thermal); | ^~~~~~ ../spectro/kleink10.c: In function 'k10_get_n_a_cals': ../spectro/kleink10.c:2238:12: warning: unused variable 'p' [-Wunused-variable] 2238 | kleink10 *p = (kleink10 *)pp; | ^ ../spectro/kleink10.c: In function 'k10_interp_error': ../spectro/kleink10.c:2320:12: warning: unused variable 'p' [-Wunused-variable] 2320 | kleink10 *p = (kleink10 *)pp; | ^ ../spectro/kleink10.c: In function 'k10_capabilities': ../spectro/kleink10.c:2457:12: warning: unused variable 'p' [-Wunused-variable] 2457 | kleink10 *p = (kleink10 *)pp; | ^ ../spectro/kleink10.c: In function 'k10_set_mode': ../spectro/kleink10.c:2514:6: warning: unused variable 'refrmode' [-Wunused-variable] 2514 | int refrmode; | ^~~~~~~~ ../spectro/kleink10.c: In function 'k10_get_set_opt': ../spectro/kleink10.c:2766:16: warning: unused variable 'lstate' [-Wunused-variable] 2766 | int *pstate, lstate = 0; | ^~~~~~ ../spectro/kleink10.c:2747:6: warning: unused variable 'se' [-Wunused-variable] 2747 | int se; | ^~ ../spectro/kleink10.c: In function 'k10_fcommand.constprop': ../spectro/kleink10.c:235:20: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] 235 | if ((xec & ec_c) && rv == K10_OK && strncmp(cmd, out, 2) != 0) { /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o disptechs.lo `test -f '../spectro/disptechs.c' || echo './'`../spectro/disptechs.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/disptechs.c -fPIC -DPIC -o .libs/disptechs.o ../spectro/disptechs.c: In function 'disptechs_set_sel': ../spectro/disptechs.c:433:13: warning: array subscript has type 'char' [-Wchar-subscripts] 433 | if (usels[*isel] == ((char)-1)) { /* If this selector is not currently used */ | ^~~~~ ../spectro/disptechs.c:437:14: warning: array subscript has type 'char' [-Wchar-subscripts] 437 | usels[osel[0]] = ix; | ~~~~^~~ ../spectro/disptechs.c:461:18: warning: array subscript has type 'char' [-Wchar-subscripts] 461 | if (usels[asels[*k]] == ((char)-1)) /* Unused */ | ~~~~~^~~~ ../spectro/disptechs.c:468:13: warning: array subscript has type 'char' [-Wchar-subscripts] 468 | usels[osel[0]] = ix; | ~~~~^~~ ../spectro/disptechs.c: In function 'rgbl2lab': ../spectro/disptechs.c:562:6: warning: unused variable 'i' [-Wunused-variable] 562 | int i; | ^ ../spectro/disptechs.c: In function 'disp_settle_time': ../spectro/disptechs.c:748:21: warning: unused variable 't' [-Wunused-variable] 748 | double el, dl, n, t; | ^ ../spectro/disptechs.c:748:18: warning: unused variable 'n' [-Wunused-variable] 748 | double el, dl, n, t; | ^ ../spectro/disptechs.c:748:10: warning: unused variable 'el' [-Wunused-variable] 748 | double el, dl, n, t; | ^~ ../spectro/disptechs.c:669:6: warning: unused variable 'i' [-Wunused-variable] 669 | int i, j; | ^ At top level: ../spectro/disptechs.c:561:13: warning: 'rgbl2lab' defined but not used [-Wunused-function] 561 | static void rgbl2lab(double *lab, double *rgbl) { | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o aglob.lo `test -f '../spectro/aglob.c' || echo './'`../spectro/aglob.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/aglob.c -fPIC -DPIC -o .libs/aglob.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xrga.lo `test -f '../spectro/xrga.c' || echo './'`../spectro/xrga.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/xrga.c -fPIC -DPIC -o .libs/xrga.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rspec.lo `test -f '../spectro/rspec.c' || echo './'`../spectro/rspec.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/rspec.c -fPIC -DPIC -o .libs/rspec.o ../spectro/rspec.c: In function 'new_rspec': ../spectro/rspec.c:181:6: warning: unused variable 'no' [-Wunused-variable] 181 | int no; | ^~ ../spectro/rspec.c: In function 'ex1_interp_idark_val': ../spectro/rspec.c:379:9: warning: unused variable 'j' [-Wunused-variable] 379 | int i, j; | ^ ../spectro/rspec.c:379:6: warning: unused variable 'i' [-Wunused-variable] 379 | int i, j; | ^ ../spectro/rspec.c: In function 'linearize_rspec': ../spectro/rspec.c:470:9: warning: unused variable 'dark' [-Wunused-variable] 470 | rspec *dark; | ^~~~ ../spectro/rspec.c: In function 'inttime_calibrate_rspec': ../spectro/rspec.c:512:13: warning: unused variable 'inf' [-Wunused-variable] 512 | rspec_inf *inf = raw->inf; | ^~~ ../spectro/rspec.c: In function 'rspec_make_resample_filters': ../spectro/rspec.c:760:16: warning: variable 'rwl' set but not used [-Wunused-but-set-variable] 760 | double cwl, rwl; /* center, relative wavelegth */ | ^~~ ../spectro/rspec.c: In function 'plot_resample_filters': ../spectro/rspec.c:866:15: warning: unused variable 'ss' [-Wunused-variable] 866 | double *xx, *ss; | ^~ ../spectro/rspec.c: In function 'rspec_typesize': ../spectro/rspec.c:127:9: warning: 'no' may be used uninitialized in this function [-Wmaybe-uninitialized] 127 | return no; | ^~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smcube.lo `test -f '../spectro/smcube.c' || echo './'`../spectro/smcube.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/smcube.c -fPIC -DPIC -o .libs/smcube.o ../spectro/smcube.c: In function 'smcube_init_coms': ../spectro/smcube.c:206:11: warning: unused variable 'itype' [-Wunused-variable] 206 | instType itype = pp->itype; | ^~~~~ ../spectro/smcube.c: In function 'smcube_interrupt': ../spectro/smcube.c:364:12: warning: unused variable 'rv' [-Wunused-variable] 364 | inst_code rv = inst_ok; | ^~ ../spectro/smcube.c: In function 'smcube_init_inst': ../spectro/smcube.c:385:6: warning: unused variable 'ver' [-Wunused-variable] 385 | int ver; | ^~~ ../spectro/smcube.c:384:12: warning: unused variable 'ev' [-Wunused-variable] 384 | inst_code ev = inst_ok; | ^~ ../spectro/smcube.c:383:7: warning: unused variable 'mes' [-Wunused-variable] 383 | char mes[100]; | ^~~ ../spectro/smcube.c: In function 'smcube_read_sample': ../spectro/smcube.c:472:8: warning: unused variable 'cerr' [-Wunused-variable] 472 | int cerr; | ^~~~ ../spectro/smcube.c:450:6: warning: unused variable 'ec' [-Wunused-variable] 450 | int ec; | ^~ ../spectro/smcube.c: In function 'smcube_capabilities': ../spectro/smcube.c:874:10: warning: unused variable 'p' [-Wunused-variable] 874 | smcube *p = (smcube *)pp; | ^ ../spectro/smcube.c: In function 'smcube_set_mode': ../spectro/smcube.c:925:6: warning: unused variable 'refrmode' [-Wunused-variable] 925 | int refrmode; | ^~~~~~~~ ../spectro/smcube.c: In function 'smcube_get_disptypesel': ../spectro/smcube.c:985:12: warning: unused variable 'rv' [-Wunused-variable] 985 | inst_code rv = inst_ok; | ^~ ../spectro/smcube.c:984:10: warning: unused variable 'p' [-Wunused-variable] 984 | smcube *p = (smcube *)pp; | ^ ../spectro/smcube.c: In function 'set_disp_type': ../spectro/smcube.c:999:6: warning: unused variable 'refrmode' [-Wunused-variable] 999 | int refrmode; | ^~~~~~~~ ../spectro/smcube.c:998:12: warning: unused variable 'rv' [-Wunused-variable] 998 | inst_code rv; | ^~ ../spectro/smcube.c: In function 'smcube_get_set_opt': ../spectro/smcube.c:1111:11: warning: unused variable 'args' [-Wunused-variable] 1111 | va_list args; | ^~~~ ../spectro/smcube.c:1067:12: warning: unused variable 'ev' [-Wunused-variable] 1067 | inst_code ev = inst_ok; | ^~ ../spectro/smcube.c: In function 'smcube_ping': ../spectro/smcube.c:1181:6: warning: unused variable 'se' [-Wunused-variable] 1181 | int se; | ^~ ../spectro/smcube.c: In function 'smcube_get_idle_time': ../spectro/smcube.c:1216:12: warning: unused variable 'ev' [-Wunused-variable] 1216 | inst_code ev = inst_ok; | ^~ ../spectro/smcube.c: In function 'smcube_fact_measure': ../spectro/smcube.c:1262:6: warning: unused variable 'itime' [-Wunused-variable] 1262 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_poll_measure': ../spectro/smcube.c:1310:12: warning: unused variable 'ev' [-Wunused-variable] 1310 | inst_code ev = inst_ok; | ^~ ../spectro/smcube.c: In function 'smcube_meas_wrgb': ../spectro/smcube.c:1368:6: warning: unused variable 'itime' [-Wunused-variable] 1368 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_get_version': ../spectro/smcube.c:1414:6: warning: unused variable 'itime' [-Wunused-variable] 1414 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_get_cal_val': ../spectro/smcube.c:1457:6: warning: unused variable 'itime' [-Wunused-variable] 1457 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_set_cal_val': ../spectro/smcube.c:1516:6: warning: unused variable 'itime' [-Wunused-variable] 1516 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_get_temp': ../spectro/smcube.c:1565:6: warning: unused variable 'itime' [-Wunused-variable] 1565 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_get_cal_temp': ../spectro/smcube.c:1613:6: warning: unused variable 'itime' [-Wunused-variable] 1613 | int itime; | ^~~~~ ../spectro/smcube.c: In function 'smcube_black_calib': ../spectro/smcube.c:1744:9: warning: unused variable 'j' [-Wunused-variable] 1744 | int i, j; | ^ ../spectro/smcube.c: In function 'smcube_measure': ../spectro/smcube.c:1852:9: warning: unused variable 'j' [-Wunused-variable] 1852 | int i, j; | ^ ../spectro/smcube.c: In function 'smcube_save_calibration': ../spectro/smcube.c:2030:6: warning: unused variable 'i' [-Wunused-variable] 2030 | int i; | ^ ../spectro/smcube.c: In function 'smcube_restore_calibration': ../spectro/smcube.c:2088:9: warning: unused variable 'j' [-Wunused-variable] 2088 | int i, j; | ^ ../spectro/smcube.c:2088:6: warning: unused variable 'i' [-Wunused-variable] 2088 | int i, j; | ^ ../spectro/smcube.c: In function 'smcube_touch_calibration': ../spectro/smcube.c:2191:6: warning: unused variable 'rv' [-Wunused-variable] 2191 | int rv; | ^~ ../spectro/smcube.c:2189:6: warning: unused variable 'ev' [-Wunused-variable] 2189 | int ev = SMCUBE_OK; | ^~ ../spectro/smcube.c: At top level: ../spectro/smcube.c:139:18: warning: 'smcube_white' declared 'static' but never defined [-Wunused-function] 139 | static inst_code smcube_white(smcube *p, int ctype); | ^~~~~~~~~~~~ ../spectro/smcube.c:1499:1: warning: 'smcube_dump_cal' defined but not used [-Wunused-function] 1499 | smcube_dump_cal(smcube *p) { | ^~~~~~~~~~~~~~~ ../spectro/smcube.c:1412:18: warning: 'smcube_get_version' defined but not used [-Wunused-function] 1412 | static inst_code smcube_get_version(smcube *p, int *val) { | ^~~~~~~~~~~~~~~~~~ ../spectro/smcube.c:1178:1: warning: 'smcube_ping' defined but not used [-Wunused-function] 1178 | smcube_ping(smcube *p) { | ^~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ex1.lo `test -f '../spectro/ex1.c' || echo './'`../spectro/ex1.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/ex1.c -fPIC -DPIC -o .libs/ex1.o ../spectro/ex1.c: In function 'ex1_init_coms': ../spectro/ex1.c:164:12: warning: unused variable 'ev' [-Wunused-variable] 164 | inst_code ev = inst_ok; | ^~ ../spectro/ex1.c:161:11: warning: unused variable 'itype' [-Wunused-variable] 161 | instType itype = pp->itype; | ^~~~~ ../spectro/ex1.c: In function 'ex1_read_sample': ../spectro/ex1.c:472:6: warning: unused variable 'pos' [-Wunused-variable] 472 | int pos = -1; | ^~~ ../spectro/ex1.c: In function 'ex1_calibrate': ../spectro/ex1.c:750:10: warning: unused variable 'raw' [-Wunused-variable] 750 | rspec *raw; | ^~~ ../spectro/ex1.c:749:13: warning: unused variable 'k' [-Wunused-variable] 749 | int i, j, k; | ^ ../spectro/ex1.c:749:10: warning: unused variable 'j' [-Wunused-variable] 749 | int i, j, k; | ^ ../spectro/ex1.c:749:7: warning: unused variable 'i' [-Wunused-variable] 749 | int i, j, k; | ^ ../spectro/ex1.c: In function 'ex1_capabilities': ../spectro/ex1.c:1058:7: warning: unused variable 'p' [-Wunused-variable] 1058 | ex1 *p = (ex1 *)pp; | ^ ../spectro/ex1.c: In function 'ex1_meas_config': ../spectro/ex1.c:1088:12: warning: unused variable 'ev' [-Wunused-variable] 1088 | inst_code ev; | ^~ ../spectro/ex1.c:1087:7: warning: unused variable 'p' [-Wunused-variable] 1087 | ex1 *p = (ex1 *)pp; | ^ ../spectro/ex1.c: In function 'ex1_set_mode': ../spectro/ex1.c:1137:6: warning: unused variable 'refrmode' [-Wunused-variable] 1137 | int refrmode; | ^~~~~~~~ ../spectro/ex1.c: In function 'ex1_get_set_opt': ../spectro/ex1.c:1168:12: warning: unused variable 'ev' [-Wunused-variable] 1168 | inst_code ev = inst_ok; | ^~ ../spectro/ex1.c: In function 'ex1_save_calibration': ../spectro/ex1.c:1256:6: warning: unused variable 'i' [-Wunused-variable] 1256 | int i; | ^ ../spectro/ex1.c: In function 'ex1_restore_calibration': ../spectro/ex1.c:1302:9: warning: unused variable 'j' [-Wunused-variable] 1302 | int i, j; | ^ ../spectro/ex1.c:1302:6: warning: unused variable 'i' [-Wunused-variable] 1302 | int i, j; | ^ ../spectro/ex1.c: In function 'ex1_touch_calibration': ../spectro/ex1.c:1376:6: warning: unused variable 'rv' [-Wunused-variable] 1376 | int rv; | ^~ ../spectro/ex1.c:1374:6: warning: unused variable 'ev' [-Wunused-variable] 1374 | int ev = EX1_OK; | ^~ ../spectro/ex1.c: In function 'ex1_command': ../spectro/ex1.c:1604:15: warning: variable 'regarding' set but not used [-Wunused-but-set-variable] 1604 | unsigned int regarding = 0; | ^~~~~~~~~ ../spectro/ex1.c:1603:15: warning: unused variable 'tlc' [-Wunused-variable] 1603 | unsigned int tlc = 0; /* Top level message category */ | ^~~ ../spectro/ex1.c:1602:15: warning: variable 'mestype' set but not used [-Wunused-but-set-variable] 1602 | unsigned int mestype = 0; | ^~~~~~~ ../spectro/ex1.c: In function 'ex1_measure': ../spectro/ex1.c:2566:6: warning: variable 'stime' set but not used [-Wunused-but-set-variable] 2566 | int stime; | ^~~~~ At top level: ../spectro/ex1.c:2455:12: warning: 'ex1_set_strobe_period' defined but not used [-Wunused-function] 2455 | static int ex1_set_strobe_period(ex1 *p, double *qstbper, double stbper) { | ^~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o webwin.lo `test -f '../spectro/webwin.c' || echo './'`../spectro/webwin.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/webwin.c -fPIC -DPIC -o .libs/webwin.o ../spectro/webwin.c: In function 'ajax_get_messages': ../spectro/webwin.c:57:6: warning: unused variable 'src_addr' [-Wunused-variable] 57 | char src_addr[20]; | ^~~~~~~~ ../spectro/webwin.c: In function 'webwin_set_color': ../spectro/webwin.c:222:13: warning: unused variable 'kf' [-Wunused-variable] 222 | double kr, kf; | ^~ ../spectro/webwin.c:222:9: warning: unused variable 'kr' [-Wunused-variable] 222 | double kr, kf; | ^~ ../spectro/webwin.c: In function 'new_webwin': ../spectro/webwin.c:331:8: warning: unused variable 'url' [-Wunused-variable] 331 | char *url; | ^~~ ../spectro/webwin.c:327:8: warning: unused variable 'cp' [-Wunused-variable] 327 | char *cp; | ^~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mongoose.lo `test -f '../spectro/mongoose.c' || echo './'`../spectro/mongoose.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/mongoose.c -fPIC -DPIC -o .libs/mongoose.o ../spectro/mongoose.c: In function 'mg_get_listening_port': ../spectro/mongoose.c:4071:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4071 | if (!getsockname(ctx->listening_sockets->sock, (struct sockaddr *)&rsa, &rsa_len)) | ^~ ../spectro/mongoose.c:4073:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4073 | break; | ^~~~~ ../spectro/mongoose.c:4065:23: warning: unused variable 'tmp' [-Wunused-variable] 4065 | struct socket *sp, *tmp; | ^~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dispsup.lo `test -f '../spectro/dispsup.c' || echo './'`../spectro/dispsup.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dispsup.c -fPIC -DPIC -o .libs/dispsup.o ../spectro/dispsup.c: In function 'setup_display_calibrate': ../spectro/dispsup.c:97:26: warning: unused variable 'ev' [-Wunused-variable] 97 | inst_code rv = inst_ok, ev; | ^~ ../spectro/dispsup.c:97:12: warning: unused variable 'rv' [-Wunused-variable] 97 | inst_code rv = inst_ok, ev; | ^~ ../spectro/dispsup.c: In function 'disprd_calibration': ../spectro/dispsup.c:238:16: warning: unused variable 'calt' [-Wunused-variable] 238 | inst_cal_type calt = inst_calt_needed; | ^~~~ ../spectro/dispsup.c:234:6: warning: unused variable 'c' [-Wunused-variable] 234 | int c; | ^ ../spectro/dispsup.c:232:11: warning: variable 'itype' set but not used [-Wunused-but-set-variable] 232 | instType itype = instUnknown; | ^~~~~ ../spectro/dispsup.c: In function 'disprd_read_imp': ../spectro/dispsup.c:474:13: warning: unused variable 'ev' [-Wunused-variable] 474 | inst_code ev; | ^~ ../spectro/dispsup.c:533:7: warning: unused variable 'tc' [-Wunused-variable] 533 | col tc; | ^~ ../spectro/dispsup.c:551:7: warning: unused variable 'tc' [-Wunused-variable] 551 | col tc; | ^~ ../spectro/dispsup.c:454:6: warning: unused variable 'cal_type' [-Wunused-variable] 454 | int cal_type; | ^~~~~~~~ ../spectro/dispsup.c: In function 'disprd_read_drift': ../spectro/dispsup.c:1032:11: warning: unused variable 'we' [-Wunused-variable] 1032 | double we; /* Interpolation weight of eairlier value */ | ^~ ../spectro/dispsup.c: In function 'disprd_fake_read_manual': ../spectro/dispsup.c:1963:35: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 1963 | for (bp = buf; *bp != '\000' && isspace(*bp); bp++) | ^~~~~~~ ../spectro/dispsup.c:1973:10: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 1973 | if (isdigit(ch) || ch == '-' || ch == '+' || ch == '.') { | ^~~~~~~ ../spectro/dispsup.c:1893:9: warning: unused variable 'fp' [-Wunused-variable] 1893 | FILE *fp; | ^~ ../spectro/dispsup.c:1892:9: warning: unused variable 'cmd' [-Wunused-variable] 1892 | char *cmd; | ^~~ ../spectro/dispsup.c:1891:7: warning: unused variable 'rv' [-Wunused-variable] 1891 | int rv; | ^~ ../spectro/dispsup.c:1887:31: warning: unused variable 'ep' [-Wunused-variable] 1887 | char buf[200], *bp = NULL, *ep = NULL; | ^~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dispwin.lo `test -f '../spectro/dispwin.c' || echo './'`../spectro/dispwin.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/dispwin.c -fPIC -DPIC -o .libs/dispwin.o ../spectro/dispwin.c: In function 'get_displays': ../spectro/dispwin.c:822:58: warning: pointer targets in passing argument 11 of 'XRRGetOutputProperty' differ in signedness [-Wpointer-sign] 822 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:89, from ../spectro/dispwin.c:61: /usr/include/X11/extensions/Xrandr.h:340:24: note: expected 'long unsigned int *' but argument is of type 'long int *' 340 | unsigned long *nitems, unsigned long *bytes_after, | ~~~~~~~~~~~~~~~^~~~~~ ../spectro/dispwin.c:822:68: warning: pointer targets in passing argument 12 of 'XRRGetOutputProperty' differ in signedness [-Wpointer-sign] 822 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:89, from ../spectro/dispwin.c:61: /usr/include/X11/extensions/Xrandr.h:340:47: note: expected 'long unsigned int *' but argument is of type 'long int *' 340 | unsigned long *nitems, unsigned long *bytes_after, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ ../spectro/dispwin.c:971:41: warning: pointer targets in passing argument 10 of 'XGetWindowProperty' differ in signedness [-Wpointer-sign] 971 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2686:5: note: expected 'long unsigned int *' but argument is of type 'long int *' 2686 | unsigned long* /* nitems_return */, | ^~~~~~~~~~~~~~ ../spectro/dispwin.c:971:51: warning: pointer targets in passing argument 11 of 'XGetWindowProperty' differ in signedness [-Wpointer-sign] 971 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success | ^~~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2687:5: note: expected 'long unsigned int *' but argument is of type 'long int *' 2687 | unsigned long* /* bytes_after_return */, | ^~~~~~~~~~~~~~ ../spectro/dispwin.c: In function 'dispwin_get_ramdac': ../spectro/dispwin.c:1299:20: warning: too many arguments for format [-Wformat-extra-args] 1299 | debugr2((errout,"XRRGetCrtcGammaSize number of entries %d inconsistent with previous value\n",nent,p->nent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:151:45: note: in definition of macro 'debugr2' 151 | # define debugr2(xx) if (p->ddebug) fprintf xx | ^~ ../spectro/dispwin.c:1350:20: warning: too many arguments for format [-Wformat-extra-args] 1350 | debugr2((errout,"XF86VidModeGetGammaRampSize number of entries %d inconsistent with previous value\n",nent,p->nent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:151:45: note: in definition of macro 'debugr2' 151 | # define debugr2(xx) if (p->ddebug) fprintf xx | ^~ ../spectro/dispwin.c: In function 'dispwin_install_profile': ../spectro/dispwin.c:2730:18: warning: unused variable 'atomv' [-Wunused-variable] 2730 | unsigned char *atomv; | ^~~~~ ../spectro/dispwin.c:2729:24: warning: unused variable 'bread' [-Wunused-variable] 2729 | unsigned long psize, bread; | ^~~~~ ../spectro/dispwin.c:2729:17: warning: unused variable 'psize' [-Wunused-variable] 2729 | unsigned long psize, bread; | ^~~~~ ../spectro/dispwin.c:2728:9: warning: unused variable 'fp' [-Wunused-variable] 2728 | FILE *fp; | ^~ ../spectro/dispwin.c: In function 'dispwin_get_profile': ../spectro/dispwin.c:3288:50: warning: pointer targets in passing argument 11 of 'XRRGetOutputProperty' differ in signedness [-Wpointer-sign] 3288 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:89, from ../spectro/dispwin.c:61: /usr/include/X11/extensions/Xrandr.h:340:24: note: expected 'long unsigned int *' but argument is of type 'long int *' 340 | unsigned long *nitems, unsigned long *bytes_after, | ~~~~~~~~~~~~~~~^~~~~~ ../spectro/dispwin.c:3288:60: warning: pointer targets in passing argument 12 of 'XRRGetOutputProperty' differ in signedness [-Wpointer-sign] 3288 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:89, from ../spectro/dispwin.c:61: /usr/include/X11/extensions/Xrandr.h:340:47: note: expected 'long unsigned int *' but argument is of type 'long int *' 340 | unsigned long *nitems, unsigned long *bytes_after, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ ../spectro/dispwin.c:3302:50: warning: pointer targets in passing argument 10 of 'XGetWindowProperty' differ in signedness [-Wpointer-sign] 3302 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2686:5: note: expected 'long unsigned int *' but argument is of type 'long int *' 2686 | unsigned long* /* nitems_return */, | ^~~~~~~~~~~~~~ ../spectro/dispwin.c:3302:60: warning: pointer targets in passing argument 11 of 'XGetWindowProperty' differ in signedness [-Wpointer-sign] 3302 | &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) != Success || ret_len == 0) { | ^~~~~~~~~ | | | long int * In file included from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2687:5: note: expected 'long unsigned int *' but argument is of type 'long int *' 2687 | unsigned long* /* bytes_after_return */, | ^~~~~~~~~~~~~~ ../spectro/dispwin.c: In function 'dispwin_set_color': ../spectro/dispwin.c:3752:13: warning: unused variable 'kf' [-Wunused-variable] 3752 | double kr, kf; | ^~ ../spectro/dispwin.c:3752:9: warning: unused variable 'kr' [-Wunused-variable] 3752 | double kr, kf; | ^~ ../spectro/dispwin.c: In function 'new_dispwin': ../spectro/dispwin.c:5091:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 5091 | debugr2((errout,"new_dispwin: Default Visual red mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long unsigned int ../spectro/dispwin.c:151:45: note: in definition of macro 'debugr2' 151 | # define debugr2(xx) if (p->ddebug) fprintf xx | ^~ ../spectro/dispwin.c:5091:62: note: format string is defined here 5091 | debugr2((errout,"new_dispwin: Default Visual red mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ~^ | | | unsigned int | %lx ../spectro/dispwin.c:5104:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 5104 | debugr2((errout,"new_dispwin: Default Visual green mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long unsigned int ../spectro/dispwin.c:151:45: note: in definition of macro 'debugr2' 151 | # define debugr2(xx) if (p->ddebug) fprintf xx | ^~ ../spectro/dispwin.c:5104:64: note: format string is defined here 5104 | debugr2((errout,"new_dispwin: Default Visual green mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ~^ | | | unsigned int | %lx ../spectro/dispwin.c:5117:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 5117 | debugr2((errout,"new_dispwin: Default Visual blue mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long unsigned int ../spectro/dispwin.c:151:45: note: in definition of macro 'debugr2' 151 | # define debugr2(xx) if (p->ddebug) fprintf xx | ^~ ../spectro/dispwin.c:5117:63: note: format string is defined here 5117 | debugr2((errout,"new_dispwin: Default Visual blue mask 0x%x is not %d bits\n",vinfo->red_mask,p->fdepth)); | ~^ | | | unsigned int | %lx ../spectro/dispwin.c:5357:6: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 5357 | (char *)(&xid), /* Data is Root Window XID */ | ^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/X11/Xlib.h:47, from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2075:5: note: expected 'const unsigned char *' but argument is of type 'char *' 2075 | _Xconst unsigned char* /* data */, | ^ ../spectro/dispwin.c:5364:56: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 5364 | XA_CARDINAL, 32, PropModeReplace, (char *)(&opaque), 1); | ^~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/X11/Xlib.h:47, from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2075:5: note: expected 'const unsigned char *' but argument is of type 'char *' 2075 | _Xconst unsigned char* /* data */, | ^ ../spectro/dispwin.c:5368:56: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 5368 | XA_CARDINAL, 32, PropModeReplace, (char *)(&opaque), 1); | ^~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/X11/Xlib.h:47, from ../spectro/dispwin.h:83, from ../spectro/dispwin.c:61: /usr/include/X11/Xlib.h:2075:5: note: expected 'const unsigned char *' but argument is of type 'char *' 2075 | _Xconst unsigned char* /* data */, | ^ ../spectro/dispwin.c: In function 'x11_daemon_mode': ../spectro/dispwin.c:5690:23: warning: unused variable 'scrnres' [-Wunused-variable] 5690 | XRRScreenResources *scrnres; | ^~~~~~~ ../spectro/dispwin.c:5647:8: warning: unused variable 'dname' [-Wunused-variable] 5647 | char *dname; | ^~~~~ ../spectro/dispwin.c: In function 'dispwin_uninstall_profile': ../spectro/dispwin.c:2894:4: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2894 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:2895:4: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2895 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ ../spectro/dispwin.c: In function 'restore_display': ../spectro/dispwin.c:3379:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 3379 | system("xscreensaver -nosplash 2>/dev/null >/dev/null&"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:3388:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 3388 | system("dcop kdesktop KScreensaverIface enable true 2>&1 >/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c: In function 'new_dispwin': ../spectro/dispwin.c:5431:6: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 5431 | system("xscreensaver-command -exit 2>/dev/null >/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:5448:7: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 5448 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:5449:7: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 5449 | freopen("/dev/null", "a", stdout); /* Hide output */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:5450:7: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 5450 | freopen("/dev/null", "a", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../spectro/dispwin.c:5469:6: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 5469 | system("dcop kdesktop KScreensaverIface enable false 2>&1 >/dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ../spectro/dispwin.c:2234:13: warning: 'dispwin_dump_ramdac' defined but not used [-Wunused-function] 2234 | static void dispwin_dump_ramdac(FILE *fp, ramdac *r) { | ^~~~~~~~~~~~~~~~~~~ In file included from ../spectro/dispwin.c:62: ../numlib/ui.h:22:13: warning: 'pui_initialized' defined but not used [-Wunused-variable] 22 | static int *pui_initialized = &ui_initialized; | ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o conv.lo `test -f '../spectro/conv.c' || echo './'`../spectro/conv.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/conv.c -fPIC -DPIC -o .libs/conv.o ../spectro/conv.c: In function 'acond_timedwait_imp': ../spectro/conv.c:569:2: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] 569 | gettimeofday(&tv, NULL); | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pollem.lo `test -f '../spectro/pollem.c' || echo './'`../spectro/pollem.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../spectro/pollem.c -fPIC -DPIC -o .libs/pollem.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o alphix.lo `test -f '../target/alphix.c' || echo './'`../target/alphix.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../target/alphix.c -fPIC -DPIC -o .libs/alphix.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o randix.lo `test -f '../target/randix.c' || echo './'`../target/randix.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../target/randix.c -fPIC -DPIC -o .libs/randix.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xicc.lo `test -f '../xicc/xicc.c' || echo './'`../xicc/xicc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xicc.c -fPIC -DPIC -o .libs/xicc.o In file included from ../xicc/xicc.c:84: ../xicc/xmatrix.c: In function 'set_icxLuMatrix': ../xicc/xmatrix.c:1655:16: warning: unused variable '_wp' [-Wunused-variable] 1655 | icmXYZNumber _wp; | ^~~ ../xicc/xmatrix.c:1763:11: warning: unused variable 'cmat' [-Wunused-variable] 1763 | double cmat[3][3]; /* Model correction matrix */ | ^~~~ ../xicc/xmatrix.c:1248:9: warning: unused variable 'rerr' [-Wunused-variable] 1248 | double rerr; | ^~~~ ../xicc/xmatrix.c:1246:9: warning: unused variable 'stopon' [-Wunused-variable] 1246 | double stopon = 0.01; /* Absolute delta E change to stop on */ | ^~~~~~ ../xicc/xmatrix.c:1245:6: warning: unused variable 'maxits' [-Wunused-variable] 1245 | int maxits = 200; /* Optimisation stop params */ | ^~~~~~ In file included from ../xicc/xicc.c:85: ../xicc/xlut.c: In function 'icxLuLut_inv_clut_aux': ../xicc/xlut.c:1316:26: warning: unused variable 'bd' [-Wunused-variable] 1316 | double tv, bv = 0.0, bd = 1e6; | ^~ ../xicc/xlut.c:1316:16: warning: unused variable 'bv' [-Wunused-variable] 1316 | double tv, bv = 0.0, bd = 1e6; | ^~ ../xicc/xlut.c:1574:12: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 1574 | double ss; | ^~ ../xicc/xlut.c: In function 'setup_ink_icxLuLut': ../xicc/xlut.c:2067:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2067 | if (devchan < 4 || p->ink.klimit < 0.0 || p->ink.klimit >= 1.0) | ^~ ../xicc/xlut.c:2072:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2072 | p->clutTable->rev_set_limit( | ^ ../xicc/xlut.c: In function 'setup_clip_icxLuLut': ../xicc/xlut.c:2194:4: warning: case value '1247896096' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 2194 | case icxSigJabData: | ^~~~ ../xicc/xlut.c: In function 'set_clut': ../xicc/xlut.c:2792:6: warning: unused variable 'f' [-Wunused-variable] 2792 | int f; | ^ ../xicc/xlut.c: In function 'set_icxLuLut': ../xicc/xlut.c:3257:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3257 | if (ipoints[i].p[0] < 0.001) | ^~ ../xicc/xlut.c:3259:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3259 | minwp[1] += ipoints[i].v[1]; | ^~~~~ ../xicc/xlut.c:3263:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3263 | if (ipoints[i].p[0] > 0.999) | ^~ ../xicc/xlut.c:3265:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3265 | maxwp[1] += ipoints[i].v[1]; | ^~~~~ ../xicc/xlut.c:2932:6: warning: variable 'maxchan' set but not used [-Wunused-but-set-variable] 2932 | int maxchan; /* max(inputChan, outputChan) */ | ^~~~~~~ ../xicc/xlut.c: In function 'icxLuLutGamut': ../xicc/xlut.c:4262:4: warning: case value '99' not in enumerated type 'icRenderingIntent' [-Wswitch] 4262 | case icmDefaultIntent: /* Shouldn't happen */ | ^~~~ ../xicc/xlut.c:4270:4: warning: case value '994' not in enumerated type 'icRenderingIntent' [-Wswitch] 4270 | case icxAppearance: | ^~~~ ../xicc/xlut.c:4271:4: warning: case value '995' not in enumerated type 'icRenderingIntent' [-Wswitch] 4271 | case icxAbsAppearance: | ^~~~ ../xicc/xlut.c: In function 'cuspmap_getCusp': ../xicc/xlut.c:4538:12: warning: unused variable 'C' [-Wunused-variable] 4538 | double h, C; | ^ ../xicc/xicc.c: In function 'icxLu_comp_bk_point': ../xicc/xicc.c:348:13: warning: unused variable 'h' [-Wunused-variable] 348 | icmHeader *h = icco->header; | ^ ../xicc/xicc.c: In function 'icxLuEfv_wh_bk_points': ../xicc/xicc.c:847:3: warning: case value '1247896096' not in enumerated type 'icColorSpaceSignature' [-Wswitch] 847 | case icxSigJabData: | ^~~~ ../xicc/xicc.c: In function 'ulimitfunc': ../xicc/xicc.c:2670:13: warning: unused variable 'odv' [-Wunused-variable] 2670 | double dv, odv; | ^~~ ../xicc/xicc.c: In function 'icx_powlike': ../xicc/xicc.c:3031:9: warning: unused variable 'tt' [-Wunused-variable] 3031 | double tt, g; | ^~ ../xicc/xicc.c: In function 'icxdpdiPlaneInterp': ../xicc/xicc.c:3475:16: warning: unused variable 'g' [-Wunused-variable] 3475 | int e, ee, f, g; | ^ ../xicc/xicc.c:3475:9: warning: unused variable 'ee' [-Wunused-variable] 3475 | int e, ee, f, g; | ^~ In file included from ../xicc/xicc.c:85: ../xicc/xlut.c: In function 'set_icxLuLut.constprop': ../xicc/xlut.c:3094:9: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] 3094 | if (maxd < mind) { /* Subtractive */ | ^ ../xicc/xlut.c:3094:9: warning: 'maxd' may be used uninitialized in this function [-Wmaybe-uninitialized] /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xlutfix.lo `test -f '../xicc/xlutfix.c' || echo './'`../xicc/xlutfix.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xlutfix.c -fPIC -DPIC -o .libs/xlutfix.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xspect.lo `test -f '../xicc/xspect.c' || echo './'`../xicc/xspect.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xspect.c -fPIC -DPIC -o .libs/xspect.o ../xicc/xspect.c: In function 'xsp_setUV': ../xicc/xspect.c:4559:24: warning: unused variable 'nbl' [-Wunused-variable] 4559 | double inv, uvv, bl, nbl, outv; | ^~~ ../xicc/xspect.c:4535:13: warning: unused variable 'xe' [-Wunused-variable] 4535 | int i, xs, xe; | ^~ ../xicc/xspect.c:4535:9: warning: unused variable 'xs' [-Wunused-variable] 4535 | int i, xs, xe; | ^~ ../xicc/xspect.c: In function 'xsp2cie_fwa_extract': ../xicc/xspect.c:5459:9: warning: unused variable 'j' [-Wunused-variable] 5459 | int i, j, k; | ^ ../xicc/xspect.c: In function 'xsp2cie_fwa_apply': ../xicc/xspect.c:5627:10: warning: unused variable 'Rc' [-Wunused-variable] 5627 | double Rc; /* Reflectance under inst. illum. */ | ^~ ../xicc/xspect.c:5573:9: warning: unused variable 'j' [-Wunused-variable] 5573 | int i, j, k; | ^ ../xicc/xspect.c: In function 'icx_ill_ct2XYZ': ../xicc/xspect.c:7931:16: warning: unused variable 's' [-Wunused-variable] 7931 | double cp[1], s[1]; | ^ ../xicc/xspect.c:7931:9: warning: unused variable 'cp' [-Wunused-variable] 7931 | double cp[1], s[1]; | ^~ ../xicc/xspect.c: In function 'icx_init_locus_poly': ../xicc/xspect.c:8148:12: warning: unused variable 'temp' [-Wunused-variable] 8148 | double temp; | ^~~~ ../xicc/xspect.c:8042:17: warning: unused variable 'c' [-Wunused-variable] 8042 | int ii, i, j, c; | ^ ../xicc/xspect.c:8042:14: warning: unused variable 'j' [-Wunused-variable] 8042 | int ii, i, j, c; | ^ ../xicc/xspect.c: In function 'icx_outside_spec_locus': ../xicc/xspect.c:8459:11: warning: unused variable 'poly' [-Wunused-variable] 8459 | xslpoly *poly; | ^~~~ ../xicc/xspect.c: In function 'icx_EBU2012_TLCI': ../xicc/xspect.c:9428:15: warning: unused variable 'd_ad' [-Wunused-variable] 9428 | double c_ad, d_ad; /* Chromatic adaptation scaling factors */ | ^~~~ ../xicc/xspect.c:9428:9: warning: unused variable 'c_ad' [-Wunused-variable] 9428 | double c_ad, d_ad; /* Chromatic adaptation scaling factors */ | ^~~~ At top level: ../xicc/xspect.c:8380:16: warning: 'splo_Shaw_Fairchild_2_uv' defined but not used [-Wunused-variable] 8380 | static xslpoly splo_Shaw_Fairchild_2_uv = { 0, icxOT_Shaw_Fairchild_2, 1, 0 }; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8379:16: warning: 'splo_Shaw_Fairchild_2_xy' defined but not used [-Wunused-variable] 8379 | static xslpoly splo_Shaw_Fairchild_2_xy = { 0, icxOT_Shaw_Fairchild_2, 0, 0 }; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8378:16: warning: 'splo_CIE_1964_10c_uv' defined but not used [-Wunused-variable] 8378 | static xslpoly splo_CIE_1964_10c_uv = { 0, icxOT_CIE_1964_10c, 1, 0 }; | ^~~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8377:16: warning: 'splo_CIE_1964_10c_xy' defined but not used [-Wunused-variable] 8377 | static xslpoly splo_CIE_1964_10c_xy = { 0, icxOT_CIE_1964_10c, 0, 0 }; | ^~~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8376:16: warning: 'splo_Judd_Voss_2_uv' defined but not used [-Wunused-variable] 8376 | static xslpoly splo_Judd_Voss_2_uv = { 0, icxOT_Judd_Voss_2, 1, 0 }; | ^~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8375:16: warning: 'splo_Judd_Voss_2_xy' defined but not used [-Wunused-variable] 8375 | static xslpoly splo_Judd_Voss_2_xy = { 0, icxOT_Judd_Voss_2, 0, 0 }; | ^~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8374:16: warning: 'splo_Stiles_Burch_2_uv' defined but not used [-Wunused-variable] 8374 | static xslpoly splo_Stiles_Burch_2_uv = { 0, icxOT_Stiles_Burch_2, 1, 0 }; | ^~~~~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c:8373:16: warning: 'splo_Stiles_Burch_2_xy' defined but not used [-Wunused-variable] 8373 | static xslpoly splo_Stiles_Burch_2_xy = { 0, icxOT_Stiles_Burch_2, 0, 0 }; | ^~~~~~~~~~~~~~~~~~~~~~ ../xicc/xspect.c: In function 'icx_ill_ct2XYZ': ../xicc/xspect.c:7971:2: warning: 'iloc' may be used uninitialized in this function [-Wmaybe-uninitialized] 7971 | getval_raw_xspec3_lin(iloc, xyz, tin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xdevlin.lo `test -f '../xicc/xdevlin.c' || echo './'`../xicc/xdevlin.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xdevlin.c -fPIC -DPIC -o .libs/xdevlin.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xcam.lo `test -f '../xicc/xcam.c' || echo './'`../xicc/xcam.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xcam.c -fPIC -DPIC -o .libs/xcam.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cam97s3.lo `test -f '../xicc/cam97s3.c' || echo './'`../xicc/cam97s3.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/cam97s3.c -fPIC -DPIC -o .libs/cam97s3.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cam02.lo `test -f '../xicc/cam02.c' || echo './'`../xicc/cam02.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/cam02.c -fPIC -DPIC -o .libs/cam02.o ../xicc/cam02.c: In function 'set_view': ../xicc/cam02.c:299:6: warning: unused variable 'i' [-Wunused-variable] 299 | int i; | ^ ../xicc/cam02.c: In function 'XYZ_to_cam': ../xicc/cam02.c:613:6: warning: variable 'clip' set but not used [-Wunused-but-set-variable] 613 | int clip = 0; | ^~~~ At top level: ../xicc/cam02.c:204:15: warning: 'spow' defined but not used [-Wunused-function] 204 | static double spow(double val, double pp) { | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mpp.lo `test -f '../xicc/mpp.c' || echo './'`../xicc/mpp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/mpp.c -fPIC -DPIC -o .libs/mpp.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xfit.lo `test -f '../xicc/xfit.c' || echo './'`../xicc/xfit.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xfit.c -fPIC -DPIC -o .libs/xfit.o ../xicc/xfit.c: In function 'dshapscale': ../xicc/xfit.c:821:10: warning: unused variable 'b' [-Wunused-variable] 821 | double *b, *c; /* Base of parameters for this section */ | ^ ../xicc/xfit.c:820:13: warning: unused variable 'w' [-Wunused-variable] 820 | double tt, w; | ^ ../xicc/xfit.c:820:9: warning: unused variable 'tt' [-Wunused-variable] 820 | double tt, w; | ^~ ../xicc/xfit.c: In function 'xfit_fit': ../xicc/xfit.c:2723:17: warning: unused variable '_wp' [-Wunused-variable] 2723 | icmXYZNumber _wp; | ^~~ At top level: ../xicc/xfit.c:1590:13: warning: 'domodel' defined but not used [-Wunused-function] 1590 | static void domodel(double *out, double *in) { | ^~~~~~~ ../xicc/xfit.c:662:13: warning: 'xfit_XYZ_abs_to_rel' defined but not used [-Wunused-function] 662 | static void xfit_XYZ_abs_to_rel(xfit *p, double *out, double *in) { | ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o moncurve.lo `test -f '../xicc/moncurve.c' || echo './'`../xicc/moncurve.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/moncurve.c -fPIC -DPIC -o .libs/moncurve.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xdgb.lo `test -f '../xicc/xdgb.c' || echo './'`../xicc/xdgb.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xdgb.c -fPIC -DPIC -o .libs/xdgb.o ../xicc/xdgb.c: In function 'xdgb_fit': ../xicc/xdgb.c:70:6: warning: unused variable 'poff' [-Wunused-variable] 70 | int poff; | ^~~~ ../xicc/xdgb.c:69:10: warning: unused variable 'b' [-Wunused-variable] 69 | double *b; /* Base of parameters for this section */ | ^ ../xicc/xdgb.c:68:12: warning: unused variable 'f' [-Wunused-variable] 68 | int i, e, f; | ^ ../xicc/xdgb.c:68:9: warning: unused variable 'e' [-Wunused-variable] 68 | int i, e, f; | ^ ../xicc/xdgb.c:68:6: warning: unused variable 'i' [-Wunused-variable] 68 | int i, e, f; | ^ At top level: ../xicc/xdgb.c:52:13: warning: 'plot_xdgb' defined but not used [-Wunused-function] 52 | static void plot_xdgb( | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xcal.lo `test -f '../xicc/xcal.c' || echo './'`../xicc/xcal.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xcal.c -fPIC -DPIC -o .libs/xcal.o ../xicc/xcal.c: In function 'xcal_read_cgats': ../xicc/xcal.c:173:10: warning: unused variable 'smooth' [-Wunused-variable] 173 | double smooth = 1.0; | ^~~~~~ ../xicc/xcal.c: In function 'xcal_read_icc': ../xicc/xcal.c:262:10: warning: unused variable 'smooth' [-Wunused-variable] 262 | double smooth = 1.0; | ^~~~~~ ../xicc/xcal.c: In function 'xcal_write_cgats': ../xicc/xcal.c:337:12: warning: unused variable 'ti' [-Wunused-variable] 337 | int i, j, ti; | ^~ ../xicc/xcal.c: In function 'xcal_write': ../xicc/xcal.c:434:6: warning: unused variable 'table' [-Wunused-variable] 434 | int table = 0; | ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xcolorants.lo `test -f '../xicc/xcolorants.c' || echo './'`../xicc/xcolorants.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xcolorants.c -fPIC -DPIC -o .libs/xcolorants.o ../xicc/xcolorants.c: In function 'icx_icc_cv_to_colorant_comb': ../xicc/xcolorants.c:428:6: warning: variable 'order' set but not used [-Wunused-but-set-variable] 428 | int order[MAX_CHAN]; /* Place holder, not currently used - return ink order */ | ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o bt1886.lo `test -f '../xicc/bt1886.c' || echo './'`../xicc/bt1886.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/bt1886.c -fPIC -DPIC -o .libs/bt1886.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ccmx.lo `test -f '../xicc/ccmx.c' || echo './'`../xicc/ccmx.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/ccmx.c -fPIC -DPIC -o .libs/ccmx.o ../xicc/ccmx.c: In function 'create_ccmx_cgats': ../xicc/ccmx.c:117:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 117 | if (pocg != NULL) | ^~ ../xicc/ccmx.c:120:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 120 | return 0; | ^~~~~~ ../xicc/ccmx.c:67:12: warning: unused variable 'n' [-Wunused-variable] 67 | int i, j, n; | ^ ../xicc/ccmx.c:67:9: warning: unused variable 'j' [-Wunused-variable] 67 | int i, j, n; | ^ ../xicc/ccmx.c: In function 'read_ccmx_cgats': ../xicc/ccmx.c:195:12: warning: unused variable 'n' [-Wunused-variable] 195 | int i, j, n, ix; | ^ ../xicc/ccmx.c:195:9: warning: unused variable 'j' [-Wunused-variable] 195 | int i, j, n, ix; | ^ ../xicc/ccmx.c: In function 'create_ccmx': ../xicc/ccmx.c:573:9: warning: variable 'mxix' set but not used [-Wunused-but-set-variable] 573 | int i, mxix; | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ccss.lo `test -f '../xicc/ccss.c' || echo './'`../xicc/ccss.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/ccss.c -fPIC -DPIC -o .libs/ccss.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xutils.lo `test -f '../xicc/xutils.c' || echo './'`../xicc/xutils.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/xutils.c -fPIC -DPIC -o .libs/xutils.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o iccjpeg.lo `test -f '../xicc/iccjpeg.c' || echo './'`../xicc/iccjpeg.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../xicc/iccjpeg.c -fPIC -DPIC -o .libs/iccjpeg.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o numsup.lo `test -f '../numlib/numsup.c' || echo './'`../numlib/numsup.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/numsup.c -fPIC -DPIC -o .libs/numsup.o ../numlib/numsup.c: In function 'ssat_mul': ../numlib/numsup.c:701:9: warning: unused variable 'c' [-Wunused-variable] 701 | size_t c; | ^ ../numlib/numsup.c: In function 'recalloc': ../numlib/numsup.c:720:6: warning: unused variable 'ind' [-Wunused-variable] 720 | int ind = 0; | ^~~ ../numlib/numsup.c: In function 'get_sys_info': ../numlib/numsup.c:355:29: warning: '%s' directive writing up to 64 bytes into a region of size between 5 and 197 [-Wformat-overflow=] 355 | sprintf(sysinfo,"%s %s %s %s",ver.sysname, ver.version, ver.release, ver.machine); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../numlib/numsup.c:14: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 260 bytes into a destination of size 200 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dnsq.lo `test -f '../numlib/dnsq.c' || echo './'`../numlib/dnsq.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/dnsq.c -fPIC -DPIC -o .libs/dnsq.o ../numlib/dnsq.c: In function 'dnsqe': ../numlib/dnsq.c:89:11: warning: variable 'index' set but not used [-Wunused-but-set-variable] 89 | int i,j, index, ml, lr, mu; | ^~~~~ ../numlib/dnsq.c:89:8: warning: unused variable 'j' [-Wunused-variable] 89 | int i,j, index, ml, lr, mu; | ^ ../numlib/dnsq.c:89:6: warning: unused variable 'i' [-Wunused-variable] 89 | int i,j, index, ml, lr, mu; | ^ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o powell.lo `test -f '../numlib/powell.c' || echo './'`../numlib/powell.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/powell.c -fPIC -DPIC -o .libs/powell.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dhsx.lo `test -f '../numlib/dhsx.c' || echo './'`../numlib/dhsx.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/dhsx.c -fPIC -DPIC -o .libs/dhsx.o ../numlib/dhsx.c: In function 'dhsx': ../numlib/dhsx.c:200:7: warning: 'tryy' may be used uninitialized in this function [-Wmaybe-uninitialized] 200 | *rv = tryy; | ~~~~^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ludecomp.lo `test -f '../numlib/ludecomp.c' || echo './'`../numlib/ludecomp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/ludecomp.c -fPIC -DPIC -o .libs/ludecomp.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o svd.lo `test -f '../numlib/svd.c' || echo './'`../numlib/svd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/svd.c -fPIC -DPIC -o .libs/svd.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ui.lo `test -f '../numlib/ui.c' || echo './'`../numlib/ui.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/ui.c -fPIC -DPIC -o .libs/ui.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o zbrent.lo `test -f '../numlib/zbrent.c' || echo './'`../numlib/zbrent.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/zbrent.c -fPIC -DPIC -o .libs/zbrent.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rand.lo `test -f '../numlib/rand.c' || echo './'`../numlib/rand.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/rand.c -fPIC -DPIC -o .libs/rand.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sobol.lo `test -f '../numlib/sobol.c' || echo './'`../numlib/sobol.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/sobol.c -fPIC -DPIC -o .libs/sobol.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o aatree.lo `test -f '../numlib/aatree.c' || echo './'`../numlib/aatree.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../numlib/aatree.c -fPIC -DPIC -o .libs/aatree.o ../numlib/aatree.c: In function 'aat_aerase': ../numlib/aatree.c:272:34: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] 272 | path[top - 1]->link[dir] = it->link[dir2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -DUNIX -I ../cgats -I../gamut -I../h -I../icc -I../numlib -I../plot -I../profile -I../render -I../rspl -I../spectro -I../target -I../xicc -I../ucmm -DNATIVE_USB -DENABLE_USB -DENABLE_FAST_SERIAL -DENABLE_SERIAL -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -version-info 0:0:0 -export-dynamic -no-undefined -o libargyll.la -rpath /usr/lib pars.lo cgats.lo parsstd.lo cgatsstd.lo gamut.lo gammap.lo nearsmth.lo plot.lo vrml.lo profin.lo profout.lo render.lo thscreen.lo rspl.lo scat.lo rev.lo gam.lo spline.lo opt.lo scanrd.lo insttypes.lo instappsup.lo specbos.lo xdg_bds.lo i1d3.lo inst.lo dtp20.lo dtp22.lo dtp41.lo dtp51.lo dtp92.lo i1disp.lo i1pro.lo i1pro_imp.lo munki.lo munki_imp.lo ss.lo ss_imp.lo hcfr.lo spyd2.lo huey.lo usbio.lo hidio.lo icoms.lo colorhug.lo kleink10.lo disptechs.lo aglob.lo xrga.lo rspec.lo smcube.lo ex1.lo webwin.lo mongoose.lo dispsup.lo dispwin.lo conv.lo pollem.lo alphix.lo randix.lo xicc.lo xlutfix.lo xspect.lo xdevlin.lo xcam.lo cam97s3.lo cam02.lo mpp.lo xfit.lo moncurve.lo xdgb.lo xcal.lo xcolorants.lo bt1886.lo ccmx.lo ccss.lo xutils.lo iccjpeg.lo numsup.lo dnsq.lo powell.lo dhsx.lo ludecomp.lo svd.lo ui.lo zbrent.lo rand.lo sobol.lo aatree.lo ../icc/libargyllicc.la -ltiff -ljpeg -ldl -lX11 -lXext -lXrandr -lXinerama -lXxf86vm -lpng16 -lz -lrt -lpthread -lz -lm -lpng libtool: link: i586-alt-linux-gcc -shared -fPIC -DPIC .libs/pars.o .libs/cgats.o .libs/parsstd.o .libs/cgatsstd.o .libs/gamut.o .libs/gammap.o .libs/nearsmth.o .libs/plot.o .libs/vrml.o .libs/profin.o .libs/profout.o .libs/render.o .libs/thscreen.o .libs/rspl.o .libs/scat.o .libs/rev.o .libs/gam.o .libs/spline.o .libs/opt.o .libs/scanrd.o .libs/insttypes.o .libs/instappsup.o .libs/specbos.o .libs/xdg_bds.o .libs/i1d3.o .libs/inst.o .libs/dtp20.o .libs/dtp22.o .libs/dtp41.o .libs/dtp51.o .libs/dtp92.o .libs/i1disp.o .libs/i1pro.o .libs/i1pro_imp.o .libs/munki.o .libs/munki_imp.o .libs/ss.o .libs/ss_imp.o .libs/hcfr.o .libs/spyd2.o .libs/huey.o .libs/usbio.o .libs/hidio.o .libs/icoms.o .libs/colorhug.o .libs/kleink10.o .libs/disptechs.o .libs/aglob.o .libs/xrga.o .libs/rspec.o .libs/smcube.o .libs/ex1.o .libs/webwin.o .libs/mongoose.o .libs/dispsup.o .libs/dispwin.o .libs/conv.o .libs/pollem.o .libs/alphix.o .libs/randix.o .libs/xicc.o .libs/xlutfix.o .libs/xspect.o .libs/xdevlin.o .libs/xcam.o .libs/cam97s3.o .libs/cam02.o .libs/mpp.o .libs/xfit.o .libs/moncurve.o .libs/xdgb.o .libs/xcal.o .libs/xcolorants.o .libs/bt1886.o .libs/ccmx.o .libs/ccss.o .libs/xutils.o .libs/iccjpeg.o .libs/numsup.o .libs/dnsq.o .libs/powell.o .libs/dhsx.o .libs/ludecomp.o .libs/svd.o .libs/ui.o .libs/zbrent.o .libs/rand.o .libs/sobol.o .libs/aatree.o -Wl,-rpath -Wl,/usr/src/RPM/BUILD/hargyllcms-1.9.2/icc/.libs ../icc/.libs/libargyllicc.so -ltiff -ljpeg -ldl -lX11 -lXext -lXrandr -lXinerama -lXxf86vm -lpng16 -lrt -lpthread -lz -lm -lpng -g -O2 -march=i586 -mtune=generic -Wl,-soname -Wl,libargyll.so.0 -o .libs/libargyll.so.0.0.0 /usr/bin/ld.default: .libs/gammap.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/nearsmth.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/vrml.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/profin.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/profout.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/dispwin.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/xicc.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/xlutfix.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/mpp.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/xfit.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/xdgb.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here /usr/bin/ld.default: .libs/xcal.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: multiple definition of `wrl'; .libs/gamut.o:/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib/../gamut/gamut.h:39: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:568: libargyll.la] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2/lib' make[1]: *** [Makefile:444: all-recursive] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2' make: *** [Makefile:376: all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/hargyllcms-1.9.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.64983 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.64983 (%build) Command exited with non-zero status 1 294.07user 12.34system 5:29.56elapsed 92%CPU (0avgtext+0avgdata 360296maxresident)k 0inputs+0outputs (0major+2321254minor)pagefaults 0swaps hsh-rebuild: rebuild of `argyllcms-1.9.2-alt1.src.rpm' failed. Command exited with non-zero status 1 303.35user 17.94system 5:44.47elapsed 93%CPU (0avgtext+0avgdata 360296maxresident)k 0inputs+0outputs (0major+2569562minor)pagefaults 0swaps