Dear Fabiana:
We use spm on HP's. John is correct that the compiler distributed for free
with the HP's is brain dead and is only useful for compiling the system
kernel. To compile anything else you have to purchase HP's ANSI C compiler
or use a free compiler such as gcc. We have precompiled binaries for HP
10.20 on our ftp site (ftp.cnadc.nwu.edu, user: anonymous, pass: your
email).
Regards,
Darren
-------------------------------------------------------------------
Darren R. Gitelman, M.D. E-mail: [log in to unmask]
Cognitive Neurology and Voice: (312) 908-9023
the Alzheimer's Disease Center Fax: (312) 908-8789
WWW: http://www.brain.nwu.edu
Northwestern Univ., 320 E. Superior St., Searle 11-470, Chicago, IL 60611
-------------------------------------------------------------------
>
> --------------0E9584EDD88BDA5E67C04D28
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Dear SPMers,
> I am trying to compile SPM99 on a HP. By using the command spm_MAKE.sh
> hpux I get the following error message:
>
>
> SPM mex file compile for sun
>
> (default) unix compile for Sun CC
>
> Compiling volume utilities...
> (Bundled) cc: warning 422: Unknown option "x" ignored.
> (Bundled) cc: warning 480: The -O option is available only with the
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "5" ignored.
> (Bundled) cc: "spm_sys_deps.h", line 12: error 1705: Function prototypes
> are an ANSI feature.
> (Bundled) cc: "spm_make_lookup.h", line 3: error 1705: Function
> prototypes are an ANSI feature.
> (Bundled) cc: "spm_make_lookup.h", line 5: error 1705: Function
> prototypes are an ANSI feature.
> (Bundled) cc: "spm_make_lookup.h", line 7: error 1705: Function
> prototypes are an ANSI feature.
> (Bundled) cc: "spm_make_lookup.h", line 9: error 1705: Function
> prototypes are an ANSI feature.
> (Bundled) cc: "spm_getdata.h", line 5: error 1705: Function prototypes
> are an ANSI feature.
> (Bundled) cc: "spm_getdata.h", line 6: error 1705: Function prototypes
> are an ANSI feature.
> (Bundled) cc: "spm_getdata.h", line 7: error 1705: Function prototypes
> are an ANSI feature.
> (Bundled) cc: "spm_getdata.h", line 8: error 1705: Function prototypes
> are an ANSI feature.
> (Bundled) cc: "spm_getdata.h", line 9: error 1705: Function prototypes
> are an ANSI feature.
> (Bundled) cc: "spm_getdata.h", line 10: error 1705: Function prototypes
> are an ANSI feature...................... etc etc
>
>
> and it doesn't compile anything. I have cc compiler
>
> What do you suggest?
>
> Thanks in advance
> Fabiana
>
> --
> =================================================================
> Dr. Fabiana Patria mailto:[log in to unmask]
> NeuroImaging Lab
> Fondazione Santa Lucia
> via Ardeatina 306 phone: +39(06)5150 1345
> 00179 Rome, Italy fax: +39(06)5150 1213
>
>
>
> --------------0E9584EDD88BDA5E67C04D28
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Dear SPMers,
> <br>I am trying to compile SPM99 on a HP. By using the command spm_MAKE.sh
> hpux I get the following error message:
> <br>
> <p><i>SPM mex file compile for sun</i>
> <p><i>(default) unix compile for Sun CC</i>
> <p><i>Compiling volume utilities...</i>
> <br><i>(Bundled) cc: warning 422: Unknown option "x" ignored.</i>
> <br><i>(Bundled) cc: warning 480: The -O option is available only with
> the C/ANSI C product; ignored.</i>
> <br><i>(Bundled) cc: warning 422: Unknown option "5" ignored.</i>
> <br><i>(Bundled) cc: "spm_sys_deps.h", line 12: error 1705: Function prototypes
> are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_make_lookup.h", line 3: error 1705: Function
> prototypes are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_make_lookup.h", line 5: error 1705: Function
> prototypes are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_make_lookup.h", line 7: error 1705: Function
> prototypes are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_make_lookup.h", line 9: error 1705: Function
> prototypes are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_getdata.h", line 5: error 1705: Function prototypes
> are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_getdata.h", line 6: error 1705: Function prototypes
> are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_getdata.h", line 7: error 1705: Function prototypes
> are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_getdata.h", line 8: error 1705: Function prototypes
> are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_getdata.h", line 9: error 1705: Function prototypes
> are an ANSI feature.</i>
> <br><i>(Bundled) cc: "spm_getdata.h", line 10: error 1705: Function prototypes
> are an ANSI feature...................... etc etc</i>
> <br>
> <p>and it doesn't compile anything. I have cc compiler
> <p>What do you suggest?
> <p>Thanks in advance
> <br>Fabiana
> <pre>--
> =================================================================
> Dr. Fabiana Patria <A HREF="mailto:[log in to unmask]">mailto:[log in to unmask]</A>
> NeuroImaging Lab
> Fondazione Santa Lucia
> via Ardeatina 306 phone: +39(06)5150 1345
> 00179 Rome, Italy fax: +39(06)5150 1213</pre>
> </html>
>
> --------------0E9584EDD88BDA5E67C04D28--
>
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|