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.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Dec 17 2006 - 06:07:23 PST