Hi!I'll try to make the xdimsum package for cygwin but fails in the link step. The cause is undefined references to 1) _pow_ii and other symbols that seems to be defined in libf2c.a
2) _fegetexceptflag and other symbols that seems to be defined in libmingwex.aActually, I got more or less the same result when trying to compile a small test task with xc so I seem to have a general problem linking iraf tasks. If anyone has any idea of what's wrong or knows where you can get a xdimsum binary for cygwin it would be greatly appreciated./Mattias Ergon (Stockholm University)Full log follows:Subdirectory src/xdsrc is up to date
Library libpkg.a is up to date
Object x_xdimsum.o is up to date
xc -Nz -p xdimsum x_xdimsum.o libpkg.a -lxtools -o xx_xdimsum.e
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs./home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plssize.o):plssize.c
.text+0xfc): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(pmseti.o):pmseti.c
.text+0x75): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plglpi.o):plglpi.c
.text+0xfa): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plglri.o):plglri.c
.text+0x144): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(qpfopen.o):qpfopen.c
.text+0x3d2): undefined reference to `_i_nint'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wftnx.o):wftnx.c
.text+0xb20): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wftnx.o):wftnx.c
.text+0xf33): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzpn.o):wfzpn.c
.text+0x82d): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzpn.o):wfzpn.c
.text+0x11dc): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzpn.o):wfzpn.c
.text+0x15ef): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzpx.o):wfzpx.c
.text+0xd99): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzpx.o):wfzpx.c
.text+0x1748): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzpx.o):wfzpx.c
.text+0x1b5b): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzea.o):wfzea.c
.text+0x999): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfzea.o):wfzea.c
.text+0xda9): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wftsc.o):wftsc.c
.text+0x1451): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wftsc.o):wftsc.c
.text+0x1866): more undefined references to `_d_mod' follow
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0xc02): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0xdad): undefined reference to `_pow_dd'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0xecd): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0xffd): undefined reference to `_d_lg10'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0x1248): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0x1297): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0x1327): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0x1343): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0x143e): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfmspec.o):wfmspec.c
.text+0x1954): more undefined references to `_i_dnnt' follow
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgls.o):wfgls.c
.text+0x11ae): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgls.o):wfgls.c
.text+0x15b6): undefined reference to `_d_mod'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(idbpstr.o):idbpstr.c
.text+0x13f): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(idbpstr.o):idbpstr.c
.text+0x18a): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(idbpstr.o):idbpstr.c
.text+0x1df): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(idbpstr.o):idbpstr.c
.text+0x251): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(idbpstr.o):idbpstr.c
.text+0x27b): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(idbpstr.o):idbpstr.c
.text+0x2cc): more undefined references to `_i_dnnt' follow
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plgsize.o):plgsize.c
.text+0x62): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(fxfrfits.o):fxfrfits.c
.text+0x2743): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgsurfit.o):wfgsurfit.c
.text+0x1279): undefined reference to `_pow_di'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgsurfit.o):wfgsurfit.c
.text+0x12a4): undefined reference to `_pow_di'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgsurfit.o):wfgsurfit.c
.text+0x131f): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgsurfit.o):wfgsurfit.c
.text+0x1354): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(wfgsurfit.o):wfgsurfit.c
.text+0x15ad): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(imgetl.o):imgetl.c
.text+0x48): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plplri.o):plplri.c
.text+0x126): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plplpi.o):plplpi.c
.text+0x126): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plplps.o):plplps.c
.text+0x126): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libex.a(plplrs.o):plplrs.c
.text+0x126): undefined reference to `_pow_ii'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(parg.o):parg.c
.text+0x1c5): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(parg.o):parg.c
.text+0x35d): undefined reference to `_i_dnnt'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(stopen.o):stopen.c
.text+0x9e): undefined reference to `_i_nint'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(stopen.o):stopen.c
.text+0x11d): undefined reference to `_i_nint'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(ctod.o):ctod.c
.text+0x206): undefined reference to `_pow_ri'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(ctod.o):ctod.c
.text+0x333): undefined reference to `_pow_di'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(ctod.o):ctod.c
.text+0x3f2): undefined reference to `_pow_di'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(ctor.o):ctor.c
.text+0x8a): undefined reference to `_d_lg10'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(xtoc.o)
toc.c
.text+0x51): undefined reference to `_r_imag'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(dtoc.o):dtoc.c
.text+0x174): undefined reference to `_pow_ri'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(dtoc3.o):dtoc3.c
.text+0x356): undefined reference to `_pow_ri'
/home/Mattias-Ergon/iraf/iraf/bin.cygwin/libsys.a(dtcscl.o):dtcscl.c
.text+0x21): undefined reference to `_pow_di'
/home/Mattias-Ergon/iraf/iraf/unix/bin.cygwin/libos.a(zzepro.o):zzepro.c
.text+0x19): undefined reference to `_fegetexceptflag'
/home/Mattias-Ergon/iraf/iraf/unix/bin.cygwin/libos.a(zzepro.o):zzepro.c
.text+0x5b): undefined reference to `_feclearexcept'
/home/Mattias-Ergon/iraf/iraf/unix/bin.cygwin/libos.a(zzepro.o):zzepro.c
.text+0x84): undefined reference to `_fegetexceptflag'
/home/Mattias-Ergon/iraf/iraf/unix/bin.cygwin/libos.a(zzepro.o):zzepro.c
.text+0xaa): undefined reference to `_fesetexceptflag'
/home/Mattias-Ergon/iraf/iraf/unix/bin.cygwin/libos.a(zzstrt.o):zzstrt.c
.text+0x8f): undefined reference to `_feclearexcept'
/home/Mattias-Ergon/iraf/iraf/unix/bin.cygwin/libos.a(zxwhen.o):zxwhen.c
.text+0x1cb): undefined reference to `_feclearexcept'
Info: resolving __timezone by linking to __imp___timezone (auto-import)
collect2: ld returned 1 exit status
Warning, mkpkg line 7: module `relink' not found or returned error
move `xx_xdimsum.e' to `xdimsumbin$x_xdimsum.e'
$move: file `xx_xdimsum.e' not found
Warning, mkpkg line 20: error moving file xx_xdimsum.e
Warning, mkpkg line 8: module `install' not found or returned error
Warning, mkpkg line 7: module `update@src' not found or returned error