[gmx-users] compilation error
yimnai forlemu
yyipten at yahoo.fr
Thu Apr 2 05:58:52 CEST 2009
Hello,
I need some help figuring out how to compile gromacs on and sgi or linux machine.
This is the error I get after using the make command to compile gromacs. Need some suggestions. Thanks
source='gmx_wham.c' object='gmx_wham.lo' libtool=yes \
DEPDIR=.deps depmode=sgi /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
-I../../src -I../../include
-DGMXLIBDIR=\"/usr/people/forlemu/gromacs/gromacs-4.0.4/gmx4/share/top\"
-I/usr/people/forlemu/gromacs/fftw-3.2.1/include -O3
-OPT:IEEE_arithmetic=3 -OPT:rsqrt=ON -SWP:loop_overhead -INLINE:=ON
-LNO:opt=1 -LNO:ou_further=3 -OPT:Olimit=0:roundoff=3:alias=typed -woff
1174 -D__INLINE_INTRINSICS -c -o gmx_wham.lo gmx_wham.c
cc
-DHAVE_CONFIG_H -I. -I../../src -I../../include
"-DGMXLIBDIR=\"/usr/people/forlemu/gromacs/gromacs-4.0.4/gmx4/share/top\""
-I/usr/people/forlemu/gromacs/fftw-3.2.1/include -O3
-OPT:IEEE_arithmetic=3 -OPT:rsqrt=ON -SWP:loop_overhead -INLINE:=ON
-LNO:opt=1 -LNO:ou_further=3 -OPT:Olimit=0:roundoff=3:alias=typed -woff
1174 -D__INLINE_INTRINSICS -c gmx_wham.c
-Wp,-MDupdate,.deps/gmx_wham.TPlo -o gmx_wham.o
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1723
A declaration cannot appear after an executable statement in a block.
static char *en_unit[5]={NULL,"kJ","kCal","kT",NULL};
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1724
A declaration cannot appear after an executable statement in a block.
static char *en_unit_label[24]={"","E (kJ mol\\S-1\\N)","E (kcal
mol\\S-1\\N)","E (kT)",};
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1725
A declaration cannot appear after an executable statement in a block.
static char *en_cycl[5]={NULL,"no","yes","weighted",NULL};
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1727
A declaration cannot appear after an executable statement in a block.
t_pargs pa[] = {
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1780
A declaration cannot appear after an executable statement in a block.
t_filenm fnm[] = {
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1793
A declaration cannot appear after an executable statement in a block.
int
i,j,l,nfiles,nwins,nfiles2;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1794
A declaration cannot appear after an executable statement in a block.
t_UmbrellaHeader header;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1795
A declaration cannot appear after an executable statement in a block.
t_UmbrellaWindow * window=NULL;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1796
A declaration cannot appear after an executable statement in a block.
double *profile,maxchange=1e20;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1797
A declaration cannot appear after an executable statement in a block.
bool
bMinSet,bMaxSet,bAutoSet,bExact=FALSE;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1798
A declaration cannot appear after an executable statement in a block.
char **fninTpr,**fninPull,**fninPdo,*fnPull;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1799
A declaration cannot appear after an executable statement in a block.
FILE *histout,*profout;
^
cc-1241 cc: ERROR File = gmx_wham.c, Line = 1923
A declaration cannot appear after an executable statement in a block.
char ylabel[256],title[256];
^
13 errors detected in the compilation of "gmx_wham.c".
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1
(bu21)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20090402/346e38c2/attachment.html>
More information about the gromacs.org_gmx-users
mailing list