[daip] Linux C comilation

Eric Greisen egreisen at nrao.edu
Sun Jul 16 15:08:50 EDT 2000


Using primate to do the compilation, the C routines compile properly.

There is something wrong with valen's compilation compared to what I
would have thought was an identical set up on primate.

valen_egreisen<75> COMRPL $APLUNIX/ZVTVX3
COMRPL    : Date       Sat Jul 15 13:56:42 EDT 2000
COMRPL    : Substitute /home/aips/31DEC99/APL/DEV/UNIX/ZVTVX3.C
COMRPL    : for        /home/aips/31DEC99/APL/DEV/UNIX/ZVTVX3
PP        : Preprocess /home/aips/31DEC99/APL/DEV/UNIX/ZVTVX3.C
PP        : into       /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : Date       Sat Jul 15 13:56:45 EDT 2000
AIPSCC    : Interpret  AIPSCC NOPURGE  \
AIPSCC    :            /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : as         LIST=FALSE PURGE=FALSE
AIPSCC    : plus       /usr/bin/gcc -c -O3 -fomit-frame-pointer -funroll-loops -I/home/aips/31DEC99/INC -DHAVE_LINUX_GLIBC \
AIPSCC    :            /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
In file included from /usr/include/errno.h:36,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c:4:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
AIPSCC    : Compile of /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : ends with fatal error(s)!
AIPSCC    : Examine    /home/aips/31DEC99/LINUX/PREP/ZVTVX3.LOG
AIPSCC    : and        /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : Dies of unnatural causes
COMRPL    : Compilation fails!
COMRPL    : Deleted    /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
COMRPL    : at least one module FAILED to compile
COMRPL    : Dies of unnatural causes
valen_egreisen<76> gcc -v  
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

valen_egreisen<77> logout
Connection to valen closed.
You have mail in /var/spool/mail/egreisen
primate_egreisen<1091> COMRPL $APLUNIX/ZVTVX3
COMRPL    : Date       Sun Jul 16 15:06:04 EDT 2000
COMRPL    : Substitute /home/aips/31DEC99/APL/DEV/UNIX/ZVTVX3.C
COMRPL    : for        /home/aips/31DEC99/APL/DEV/UNIX/ZVTVX3
PP        : Preprocess /home/aips/31DEC99/APL/DEV/UNIX/ZVTVX3.C
PP        : into       /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : Date       Sun Jul 16 15:06:06 EDT 2000
AIPSCC    : Interpret  AIPSCC NOPURGE  \
AIPSCC    :            /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : as         LIST=FALSE PURGE=FALSE
AIPSCC    : plus       /usr/bin/gcc -c -O3 -fomit-frame-pointer -funroll-loops -I/home/aips/31DEC99/INC -DHAVE_LINUX_GLIBC \
AIPSCC    :            /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : Compile of /home/aips/31DEC99/LINUX/PREP/ZVTVX3.c
AIPSCC    : ends successfully.
AIPSCC    : Ends successfully
COMRPL    : stash /home/aips/31DEC99/LINUX/PREP/ZVTVX3.o
COMRPL    : in    /home/aips/31DEC99/LINUX/PREP/ZVTVX3.TEMP
COMRPL    : now redo in debug mode

etc



More information about the Daip mailing list