[gmx-users] Problems compiling gromacs-3.1.4 using MIPSpro 7.3.1.3m compiler on IRIX 6.5
Markus Meier
m.meier at unibas.ch
Fri Oct 11 14:25:20 CEST 2002
Dear all
I have problems to compile gromacs-3.1.4 on IRIX64 v. 6.5 using the
MIPSpro 7.3.1.3m compiler.
The same code compiles without problems on Mac OS X using gcc or OSF1
alpha using Compaq C V6.3-029 compiler.
Did someone else run into the same difficulties (and was maybe able to
find a fix?)
I used the following configuration:
setenv CFLAGS "-64 -mips4 -I/progs/include"
setenv LDFLAGS "-L/usr/lib64 -L/usr/lib64/mips4 -L/usr/lib64/r10000
-L/progs/lib64"
./configure --prefix=/progs/app/gromacs-3.1.4
--exec-prefix=/progs/app/gromacs-3.1.4 --enable-shared --with-x
The compilation aborts at fnbf.c with the following error:
Making all in src
cd .. \
&& CONFIG_FILES= CONFIG_HEADERS=src/config.h \
/bin/sh ./config.status
config.status: creating src/config.h
config.status: src/config.h is unchanged
make all-recursive
Making all in gmxlib
source='fnbf.c' object='fnbf.lo' libtool=yes \
depfile='.deps/fnbf.Plo' tmpdepfile='.deps/fnbf.TPlo' \
depmode=sgi /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../../src -I../../include
-DGMXLIBDIR=\"/progs/app/gromacs-3.1.4/share/top\" -64 -mips4
-I/progs/include -c -o fnbf.lo `test -f fnbf.c || echo './'`fnbf.c
cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include
-DGMXLIBDIR=\"/progs/app/gromacs-3.1.4/share/top\" -64 -mips4
-I/progs/include -c fnbf.c -Wp,-MDupdate,.deps/fnbf.TPlo -DPIC -o
.libs/fnbf.o
cc-1090 cc: ERROR File = inner.h, Line = 147
Function returning function is not allowed.
void FUNC(inl0100,INL0100)(COMMON_ARGS REC_BUF LJ_ARGS);
^
cc-1092 cc: ERROR File = inner.h, Line = 147
Identifier-list parameters can only be used in a function definition.
void FUNC(inl0100,INL0100)(COMMON_ARGS REC_BUF LJ_ARGS);
^
cc-1090 cc: ERROR File = inner.h, Line = 149
Function returning function is not allowed.
void FUNC(inl0110,INL0110)(COMMON_ARGS REC_BUF LJ_ARGS SOLMN_ARGS);
^
cc-1092 cc: ERROR File = inner.h, Line = 149
Identifier-list parameters can only be used in a function definition.
void FUNC(inl0110,INL0110)(COMMON_ARGS REC_BUF LJ_ARGS SOLMN_ARGS);
Thank you for your help!
Best regards,
Markus
Markus Meier
M. E. Müller Institut
Biozentrum der Universität Basel
Klingelbergstrasse 70
CH-4056 Basel
Tel.: +41 61 267 20 91
Fax: +41 61 267 21 09
More information about the gromacs.org_gmx-users
mailing list