[daip] Problem installing 31DEC01 on Alpha
Nathalie Brouillet
brouillet at observ.u-bordeaux.fr
Thu Jul 5 04:39:00 EDT 2001
Hi,
We are installing the 31DEC01 version at the Bordeaux
Observatory on a Dec Alpha machine (DS20, unix v5.1). There is a
compilation problem while running INSTEP2, here is below the error
file. Can you help us ?
Thanks in advance,
Nathalie.
INSTEP2 : compilations at
INSTEP2 : /logiciels/aips/aipsroot/31DEC01/APL/DEV/UNIX/BERK/DEC/ZWINC2.C
COMRPL : Date mer 4 jul 16:39:36 CEST 2001
PP : Preprocess
/logiciels/aips/aipsroot/31DEC01/APL/DEV/UNIX/BERK/DEC/ZWINC2.C
PP : into /logiciels/aips/aipsroot/31DEC01/ALPHA/PREP/ZWINC2.c
AIPSCC : Date mer 4 jul 16:39:36 CEST 2001
AIPSCC : Interpret AIPSCC \
AIPSCC : /logiciels/aips/aipsroot/31DEC01/ALPHA/PREP/ZWINC2.c
AIPSCC : as LIST=FALSE PURGE=TRUE
AIPSCC : plus cc -c -I/logiciels/aips/aipsroot/31DEC01/INC \
AIPSCC : /logiciels/aips/aipsroot/31DEC01/ALPHA/PREP/ZWINC2.c
cc: Error: /usr/include/sys/ioctl_compat.h, line 123: Missing type
specifier or type qualifier. (missingtype)
u_long ctrl_opcode; /* Operation code see below */
--------^
cc: Error: /usr/include/sys/ioctl_compat.h, line 129: Missing type
specifier or type qualifier. (missingtype)
u_int reserved[8]; /* Must be zeroed when
--------^
AIPSCC : Compile of /logiciels/aips/aipsroot/31DEC01/ALPHA/PREP/ZWINC2.c
AIPSCC : ends with fatal error(s)!
1:#ifndef _POSIX_SOURCE
2:#define _POSIX_SOURCE
3:#endif
4:#define Z_winc2__
5:#include <sys/ioctl.h>
7:#if __STDC__
8: void zwinc2_(int *wcols, int *wlines)
9:#else
10: zwinc2_(wcols, wlines)
11: int *wcols, *wlines;
12:#endif
13:/*--------------------------------------------------------------------*/
14:/*! detects current window size */
15:/*# Z2 System */
16:/*--------------------------------------------------------------------*/
17:/*; Copyright (C) 1998-1999 */
18:/*; Associated Universities, Inc. Washington DC, USA. */
19:/*; */
20:/*; This program is free software; you can redistribute it and/or */
21:/*; modify it under the terms of the GNU General Public License as */
22:/*; published by the Free Software Foundation; either version 2 of */
23:/*; the License, or (at your option) any later version. */
24:/*; */
25:/*; This program is distributed in the hope that it will be useful, */
26:/*; but WITHOUT ANY WARRANTY; without even the implied warranty of */
27:/*; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
28:/*; GNU General Public License for more details. */
29:/*; */
30:/*; You should have received a copy of the GNU General Public */
31:/*; License along with this program; if not, write to the Free */
32:/*; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, */
33:/*; MA 02139, USA. */
34:/*; */
35:/*; Correspondence concerning AIPS should be addressed as follows: */
36:/*; Internet email: aipsmail at nrao.edu. */
37:/*; Postal address: AIPS Project Office */
38:/*; National Radio Astronomy Observatory */
39:/*; 520 Edgemont Road */
40:/*; Charlottesville, VA 22903-2475 USA */
41:/*--------------------------------------------------------------------*/
42:/* Inputs: */
43:/* none */
44:/* Output: */
45:/* wcols I >0 => new size */
46:/* wlines I 0 => failure: fall back to old size */
47:/* >0 => new size */
48:/* Digital UNIX version: Jeff Uphoff, NRAO, July 1998, Greisen 7/99 */
49:/*--------------------------------------------------------------------*/
50:{
51: struct winsize ws;
52:/*--------------------------------------------------------------------*/
53: if (ioctl (1, TIOCGWINSZ, &ws, sizeof (struct winsize)) == 0) {
54: *wcols = ws.ws_col;
55: *wlines = ws.ws_row;
56: } else {
57: *wcols = 0; /* Fall back to default on failure. */
58: *wlines = 0; /* Fall back to default on failure. */
59: }
60: return;
61:}
COMRPL : Compile failed!
COMRPL : Deleted /logiciels/aips/aipsroot/31DEC01/ALPHA/PREP/ZWINC2.c
COMRPL : Leave
/logiciels/aips/aipsroot/31DEC01/APL/DEV/UNIX/BERK/DEC/ZWINC2.C
COMRPL : in
/logiciels/aips/aipsroot/31DEC01/ALPHA/INSTALL/APLGEN.LIS
COMRPL : unchanged as it FAILED to compile.
INSTEP2 : Failure in $APLGEN/...
INSTEP2 : compilations.
INSTEP2 : Aborts! mer 4 jul 16:39:37 CEST 2001
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathalie Brouillet
Observatoire de Bordeaux
BP 89
F-33270 Floirac
tel : (33) 05 57 77 61 42 - fax : (33) 05 57 77 61 10
e-mail : nathalie at observ.u-bordeaux.fr
http://www.observ.u-bordeaux.fr/public/radio/NBrouillet/intro.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Daip
mailing list