printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild wcstools 2>&1 The package 'wcstools' will be built without being installed. Reading build dependency for wcstools-3.8.7-1... Reading dependency for wcstools-3.8.7-1... Reading build conflict for wcstools-3.8.7-1... The following package will be rebuilt: wcstools curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/wcstools-3.8.7.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 938k 1 14238 0 0 11252 0 0:01:25 0:00:01 0:01:24 11255 18 938k 18 172k 0 0 102k 0 0:00:09 0:00:01 0:00:08 102k 94 938k 94 889k 0 0 331k 0 0:00:02 0:00:02 --:--:-- 331k 100 938k 100 938k 0 0 340k 0 0:00:02 0:00:02 --:--:-- 340k Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-wcstools-3.8.7-1 /sw/build.build dpkg-deb: building package `fink-buildlock-wcstools-3.8.7-1' in `/sw/build.build/fink-buildlock-wcstools-3.8.7-1_2014.07.29-22.24.02_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-wcstools-3.8.7-1_2014.07.29-22.24.02_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-wcstools-3.8.7-1. (Reading database ... 4296 files and directories currently installed.) Unpacking fink-buildlock-wcstools-3.8.7-1 (from .../fink-buildlock-wcstools-3.8.7-1_2014.07.29-22.24.02_darwin-x86_64.deb) ... Setting up fink-buildlock-wcstools-3.8.7-1 (2014.07.29-22.24.02) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.vVKN3 env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/wcstools-3.8.7.tar.gz wcstools-3.8.7/ wcstools-3.8.7/libwcs/ wcstools-3.8.7/libwcs/Makefile wcstools-3.8.7/libwcs/Files wcstools-3.8.7/libwcs/NEWS wcstools-3.8.7/libwcs/Readme wcstools-3.8.7/libwcs/actread.c wcstools-3.8.7/libwcs/binread.c wcstools-3.8.7/libwcs/caphot.c wcstools-3.8.7/libwcs/catutil.c wcstools-3.8.7/libwcs/cel.c wcstools-3.8.7/libwcs/ctgread.c wcstools-3.8.7/libwcs/fitsfile.h wcstools-3.8.7/libwcs/fitshead.h wcstools-3.8.7/libwcs/imio.h wcstools-3.8.7/libwcs/lwcs.h wcstools-3.8.7/libwcs/wcs.h wcstools-3.8.7/libwcs/wcscat.h wcstools-3.8.7/libwcs/wcslib.h wcstools-3.8.7/libwcs/daoread.c wcstools-3.8.7/libwcs/dateutil.c wcstools-3.8.7/libwcs/dateutil0.c wcstools-3.8.7/libwcs/distort.c wcstools-3.8.7/libwcs/dsspos.c wcstools-3.8.7/libwcs/fileutil.c wcstools-3.8.7/libwcs/findstar.c wcstools-3.8.7/libwcs/fitsfile.c wcstools-3.8.7/libwcs/hget.c wcstools-3.8.7/libwcs/fitswcs.c wcstools-3.8.7/libwcs/fortcat.c wcstools-3.8.7/libwcs/fortwcs.c wcstools-3.8.7/libwcs/gsc2read.c wcstools-3.8.7/libwcs/gscread.c wcstools-3.8.7/libwcs/hput.c wcstools-3.8.7/libwcs/iget.c wcstools-3.8.7/libwcs/imgetwcs.c wcstools-3.8.7/libwcs/imhfile.c wcstools-3.8.7/libwcs/imio.c wcstools-3.8.7/libwcs/imrotate.c wcstools-3.8.7/libwcs/imsetwcs.c wcstools-3.8.7/libwcs/imutil.c wcstools-3.8.7/libwcs/lin.c wcstools-3.8.7/libwcs/log.c wcstools-3.8.7/libwcs/matchstar.c wcstools-3.8.7/libwcs/matchstar1.c wcstools-3.8.7/libwcs/platefit.c wcstools-3.8.7/libwcs/platepos.c wcstools-3.8.7/libwcs/polfit.c wcstools-3.8.7/libwcs/proj.c wcstools-3.8.7/libwcs/sdssread.c wcstools-3.8.7/libwcs/shrink.c wcstools-3.8.7/libwcs/sortstar.c wcstools-3.8.7/libwcs/sph.c wcstools-3.8.7/libwcs/tabread.c wcstools-3.8.7/libwcs/COPYING wcstools-3.8.7/libwcs/tabsort.c wcstools-3.8.7/libwcs/tmcread.c wcstools-3.8.7/libwcs/tnxpos.c wcstools-3.8.7/libwcs/ty2read.c wcstools-3.8.7/libwcs/uacread.c wcstools-3.8.7/libwcs/ubcread.c wcstools-3.8.7/libwcs/ucacread.c wcstools-3.8.7/libwcs/ujcread.c wcstools-3.8.7/libwcs/wcs.c wcstools-3.8.7/libwcs/wcscon.c wcstools-3.8.7/libwcs/wcsinit.c wcstools-3.8.7/libwcs/wcslib.c wcstools-3.8.7/libwcs/wcstrig.c wcstools-3.8.7/libwcs/webread.c wcstools-3.8.7/libwcs/worldpos.c wcstools-3.8.7/libwcs/fitsfile1.h wcstools-3.8.7/libwcs/wcscat1.h wcstools-3.8.7/libwcs/imrotate1.c wcstools-3.8.7/libwcs/wcscon1.c wcstools-3.8.7/libwcs/str2dcpp.c wcstools-3.8.7/libwcs/skybotread.c wcstools-3.8.7/libwcs/str2dsun.c wcstools-3.8.7/libwcs/addup wcstools-3.8.7/libwcs/Update.sao wcstools-3.8.7/libwcs/addup.sed wcstools-3.8.7/libwcs/nameup wcstools-3.8.7/libwcs/ang2str.c wcstools-3.8.7/libwcs/hput1.c wcstools-3.8.7/libwcs/nut1981.c wcstools-3.8.7/libwcs/webread0.c wcstools-3.8.7/libwcs/nut2006.c wcstools-3.8.7/libwcs/poly.c wcstools-3.8.7/libwcs/str2ang.c wcstools-3.8.7/libwcs/zpxpos.c wcstools-3.8.7/libwcs/nameup.sed wcstools-3.8.7/bin/ wcstools-3.8.7/SAOimage.scripts/ wcstools-3.8.7/SAOimage.scripts/saoujc wcstools-3.8.7/SAOimage.scripts/SAOscripts.readme wcstools-3.8.7/SAOimage.scripts/saoact wcstools-3.8.7/SAOimage.scripts/saobsc wcstools-3.8.7/SAOimage.scripts/saocata wcstools-3.8.7/SAOimage.scripts/saogsc wcstools-3.8.7/SAOimage.scripts/saogsc2 wcstools-3.8.7/SAOimage.scripts/saogsc2x200 wcstools-3.8.7/SAOimage.scripts/saogsca wcstools-3.8.7/SAOimage.scripts/saoiras wcstools-3.8.7/SAOimage.scripts/saomgsc wcstools-3.8.7/SAOimage.scripts/saomgsc2 wcstools-3.8.7/SAOimage.scripts/saomgsca wcstools-3.8.7/SAOimage.scripts/saomtmc wcstools-3.8.7/SAOimage.scripts/saomua2 wcstools-3.8.7/SAOimage.scripts/saomub1 wcstools-3.8.7/SAOimage.scripts/saoppm wcstools-3.8.7/SAOimage.scripts/saosao wcstools-3.8.7/SAOimage.scripts/saotmc wcstools-3.8.7/SAOimage.scripts/saoty2 wcstools-3.8.7/SAOimage.scripts/saotycho wcstools-3.8.7/SAOimage.scripts/saoua1 wcstools-3.8.7/SAOimage.scripts/saoua2 wcstools-3.8.7/SAOimage.scripts/saouac wcstools-3.8.7/SAOimage.scripts/saoub1 wcstools-3.8.7/SAOimage.scripts/saoub1i3 wcstools-3.8.7/SAOimage.scripts/saoub1i4 wcstools-3.8.7/SAOimage.scripts/saoub1i5 wcstools-3.8.7/SAOimage.scripts/saoucac1 wcstools-3.8.7/SAOimage.scripts/saoucac2 wcstools-3.8.7/SAOimage.scripts/saousa1 wcstools-3.8.7/SAOimage.scripts/saousa2 wcstools-3.8.7/SAOimage.scripts/saousac wcstools-3.8.7/SAOimage.scripts/saoucac3 wcstools-3.8.7/Makefile.solaris wcstools-3.8.7/NEWS wcstools-3.8.7/addpix.c wcstools-3.8.7/bincat.c wcstools-3.8.7/Programs wcstools-3.8.7/Linkbins wcstools-3.8.7/Install wcstools-3.8.7/catrot.c wcstools-3.8.7/char2sp.c wcstools-3.8.7/conpix.c wcstools-3.8.7/cphead.c wcstools-3.8.7/crlf.c wcstools-3.8.7/delhead.c wcstools-3.8.7/delwcs.c wcstools-3.8.7/edhead.c wcstools-3.8.7/filedir.c wcstools-3.8.7/filename.c wcstools-3.8.7/fileroot.c wcstools-3.8.7/filext.c wcstools-3.8.7/fixpix.c wcstools-3.8.7/gdtemp.c wcstools-3.8.7/getcol.c wcstools-3.8.7/getdate.c wcstools-3.8.7/getfits.c wcstools-3.8.7/getftab.c wcstools-3.8.7/gethead.c wcstools-3.8.7/getpix.c wcstools-3.8.7/gettab.c wcstools-3.8.7/gsc2cat.c wcstools-3.8.7/httpget.c wcstools-3.8.7/httpscat.c wcstools-3.8.7/i2f.c wcstools-3.8.7/imcat.c wcstools-3.8.7/imextract.c wcstools-3.8.7/imfill.c wcstools-3.8.7/imhead.c wcstools-3.8.7/immatch.c wcstools-3.8.7/imresize.c wcstools-3.8.7/imrot.c wcstools-3.8.7/imsize.c wcstools-3.8.7/imsmooth.c wcstools-3.8.7/imstack.c wcstools-3.8.7/imstar.c wcstools-3.8.7/imwcs.c wcstools-3.8.7/isfits.c wcstools-3.8.7/isnum.c wcstools-3.8.7/isrange.c wcstools-3.8.7/keyhead.c wcstools-3.8.7/matchcat.c wcstools-3.8.7/nedname.c wcstools-3.8.7/nedpos.c wcstools-3.8.7/newfits.c wcstools-3.8.7/remap.c wcstools-3.8.7/scat.c wcstools-3.8.7/Readme wcstools-3.8.7/sethead.c wcstools-3.8.7/setpix.c wcstools-3.8.7/wcstools wcstools-3.8.7/simpos.c wcstools-3.8.7/MakeLinks wcstools-3.8.7/simposx.c wcstools-3.8.7/sky2xy.c wcstools-3.8.7/skycoor.c wcstools-3.8.7/sp2char.c wcstools-3.8.7/subpix.c wcstools-3.8.7/tmcat.c wcstools-3.8.7/Makefile wcstools-3.8.7/Makefile.osx wcstools-3.8.7/sumpix.c wcstools-3.8.7/COPYING wcstools-3.8.7/testrot.c wcstools-3.8.7/matchstar.c wcstools-3.8.7/libned/ wcstools-3.8.7/libned/Makefile wcstools-3.8.7/libned/Makefile.bsd wcstools-3.8.7/libned/Makefile.linux wcstools-3.8.7/libned/Makefile.solaris wcstools-3.8.7/libned/NED_client wcstools-3.8.7/libned/New_functions wcstools-3.8.7/libned/README wcstools-3.8.7/libned/byname.c wcstools-3.8.7/libned/connectSock.c wcstools-3.8.7/libned/ex_refcode.c wcstools-3.8.7/libned/iau.c wcstools-3.8.7/libned/name_resolver.c wcstools-3.8.7/libned/nearname.c wcstools-3.8.7/libned/nearposn.c wcstools-3.8.7/libned/ned_cif.c wcstools-3.8.7/libned/ned_cli.c wcstools-3.8.7/libned/ned_client.h wcstools-3.8.7/libned/ned_err.c wcstools-3.8.7/libned/ned_sk.c wcstools-3.8.7/libned/nedc.h wcstools-3.8.7/libned/nedname.c wcstools-3.8.7/libned/nedpos.c wcstools-3.8.7/libned/ref.c wcstools-3.8.7/libned/ned_cli0.c wcstools-3.8.7/libned/ned_cif0.c wcstools-3.8.7/tmcate.c wcstools-3.8.7/tmxcat.c wcstools-3.8.7/wcshead.c wcstools-3.8.7/xy2sky.c wcstools-3.8.7/Makefile0.osx wcstools-3.8.7/xy2sky1.c wcstools-3.8.7/yb6cat.c wcstools-3.8.7/isimlist.c wcstools-3.8.7/revup wcstools-3.8.7/revup.sed wcstools-3.8.7/caphot.c wcstools-3.8.7/nameup.sed wcstools-3.8.7/setheadx.c wcstools-3.8.7/sph.c wcstools-3.8.7/tabsort.c wcstools-3.8.7/zimhead wcstools-3.8.7/zgethead wcstools-3.8.7/nameup wcstools-3.8.7/addup.sed wcstools-3.8.7/addup wcstools-3.8.7/man/ wcstools-3.8.7/man/man1/ wcstools-3.8.7/man/man1/keyhead.1 wcstools-3.8.7/man/man1/imcat.1 wcstools-3.8.7/man/man1/imusa2.1 wcstools-3.8.7/man/man1/susa2.1 wcstools-3.8.7/man/man1/scat.1 wcstools-3.8.7/man/man1/imwcs.1 wcstools-3.8.7/man/man1/xy2sky.1 wcstools-3.8.7/man/man1/imgsc.1 wcstools-3.8.7/man/man1/imhead.1 wcstools-3.8.7/man/man1/imrot.1 wcstools-3.8.7/man/man1/imua2.1 wcstools-3.8.7/man/man1/wcstools.1 wcstools-3.8.7/man/man1/sethead.1 wcstools-3.8.7/man/man1/sky2xy.1 wcstools-3.8.7/man/man1/edhead.1 wcstools-3.8.7/man/man1/getcol.1 wcstools-3.8.7/man/man1/i2f.1 wcstools-3.8.7/man/man1/imsize.1 wcstools-3.8.7/man/man1/imstar.1 wcstools-3.8.7/man/man1/setpix.1 wcstools-3.8.7/man/man1/skycoor.1 wcstools-3.8.7/man/man1/sua2.1 wcstools-3.8.7/man/man1/gethead.1 wcstools-3.8.7/man/man1/delwcs.1 wcstools-3.8.7/man/man1/sgsc.1 wcstools-3.8.7/man/man1/delhead.1 wcstools-3.8.7/man/man1/wcshead.1 sudo -u fink-bld [ENV] sh -c /tmp/fink.u1x2K make CFLAGS="-O2" cd libwcs; make cc -O2 -o bin/fileroot fileroot.c cc -O2 -o bin/filename filename.c cc -O2 -o bin/filext filext.c cc -O2 -o bin/crlf crlf.c cc -O2 -o bin/isrange isrange.c cd libned; make cc -O2 -I/sw/include -c -o imsetwcs.o imsetwcs.c cc -O2 -I/sw/include -c -o imgetwcs.o imgetwcs.c cc -O2 -I/sw/include -c -o ned_cli.o ned_cli.c ned_cli.c:2:1: warning: '/*' within block comment [-Wcomment] /* ned_cli.c Xiuqin Wu Nov. 9, 1993 ^ ned_cli.c:3:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:4:1: warning: '/*' within block comment [-Wcomment] /*commands(sent by client, received by server): ^ ned_cli.c:5:1: warning: '/*' within block comment [-Wcomment] /* . the length of the command is less than 100 ^ ned_cli.c:6:1: warning: '/*' within block comment [-Wcomment] /* . the command is always ended with a '\n', and is always a string ^ ned_cli.c:7:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:8:1: warning: '/*' within block comment [-Wcomment] /* 1. name_resolver "objname" ^ ned_cli.c:9:1: warning: '/*' within block comment [-Wcomment] /* 2. obj_byname "objname" ^ ned_cli.c:10:1: warning: '/*' within block comment [-Wcomment] /* 3. obj_nearname "objname", radius ^ ned_cli.c:11:1: warning: '/*' within block comment [-Wcomment] /* 4. obj_nearposn ra(j2000 decimal), dec(j2000 decimal), ^ ned_cli.c:12:1: warning: '/*' within block comment [-Wcomment] /* radius(arcmin) ^ ned_cli.c:13:1: warning: '/*' within block comment [-Wcomment] /* 5. obj_iauformat iau_format iauname, style, calendar, epoch ^ ned_cli.c:14:1: warning: '/*' within block comment [-Wcomment] /* (S, L) (B,J) (1500-2500) ^ ned_cli.c:15:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:16:1: warning: '/*' within block comment [-Wcomment] /*results(sent by server, received by client): ^ ned_cli.c:17:1: warning: '/*' within block comment [-Wcomment] /* . one string for one data, its length is less than 100 ^ ned_cli.c:18:1: warning: '/*' within block comment [-Wcomment] /* . the string is always ended with a '\n' ^ ned_cli.c:19:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:20:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:21:1: warning: '/*' within block comment [-Wcomment] /* FUNCTIONS in the second level: ^ ned_cli.c:22:1: warning: '/*' within block comment [-Wcomment] /* ============================= ^ ned_cli.c:23:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:24:1: warning: '/*' within block comment [-Wcomment] /* Following are the functions that will be called by the first level ^ ned_cli.c:25:1: warning: '/*' within block comment [-Wcomment] /* functions (in ned_cif.c), and could be used by the experienced NED ^ ned_cli.c:26:1: warning: '/*' within block comment [-Wcomment] /* client programmers: ^ ned_cli.c:27:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:28:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:29:1: warning: '/*' within block comment [-Wcomment] /* 1. ned_query(int cmd_code, va_alist) ^ ned_cli.c:30:1: warning: '/*' within block comment [-Wcomment] /* generate a standard command sent to NED server ^ ned_cli.c:31:1: warning: '/*' within block comment [-Wcomment] /* send the NED command to the server ^ ned_cli.c:32:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:33:1: warning: '/*' within block comment [-Wcomment] /* 2. int ned_qst() ^ ned_cli.c:34:1: warning: '/*' within block comment [-Wcomment] /* get the status of the query just sent ^ ned_cli.c:35:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:36:1: warning: '/*' within block comment [-Wcomment] /* 3. int ned_qno() ^ ned_cli.c:37:1: warning: '/*' within block comment [-Wcomment] /* get the number of objects found or the number of ambiguous names for ^ ned_cli.c:38:1: warning: '/*' within block comment [-Wcomment] /* object name related searches, i.e name_resolver, byname, nearname ^ ned_cli.c:39:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:40:1: warning: '/*' within block comment [-Wcomment] /* 4. int ned_gets(char *s) in ned_sk.c ^ ned_cli.c:41:1: warning: '/*' within block comment [-Wcomment] /* 5. int ned_getint(int *n) ^ ned_cli.c:42:1: warning: '/*' within block comment [-Wcomment] /* 6. int ned_getdouble(double *f) ^ ned_cli.c:43:1: warning: '/*' within block comment [-Wcomment] /* get string, integer, and double ^ ned_cli.c:44:1: warning: '/*' within block comment [-Wcomment] /* return -1 when the communication is broken ^ ned_cli.c:45:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:46:1: warning: '/*' within block comment [-Wcomment] /* 7. ned_objects(ObjInfo *objp, int no_obj) ^ ned_cli.c:47:1: warning: '/*' within block comment [-Wcomment] /* allocate the space for all the objects found (total number of no_obj) ^ ned_cli.c:48:1: warning: '/*' within block comment [-Wcomment] /* and fill the space with real NED data. ^ ned_cli.c:49:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:50:1: warning: '/*' within block comment [-Wcomment] /* Programmers are responsible to free the space they no longer need. ^ ned_cli.c:51:1: warning: '/*' within block comment [-Wcomment] /* Two functions (ned_free_objp, ned_free_cp) are provided as the first ^ ned_cli.c:52:1: warning: '/*' within block comment [-Wcomment] /* level function calls in ned_cif.c. ^ ned_cli.c:53:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cli.c:54:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ In file included from ned_cli.c:60: ./ned_client.h:2:1: warning: '/*' within block comment [-Wcomment] /* ned_client.h Xiuqin Wu Nov. 9, 1993 ^ ./ned_client.h:3:1: warning: '/*' within block comment [-Wcomment] /* ^ ./ned_client.h:4:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ ned_cli.c:300:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ imsetwcs.c:239:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nbin*sizeof(double)); ^~~~~~~~~~~~~~~~~~~ imsetwcs.c:244:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nbin*sizeof(double)); ^~~~~~~~~~~~~~~~~~~ imsetwcs.c:247:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nbin*sizeof(double)); ^~~~~~~~~~~~~~~~~~~ imsetwcs.c:250:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nbin*sizeof(double)); ^~~~~~~~~~~~~~~~~~~ imsetwcs.c:313:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:316:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:319:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:322:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:325:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:328:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nmagmax*sizeof(double *)); ^~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:333:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:338:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(int)); ^~~~~~~~~~~~~~~~~ imsetwcs.c:341:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(char *)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:378:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:381:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imsetwcs.c:384:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ cc -O2 -I/sw/include -c -o matchstar.o matchstar.c cc -O2 -I/sw/include -c -o ned_cif.o ned_cif.c cc -O2 -I/sw/include -c -o ned_err.o ned_err.c cc -O2 -I/sw/include -c -o findstar.o findstar.c 57 warnings generated. cc -O2 -I/sw/include -c -o ned_sk.o ned_sk.c ned_cif.c:2:1: warning: '/*' within block comment [-Wcomment] ned_err.c:2:1: warning: '/*' within block comment [-Wcomment] /* ned_cif.c Xiuqin Wu Nov. 9, 1993 ^ /* ^ ned_cif.cned_err.c:3:3:1: warning: '/*' within block comment [-Wcomment]:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:4:1: warning: '/*' within block comment [-Wcomment] /* ned_err.c Jay Travisano (STScI) Apr 26, 1994 ^/* Mazz modified 23-Jul-2001 line 501: ^ ned_err.c:4:1: warning: '/*' within block comment [-Wcomment]ned_cif.c :5:1/*: warning: '/*' within block comment [-Wcomment] ^ ned_err.c:5:1: warning: '/*' within block comment [-Wcomment] /* strlen(refcode) counts /n so should be 20, not 19. ^ ned_cif.c:6:1: warning: /* Added basic error processing interface functions to simplify ^ '/*' within block comment [-Wcomment]ned_err.c :6:1: warning: '/*' within block comment [-Wcomment] /* XW modified Feb. 15 96 to add functions: ^ ned_cif.c:7:1: warning: /* application(s) that just need to pass on error messages.'/*' within block comment [-Wcomment] ^ ned_err.c:7:1: warning: '/*' within block comment [-Wcomment] /* ned_ex_refcode() ^ /* ned_cif.c^ :8ned_sk.c::12: warning: '/*' within block comment [-Wcomment] ned_err.c:8:1::1:/* ned_ref() warning: warning: ^ '/*' within block comment [-Wcomment] '/*' within block comment [-Wcomment] /* int ned_get_errno() ^ ned_err.c:9:1: warning: '/*' within block comment [-Wcomment] /* ned_sk.c Xiuqin Wu Nov. 9, 1993 ^ /* char *ned_get_errmsg() ^ ned_cif.c:9ned_err.cned_sk.c:::1: warning: '/*' within block comment [-Wcomment]3:110:: 1: warning: '/*' within block comment [-Wcomment] /* warning: '/*' within block comment [-Wcomment] ^ /* ned_free_refp() ^/*ned_sk.c: ^ 4:1: warning: ned_cif.c'/*' within block comment [-Wcomment]: 10ned_err.c:11:1: warning:1: warning/* FUNCTIONS related to network:: '/*' within block comment [-Wcomment] : '/*' within block comment [-Wcomment] /* ^ ned_cif.c:11:1: warning: '/*' within block comment [-Wcomment] ^ ned_sk.c:5:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ /* ============================ ^ ned_sk.c:6:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_sk.c:7:1:/*FUNCTIONS in the top level, called directly by any client program: warning: '/*' within block comment [-Wcomment] ^ ned_cif.c:12In file included from ned_err.c:13: ./ned_client.h:2:1::1/* These should be only the functions that need to be modified if we ever ^ warning: '/*' within block comment [-Wcomment] ned_sk.c:8:1: warning: '/*' within block comment [-Wcomment] : warning: '/*' within block comment [-Wcomment] /* ned_client.h Xiuqin Wu Nov. 9, 1993 ^ ./ned_client.h:3:1: warning: '/*' within block comment [-Wcomment] /*/* decide to use different interface for communication. They will be ^^ /*================================================================= ned_sk.c^: 9:1:ned_cif.c :13 :1: warning./ned_client.h: :'/*' within block comment [-Wcomment]4 :1:warning: '/*' within block comment [-Wcomment] warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:14:/* called by upper level functions (in ned_cli.c), but are not intended ^ ned_sk.c/***************************************************************************/: 10^ 1: warning: '/*' within block comment [-Wcomment] :1: warning: '/*' within block comment [-Wcomment] /*A. connect/disconnect/* for the client programmers: ^^ ned_sk.cned_cif.c::1115:1: warning: :1: warning'/*' within block comment [-Wcomment] /* ^ ned_sk.c:12: '/*' within block comment [-Wcomment] /* ^ :1ned_cif.c:16:1: warning: '/*' within block comment [-Wcomment] :/* ned_connect(); warning: '/*' within block comment [-Wcomment] /* global variable: ^ ^ ned_cif.c:17:1: warning: '/*' within block comment [-Wcomment] /* return: 0 connected ned_sk.c:13:1: warning: ^ ned_cif.c:18:1'/*' within block comment [-Wcomment] : warning: '/*' within block comment [-Wcomment] /* -1 connection failed/* int ned_d; /* the end point descriptor for communication */ ^ ned_sk.c:13:28: warning ^ ned_cif.c:19: '/*' within block comment [-Wcomment] :1: warning: '/*' within block comment [-Wcomment] /* ned_disconnect(); ^ ned_cif.c:20:1: warning: '/*' within block comment [-Wcomment] /* int ned_d; /* the end point descriptor for communication */ ^ /* ^ ned_cif.c:21:1: warning: '/*' within block comment [-Wcomment] ned_sk.c:15:1: warning: '/*' within block comment [-Wcomment] /* ^ /* connect and disconnect to and from NED serverned_sk.c :^ ned_cif.c:22:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:23:1: warning: '/*' within block comment [-Wcomment] /*B. ned_search_functions: ^ ned_cif.c:24:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:25:1: warning: '/*' within block comment [-Wcomment] 16:1: warning: '/*' within block comment [-Wcomment] /* In the following five functions, we let users ^ ned_cif.c:26:1: warning: '/*' within block comment [-Wcomment] /* 1. int connect_server(char *machine, char *service, int port); ^ ned_sk.c:17:1: /* know the data structure we are going to use and they will navigatewarning : ^'/*' within block comment [-Wcomment] ned_cif.c:27:1: warning: '/*' within block comment [-Wcomment] /* return a communication end point descriptor ^ ned_sk.c:18:1: warning: '/*' within block comment [-Wcomment] /* ^/* through the data structure to get the data they are interested in. ^ ned_sk.c:19:ned_cif.c:28:1: warning: '/*' within block comment [-Wcomment] /* 1: warning: '/*' within block comment [-Wcomment] ^ /* 2. disconnect_server() ^ ned_cif.c:ned_sk.c:20:1: warning: 29:1'/*' within block comment [-Wcomment] /* ^ ned_sk.c:21:1: warning: '/*' within block comment [-Wcomment] :/* 1) Name resolver: ^ ned_cif.c:30:1 warning: '/*' within block comment [-Wcomment] : warning: '/*' within block comment [-Wcomment] /* 3. send_cmd(char *cmd) ^ /* ^ ned_sk.c:ned_cif.c22::311::1 :warning : warning'/*' within block comment [-Wcomment]: '/*' within block comment [-Wcomment] /* input: object name ^ /* send a command to NED server ^ ned_sk.c:23:1: warning: '/*' within block comment [-Wcomment]ned_cif.c:32:1 : warning: '/*' within block comment [-Wcomment]/* ^ ned_sk.c:24:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:33:1: warning: '/*' within block comment [-Wcomment] /* 4. ned_gets(char *string) ^ ned_sk.c:25:1: warning: '/*' within block comment [-Wcomment] /* For a given object name, it will return all the Cross Identifiers and ^ ned_cif.c:34:1: /* get a string from NED serverwarning : ^'/*' within block comment [-Wcomment] ned_sk.c:26:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_sk.c:27:1: warning: '/*' within block comment [-Wcomment] /* the corresponding object types for the object in NED database. /* ^ ned_cif.c:35:1 ^ ned_sk.c:28:1: warning: '/*' within block comment [-Wcomment] : warning: '/*' within block comment [-Wcomment] /* FUNCTIONS specific to networking interface:/* ^ ned_cif.c ^ ned_sk.c:29:1: warning: '/*' within block comment [-Wcomment] :36:1: /* ========================================== ^ ned_sk.c:30:1: warning: '/*' within block comment [-Wcomment] warning: '/*' within block comment [-Wcomment] /* ^ ned_sk.c:31:1/* int ned_name_resolver(char *objname, int *no_names, CrossID **cp) ^ ned_cif.c:37:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:38:1: warning: '/*' within block comment [-Wcomment] /* typedef struct _crossid { ^ ned_cif.c:39:1: warning: '/*' within block comment [-Wcomment] /* char objname[31]; ^ ned_cif.c:40:1: warning: '/*' within block comment [-Wcomment] : warning: '/*' within block comment [-Wcomment] /* char objtype[7]; ^ ned_cif.c:/* We decided to use connection-oriented communication(tcp protocol). ^ ned_sk.c:32:1: warning: '/*' within block comment [-Wcomment] 41:1: warning: '/*' within block comment [-Wcomment] /* } CrossID; ^ ned_cif.c:/* We provide four basic functions for connection, disconnection and transfer ^ ned_sk.c:33:1: warning: '/*' within block comment [-Wcomment] 42:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:43:1: warning: '/*' within block comment [-Wcomment] /*/* of data. We transfer all the data in string to make it easy. ^^ ned_cif.c:44:1:ned_sk.c :warning34: :'/*' within block comment [-Wcomment]1 : warning: '/*' within block comment [-Wcomment] /* ^ ned_sk.c:35:1: warning: '/*' within block comment [-Wcomment] /* The results should be interpreted as following: ^ ned_cif.c:45:1:/* Functions using BSD Socket: ^ ned_sk.c:36:1: warning: '/*' within block comment [-Wcomment] warning/* ^ ned_sk.c:37:1: warning: '/*' within block comment [-Wcomment] : '/*' within block comment [-Wcomment] /* ^ ned_cif.c:46:1: warning: '/*' within block comment [-Wcomment] /* 1. int connectSock(char *machine, char *service, int port);/* RETURN VALUE: ^ ned_sk.c:38:1: warning: '/*' within block comment [-Wcomment]^ ned_cif.c :47:1: warning: '/*' within block comment [-Wcomment] /* /* 2. disconnectSock(); ^ ned_sk.c:39:^ ned_cif.c1: warning: '/*' within block comment [-Wcomment] :48/* : 1^: warningned_sk.c: :'/*' within block comment [-Wcomment]40 :1: warning: '/*' within block comment [-Wcomment] /* -1: check ned_errno for what happened ^ ned_cif.c:/* 3. send_cmdSock(int s, char *cmd); ^ 49ned_sk.c::141: warning: '/*' within block comment [-Wcomment] :1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c/* 4. get_stringSock(int s, char *string); ^: ned_sk.c:4250::11:: warningwarning: : '/*' within block comment [-Wcomment]'/*' within block comment [-Wcomment] /* ^ ned_sk.c:43:1: warning: '/*' within block comment [-Wcomment] /* 0: there are no_names cross identifiers in NED database for the ^ ned_cif.c:51:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ /* object the objname refers to, they are stored in an array of ^ ned_cif.c:52:1: warning: '/*' within block comment [-Wcomment] /* type CrossID pointed to by cp. ^ ned_cif.c:53:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:54:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:55:1: warning: '/*' within block comment [-Wcomment] /* 2) Search by object name ^ ned_cif.c:56:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:57:1: warning: '/*' within block comment [-Wcomment] /* input: object name ^ ned_cif.c:58:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:59:1: warning: '/*' within block comment [-Wcomment] /* int ned_obj_byname(char *objname, int *obj_no, ObjInfo **op, ^ ned_cif.c:60:1: warning: '/*' within block comment [-Wcomment] /* CrossID **cp) ^ ned_cif.c:61:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:62:1: warning: '/*' within block comment [-Wcomment] /* 3) Search near object name ^ ned_cif.c:63:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:64:1: warning: '/*' within block comment [-Wcomment] /* input: object name, search radius(up to 300 arcmins) ^ ned_cif.c:65:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:66:1: warning: '/*' within block comment [-Wcomment] /* int ned_obj_nearname(char *objname, double radius, ^ ned_cif.c:67:1: warning: '/*' within block comment [-Wcomment] /* int *obj_no, ObjInfo **op, CrossID **cp) ^ ned_cif.c:68:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:69:1: warning: '/*' within block comment [-Wcomment] /* 4) Search near position ^ ned_cif.c:70:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:71:1: warning: '/*' within block comment [-Wcomment] /* input: ra, dec(J2000 in decimal), search radius (up to 300 arcmin) ^ ned_cif.c:72:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:73:1: warning: '/*' within block comment [-Wcomment] /* int ned_obj_nearposn(double ra, double dec, double radius, ^ ned_cif.c:74:1: warning: '/*' within block comment [-Wcomment] /* int *obj_no, ObjInfo **op) ^ ned_cif.c:75:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:76:1: warning: '/*' within block comment [-Wcomment] /* 5) Search by IAU format ^ ned_cif.c:77:1: warning: '/*' within block comment [-Wcomment] /* input: IAU format name, interpretation style, equinox ^ ned_cif.c:78:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:79:1: warning: '/*' within block comment [-Wcomment] /* int ned_obj_iau(char *iauformat, char style, char *equinox, ^ ned_cif.c:80:1: warning: '/*' within block comment [-Wcomment] /* char *cra, char *cdec, double *radius, ^ ned_cif.c:81:1: warning: '/*' within block comment [-Wcomment] /* int *obj_no, ObjInfo **op) ^ ned_cif.c:82:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:83:1: warning: '/*' within block comment [-Wcomment] /* style: S for Strict, L for Libral ^ ned_cif.c:84:1: warning: '/*' within block comment [-Wcomment] /* equinox: Jnnnn.n or Bnnnn.n ^ ned_cif.c:85:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:86:1: warning: '/*' within block comment [-Wcomment] /* For the given input, the 4 search functions above will return all ^ ned_cif.c:87:1: warning: '/*' within block comment [-Wcomment] /* the object found, for each object found, there will be a list of ^ ned_cif.c:88:1: warning: '/*' within block comment [-Wcomment] /* cross IDs and other basic data. ^ ned_cif.c:89:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:90:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:91:1: warning: '/*' within block comment [-Wcomment] /* For all the 4 different object searches, each will return the ^ ned_cif.c:92:1: warning: '/*' within block comment [-Wcomment] /* information in an array of the type ObjInfo structure: ^ ned_cif.c:93:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:94:1: warning: '/*' within block comment [-Wcomment] /* typedef _more_data { ^ ned_cif.c:95:1: warning: '/*' within block comment [-Wcomment] /* char data_typec[61]; data type code to describe the data */ ^ ned_cif.c:97:1: warning: '/*' within block comment [-Wcomment] /* _more_data *next; ^ ned_cif.c:98:1: warning: '/*' within block comment [-Wcomment] /* } MoreData; ^ ned_cif.c:99:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:100:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:101:1: warning: '/*' within block comment [-Wcomment] /* typedef _obj_info { ^ ned_cif.c:102:1: warning: '/*' within block comment [-Wcomment] /* int no_crossid; /* number of crossids for the object */ ^ ned_cif.c:102:29: warning: '/*' within block comment [-Wcomment] /* int no_crossid; /* number of crossids for the object */ ^ ned_cif.c:104:1: warning: '/*' within block comment [-Wcomment] /* int no_ref; /* number of references */ ^ ned_cif.c:104:29: warning: '/*' within block comment [-Wcomment] /* int no_ref; /* number of references */ ^ ned_cif.c:105:29: warning: '/*' within block comment [-Wcomment] /* int no_note; /* number of notes */ ^ ned_cif.c:106:29: warning: '/*' within block comment [-Wcomment] /* int no_photom; /* number of photometric data points */ ^ ned_cif.c:107:29: warning: '/*' within block comment [-Wcomment] /* double dist; /* distance to the search center */ ^ ned_cif.c:109:1: warning: '/*' within block comment [-Wcomment] /* double ra; /* J2000 */ ^ ned_cif.c:109:29: warning: '/*' within block comment [-Wcomment] /* double ra; /* J2000 */ ^ ned_cif.c:111:1: warning: '/*' within block comment [-Wcomment] /* double unc_maj; ^ ned_cif.c:112:1: warning: '/*' within block comment [-Wcomment] /* double unc_min; ^ ned_cif.c:113:1: warning: '/*' within block comment [-Wcomment] /* double unc_ang; ^ ned_cif.c:114:1: warning: '/*' within block comment [-Wcomment] /* char refcode[20]; ^ ned_cif.c:115:1: warning: '/*' within block comment [-Wcomment] /* MoreData *mdp; ^ ned_cif.c:116:1: warning: '/*' within block comment [-Wcomment] /* } ObjInfo; ^ ned_cif.c:117:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:118:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:119:1: warning: '/*' within block comment [-Wcomment] /* With the structure MoreData in the definition of ObjInfo, we will ^ ned_cif.c:120:1: warning: '/*' within block comment [-Wcomment] /* have the flexibility of providing new data in the future without ^ ned_cif.c:121:1: warning: '/*' within block comment [-Wcomment] /* changing any code (ideally and hopefully). With any new data we ^ ned_cif.c:122:1: warning: '/*' within block comment [-Wcomment] /* have, all we need to do is to modify the server part to send the new ^ ned_cif.c:123:1: warning: '/*' within block comment [-Wcomment] /* data to the client, and provide users with the data type code and ^ ned_cif.c:124:1: warning: '/*' within block comment [-Wcomment] /* explanation about it. With the "Application protocol between server ^ ned_cif.c:125:1: warning: '/*' within block comment [-Wcomment] /* and client" design(it is described elsewhere), the client will put the ^ ned_cif.c:126:1: warning: '/*' within block comment [-Wcomment] /* new data into the structure MoreData for our client users. They can ^ ned_cif.c:127:1: warning: '/*' within block comment [-Wcomment] /* modify their program to make use of the new data, or they can still ^ ned_cif.c:128:1: warning: '/*' within block comment [-Wcomment] /* use the old client program with the new server, ignoring the new data. ^ ned_cif.c:129:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:130:1: warning: '/*' within block comment [-Wcomment] /* RETURN VALUE: ^ ned_cif.c:131:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:132:1: warning: '/*' within block comment [-Wcomment] /* -1: check ned_errno for what happened ^ ned_cif.c:133:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:134:1: warning: '/*' within block comment [-Wcomment] /* 0: There are no_obj found for specified objname(position, iauformat), ^ ned_cif.c:135:1: warning: '/*' within block comment [-Wcomment] /* and they are stored in an array pointed to by op. ^ ned_cif.c:136:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:137:1: warning: '/*' within block comment [-Wcomment] /* 6) expand refcode ^ ned_cif.c:138:1: warning: '/*' within block comment [-Wcomment] /* int ned_ex_refcode(char *refcode, struct reference *full_ref); ^ ned_cif.c:139:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:140:1: warning: '/*' within block comment [-Wcomment] /* 7) search references for a given object ^ ned_cif.c:141:1: warning: '/*' within block comment [-Wcomment] /* int ned_ref(char *objname, int begin_year, int end_year, ^ ned_cif.c:142:1: warning: '/*' within block comment [-Wcomment] /* int *no, CrossID **cp, NedRef **refp); ^ ned_cif.c:143:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:144:1: warning: '/*' within block comment [-Wcomment] /* C. free space functions: ^ ned_cif.c:145:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:146:1: warning: '/*' within block comment [-Wcomment] /* ned_free_objp(ObjInfo *objp, int no_obj) ^ ned_cif.c:147:1: warning: '/*' within block comment [-Wcomment] /* free the space for object pointed to by objp, the space was allocated ^ ned_cif.c:148:1: warning: '/*' within block comment [-Wcomment] /* for no_obj objects. ^ ned_cif.c:149:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:150:1: warning: '/*' within block comment [-Wcomment] /* ned_free_cp( CrossID *cp) ^ ned_cif.c:151:1: warning: '/*' within block comment [-Wcomment] /* free the space for crossids pointed to by cp. ^ ned_cif.c:152:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:153:1: warning: '/*' within block comment [-Wcomment] /* ned_free_refp(NedRef *refp) ^ ned_cif.c:154:1: warning: '/*' within block comment [-Wcomment] /* free the space for referencec ponited to by refp ^ ned_cif.c:155:1: warning: '/*' within block comment [-Wcomment] /* ^ ned_cif.c:156:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ cc -O2 -I/sw/include -c -o daoread.o daoread.c 13 warnings generated. cc -O2 -I/sw/include -c -o wcscon.o wcscon.c In file included from ned_cif.c:166: ./ned_client.h:2:1: warning: '/*' within block comment [-Wcomment] /* ned_client.h Xiuqin Wu Nov. 9, 1993 ^ ./ned_client.h:3:1: warning: '/*' within block comment [-Wcomment] /* ^ ./ned_client.h:4:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ 16 warnings generated. cc -O2 -I/sw/include -c -o fitswcs.o fitswcs.c ned_cif.c:452:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ In file included from ned_sk.c:65: ./ned_client.h:2:1: warning: '/*' within block comment [-Wcomment] /* ned_client.h Xiuqin Wu Nov. 9, 1993 ^ ./ned_client.h:3:1: warning: '/*' within block comment [-Wcomment] /* ^ ./ned_client.h:4:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ ned_sk.c:141:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pse =getservbyname(service, "tcp")) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ned_sk.c:141:12: note: place parentheses around the assignment to silence this warning if (pse =getservbyname(service, "tcp")) ^ ( ) ned_sk.c:141:12: note: use '==' to turn this assignment into an equality comparison if (pse =getservbyname(service, "tcp")) ^ == ned_sk.c:150:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (phe = gethostbyname(machine)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ned_sk.c:150:12: note: place parentheses around the assignment to silence this warning if (phe = gethostbyname(machine)) ^ ( ) ned_sk.c:150:12: note: use '==' to turn this assignment into an equality comparison if (phe = gethostbyname(machine)) ^ == ned_sk.c:152:37: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] else if ((sin.sin_addr.s_addr = inet_addr(machine)) == INADDR_NONE) { ^ 48 warnings generated. 158 warnings generated. cc -O2 -I/sw/include -c -o wcsinit.o wcsinit.c ar rv libned.a ned_cli.o ned_cif.o ned_err.o ned_sk.o cc -O2 -I/sw/include -c -o wcs.o wcs.c cc -O2 -I/sw/include -c -o ty2read.o ty2read.c ar: creating archive libned.a a - ned_cli.o a - ned_cif.o a - ned_err.o a - ned_sk.o ranlib libned.a cc -O2 -I/sw/include -c -o webread.o webread.c cc -O2 -I/sw/include -c -o tmcread.o tmcread.c cc -O2 -I/sw/include -c -o gscread.o gscread.c ty2read.c:1343:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sc->catlast - line, sc->nbent, istar); ^~~~~~~~~~~~~~~~~~ cc -O2 -I/sw/include -c -o gsc2read.o gsc2read.c cc -O2 -I/sw/include -c -o ujcread.o ujcread.c 1 warning generated. cc -O2 -I/sw/include -c -o uacread.o uacread.c cc -O2 -I/sw/include -c -o ubcread.o ubcread.c cc -O2 -I/sw/include -c -o ucacread.o ucacread.c cc -O2 -I/sw/include -c -o sdssread.o sdssread.c cc -O2 -I/sw/include -c -o tabread.o tabread.c cc -O2 -I/sw/include -c -o binread.o binread.c cc -O2 -I/sw/include -c -o ctgread.o ctgread.c cc -O2 -I/sw/include -c -o actread.o actread.c cc -O2 -I/sw/include -c -o catutil.o catutil.c cc -O2 -I/sw/include -c -o skybotread.o skybotread.c cc -O2 -I/sw/include -c -o imrotate.o imrotate.c cc -O2 -I/sw/include -c -o fitsfile.o fitsfile.c cc -O2 -I/sw/include -c -o imhfile.o imhfile.c cc -O2 -I/sw/include -c -o hget.o hget.c cc -O2 -I/sw/include -c -o hput.o hput.c cc -O2 -I/sw/include -c -o imio.o imio.c cc -O2 -I/sw/include -c -o dateutil.o dateutil.c imio.c:781:7: warning: incompatible integer to pointer conversion assigning to 'short *' from 'short'; remove * [-Wint-conversion] ip2 = *(im2 + ipix); ^ ~~~~~~~~~~~~~ cc -O2 -I/sw/include -c -o imutil.o imutil.c cc -O2 -I/sw/include -c -o worldpos.o worldpos.c imutil.c:227:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:246:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:273:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:292:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:320:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:339:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:365:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:384:4: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:460:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:465:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:492:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:497:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:524:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:529:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:556:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ imutil.c:561:7: warning: expression result unused [-Wunused-value] *b1++; ^~~~~ cc -O2 -I/sw/include -c -o tnxpos.o tnxpos.c cc -O2 -I/sw/include -c -o zpxpos.o zpxpos.c 1 warning generated. cc -O2 -I/sw/include -c -o dsspos.o dsspos.c zpxpos.c:368:5: warning: '/*' within block comment [-Wcomment] /* Higher order solve iteratively. */ ^ cc -O2 -I/sw/include -c -o platepos.o platepos.c cc -O2 -I/sw/include -c -o sortstar.o sortstar.c cc -O2 -I/sw/include -c -o platefit.o platefit.c cc -O2 -I/sw/include -c -o iget.o iget.c 1 warning generated. cc -O2 -I/sw/include -c -o fileutil.o fileutil.c cc -O2 -I/sw/include -c -o wcslib.o wcslib.c cc -O2 -I/sw/include -c -o lin.o lin.c cc -O2 -I/sw/include -c -o cel.o cel.c cc -O2 -I/sw/include -c -o proj.o proj.c cc -O2 -I/sw/include -c -o sph.o sph.c cc -O2 -I/sw/include -c -o wcstrig.o wcstrig.c cc -O2 -I/sw/include -c -o distort.o distort.c cc -O2 -I/sw/include -c -o poly.o poly.c 16 warnings generated. ar rv libwcs.a imsetwcs.o imgetwcs.o matchstar.o findstar.o daoread.o wcscon.o fitswcs.o wcsinit.o wcs.o ty2read.o webread.o tmcread.o gscread.o gsc2read.o ujcread.o uacread.o ubcread.o ucacread.o sdssread.o tabread.o binread.o ctgread.o actread.o catutil.o skybotread.o imrotate.o fitsfile.o imhfile.o hget.o hput.o imio.o dateutil.o imutil.o worldpos.o tnxpos.o zpxpos.o dsspos.o platepos.o sortstar.o platefit.o iget.o fileutil.o wcslib.o lin.o cel.o proj.o sph.o wcstrig.o distort.o poly.o ar: creating archive libwcs.a a - imsetwcs.o a - imgetwcs.o a - matchstar.o a - findstar.o a - daoread.o a - wcscon.o a - fitswcs.o a - wcsinit.o a - wcs.o a - ty2read.o a - webread.o a - tmcread.o a - gscread.o a - gsc2read.o a - ujcread.o a - uacread.o a - ubcread.o a - ucacread.o a - sdssread.o a - tabread.o a - binread.o a - ctgread.o a - actread.o a - catutil.o a - skybotread.o a - imrotate.o a - fitsfile.o a - imhfile.o a - hget.o a - hput.o a - imio.o a - dateutil.o a - imutil.o a - worldpos.o a - tnxpos.o a - zpxpos.o a - dsspos.o a - platepos.o a - sortstar.o a - platefit.o a - iget.o a - fileutil.o a - wcslib.o a - lin.o a - cel.o a - proj.o a - sph.o a - wcstrig.o a - distort.o a - poly.o ranlib libwcs.a cc -O2 -o bin/cphead cphead.c libwcs/libwcs.a -lm cc -O2 -o bin/delwcs delwcs.c libwcs/libwcs.a -lm cc -O2 -o bin/delhead delhead.c libwcs/libwcs.a -lm cc -O2 -o bin/edhead edhead.c libwcs/libwcs.a -lm cc -O2 -o bin/fixpix fixpix.c libwcs/libwcs.a -lm cc -O2 -o bin/gethead gethead.c libwcs/libwcs.a -lm cc -O2 -o bin/i2f i2f.c libwcs/libwcs.a -lm cc -O2 -o bin/imcat imcat.c libwcs/libwcs.a -lm imcat.c:722:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nbuffer*sizeof(double *)); ^~~~~~~~~~~~~~~~~~~~~~~~ imcat.c:729:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:737:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:743:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:749:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:755:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:761:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:767:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(int)); ^~~~~~~~~~~~~~~~~ imcat.c:773:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:779:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:785:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(char *)); ^~~~~~~~~~~~~~~~~~~~ imcat.c:1775:34: warning: data argument not used by format string [-Wformat-extra-args] sprintf (temp, " ni nc", nim, nct); ~~~~~~~~~~ ^ /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ cc -O2 -o bin/imhead imhead.c libwcs/libwcs.a -lm cc -O2 -o bin/immatch immatch.c libwcs/libwcs.a -lm cc -O2 -o bin/imrot imrot.c libwcs/libwcs.a -lm cc -O2 -o bin/imsize imsize.c libwcs/libwcs.a -lm cc -O2 -o bin/imstar imstar.c libwcs/libwcs.a -lm cc -O2 -o bin/imwcs imwcs.c libwcs/libwcs.a -lm cc -O2 -o bin/scat scat.c libwcs/libwcs.a -lm cc -O2 -o bin/sethead sethead.c libwcs/libwcs.a -lm scat.c:1216:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1219:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1222:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1225:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nmagmax*sizeof(double *)); ^~~~~~~~~~~~~~~~~~~~~~~~ scat.c:1230:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1235:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(int)); ^~~~~~~~~~~~~~~~~ scat.c:1238:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1241:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1244:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(char *)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1251:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1254:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:1364:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] nmagmax*sizeof(double *)); ^~~~~~~~~~~~~~~~~~~~~~~~ scat.c:1369:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ngmax*sizeof(double)); ^~~~~~~~~~~~~~~~~~~~ scat.c:2496:21: warning: data argument not used by format string [-Wformat-extra-args] epmr, epmd, nim, nct); ^ cc -O2 -o bin/addpix addpix.c libwcs/libwcs.a -lm cc -O2 -o bin/getpix getpix.c libwcs/libwcs.a -lm cc -O2 -o bin/setpix setpix.c libwcs/libwcs.a -lm cc -O2 -o bin/sky2xy sky2xy.c libwcs/libwcs.a -lm cc -O2 -o bin/keyhead keyhead.c libwcs/libwcs.a -lm cc -O2 -o bin/skycoor skycoor.c libwcs/libwcs.a -lm 12 warnings generated. cc -O2 -o bin/subpix subpix.c libwcs/libwcs.a -lm cc -O2 -o bin/xy2sky xy2sky.c libwcs/libwcs.a -lm cc -O2 -o bin/wcshead wcshead.c libwcs/libwcs.a -lm cc -O2 -o bin/conpix conpix.c libwcs/libwcs.a -lm cc -O2 -o bin/gettab gettab.c libwcs/libwcs.a -lm cc -O2 -o bin/newfits newfits.c libwcs/libwcs.a -lm cc -O2 -o bin/getfits getfits.c libwcs/libwcs.a -lm cc -O2 -o bin/imstack imstack.c libwcs/libwcs.a -lm cc -O2 -o bin/imextract imextract.c libwcs/libwcs.a -lm cc -O2 -o bin/sumpix sumpix.c libwcs/libwcs.a -lm cc -O2 -o bin/remap remap.c libwcs/libwcs.a -lm cc -O2 -o bin/getcol getcol.c libwcs/libwcs.a -lm cc -O2 -o bin/getdate getdate.c libwcs/libwcs.a -lm cc -O2 -o bin/imfill imfill.c libwcs/libwcs.a -lm cc -O2 -o bin/imsmooth imsmooth.c libwcs/libwcs.a -lm getcol.c:1153:34: warning: for loop has empty body [-Wempty-body] for (j = nchar; j < ltok; j++); ^ getcol.c:1153:34: note: put the semicolon on a separate line to silence this warning cc -O2 -o bin/imresize imresize.c libwcs/libwcs.a -lm cc -O2 -o bin/char2sp char2sp.c libwcs/libwcs.a cc -O2 -o bin/sp2char sp2char.c libwcs/libwcs.a cc -O2 -o bin/isnum isnum.c libwcs/libwcs.a -lm cc -O2 -o bin/isfits isfits.c libwcs/libwcs.a -lm cc -O2 -o bin/simpos simpos.c libwcs/libwcs.a -lm cc -O2 -o bin/nedpos nedpos.c libwcs/libwcs.a -lm libned/libned.a cc -O2 -o bin/bincat bincat.c libwcs/libwcs.a -lm In file included from nedpos.c:9: ./libned/ned_client.h:2:1: warning: '/*' within block comment [-Wcomment] /* ned_client.h Xiuqin Wu Nov. 9, 1993 ^ ./libned/ned_client.h:3:1: warning: '/*' within block comment [-Wcomment] /* ^ ./libned/ned_client.h:4:1: warning: '/*' within block comment [-Wcomment] /***************************************************************************/ ^ simpos.c:59:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++str) { ~~^~~~~~~~ simpos.c:59:22: note: place parentheses around the assignment to silence this warning while (c = *++str) { ^ ( ) simpos.c:59:22: note: use '==' to turn this assignment into an equality comparison while (c = *++str) { ^ == nedpos.c:75:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++str) ~~^~~~~~~~ nedpos.c:75:22: note: place parentheses around the assignment to silence this warning while (c = *++str) ^ ( ) nedpos.c:75:22: note: use '==' to turn this assignment into an equality comparison while (c = *++str) ^ == 1 warning generated. 4 warnings generated. 1 warning generated. 14 warnings generated. /bin/rm -rf /sw/build.build/root-wcstools-3.8.7-1 /bin/mkdir -p /sw/build.build/root-wcstools-3.8.7-1/sw /bin/mkdir -p /sw/build.build/root-wcstools-3.8.7-1/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-wcstools-3.8.7-1 sudo -u fink-bld [ENV] sh -c /tmp/fink.lhUVf /usr/bin/install -d /sw/build.build/root-wcstools-3.8.7-1/sw/bin /bin/cp bin/* /sw/build.build/root-wcstools-3.8.7-1/sw/bin /bin/cp wcstools /sw/build.build/root-wcstools-3.8.7-1/sw/bin /usr/bin/install -d /sw/build.build/root-wcstools-3.8.7-1/sw/lib /bin/cp libwcs/libwcs.a /sw/build.build/root-wcstools-3.8.7-1/sw/lib /usr/bin/install -d /sw/build.build/root-wcstools-3.8.7-1/sw/include/libwcs /bin/cp libwcs/*.h /sw/build.build/root-wcstools-3.8.7-1/sw/include/libwcs /usr/bin/install -d /sw/build.build/root-wcstools-3.8.7-1/sw/share/man/man1 /bin/cp Man/man1/* /sw/build.build/root-wcstools-3.8.7-1/sw/share/man/man1 sudo -u fink-bld [ENV] sh -c /tmp/fink.zzQ2w /usr/bin/install -d -m 700 /sw/build.build/root-wcstools-3.8.7-1/sw/share/doc/wcstools /bin/cp -r Readme /sw/build.build/root-wcstools-3.8.7-1/sw/share/doc/wcstools/README /bin/cp -r COPYING /sw/build.build/root-wcstools-3.8.7-1/sw/share/doc/wcstools/ /bin/chmod -R go=u-w /sw/build.build/root-wcstools-3.8.7-1/sw/share/doc/wcstools /bin/rm -f /sw/build.build/root-wcstools-3.8.7-1/sw/info/dir /sw/build.build/root-wcstools-3.8.7-1/sw/info/dir.old /sw/build.build/root-wcstools-3.8.7-1/sw/share/info/dir /sw/build.build/root-wcstools-3.8.7-1/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-wcstools-3.8.7-1 /sw/fink/10.9/stable/main/binary-darwin-x86_64/sci dpkg-deb: building package `wcstools' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/sci/wcstools_3.8.7-1_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-wcstools-3.8.7-1 (Reading database ... 4297 files and directories currently installed.) Removing fink-buildlock-wcstools-3.8.7-1 ...