[gmx-users] problem with installation on mac os x

David spoel at xray.bmc.uu.se
Wed Oct 22 20:29:00 CEST 2003


On Wed, 2003-10-22 at 20:18, Maria Nemirovskaya wrote:
> Hi,
> 
> I am trying to install gromacs-3.1.4 on a new mac g5 with os 
> 10.2.7. FFTW-2.1.5 was successfully installed, and configuration 
> of gromacs went well. However, I received the following error 
> during compiliation:
> 
> source='xutils.c' object='xutils.o' libtool=no \
> depfile='.deps/xutils.Po' tmpdepfile='.deps/xutils.TPo' \
> depmode=gcc /bin/sh ../../config/depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I../../src  -I../../include -
> DGMXLIBDIR=\"/usr/local/gromacs/share/top\"   -O6 -fomit-frame-
> pointer -finline-functions -Wall -Wno-unused -no-cpp-precomp -
> faltivec -mcpu=powerpc -c `test -f xutils.c || echo './'`xutils.c
> xutils.c:97: `fmax' redeclared as different kind of symbol
> /usr/include/architecture/ppc/math.h:307: previous declaration of 
> `fmax'
> xutils.c:97: warning: `fmax' was declared `extern' and later 
> `static'
this is a FAQ. replace fmax by _fmax in the gromacs code.

> make[3]: *** [xutils.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> 
> Did anyone encounter something like that before? How should I fix 
> it?
> 
> Thanks a lot for help,
> 
> Maria
> 
> ----------------------------------------
> Maria Nemirovskaya
> Postdoctoral Research Associate
> Dept. of Chemistry, University of Oregon
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assist. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the gromacs.org_gmx-users mailing list