#1 Unable to make (install)

v1.0_(example)
open
nobody
None
9
4 days ago
2009-11-16
No

When trying to install the files (using install.sh or Makefile) I get following errors:

== Begin ==

/usr/bin/gcc src/main.c src/launch.c src/memo.c src/seen.c src/parse.c src/help.c src/log.c src/info.c -o bin/bot -pthread
In file included from src/main.c:8:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/main.c:8:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/main.c:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/main.c:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘datamutex’
src/main.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘datacond’
src/main.c:27: error: ‘NULL’ undeclared here (not in a function)
src/main.c: In function ‘main’:
src/main.c:32: error: ‘pid_t’ undeclared (first use in this function)
src/main.c:32: error: (Each undeclared identifier is reported only once
src/main.c:32: error: for each function it appears in.)
src/main.c:32: error: expected ‘;’ before ‘pid’
src/main.c:43: error: ‘optarg’ undeclared (first use in this function)
src/main.c:70: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/main.c:70: error: ‘stderr’ undeclared (first use in this function)
src/main.c:70: error: ‘optopt’ undeclared (first use in this function)
src/main.c:71: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c:75: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/main.c:81: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c:90: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:92: error: ‘pid’ undeclared (first use in this function)
src/main.c:93: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:94: warning: incompatible implicit declaration of built-in function ‘execl’
src/main.c:100: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:100: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: In function ‘start’:
src/main.c:112: error: storage size of ‘hints’ isn’t known
src/main.c:113: error: storage size of ‘myaddr’ isn’t known
src/main.c:115: error: ‘fd_set’ undeclared (first use in this function)
src/main.c:115: error: expected ‘;’ before ‘rset’
src/main.c:118: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/main.c:118: error: ‘stderr’ undeclared (first use in this function)
src/main.c:119: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c:122: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/main.c:123: error: ‘AF_INET’ undeclared (first use in this function)
src/main.c:123: error: ‘SOCK_STREAM’ undeclared (first use in this function)
src/main.c:125: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c:127: error: ‘SIGPIPE’ undeclared (first use in this function)
src/main.c:128: warning: incompatible implicit declaration of built-in function ‘bzero’
src/main.c:135: error: ‘INADDR_ANY’ undeclared (first use in this function)
src/main.c:140: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:142: error: dereferencing pointer to incomplete type
src/main.c:142: error: dereferencing pointer to incomplete type
src/main.c:143: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/main.c:144: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c:147: error: ‘rset’ undeclared (first use in this function)
src/main.c:152: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c:162: error: type of formal parameter 1 is incomplete
src/main.c:167: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:170: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c:180: error: dereferencing pointer to incomplete type
src/main.c:180: error: dereferencing pointer to incomplete type
src/main.c:183: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c: In function ‘getnick’:
src/main.c:205: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c:206: warning: assignment makes pointer from integer without a cast
src/main.c: In function ‘getchannel’:
src/main.c:216: warning: incompatible implicit declaration of built-in function ‘strdup’
src/main.c: At top level:
src/main.c:218: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/main.c: In function ‘rightpass’:
src/main.c:223: error: ‘fp’ undeclared (first use in this function)
src/main.c: In function ‘userexist’:
src/main.c:244: error: ‘usersfp’ undeclared (first use in this function)
src/main.c: In function ‘prep’:
src/main.c:262: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:263: error: ‘usersfp’ undeclared (first use in this function)
src/main.c: In function ‘adduser’:
src/main.c:297: error: ‘usersfp’ undeclared (first use in this function)
src/main.c:297: error: ‘SEEK_END’ undeclared (first use in this function)
src/main.c: In function ‘deluser’:
src/main.c:311: error: ‘usersfp’ undeclared (first use in this function)
src/main.c:315: warning: assignment makes pointer from integer without a cast
src/main.c:326: warning: passing argument 3 of ‘update_file’ makes integer from pointer without a cast
src/main.c:326: error: too many arguments to function ‘update_file’
src/main.c:327: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c: At top level:
src/main.c:332: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/main.c: In function ‘update_file’:
src/main.c:335: error: ‘FILE’ undeclared (first use in this function)
src/main.c:335: error: ‘tfp’ undeclared (first use in this function)
src/main.c:337: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:342: error: ‘fp’ undeclared (first use in this function)
src/main.c: In function ‘qerr’:
src/main.c:368: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/main.c:368: error: ‘stderr’ undeclared (first use in this function)
src/main.c:373: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c: In function ‘delaydots’:
src/main.c:380: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c:381: error: ‘stdout’ undeclared (first use in this function)
src/main.c:383: warning: incompatible implicit declaration of built-in function ‘printf’
src/main.c: At top level:
src/main.c:387: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘writen’
src/main.c: In function ‘runthread’:
src/main.c:407: error: ‘pthread_t’ undeclared (first use in this function)
src/main.c:407: error: expected ‘;’ before ‘tid’
src/main.c:410: warning: incompatible implicit declaration of built-in function ‘malloc’
src/main.c:412: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c:415: error: ‘tid’ undeclared (first use in this function)
src/main.c: At top level:
src/main.c:419: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/main.c:440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/main.c: In function ‘slowdsend’:
src/main.c:449: error: ‘pthread_t’ undeclared (first use in this function)
src/main.c:449: error: expected ‘;’ before ‘tid’
src/main.c:464: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: In function ‘sendfunc’:
src/main.c:477: error: ‘datamutex’ undeclared (first use in this function)
src/main.c:479: error: ‘datacond’ undeclared (first use in this function)
src/main.c:481: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: In function ‘xsenddata’:
src/main.c:492: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: In function ‘dbsend’:
src/main.c:507: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: At top level:
src/main.c:511: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/main.c:534: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbrecv’
src/main.c:542: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/main.c: In function ‘args’:
src/main.c:566: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c:569: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c: At top level:
src/main.c:575: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/main.c: In function ‘putword’:
src/main.c:581: error: ‘file’ undeclared (first use in this function)
src/main.c:581: error: ‘EOF’ undeclared (first use in this function)
src/main.c: At top level:
src/main.c:596: error: expected ‘)’ before ‘*’ token
src/main.c: In function ‘copyfile’:
src/main.c:645: error: ‘FILE’ undeclared (first use in this function)
src/main.c:645: error: ‘fromfp’ undeclared (first use in this function)
src/main.c:645: error: ‘tofp’ undeclared (first use in this function)
src/main.c: At top level:
src/main.c:663: error: expected ‘)’ before ‘ticks’
src/main.c: In function ‘respawn’:
src/main.c:683: error: ‘pid_t’ undeclared (first use in this function)
src/main.c:683: error: expected ‘;’ before ‘pid’
src/main.c:686: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:687: error: ‘pid’ undeclared (first use in this function)
src/main.c:687: warning: incompatible implicit declaration of built-in function ‘execl’
src/main.c:689: warning: incompatible implicit declaration of built-in function ‘exit’
src/main.c: In function ‘killstring’:
src/main.c:695: warning: incompatible implicit declaration of built-in function ‘strstr’
src/main.c:696: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:698: warning: incompatible implicit declaration of built-in function ‘strdup’
src/main.c: In function ‘randnick’:
src/main.c:707: warning: incompatible implicit declaration of built-in function ‘malloc’
src/main.c:709: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/main.c:710: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:711: warning: incompatible implicit declaration of built-in function ‘strcat’
src/main.c: In function ‘lowfunc’:
src/main.c:741: warning: incompatible implicit declaration of built-in function ‘strdup’
src/main.c: In function ‘strtolower’:
src/main.c:747: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c: In function ‘addchantoarr’:
src/main.c:780: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/main.c:786: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c: In function ‘delchanfromarr’:
src/main.c:798: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/main.c:804: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/main.c: In function ‘chanin’:
src/main.c:813: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c: In function ‘DelNumWords’:
src/main.c:827: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c:828: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:828: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast
src/main.c: In function ‘getsize’:
src/main.c:838: error: ‘FILE’ undeclared (first use in this function)
src/main.c:838: error: ‘fp’ undeclared (first use in this function)
src/main.c: In function ‘dccsend’:
src/main.c:884: error: ‘pthread_t’ undeclared (first use in this function)
src/main.c:884: error: expected ‘;’ before ‘tid’
src/main.c:886: error: storage size of ‘myaddr’ isn’t known
src/main.c:897: error: ‘AF_INET’ undeclared (first use in this function)
src/main.c:897: error: ‘SOCK_STREAM’ undeclared (first use in this function)
src/main.c:898: warning: incompatible implicit declaration of built-in function ‘bzero’
src/main.c:900: error: ‘INADDR_ANY’ undeclared (first use in this function)
src/main.c:902: error: ‘SOL_SOCKET’ undeclared (first use in this function)
src/main.c:902: error: ‘SO_REUSEADDR’ undeclared (first use in this function)
src/main.c:909: warning: incompatible implicit declaration of built-in function ‘strrchr’
src/main.c:912: error: ‘tid’ undeclared (first use in this function)
src/main.c: In function ‘senddata’:
src/main.c:920: error: ‘size_t’ undeclared (first use in this function)
src/main.c:920: error: expected ‘;’ before ‘nbytes’
src/main.c:923: error: ‘FILE’ undeclared (first use in this function)
src/main.c:923: error: ‘fp’ undeclared (first use in this function)
src/main.c:932: error: ‘nbytes’ undeclared (first use in this function)
src/main.c:934: error: ‘SHUT_WR’ undeclared (first use in this function)
src/main.c: In function ‘getlongip’:
src/main.c:941: error: ‘socklen_t’ undeclared (first use in this function)
src/main.c:941: error: expected ‘;’ before ‘len’
src/main.c:942: error: storage size of ‘myaddr’ isn’t known
src/main.c:944: error: ‘len’ undeclared (first use in this function)
src/main.c: In function ‘sendlist’:
src/main.c:962: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:964: error: ‘mfp’ undeclared (first use in this function)
src/main.c: In function ‘pfile’:
src/main.c:977: error: ‘FILE’ undeclared (first use in this function)
src/main.c:977: error: ‘fp’ undeclared (first use in this function)
src/main.c:978: error: storage size of ‘stbuf’ isn’t known
src/main.c:980: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c:986: error: ‘S_IFMT’ undeclared (first use in this function)
src/main.c:986: error: ‘S_IFDIR’ undeclared (first use in this function)
src/main.c:992: warning: incompatible implicit declaration of built-in function ‘strstr’
src/main.c:993: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:997: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:1002: warning: incompatible implicit declaration of built-in function ‘strlen’
src/main.c:1002: error: ‘mfp’ undeclared (first use in this function)
src/main.c: In function ‘dirwalk’:
src/main.c:1011: error: ‘DIR’ undeclared (first use in this function)
src/main.c:1011: error: ‘dfd’ undeclared (first use in this function)
src/main.c:1014: warning: assignment makes pointer from integer without a cast
src/main.c:1015: error: dereferencing pointer to incomplete type
src/main.c:1015: error: dereferencing pointer to incomplete type
src/main.c:1017: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/main.c:1017: error: dereferencing pointer to incomplete type
src/main.c: In function ‘addadmin’:
src/main.c:1045: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/main.c: In function ‘replace’:
src/main.c:1054: warning: incompatible implicit declaration of built-in function ‘malloc’
src/main.c: In function ‘botnetrc’:
src/main.c:1073: error: ‘FILE’ undeclared (first use in this function)
src/main.c:1073: error: ‘fp’ undeclared (first use in this function)
In file included from src/launch.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/launch.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/launch.c:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/launch.c: In function ‘launch’:
src/launch.c:15: error: ‘pid_t’ undeclared (first use in this function)
src/launch.c:15: error: (Each undeclared identifier is reported only once
src/launch.c:15: error: for each function it appears in.)
src/launch.c:15: error: expected ‘;’ before ‘pid’
src/launch.c:20: error: ‘fd_set’ undeclared (first use in this function)
src/launch.c:20: error: expected ‘;’ before ‘rset’
src/launch.c:21: error: ‘FILE’ undeclared (first use in this function)
src/launch.c:21: error: ‘logfp’ undeclared (first use in this function)
src/launch.c:21: error: ‘tfp’ undeclared (first use in this function)
src/launch.c:25: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/launch.c:26: error: ‘NULL’ undeclared (first use in this function)
src/launch.c:28: error: ‘SEEK_END’ undeclared (first use in this function)
src/launch.c:32: error: ‘F_GETFL’ undeclared (first use in this function)
src/launch.c:33: error: ‘F_SETFL’ undeclared (first use in this function)
src/launch.c:33: error: ‘O_NONBLOCK’ undeclared (first use in this function)
src/launch.c:34: error: ‘allset’ undeclared (first use in this function)
src/launch.c:38: error: ‘rset’ undeclared (first use in this function)
src/launch.c:41: warning: incompatible implicit declaration of built-in function ‘exit’
src/launch.c:44: warning: incompatible implicit declaration of built-in function ‘memset’
src/launch.c:48: warning: incompatible implicit declaration of built-in function ‘strstr’
src/launch.c:49: error: type of formal parameter 2 is incomplete
src/launch.c:63: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/launch.c:69: error: type of formal parameter 2 is incomplete
src/launch.c:73: error: type of formal parameter 2 is incomplete
src/launch.c:89: error: type of formal parameter 2 is incomplete
src/launch.c:93: error: type of formal parameter 1 is incomplete
src/launch.c:101: error: type of formal parameter 1 is incomplete
src/launch.c:113: error: type of formal parameter 2 is incomplete
src/launch.c:124: error: type of formal parameter 2 is incomplete
src/launch.c:135: error: type of formal parameter 2 is incomplete
src/launch.c:154: error: type of formal parameter 1 is incomplete
src/launch.c:166: error: type of formal parameter 2 is incomplete
src/launch.c:168: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/launch.c:170: error: type of formal parameter 1 is incomplete
src/launch.c:173: error: type of formal parameter 1 is incomplete
src/launch.c:202: warning: incompatible implicit declaration of built-in function ‘strncat’
src/launch.c:258: error: ‘usersfp’ undeclared (first use in this function)
src/launch.c:258: error: too many arguments to function ‘rightpass’
src/launch.c:275: error: type of formal parameter 3 is incomplete
src/launch.c:325: warning: incompatible implicit declaration of built-in function ‘strncat’
src/launch.c:350: warning: incompatible implicit declaration of built-in function ‘bzero’
src/launch.c:353: warning: incompatible implicit declaration of built-in function ‘strlen’
src/launch.c:355: warning: incompatible implicit declaration of built-in function ‘strncat’
src/launch.c:360: warning: incompatible implicit declaration of built-in function ‘strncat’
src/launch.c:374: warning: incompatible implicit declaration of built-in function ‘strncat’
src/launch.c:457: warning: incompatible implicit declaration of built-in function ‘strncat’
src/launch.c:527: warning: incompatible implicit declaration of built-in function ‘memset’
In file included from src/memo.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/memo.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/memo.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/memo.c: In function ‘sendmemo’:
src/memo.c:13: error: ‘time_t’ undeclared (first use in this function)
src/memo.c:13: error: (Each undeclared identifier is reported only once
src/memo.c:13: error: for each function it appears in.)
src/memo.c:13: error: expected ‘;’ before ‘ticks’
src/memo.c:16: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:16: error: ‘fp’ undeclared (first use in this function)
src/memo.c:18: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:19: error: ‘NULL’ undeclared (first use in this function)
src/memo.c:23: error: ‘SEEK_END’ undeclared (first use in this function)
src/memo.c:24: error: too many arguments to function ‘putword’
src/memo.c:24: error: ‘EOF’ undeclared (first use in this function)
src/memo.c:27: error: ‘ticks’ undeclared (first use in this function)
src/memo.c:30: error: too many arguments to function ‘putword’
src/memo.c: In function ‘readmemo’:
src/memo.c:62: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:62: error: ‘fp’ undeclared (first use in this function)
src/memo.c:69: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:71: error: ‘NULL’ undeclared (first use in this function)
src/memo.c:80: warning: incompatible implicit declaration of built-in function ‘strlen’
src/memo.c:97: warning: incompatible implicit declaration of built-in function ‘malloc’
src/memo.c:98: warning: incompatible implicit declaration of built-in function ‘strstr’
src/memo.c:100: warning: assignment makes pointer from integer without a cast
src/memo.c: In function ‘countmemos’:
src/memo.c:123: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:123: error: ‘fp’ undeclared (first use in this function)
src/memo.c:125: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:129: error: ‘EOF’ undeclared (first use in this function)
src/memo.c: In function ‘listmemos’:
src/memo.c:149: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:149: error: ‘fp’ undeclared (first use in this function)
src/memo.c:155: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:156: error: ‘NULL’ undeclared (first use in this function)
src/memo.c: In function ‘deletememo’:
src/memo.c:183: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:183: error: ‘fp’ undeclared (first use in this function)
src/memo.c:186: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:188: error: ‘NULL’ undeclared (first use in this function)
src/memo.c:193: warning: passing argument 3 of ‘update_file’ makes integer from pointer without a cast
src/memo.c:193: error: too many arguments to function ‘update_file’
src/memo.c: In function ‘checknew’:
src/memo.c:205: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:205: error: ‘fp’ undeclared (first use in this function)
src/memo.c:207: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:209: error: ‘NULL’ undeclared (first use in this function)
src/memo.c:242: warning: incompatible implicit declaration of built-in function ‘strncat’
src/memo.c:244: warning: incompatible implicit declaration of built-in function ‘strncat’
src/memo.c: In function ‘getrecordofdoublememo’:
src/memo.c:258: error: ‘FILE’ undeclared (first use in this function)
src/memo.c:258: error: ‘fp’ undeclared (first use in this function)
src/memo.c:260: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/memo.c:262: error: ‘NULL’ undeclared (first use in this function)
src/memo.c:279: warning: incompatible implicit declaration of built-in function ‘strncpy’
In file included from src/seen.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/seen.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/seen.c: In function ‘seen’:
src/seen.c:13: error: ‘time_t’ undeclared (first use in this function)
src/seen.c:13: error: (Each undeclared identifier is reported only once
src/seen.c:13: error: for each function it appears in.)
src/seen.c:13: error: expected ‘;’ before ‘lasttime’
src/seen.c:18: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/seen.c:20: warning: incompatible implicit declaration of built-in function ‘malloc’
src/seen.c:27: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c:29: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c:29: error: ‘lasttime’ undeclared (first use in this function)
src/seen.c:29: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c:36: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c: In function ‘addtostruct’:
src/seen.c:50: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c:51: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/seen.c:52: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c: In function ‘initseenstructs’:
src/seen.c:61: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/seen.c:63: warning: incompatible implicit declaration of built-in function ‘strcpy’
src/seen.c:66: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c: In function ‘killseen’:
src/seen.c:76: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c:78: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c: In function ‘setseen’:
src/seen.c:90: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c:92: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c: In function ‘getchan’:
src/seen.c:102: warning: incompatible implicit declaration of built-in function ‘malloc’
src/seen.c:103: warning: incompatible implicit declaration of built-in function ‘bzero’
src/seen.c: In function ‘isinseen’:
src/seen.c:120: error: ‘struct seen_nick’ has no member named ‘parttime’
src/seen.c: In function ‘cleanallseen’:
src/seen.c:135: error: ‘struct seen_nick’ has no member named ‘parttime’
In file included from src/parse.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/parse.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/parse.c:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/parse.c: In function ‘parse’:
src/parse.c:82: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/parse.c: In function ‘update_me’:
src/parse.c:116: error: ‘usersfp’ undeclared (first use in this function)
src/parse.c:116: error: (Each undeclared identifier is reported only once
src/parse.c:116: error: for each function it appears in.)
src/parse.c:117: error: ‘NULL’ undeclared (first use in this function)
In file included from src/help.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/help.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/help.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/help.c: In function ‘showhelpall’:
src/help.c:19: warning: incompatible implicit declaration of built-in function ‘strncpy’
In file included from src/log.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/log.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/log.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/log.c: In function ‘parsemsg’:
src/log.c:14: error: ‘time_t’ undeclared (first use in this function)
src/log.c:14: error: (Each undeclared identifier is reported only once
src/log.c:14: error: for each function it appears in.)
src/log.c:14: error: expected ‘;’ before ‘ticks’
src/log.c:19: warning: incompatible implicit declaration of built-in function ‘memset’
src/log.c:20: error: type of formal parameter 2 is incomplete
src/log.c:21: error: ‘ticks’ undeclared (first use in this function)
src/log.c:21: error: ‘NULL’ undeclared (first use in this function)
src/log.c:26: error: type of formal parameter 1 is incomplete
src/log.c:28: warning: incompatible implicit declaration of built-in function ‘strstr’
src/log.c:35: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:38: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:44: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:48: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:54: error: type of formal parameter 1 is incomplete
src/log.c:55: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:59: error: type of formal parameter 1 is incomplete
src/log.c:61: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:66: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:70: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:73: error: type of formal parameter 1 is incomplete
src/log.c:79: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:82: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:84: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:87: error: type of formal parameter 1 is incomplete
src/log.c:96: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:100: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/log.c:102: warning: assignment makes pointer from integer without a cast
src/log.c:103: warning: assignment makes pointer from integer without a cast
src/log.c:105: warning: incompatible implicit declaration of built-in function ‘strncpy’
src/log.c:106: warning: incompatible implicit declaration of built-in function ‘strncat’
src/log.c:110: warning: incompatible implicit declaration of built-in function ‘strdup’
src/log.c: In function ‘cleanmsg’:
src/log.c:115: warning: incompatible implicit declaration of built-in function ‘strlen’
In file included from src/info.c:1:
src/../include/bot.h:1:19: error: stdio.h: No such file or directory
src/../include/bot.h:2:20: error: stdlib.h: No such file or directory
src/../include/bot.h:3:20: error: string.h: No such file or directory
src/../include/bot.h:5:20: error: unistd.h: No such file or directory
src/../include/bot.h:6:18: error: time.h: No such file or directory
src/../include/bot.h:7:22: error: sys/time.h: No such file or directory
src/../include/bot.h:8:19: error: ctype.h: No such file or directory
src/../include/bot.h:9:20: error: signal.h: No such file or directory
src/../include/bot.h:10:23: error: sys/types.h: No such file or directory
src/../include/bot.h:11:22: error: sys/stat.h: No such file or directory
src/../include/bot.h:12:20: error: dirent.h: No such file or directory
src/../include/bot.h:13:19: error: fcntl.h: No such file or directory
src/../include/bot.h:14:24: error: netinet/in.h: No such file or directory
src/../include/bot.h:15:24: error: sys/socket.h: No such file or directory
src/../include/bot.h:16:23: error: sys/errno.h: No such file or directory
src/../include/bot.h:17:25: error: sys/utsname.h: No such file or directory
src/../include/bot.h:18:20: error: resolv.h: No such file or directory
src/../include/bot.h:19:23: error: arpa/inet.h: No such file or directory
src/../include/bot.h:20:19: error: netdb.h: No such file or directory
src/../include/bot.h:21:21: error: pthread.h: No such file or directory
In file included from src/info.c:1:
src/../include/bot.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dsend’
src/../include/bot.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecv’
src/../include/bot.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drecvn’
src/../include/bot.h:43: error: array type has incomplete element type
src/../include/bot.h:44: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:46: error: expected ‘)’ before ‘*’ token
src/../include/bot.h:48: warning: parameter names (without types) in function declaration
src/../include/bot.h:57: error: array type has incomplete element type
src/../include/bot.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ddsend’
src/../include/bot.h:86: error: array type has incomplete element type
src/../include/bot.h:88: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:93: error: expected declaration specifiers or ‘...’ before ‘FILE’
src/../include/bot.h:114: error: array type has incomplete element type
src/../include/bot.h:132: error: expected specifier-qualifier-list before ‘time_t’
src/../include/bot.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/info.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/info.c: In function ‘addinfo’:
src/info.c:12: error: ‘FILE’ undeclared (first use in this function)
src/info.c:12: error: (Each undeclared identifier is reported only once
src/info.c:12: error: for each function it appears in.)
src/info.c:12: error: ‘fp’ undeclared (first use in this function)
src/info.c:14: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/info.c: In function ‘delinfo’:
src/info.c:26: error: ‘FILE’ undeclared (first use in this function)
src/info.c:26: error: ‘fp’ undeclared (first use in this function)
src/info.c:28: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/info.c: In function ‘readinfo’:
src/info.c:38: error: ‘FILE’ undeclared (first use in this function)
src/info.c:38: error: ‘fp’ undeclared (first use in this function)
src/info.c:40: warning: incompatible implicit declaration of built-in function ‘snprintf’
src/info.c:43: error: ‘NULL’ undeclared (first use in this function)
src/info.c:44: error: ‘EOF’ undeclared (first use in this function)
src/info.c:52: warning: incompatible implicit declaration of built-in function ‘strdup’
make: *** [all] Error 1

== End ==

Please fix this, because it's an critical error.

Discussion

    • priority: 5 --> 9
     
  • Critical error in make