[gmx-users] compiling error on OS X 10.3.1
Erik Lindahl
lindahl at csb.stanford.edu
Wed Dec 17 21:17:00 CET 2003
Hi Scott,
Use the 3.2.0_beta1 version, or one of the 3.1.5_prereleases in
ftp://ftp.gromacs.org/pub/beta
There is an altivec-related bug in gcc-3.1 and later (I reported it to
apple already for the beta of gcc-3.1...), but I have worked around it
in the later versions.
Cheers,
Erik
On Dec 17, 2003, at 12:05 PM, Scott Classen wrote:
> Hello gromacs users,
> I am trying to compile gromacs on my Apple Powerbook (G4 1.25GHz OS X
> 10.3.1 gcc version 3.3 from Apple developer CD). I installed fftw via
> fink so I changed
>
> setenv CPPFLAGS -I/sw/include
> setenv LDFLAGS -L/sw/lib
>
> then I ran
>
> ./configure --prefix=/programs/gromacs
>
> and it worked just fine. I then ran
>
> make
>
> It started to compile then I got the following error. Does anyone have
> advice?
>
> Thanks in advance.
> Scott Classen
>
>
> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/X11R6/include
> -I../../include -DGMXLIBDIR=\"/programs/gromacs/share/top\"
> -I/sw/include -O6 -fomit-frame-pointer -finlin
> e-functions -Wall -Wno-unused -no-cpp-precomp -faltivec
> -mcpu=powerpc -fno-schedule-insns -c futil.c -MT futil.lo -MD -MP -MF
> .deps/futil.TPlo -o futil.o
> source='gbutil.c' object='gbutil.lo' libtool=yes \
> depfile='.deps/gbutil.Plo' tmpdepfile='.deps/gbutil.TPlo' \
> depmode=gcc3 /bin/sh ../../config/depcomp \
> /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I../../src -I/usr/X11R6/include -I../../include
> -DGMXLIBDIR=\"/programs/gromacs/share/top\" -I/sw/in
> clude -O6 -fomit-frame-pointer -finline-functions -Wall
> -Wno-unused -no-cpp-precomp -faltivec -mcpu=powerpc
> -fno-schedule-insns -c -o gbutil.lo `test -f gbutil.c ||
> echo './'`gbutil.c
> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/X11R6/include
> -I../../include -DGMXLIBDIR=\"/programs/gromacs/share/top\"
> -I/sw/include -O6 -fomit-frame-pointer -finlin
> e-functions -Wall -Wno-unused -no-cpp-precomp -faltivec
> -mcpu=powerpc -fno-schedule-insns -c gbutil.c -MT gbutil.lo -MD -MP
> -MF .deps/gbutil.TPlo -o gbutil.o
> source='fnbf.c' object='fnbf.lo' libtool=yes \
> depfile='.deps/fnbf.Plo' tmpdepfile='.deps/fnbf.TPlo' \
> depmode=gcc3 /bin/sh ../../config/depcomp \
> /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I../../src -I/usr/X11R6/include -I../../include
> -DGMXLIBDIR=\"/programs/gromacs/share/top\" -I/sw/in
> clude -O6 -fomit-frame-pointer -finline-functions -Wall
> -Wno-unused -no-cpp-precomp -faltivec -mcpu=powerpc
> -fno-schedule-insns -c -o fnbf.lo `test -f fnbf.c || echo
> './'`fnbf.c
> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/X11R6/include
> -I../../include -DGMXLIBDIR=\"/programs/gromacs/share/top\"
> -I/sw/include -O6 -fomit-frame-pointer -finlin
> e-functions -Wall -Wno-unused -no-cpp-precomp -faltivec
> -mcpu=powerpc -fno-schedule-insns -c fnbf.c -MT fnbf.lo -MD -MP -MF
> .deps/fnbf.TPlo -o fnbf.o
> ../../include/ppc_altivec.h: In function `set_non_java_mode':
> ../../include/ppc_altivec.h:60: error: argument 0 to built-in function
> `vec_splat_u32' does not satisfy constraint A
> make[3]: *** [fnbf.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Scott Classen, Ph.D.
> ACS Postdoctoral Fellow
> Department of Molecular & Cell Biology
> University of California, Berkeley
> 237 Hildebrand Hall #3206
> Berkeley, CA 94720-3206
> LAB 510.643.9491
> FAX 510.643.9290
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> 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.
More information about the gromacs.org_gmx-users
mailing list