[gmx-users] Re:make_edi.c error gmx3.2.1 compilation
Linda
fuwei at adrik.bchs.uh.edu
Wed May 5 22:06:01 CEST 2004
This is to reply myself because I finally success compilation by following code in make_edi.c:
________________________________________________________________________________________________
451 static t_edpar edi_params; /*save all the params in this struct and then save it in an edi file.
467 { "-mon", FALSE, etSTR, {NULL},
469 { "-linfix", FALSE, etSTR, {&evSelections[evLINFIX]},
471 { "-linacc", FALSE, etSTR, {&evSelections[evLINACC]},
473 { "-radfix", FALSE, etSTR, {&evSelections[evRADFIX]},
475 { "-radacc", FALSE, etSTR, {&evSelections[evRADACC]},
477 { "-radcon", FALSE, etSTR, {&evSelections[evRADCON]},
487 { "-linstep", FALSE, etSTR, {&evParams[evLINFIX]},
489 { "-accdir", FALSE, etSTR, {&evParams[evLINACC]},
491 { "-radstep", FALSE, etREAL, {&radfix},
________________________________________________________________________________________________
Good luck,
Linda
.....
>Hi, all,
> I compile gmx3.2.1 on sgi-irix6.5 (r12000), and encouter two problems: g_sgangle.c and make_edi.c . I searched archive, and solve >the g_sgangle.c problem. While as Erik and Ross suggested, I modifies the following lines in make_edi.c,
________________________________________________________________________________________________
> 451 static t_edpar edi_params; /*save all the params in this struct and then save it in an edi file.
> 467 { "-mon", FALSE, etSTR, {&evSelections[evMON]},
> 469 { "-linfix", FALSE, etSTR, {&evSelections[evLINFIX]},
> 471 { "-linacc", FALSE, etSTR, {&evSelections[evLINACC]},
> 473 { "-radfix", FALSE, etSTR, {&evSelections[evRADFIX]},
> 475 { "-radacc", FALSE, etSTR, {&evSelections[evRADACC]},
> 477 { "-radcon", FALSE, etSTR, {&evSelections[evRADCON]},
> 487 { "-linstep", FALSE, etSTR, {&evParams[evLINFIX]},
> 489 { "-accdir", FALSE, etSTR, {&evParams[evLINACC]},
> 491 { "-radstep", FALSE, etREAL, {&radfix},
________________________________________________________________________________________________
>However, I still fail to compile:
>.. ...
>cc-1143 cc: ERROR File = make_edi.c, Line = 642
> Declaration is incompatible with "void thanx(FILE *)" (declared at line 88 of
> "../../include/copyrite.h").
> thanx(stderr);
> ^
> cc-1166 cc: ERROR File = make_edi.c, Line = 643
> Expected a declaration.
> return 0;
^
>cc-1166 cc: ERROR File = make_edi.c, Line = 644
Expected a declaration.
}
^
91 errors detected in the compilation of "make_edi.c".
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Any idea???
> Thanks!
> Linda
More information about the gromacs.org_gmx-users
mailing list