[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
Mon Oct 14 17:07:09 CEST 2002


There is the problem that the Fortran 77 name-mangling is not 
recognized correctly by the configure script:

checking for Fortran 77 name-mangling scheme... unknown
configure: WARNING: unknown Fortran 77 name-mangling scheme

Consequently, the macros are expanded by the preprocessor as can seen 
below, but the F77_FUNC macro is not regcognized as such.

Markus

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_preprocessed.c -DPIC -o .libs/fnbf.o | & more
cc-1090 cc: ERROR File = inner.h, Line = 147
   Function returning function is not allowed.

   void F77_FUNC(inl0100,INL0100)(int *nri,int iinr[],int jindex[], int 
jjnr[], int shift[],real shiftvec[], real fshift[],int gid[] ,real 
x[],real f[]    ,int typeA[],int *ntype,real nbfp[],real egnb[]);
                                  ^

cc-1092 cc: ERROR File = inner.h, Line = 147
   Identifier-list parameters can only be used in a function definition.

   void F77_FUNC(inl0100,INL0100)(int *nri,int iinr[],int jindex[], int 
jjnr[], int shift[],real shiftvec[], real fshift[],int gid[] ,real 
x[],real f[]    ,int typeA[],int *ntype,real nbfp[],real egnb[]);
        ^

On Monday, October 14, 2002, at 06:30  am, Erik Lindahl wrote:


>> 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);
>
>
> All those capital letters are preprocessor macros. For some reason 
> your setup doesn't preprocess them but sends them to the compiler, 
> which understandably complains :-)
>
> Make sure you did a 'make distclean' if you used the source for some 
> other compile too. Apart from that I'm out of ideas.
>
> SGI has worked flawlessly before - did anybody else succeed (or fail) 
> in compiling 3.1.4 on SGI?
>
> Cheers,
>
> Erik

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