[gmx-users] compilation error on Gmx 314

Diego Vallejo diegovallejo at mdq.com.ar
Sun Sep 8 03:55:31 CEST 2002


Hola,

I've had the same problem with Gromacs 3.1.4.

    xutils.c:97: `fmax' redeclared as different kind of symbol
    /usr/include/math.h:146: previous declaration of `fmax'
    xutils.c:97: warning: `fmax' was declared `extern' and later `static'

I'm compiling on a i386,  running cygwin-bash on WinXP


Saludos

Diego Vallejo



[gmx-developers] Compilation glitch with xutils.c and glibc
David van der Spoel spoel at xray.bmc.uu.se
Wed, 13 Mar 2002 09:48:01 +0100 (CET)
Previous message: [gmx-developers] Compilation glitch with xutils.c and
glibc
Next message: [gmx-developers] Re: [gmx-users] NMR Refinement
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]



On Tue, 12 Mar 2002, Jay Mashl wrote:

>I encountered a small problem compiling gromacs-3.1.1 and thought
>I could post a solution:
>
>In src/kernel:
>xutils.c:97: `fmax' redeclared as different kind of symbol
>/usr/include/bits/mathcalls.h:319: previous declaration of `fmax'
>xutils.c:97: warning: `fmax' was declared `extern' and later `static'
>
>> rpm -qf /usr/include/bits/mathcalls.h
>glibc-devel-2.1.3-15
>glibc-devel-2.1.3-22
>
>The compilation can be made to work be renaming all occurrences
>of 'fmax' (say to '_fmax') in xutils.c.
Broken libraries... I assume that's redhat 7.0 or so. But I'll fix it
anyway, thanks.


Groeten, David.




More information about the gromacs.org_gmx-users mailing list