[daip] Failure to compile PP

Sally Laurent slauren at lintilla.ucllnl.org
Thu Nov 20 20:41:02 EST 2003


Hello,

        I am installing AIPS on a RedHat 7.1 linux box (Xeon processor), using
the 2.95.3 compilers.  I am encountering an error when the installation wizard
tried to compile the preprocessor.  The errors are as follows:


AipsWiz:  =====> Compile Utility Programs (if needed) in /export/data1/AIPS/31DE
C03/LINUX/SYSTEM/FIRST...
AipsWiz:         - found existing F2PS program; assume it's ok.
AipsWiz:         - found existing F2TEXT program; assume it's ok.
AipsWiz:         - found existing NEWEST program; assume it's ok.
AipsWiz:         - found existing PRINTENV program; assume it's ok.
AipsWiz:         - found existing AIPWD program; assume it's ok.
AipsWiz:         - found existing REVENV program; assume it's ok.
AipsWiz:         - Compiling ZTRLOP.c...
AipsWiz:         - done.  Now try building the PP preprocessor...
AipsWiz: /usr/local/gcc-295/bin/g77 -O -o PP.EXE PP.f ZTRLOP.o
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(open.o)(.text+0
x4ca): In function `f_open':
/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/open.c:213: the use of
 `tempnam' is dangerous, better use `mkstemp'
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+
0x18d): In function `l_R':
/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/lread.c:153: undefined
 reference to `__ctype_b'
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+
0x23e):/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/lread.c:179: un
defined reference to `__ctype_b'
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+
0x2b6):/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/lread.c:196: un
defined reference to `__ctype_b'
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+
0x2ee):/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/lread.c:206: un
defined reference to `__ctype_b'
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+
0x83a): In function `l_L':
/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/lread.c:350: undefined
 reference to `__ctype_b'
/usr/local/gcc-295/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(lread.o)(.text+
0xa3e):/usr/local/src/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/lread.c:405: mo
re undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
AipsWiz: Error: Failed to build PP.EXE in /export/data1/AIPS/31DEC03/LINUX/SYSTE
M/FIRST
AipsWiz: Error: This will prevent INSTEP2 from starting!!!!


As you can see, the gcc/g77 path is fine (referring to a gcc-295 directory).
Any help in figuring out what's wrong would be appreciated.  Let me know what
further information you may need to debug this.

                                                -Sally Laurent-Muehleisen
                                                 (slauren at igpp.ucllnl.org



More information about the Daip mailing list