[gmx-developers] Compilation glitch with xutils.c and glibc

David van der Spoel spoel at xray.bmc.uu.se
Wed Mar 13 09:48:01 CET 2002

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                                                             
>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.
Dr. David van der Spoel, 	Biomedical center, Dept. of Biochemistry
Husargatan 3, Box 576,  	75123 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://zorn.bmc.uu.se/~spoel

More information about the gromacs.org_gmx-developers mailing list