[daip] compilation problems
Eric Greisen
egreisen at nrao.edu
Mon Oct 10 10:24:44 EDT 2011
Pietro Cassaro wrote:
> Hi,
>
> just before the instep2 I encountered these errors:
> NEWEST.c:31:5: error: expected constructor, destructor, or type
> conversion before ‘(’ token
> NEWEST.c:33:12: error: storage size of ‘argv’ isn't known
> NEWEST.c:34:1: error: expected unqualified-id before ‘{’ token
> AipsWiz: Error: Failed to compile NEWEST in
> /home/pietro/aips11/31DEC11/LNX64/SYSTEM/AIPSBEFANA
> AipsWiz: Error: You need to find out why (later), but for now
> AipsWiz: Error: let's proceed...
>
> Same thing for other files as PRINTENV.c or REVENV.c. It is possible to
> go ahead but the
> INSTEP2 will stop soon and the program aborts. Please, can you give me
> some hint about?
>
> Many thanks
> Pietro
The first question is - why are you compiling the code? The second is -
what compilers are you using? They seem to be C++ but beyond that???
If you are going to write your own AIPS tasks, then you do need a local
compilation. However, if not, the binary installation produces
executables that run significantly faster than those of the gnu
compilers. Do
perl install.pl -n
for the "network" or binary installation.
Eric Greisen
More information about the Daip
mailing list