[daip] compile failure on linux

Eric Greisen egreisen at nrao.edu
Sat Jul 15 14:03:08 EDT 2000


AIPSCC    :            /home/aips/31DEC99/LINUX/PREP/ZVTPGC.c
In file included from /usr/include/errno.h:36,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTPGC.c:5:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
mits.h:117,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/sy
slimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
mits.h:11,
                 from /usr/include/bits/socket.h:31,
                 from /usr/include/sys/socket.h:34,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTPGC.c:8:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTPGC.c:8:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory

AIPSCC    :            /home/aips/31DEC99/LINUX/PREP/ZVTPO3.c
In file included from /usr/include/errno.h:36,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTPO3.c:5:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
mits.h:117,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/sy
slimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
mits.h:11,
                 from /usr/include/bits/socket.h:31,
                 from /usr/include/sys/socket.h:34,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTPO3.c:8:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
                 from /home/aips/31DEC99/LINUX/PREP/ZVTPO3.c:8:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory


Looking in the system include files I see, for example, that
   bits/errno.h
includes 
   linux/errno.h
but this file (as bits/linux/*) does not exist.  There is a
   ../linux/errno.h

On maruti, the same situation applies, but the routine compiles
without error.  Both systems give

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> 

so there is not a difference in the gcc.

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/ZVTPO3.c

AIPSCC    : plus       /usr/bin/gcc -c -O3 -fomit-frame-pointer -funroll-loops -I/AIPS/31DEC99/INC -DHAVE_LINUX_GLIBC \
AIPSCC    :            /AIPS/31DEC99/LINUX/PREP/ZVTPGC.c

are the 2 commands so they are the same seemingly.

What is going on?  I tried a routine that includes errno.h other than
the ones in the current mnj and that fails too on valen.

Eric



More information about the Daip mailing list