Hi, Dear Gromacs users, I try to compile gromacs template by typing "make template" as said in gromacs FAQ, but I have a lot of errors.
> make template > cc template.c -o template > template.c:40:22: error: statutil.h: No such file or directory > template.c:41:22: error: typedefs.h: No such file or directory > template.c:42:21: error: smalloc.h: No such file or directory > template.c:43:17: error: vec.h: No such file or directory > template.c:44:22: error: copyrite.h: No such file or directory > template.c:46:19: error: tpxio.h: No such file or directory > template.c: In function 'main': > template.c:69: error: 't_pargs' undeclared (first use in this function) > template.c:69: error: (Each undeclared identifier is reported only once > template.c:69: error: for each function it appears in.) > template.c:69: error: expected ';' before 'pa' > template.c:75: error: 't_topology' undeclared (first use in this function) > template.c:75: error: expected ';' before 'top' > template.c:76: error: 'STRLEN' undeclared (first use in this function) > template.c:77: error: 't_trxframe' undeclared (first use in this function) > template.c:77: error: expected ';' before 'fr' > template.c:78: error: 'rvec' undeclared (first use in this function) > template.c:78: error: 'xtop' undeclared (first use in this function) > template.c:79: error: 'matrix' undeclared (first use in this function) > template.c:79: error: expected ';' before 'box' > template.c:81: error: 'TRX_READ_X' undeclared (first use in this function) > template.c:83: error: 't_filenm' undeclared (first use in this function) > template.c:83: error: expected ';' before 'fnm' > template.c:90: error: 'stderr' undeclared (first use in this function) > template.c:94: error: 'PCA_CAN_TIME' undeclared (first use in this > function) > template.c:94: error: 'PCA_CAN_VIEW' undeclared (first use in this > function) > template.c:95: error: 'fnm' undeclared (first use in this function) > template.c:95: error: 'pa' undeclared (first use in this function) > template.c:95: error: 'NULL' undeclared (first use in this function) > template.c:103: error: 'efTPS' undeclared (first use in this function) > template.c:103: error: 'top' undeclared (first use in this function) > template.c:103: error: 'box' undeclared (first use in this function) > template.c:103: error: 'TRUE' undeclared (first use in this function) > template.c:110: warning: incompatible implicit declaration of built-in > function 'printf' > template.c:111: warning: incompatible implicit declaration of built-in > function 'exit' > template.c:114: warning: incompatible implicit declaration of built-in > function 'printf' > template.c:118: error: 'efTRX' undeclared (first use in this function) > template.c:118: error: 'fr' undeclared (first use in this function) > template.c:127: error: 'XX' undeclared (first use in this function) > template.c:127: error: 'YY' undeclared (first use in this function) > template.c:127: error: 'ZZ' undeclared (first use in this function) > make: *** [template] Error 1 > a...@nomad:~/gromacs_src/gromacs-3.3.3/share/template$ vim Makefile.am > a...@nomad:~/gromacs_src/gromacs-3.3.3/share/template$ vim Makefile.in > a...@nomad:~/gromacs_src/gromacs-3.3.3/share/template$ vim Makefile.am > a...@nomad:~/gromacs_src/gromacs-3.3.3/share/template$ make template > cc template.c -o template > template.c:40:22: error: statutil.h: No such file or directory > template.c:41:22: error: typedefs.h: No such file or directory > template.c:42:21: error: smalloc.h: No such file or directory > template.c:43:17: error: vec.h: No such file or directory > template.c:44:22: error: copyrite.h: No such file or directory > template.c:46:19: error: tpxio.h: No such file or directory > template.c: In function 'main': > template.c:69: error: 't_pargs' undeclared (first use in this function) > template.c:69: error: (Each undeclared identifier is reported only once > template.c:69: error: for each function it appears in.) > template.c:69: error: expected ';' before 'pa' > template.c:75: error: 't_topology' undeclared (first use in this function) > template.c:75: error: expected ';' before 'top' > template.c:76: error: 'STRLEN' undeclared (first use in this function) > template.c:77: error: 't_trxframe' undeclared (first use in this function) > template.c:77: error: expected ';' before 'fr' > template.c:78: error: 'rvec' undeclared (first use in this function) > template.c:78: error: 'xtop' undeclared (first use in this function) > template.c:79: error: 'matrix' undeclared (first use in this function) > template.c:79: error: expected ';' before 'box' > template.c:81: error: 'TRX_READ_X' undeclared (first use in this function) > template.c:83: error: 't_filenm' undeclared (first use in this function) > template.c:83: error: expected ';' before 'fnm' > template.c:90: error: 'stderr' undeclared (first use in this function) > template.c:94: error: 'PCA_CAN_TIME' undeclared (first use in this > function) > template.c:94: error: 'PCA_CAN_VIEW' undeclared (first use in this > function) > template.c:95: error: 'fnm' undeclared (first use in this function) > template.c:95: error: 'pa' undeclared (first use in this function) > template.c:95: error: 'NULL' undeclared (first use in this function) > template.c:103: error: 'efTPS' undeclared (first use in this function) > template.c:103: error: 'top' undeclared (first use in this function) > template.c:103: error: 'box' undeclared (first use in this function) > template.c:103: error: 'TRUE' undeclared (first use in this function) > template.c:110: warning: incompatible implicit declaration of built-in > function 'printf' > template.c:111: warning: incompatible implicit declaration of built-in > function 'exit' > template.c:114: warning: incompatible implicit declaration of built-in > function 'printf' > template.c:118: error: 'efTRX' undeclared (first use in this function) > template.c:118: error: 'fr' undeclared (first use in this function) > template.c:127: error: 'XX' undeclared (first use in this function) > template.c:127: error: 'YY' undeclared (first use in this function) > template.c:127: error: 'ZZ' undeclared (first use in this function) > make: *** [template] Error 1 > Please help me to complile template. Thanks in advance.
_______________________________________________ gmx-users mailing list [email protected] http://www.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. Can't post? Read http://www.gromacs.org/mailing_lists/users.php

