[daip] AIPS on MACINT

Eric Greisen egreisen at nrao.edu
Thu Jun 7 11:01:06 EDT 2012


Shoshana Rosenthal wrote:
> INSTEP2 completed and Librarises were created.
> However in INSTEP4 I am running into link problems.
> My guess is that LDOPTS.SH is not correct.
> Do you know what lnk option for f95 should be?
> 
> thanks
> SHoshana
> 
> 
> 
> : Date is... Wed Jun  6 19:27:42 EDT 2012
> LINK      : Interpret  LINK \
> LINK      :            /Users/aips/31DEC12/MACINT/PREP/AIPS.o
> LINK      : as         PURGE=TRUE REPLACE=TRUE SAVE=TRUE STRIP=FALSE
> LINK      : plus       f95 \
> LINK      :            /Users/aips/31DEC12/MACINT/PREP/AIPS.o \
> LINK      :            /Users/aips/31DEC12/MACINT/LIBR/AIPSUB/SUBLIB \
> LINK      :            /Users/aips/31DEC12/MACINT/LIBR/YSUB/SUBLIB \
> LINK      :            /Users/aips/31DEC12/MACINT/LIBR/YSS/SUBLIB \
> LINK      :            /Users/aips/31DEC12/MACINT/LIBR/APLSUB/SUBLIB \
> LINK      :            /Users/aips/31DEC12/MACINT/LIBR/GNU/libreadline.a \
> LINK      :            -lncurses \
> LINK      :             -L/Application/Absoft11.5/lib -O3   \
> LINK      :            -o /Users/aips/31DEC12/MACINT/PREP/AIPS.EXE
> Undefined symbols:
>   "_getarg_", referenced from:
>       _zgname_ in SUBLIB(ZGNAME.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> link failed.
> This demonstration copy of Absoft Fortran 95 expires 06/29/12.
> LINK      : Status from f95 is 1
> LINK      : Link of    /Users/aips/31DEC12/MACINT/PREP/AIPS.o
> LINK      : dies from wimpy compiler
> LINK      : Dies of unnatural causes.
> COMLNK    : Link failed!
> COMLNK    : Deleted    /Users/aips/31DEC12/MACINT/PREP/AIPS.o
> COMLNK    : Deleted    /Users/aips/31DEC12/MACINT/PREP/AIPS.f
> COMLNK    : Date       Wed Jun  6 19:27:42 EDT 2012

GETARG is a long-standing standard Fortran subroutine that should be in 
your libraries.  A new subroutine name appears in F2003.

I will examine the issue of rewriting a Z routine but ....

Eric




More information about the Daip mailing list