Compiling Error (colvars and DEPEND/fastdep.c )

Dear LAMMPS USERS

I have the following compiling error.
Before I do
make lib-colvars
make yes-USER-COLVARS
I have successfully compiled by make mpi, it is only after I tried to installed the colvars package that this error keeps coming up.
May I get some help? Thanks a lot for your help!

$ make mpi
make[1]: Entering directory /home/lammps-12Dec18/src' Gathering installed package information (may take a little while) make[1]: Leaving directory /home/lammps-12Dec18/src’
Compiling LAMMPS for machine mpi
make[1]: Entering directory `/home/lammps-12Dec18/src/Obj_mpi’
cc -O -o fastdep.exe …/DEPEND/fastdep.c
In file included from …/DEPEND/fastdep.c:30:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/stdio.h:75,
from …/DEPEND/fastdep.c:30:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/stdio.h:75,
from …/DEPEND/fastdep.c:30:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/libio.h:364: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/libio.h:373: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/libio.h:491: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/libio.h:493: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/libio.h:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘_IO_sgetn’
In file included from …/DEPEND/fastdep.c:30:
/usr/include/stdio.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘va_list’
In file included from …/DEPEND/fastdep.c:30:
/usr/include/stdio.h:318: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:324: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:336: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:343: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:371: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:376: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:379: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:385: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:387: error: format string argument not a string type
/usr/include/stdio.h:389: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:390: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:391: error: format string argument not a string type
/usr/include/stdio.h:417: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:476: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:483: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:488: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:498: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:503: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:506: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/stdio.h:661: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:664: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:674: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdio.h:704: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘fread’
/usr/include/stdio.h:710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘fwrite’
/usr/include/stdio.h:732: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘fread_unlocked’
/usr/include/stdio.h:734: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘fwrite_unlocked’
In file included from /usr/include/stdio.h:929,
from …/DEPEND/fastdep.c:30:
/usr/include/bits/stdio.h:37: error: expected declaration specifiers or ‘…’ before ‘__gnuc_va_list’
/usr/include/bits/stdio.h: In function ‘vprintf’:
/usr/include/bits/stdio.h:39: error: ‘__arg’ undeclared (first use in this function)
/usr/include/bits/stdio.h:39: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:39: error: for each function it appears in.)
/usr/include/bits/stdio.h:39: error: too many arguments to function ‘vfprintf’
In file included from …/DEPEND/fastdep.c:31:
/usr/include/string.h: At top level:
/usr/include/string.h:45: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:49: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:58: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:65: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:68: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:95: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:132: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:140: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:146: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:153: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘strxfrm’
In file included from …/DEPEND/fastdep.c:31:
/usr/include/string.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘strxfrm_l’
/usr/include/string.h:183: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:284: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘strcspn’
/usr/include/string.h:288: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘strspn’
/usr/include/string.h:399: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘strlen’
/usr/include/string.h:406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘strnlen’
/usr/include/string.h:427: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:451: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:455: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:459: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:462: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:540: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:577: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/string.h:580: error: expected declaration specifiers or ‘…’ before ‘size_t’
In file included from /usr/include/string.h:637,
from …/DEPEND/fastdep.c:31:
/usr/include/bits/string2.h:969: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:982: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:991: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:994: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:1045: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1047: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1056: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1059: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1068: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strspn_c3’
/usr/include/bits/string2.h:1071: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__strspn_c3’
/usr/include/bits/string2.h: In function ‘__strpbrk_c2’:
/usr/include/bits/string2.h:1129: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strpbrk_c3’:
/usr/include/bits/string2.h:1142: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected ‘;’ before ‘__s’
In file included from /usr/include/bits/string2.h:1298,
from /usr/include/string.h:637,
from …/DEPEND/fastdep.c:31:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:471: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:473: error: expected ‘)’ before ‘__nmemb’
In file included from /usr/include/string.h:637,
from …/DEPEND/fastdep.c:31:
/usr/include/bits/string2.h:1322: error: expected declaration specifiers or ‘…’ before ‘size_t’
In file included from …/DEPEND/fastdep.c:32:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘__ctype_get_mb_cur_max’
In file included from …/DEPEND/fastdep.c:32:
/usr/include/stdlib.h:337: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:367: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:485: error: expected declaration specifiers or ‘…’ before ‘size_t’
In file included from /usr/include/stdlib.h:497,
from …/DEPEND/fastdep.c:32:
/usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’
In file included from …/DEPEND/fastdep.c:32:
/usr/include/stdlib.h:503: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:508: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:508: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:761: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:761: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:762: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:840: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:843: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:847: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:851: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:860: error: expected declaration specifiers or ‘…’ before ‘size_t’
/usr/include/stdlib.h:863: error: expected ‘)’ before ‘*’ token
/usr/include/stdlib.h:867: error: expected declaration specifiers or ‘…’ before ‘wchar_t’
/usr/include/stdlib.h:871: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘mbstowcs’
/usr/include/stdlib.h:874: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘wcstombs’
…/DEPEND/fastdep.c: In function ‘my_strdup’:
…/DEPEND/fastdep.c:49: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:50: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c:51: error: too many arguments to function ‘memcpy’
…/DEPEND/fastdep.c: In function ‘trim_path’:
…/DEPEND/fastdep.c:62: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c: In function ‘llist_init’:
…/DEPEND/fastdep.c:185: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c: In function ‘llist_append’:
…/DEPEND/fastdep.c:220: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c: In function ‘set_init’:
…/DEPEND/fastdep.c:260: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c:264: error: too many arguments to function ‘memset’
…/DEPEND/fastdep.c: In function ‘set_add’:
…/DEPEND/fastdep.c:302: error: ‘size_t’ undeclared (first use in this function)
…/DEPEND/fastdep.c:302: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:302: error: ‘__s1_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:302: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:302: error: ‘__s2_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:302: error: expected expression before ‘const’
…/DEPEND/fastdep.c:307: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c: In function ‘set_find’:
…/DEPEND/fastdep.c:324: error: ‘size_t’ undeclared (first use in this function)
…/DEPEND/fastdep.c:324: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:324: error: ‘__s1_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:324: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:324: error: ‘__s2_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c:324: error: expected expression before ‘const’
…/DEPEND/fastdep.c: In function ‘map_init’:
…/DEPEND/fastdep.c:343: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c:348: error: too many arguments to function ‘memset’
…/DEPEND/fastdep.c: In function ‘map_add’:
…/DEPEND/fastdep.c:388: error: ‘size_t’ undeclared (first use in this function)
…/DEPEND/fastdep.c:388: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:388: error: ‘__s1_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:388: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:388: error: ‘__s2_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:388: error: expected expression before ‘const’
…/DEPEND/fastdep.c:397: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c: In function ‘map_find’:
…/DEPEND/fastdep.c:416: error: ‘size_t’ undeclared (first use in this function)
…/DEPEND/fastdep.c:416: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:416: error: ‘__s1_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:416: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:416: error: ‘__s2_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c:416: error: expected expression before ‘const’
…/DEPEND/fastdep.c: In function ‘find_includes’:
…/DEPEND/fastdep.c:469: warning: incompatible implicit declaration of built-in function ‘malloc’
…/DEPEND/fastdep.c: In function ‘do_depend’:
…/DEPEND/fastdep.c:583: error: ‘size_t’ undeclared (first use in this function)
…/DEPEND/fastdep.c:583: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:583: error: ‘__s1_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:583: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:583: error: ‘__s2_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c:583: error: expected expression before ‘const’
…/DEPEND/fastdep.c: In function ‘main’:
…/DEPEND/fastdep.c:647: warning: incompatible implicit declaration of built-in function ‘strlen’
…/DEPEND/fastdep.c:647: error: ‘size_t’ undeclared (first use in this function)
…/DEPEND/fastdep.c:647: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:647: error: ‘__s1_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:647: error: ‘__s2_len’ undeclared (first use in this function)
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: expected expression before ‘const’
…/DEPEND/fastdep.c:647: error: too many arguments to function ‘strncmp’
…/DEPEND/fastdep.c:654: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:654: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected ‘;’ before ‘__s1_len’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’
…/DEPEND/fastdep.c:661: error: expected expression before ‘const’

make[1]: *** [fastdep.exe] Error 1
make[1]: Leaving directory /home/lammps-12Dec18/src/Obj_mpi' make[1]: Entering directory /home/lammps-12Dec18/src/Obj_mpi’
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -I…/…/lib/colvars -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -c …/angle.cpp
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -I…/…/lib/colvars -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -c …/angle_charmm.cpp
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -I…/…/lib/colvars -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -c …/angle_cosine.cpp
mpicxx -g -O3 -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -I…/…/lib/colvars -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -c …/angle_cosine_delta.cpp

Best Wishes
Lunna

Dear LAMMPS USERS

I have the following compiling error.
Before I do
make lib-colvars
make yes-USER-COLVARS
I have successfully compiled by make mpi, it is only after I tried to installed the colvars package that this error keeps coming up.
May I get some help? Thanks a lot for your help!

like the compilation issue, that you had before, this doesn't look
like it is caused by compiling/installing the USER-COLVARS package,
but seems like an indication, that there is something wrong with your
machine. possibly some defective hardware (hard drive, RAM or CPU).

the error is complaining about not finding system headers, that are in
the same folder where other headers are, that are found. this could
happen, if the system disk has issues and some of the files are
already in the file system cache, while others are not or have been
evicted.

it is most definitely not a LAMMPS related issue.

axel.