[daip] ZSACPT issue

Bill Junor bjunor at lanl.gov
Mon Aug 4 10:10:13 EDT 2008


That is the only one, I think.  However, I'm at work right now and won't 
be able to check until I get home.

I was just concerned in case there is a Fedora Core 9 issue that has 
just surfaced.

More this evening.

         B

Eric Greisen wrote:
> SUSAN BILL WIDER wrote:
>> See attached description of ZSACPT issue.
>>  
>>   Bill
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> Eric.
>>
>>    I was investigating an issue with APCAL and friends and I was
>>    compiling 31DEC08 AIPS on my Linux box running Fedora Core 9 at
>>    home.
>>    I can't build ZSACPT for the reason below.  The first offending
>>    line is
>>
>>     char *client_name = NULL;      /* the name of the client machine */
>>
>>    I think that this failure doesn't depend on particular specifics of
>>    how my box is named so is there some issue with this new version of
>>    Fedora? (FC 9 is the current bleeding edge version.)
>>
>>                                           Bill
>>
>>
>> INSTEP2   : Skip       $APLSUB/...
>> INSTEP2   : compilations.
>> INSTEP2   : Process    $APLOOP/...
>> INSTEP2   : subroutines.
>> INSTEP2   : Library    /opt/aips/31DEC08/LINUX/LIBR/APLOOP/SUBLIB
>> INSTEP2   : already exists.
>> INSTEP2   : Skip       $APLOOP/...
>> INSTEP2   : compilations.
>> INSTEP2   : Process    $APLGEN/...
>> INSTEP2   : subroutines.
>> INSTEP2   : File       /opt/aips/31DEC08/LINUX/INSTALL/APLGEN.LIS
>> INSTEP2   : already exists (no need to create).
>> INSTEP2   : Resume     $APLGEN/...
>> INSTEP2   : compilations at
>> INSTEP2   : /opt/aips/31DEC08/APL/DEV/ZSACPT.FOR
>> COMRPL    : Date       Sun Aug  3 15:42:02 MDT 2008
>> COMRPL    : Substitute /opt/aips/31DEC08/APL/DEV/UNIX/ZSACPT.C
>> COMRPL    : for        /opt/aips/31DEC08/APL/DEV/ZSACPT.FOR
>> PP        : Preprocess /opt/aips/31DEC08/APL/DEV/UNIX/ZSACPT.C
>> PP        : into       /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c
>> AIPSCC    : Date       Sun Aug  3 15:42:02 MDT 2008
>> AIPSCC    : Interpret  AIPSCC  \
>> AIPSCC    :            /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c
>> AIPSCC    : as         LIST=FALSE PURGE=TRUE
>> AIPSCC    : plus       /usr/bin/gcc -c -O3 -fomit-frame-pointer 
>> -funroll-loops
>> I/opt/aips/31DEC08/INC -D_FILE_OFFSET_BITS=64 -DHAVE_LINUX_GLIBC 
>> -DHAVE_LINUX_
>> IBC \
>> AIPSCC    :            /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c
>> /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c: In function ‘zsacpt_’:
>> /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c:83: error: ‘NULL’ undeclared 
>> (first use  this function)
>> /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c:83: error: (Each undeclared 
>> identifier i
>> reported only once
>> /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c:83: error: for each function it 
>> appears )
>> AIPSCC    : Compile of /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c
>> AIPSCC    : ends with fatal error(s)!
>> AIPSCC    : Examine    /opt/aips/31DEC08/LINUX/INSTALL/INSTEP2.LOG
>> AIPSCC    : and        /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c
>> AIPSCC    : Dies of unnatural causes
>> COMRPL    : Compile failed!
>> COMRPL    : Deleted    /opt/aips/31DEC08/LINUX/PREP/ZSACPT.c
>> COMRPL    : Leave      /opt/aips/31DEC08/APL/DEV/ZSACPT.FOR
>> COMRPL    : in         /opt/aips/31DEC08/LINUX/INSTALL/APLGEN.LIS
>> COMRPL    : unchanged as it FAILED to compile.
>> COMRPL    : at least one module FAILED to compile
>> COMRPL    : Dies of unnatural causes
>> INSTEP2   : Failure in $APLGEN/...
>> INSTEP2   : compilations.
>> INSTEP2   : Aborts!    Sun Aug  3 15:42:04 MDT 2008
>> AipsWiz: Error: INSTEP2 failed, no point in proceeding.
>> AipsWiz: Error: Look in /opt/aips/31DEC08/LINUX/INSTALL to see
>> AipsWiz: Error: if you can figure out what went wrong.  There are
>> AipsWiz: Error: many log and list files there.  You may want to do
>>
>> grep -v ^- *.LIS
>>
>>
>> AipsWiz: Error: to see what modules did not compile.
>>
>> AipsWiz: Install Wizard stopping.  Current settings saved in ~/.AIPSRC
>> AipsWiz: Abandoning ship!  Goodbye.
>> ========================================================================
> 
> My bet is that ZSACPT is irrelevant these days.
> 
> But - NULL is used all over the place in AIPS' C routines.  Do other 
> ones compile?  INSTEP2 will try to do everything in the directory before 
> quitting.
> 
> Eric Greisen
> 




More information about the Daip mailing list