AMBER Archive (2006)Subject: Re: AMBER: Error in sysdepend.c?
From: David A. Case (case_at_scripps.edu)
Date: Fri Dec 15 2006 - 17:24:00 CST
On Fri, Dec 15, 2006, Shin, John Y CONTRACTOR WRAIR-Wash DC wrote:
>
> I'm trying to compile Amber 9 on an Octane 2 SGI machine running IRIX
> 6.5.25f using gcc 4.0.3, binutils 2.17, and g95 0.9. I use the
> following commands to compile:
>
> 1. ./configure g95
The "g95" target in Amber was never tuned for SGI/MIPS compilation. So, there
may well be incompatibilties. [I know this is pretty well hidden, but
"configure" does say this: g95 or gfortran compiler (Linux/cygwin only) .]
We are only now hearing from people who have sgi/mips machines but don't have
the sgi compilers. So, there is probably some work to be done.
> sysdepend.c: In function 'SysdependDirectoryList':
> sysdepend.c:177: warning: passing argument 2 of 'BSDscandir' from
> incompatible pointer type
> sysdepend.c:186: error: dereferencing pointer to incomplete type
You will need to add "-DSYSV" to the CFLAGS variable in config.h. More may
be needed, but this will prevent the compiler from thinking you are on a BSD
system.
...good luck...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|