[gmx-users] gmx3.2, sgi, irix6.5

Erik Lindahl lindahl at csb.stanford.edu
Thu Feb 5 14:29:00 CET 2004


Hi,

Those initializers are constant, so I guess the compiler is unhappy 
about the initialization..

Try to put parentheses around (const char) or (const char *) - if that 
doesn't work, try changing "const char" to "char".

Let me know the result if you want the fix to make it into 3.2.1 :-)

Cheers,

Erik

On Feb 5, 2004, at 2:18 PM, Erik Wensink wrote:

> hello gmx-users,
> using gmx3.2 on a sgi with irix 6.5
> with and without mpi (using setenv LIBS -lmpi)
> I get the tail of make log as below. how best to get rid of
> these?
> mvh
> Erik
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                  ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                       ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                              ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                                 ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                                    ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                                        ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                                            ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                                                ^
>
> cc-1028 cc: ERROR File = index.c, Line = 263
> The expression used must have a constant value.
>
>   const char **chains[] = { 
> NULL,pnoh,calpha,bb,mc,mcb,mch,mch,mch,pnodum };
>                                                                    ^
>
> 9 errors detected in the compilation of "index.c".
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
>
> _______________________________________________
> 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