[daip] AIPS Help

Siow-Wang Lee swlee at astro.utoronto.ca
Wed Sep 3 14:57:32 EDT 2003


Hello, 

I recently tried to compile an AIPS task called CUBIT written by
Judith Irwin. I've encountered problem linking it which I don't
understand. I'd appreciate it very much if you could help me 
decipher it. The error messages are in the attached log file. 

I'm still using AIPS 31DEC01, operating system: redhat 7.1, 
compiler gcc 2.96

I've been on the AIPS website and know about the problem with
this version of gcc. However, I can't remember what I did two
years ago went I installed AIPS. I do know I don't have other
version of gcc in my machine.

Thanks.

cheers,
Siow-Wang Lee
-------------- next part --------------
COMLNK    : Date       Wed Sep  3 13:40:46 EDT 2003
PP        : Preprocess /usr/local/aips/31DEC01/APL/PGM/CUBIT.FOR
PP        : into       /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f
FC        : Date       Wed Sep  3 13:40:46 EDT 2003
FC        : Interpret  FC  \
FC        :            /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f
FC        : as         LIST=FALSE PURGE=FALSE
FC        : plus       /usr/bin/g77 -c -fno-automatic -fno-globals -Wno-globals -malign-double -Wimplicit -Wall -O -fexpensive-optimizations -funroll-loops -fstrength-reduce -frerun-cse-after-loop -fforce-mem -fforce-addr -fcaller-saves \
FC        :            /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `tafin':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:375: warning: unused variable `n11'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:375: warning: unused variable `n10'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:375: warning: unused variable `n4'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:375: warning: unused variable `n3'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:375: warning: unused variable `n1'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `sendma':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:957: warning: unused variable `pixel'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:945: warning: unused variable `one'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:944: warning: unused variable `n2'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:944: warning: unused variable `n0'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:942: warning: unused variable `n12'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:942: warning: unused variable `n11'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `outma':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1501: warning: unused variable `n64'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1501: warning: unused variable `n9'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1501: warning: unused variable `n8'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1501: warning: unused variable `n6'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1501: warning: unused variable `n1'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `newhed':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1732: warning: unused variable `ncoded'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1731: warning: unused variable `n4'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:1729: warning: unused variable `blank'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `fcn':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:2021: warning: unused variable `frac'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:2015: warning: unused variable `n12'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:2015: warning: unused variable `n11'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:2015: warning: unused variable `n1'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `velocity':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:2925: warning: unused variable `n5'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `density':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3243: warning: unused variable `n5'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3243: warning: unused variable `n1'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `smooth':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3543: warning: unused variable `arsrad'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3540: warning: unused variable `n1'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3538: warning: unused variable `jbl'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3538: warning: unused variable `jm'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f: In subroutine `smth1':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3803: warning: unused variable `n5'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f:3803: warning: unused variable `n1'
FC        : Compile of /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f
FC        : ends successfully.
FC        : Ends successfully
LIBR      : Update old /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB
LIBR      : Copied     /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB
LIBR      : to         /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB.2220
LIBR      : Replace in /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB.2220
LIBR      : module     /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/LSTSQ.o
LIBR      : module     /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/LSTSQ1.o
LIBR      : Randomize  /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB.2220
LIBR      : Library    /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB.2220
LIBR      : randomized.
LIBR      : Delete     /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/LSTSQ.o
LIBR      : Delete     /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/LSTSQ1.o
LIBR      : Moved      /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB.2220
LIBR      : to         /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB
LIBR      : Ends successfully
LINK      : Date is... Wed Sep  3 13:40:49 EDT 2003
LINK      : Interpret  LINK CUBIT.OPT \
LINK      :            /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o
LINK      : as         PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=TRUE
LINK      : plus       /usr/bin/g77 \
LINK      :            /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o \
LINK      :            /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB \ 
LINK      :            /usr/local/aips/31DEC01/LINUX/LIBR/APLLINUX/SUBLIB \ 
LINK      :            /usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB \ 
LINK      :            /usr/local/aips/31DEC01/LINUX/LIBR/APLLINUX/SUBLIB \ 
LINK      :             -s \
LINK      :            -o /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.EXE
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `fcn_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x5f43): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x5f5d): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x5f77): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x5f9f): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x6015): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x603d): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `velocity_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x74dc): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x74f6): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `density_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x8061): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x807b): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x8442): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x8538): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x85c4): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0x8632): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `kernel_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xa0cc): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xa0dc): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xa0f1): undefined reference to `log'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xa118): undefined reference to `log'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xa24b): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `gpxtas_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xacff): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xad12): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xaea0): undefined reference to `atan2'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `gdecon_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xaf82): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xafc3): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xafe0): undefined reference to `sin'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb005): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb022): undefined reference to `cos'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb084): undefined reference to `atan2'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o: In function `vsmth_':
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb2da): undefined reference to `log'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb34d): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb398): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o(.text+0xb3d6): undefined reference to `exp'
/usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB(DAT2JD.o): In function `dat2jd_':
DAT2JD.o(.text+0xba): undefined reference to `floor'
DAT2JD.o(.text+0xe5): undefined reference to `floor'
DAT2JD.o(.text+0x129): undefined reference to `floor'
DAT2JD.o(.text+0x155): undefined reference to `floor'
DAT2JD.o(.text+0x1c0): undefined reference to `floor'
/usr/local/aips/31DEC01/LINUX/LIBR/APLSUB/SUBLIB(DAT2JD.o)(.text+0x1e1): more undefined references to `floor' follow
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libg2c.a(pow_dd.o): In function `pow_dd':
pow_dd.o(.text+0x1b): undefined reference to `pow'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libg2c.a(r_lg10.o): In function `r_lg10':
r_lg10.o(.text+0xf): undefined reference to `log'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libg2c.a(d_lg10.o): In function `d_lg10':
d_lg10.o(.text+0x11): undefined reference to `log'
collect2: ld returned 1 exit status
LINK      : Status from /usr/bin/g77 is 1
LINK      : Link of    /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o
LINK      : dies from wimpy compiler
LINK      : Dies of unnatural causes.
COMLNK    : Link failed!
COMLNK    : Deleted    /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.o
COMLNK    : Deleted    /usr/local/aips/31DEC01/LINUX/PREP/CUBIT.f
COMLNK    : Dies of unnatural causes


More information about the Daip mailing list