[daip] forwarded message from Eric Greisen

Eric Greisen egreisen at cv3.cv.nrao.edu
Mon Mar 31 13:49:33 EST 2003


------- start of forwarded message (RFC 934 encapsulation) -------
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Received: from polaris.cv.nrao.edu (polaris.cv.nrao.edu [192.33.115.101])
	by zia.aoc.nrao.edu (8.12.9/8.12.5) with ESMTP id h2VIXCbG012381
	for <egreisen at aoc.nrao.edu>; Mon, 31 Mar 2003 11:33:14 -0700 (MST)
Received: from cv3.cv.nrao.edu (cv3.cv.nrao.edu [192.33.115.2])
	by polaris.cv.nrao.edu (8.11.6/8.11.6) with ESMTP id h2VIXAs01678;
	Mon, 31 Mar 2003 13:33:10 -0500
Received: from zia.aoc.nrao.edu (zia.aoc.nrao.edu [146.88.1.4])
	by cv3.cv.nrao.edu (8.11.6/8.11.6) with ESMTP id h2VIX5U17910;
	Mon, 31 Mar 2003 13:33:06 -0500
Received: from primate.aoc.nrao.edu (primate [146.88.1.117])
	by zia.aoc.nrao.edu (8.12.9/8.12.5) with ESMTP id h2VIX3bG012367;
	Mon, 31 Mar 2003 11:33:03 -0700 (MST)
Received: (from egreisen at localhost)
	by primate.aoc.nrao.edu (8.11.6/8.11.6) id h2VIX3f22540;
	Mon, 31 Mar 2003 11:33:03 -0700
X-Authentication-Warning: primate.aoc.nrao.edu: egreisen set sender to egreisen at nrao.edu using -f
Message-ID: <16008.35295.67462.453792 at primate.aoc.nrao.edu>
In-Reply-To: <200303311209.NAA0001451370 at alpha2.mssl.ucl.ac.uk>
References: <200303311209.NAA0001451370 at alpha2.mssl.ucl.ac.uk>
X-Mailer: VM 7.00 under Emacs 20.7.1
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.3, required 7,
	EMAIL_ATTRIBUTION, IN_REP_TO, REFERENCES, SPAM_PHRASE_00_01,
	X_AUTH_WARNING)
From: Eric Greisen <egreisen at cv3.cv.nrao.edu>
To: Gavin Ramsay <gtbr at mssl.ucl.ac.uk>
Cc: aipsmail at cv3.cv.nrao.edu
Subject: Re: [daip] error building aips
Date: Mon, 31 Mar 2003 11:33:03 -0700

Gavin Ramsay writes:

 > AIPSCC: /soft/soft1/xraysw-OSF1/aips/31DEC02/ALPHA/PREP/ZWINC2.c 
 >   cc: Error: /usr/include/sys/ioctl_compat.h, line 124: Missing type specifier or type qualifier. (missingtype)
 >         u_long  ctrl_opcode;                    /* Operation code see below */
 > --------^
 > cc: Error: /usr/include/sys/ioctl_compat.h, line 130: Missing type specifier or type qualifier. (missingtype)
 >         u_int   reserved[8];                    /* Must be zeroed when
 > --------^
 > AIPSCC    : Compile of /soft/soft1/xraysw-OSF1/aips/31DEC02/ALPHA/PREP/ZWINC2.c
 > AIPSCC    : ends with fatal error(s)!

 > any idea what is causing this to fail? 

     Actually no - $APLDEC/ZWINC2.C includes the system include file
ioctl.h which must be including ioctl_compat.h which clearly has
variable types u_long and u_int that are not defined.  This is an
error in your operating system setup or perhaps the OS itself.  These
files must be compatible with each other and they appear to be in
error.  You could grep for u_long in /usr/include and subdirectories
below.  If you find the file that defines these things you could add
that to $APLDEC/ZWINC2.C ahead of the #include <ioctl.h>.

 > 
 > btw  - do you have a binary version of aips for linux?  i did see it mentioned
 > on the web page but cant find it on your ftp site.

     We usually expect people to binary install from CD.  The binary
files are all there however pub/software/aips/31DEC02/LINUX and below.
The install.pl file should still be executed up to the INSTEP2 stage.
I suspect it would be quicker to install from source than with binary
on modern computers.

Eric Greisen


------- end -------



More information about the Daip mailing list