[gmx-users] fnbd.c - compile errors for gromacs 3.2 and 3.2.1

Thomas Veith th_veith at web.de
Sun Mar 7 20:11:01 CET 2004


Hi,

When compiling gromacs 3.2.1 I get following error-messages:

gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/X11R6/include -I../../include 
-DGMXLIBDIR=\"/usr/local/gromacs/share/top\" -I/usr/include/libxml2 -O2 
-march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -ftracer 
-I/usr/include/libxml2 -MT fnbf.lo -MD -MP -MF .deps/fnbf.Tpo -c fnbf.c -o 
fnbf.o
fnbf.c: In function `do_fnbf':
fnbf.c:270: warning: passing arg 11 of `inl0100_sse' from incompatible pointer 
type
fnbf.c:270: warning: passing arg 12 of `inl0100_sse' makes integer from 
pointer without a cast
fnbf.c:270: warning: passing arg 13 of `inl0100_sse' makes pointer from 
integer without a cast
fnbf.c:270: error: too many arguments to function `inl0100_sse'
fnbf.c:272: warning: passing arg 11 of `inl0100_3dnow' from incompatible 
pointer type
fnbf.c:272: warning: passing arg 12 of `inl0100_3dnow' makes integer from 
pointer without a cast
fnbf.c:272: warning: passing arg 13 of `inl0100_3dnow' makes pointer from 
integer without a cast
fnbf.c:272: error: too many arguments to function `inl0100_3dnow'
fnbf.c:288: warning: passing arg 11 of `inl0110_sse' from incompatible pointer 
type
.....

the same when trying with intels icc

fnbf.c(304): warning #167: argument of type "real={float} *" is incompatible 
with parameter of type "int *"
            inl0300_sse(ASM_COMMON_ARGS ASM_LJ_ARGS ASM_LJTAB_ARGS);
                        ^

fnbf.c(304): warning #167: argument of type "int *" is incompatible with 
parameter of type "int"
            inl0300_sse(ASM_COMMON_ARGS ASM_LJ_ARGS ASM_LJTAB_ARGS);
                                        ^

fnbf.c(304): warning #167: argument of type "int" is incompatible with 
parameter of type "float *"
            inl0300_sse(ASM_COMMON_ARGS ASM_LJ_ARGS ASM_LJTAB_ARGS);
                                        ^

fnbf.c(304): error: argument of type "real={float} *" is incompatible with 
parameter of type "float"
            inl0300_sse(ASM_COMMON_ARGS ASM_LJ_ARGS ASM_LJTAB_ARGS);
                                        ^

fnbf.c(304): error: argument of type "float" is incompatible with parameter of 
type "float *"
            inl0300_sse(ASM_COMMON_ARGS ASM_LJ_ARGS ASM_LJTAB_ARGS);
                                                    ^



The same problems with 3.2 and 3.2.1..

I use icc v8.0 and gcc  (GCC) 3.3.3 20040217.

The configure-options are:
./configure --enable-fortran --enable-vector --enable-vectorized-recip  
--enable-vectorized-sqrt=normal,solvent,water,water-water 
--enable-prefetch=normal,solvent,water,water-water

Any help would be appreciated..

Best regards,

Thomas

-- 
wok, n.:
	Something to thwow at a wabbit.



More information about the gromacs.org_gmx-users mailing list