All pastes #204192 Raw Copy code Copy link Edit

Anonymous

public text v1 · immutable
#204192 ·published 2006-10-15 18:56 UTC
rendered paste body
nahud@nahud-desktop:~/Desktop/slackchat/src$ make
gcc -I./include -Wall -ggdb  -c main.c
main.c:9:20: error: curses.h: No such file or directory
main.c:10:19: error: ctype.h: No such file or directory
main.c:11:19: error: stdio.h: No such file or directory
main.c:12:23: error: sys/types.h: No such file or directory
main.c:13:22: error: sys/time.h: No such file or directory
main.c:14:24: error: sys/socket.h: No such file or directory
main.c:15:24: error: netinet/in.h: No such file or directory
main.c:16:20: error: string.h: No such file or directory
main.c:17:19: error: errno.h: No such file or directory
main.c:18:20: error: stdlib.h: No such file or directory
main.c:19:20: error: unistd.h: No such file or directory
main.c:20:20: error: getopt.h: No such file or directory
main.c:21:18: error: time.h: No such file or directory
main.c:22:17: error: pwd.h: No such file or directory
main.c:23:20: error: dirent.h: No such file or directory
In file included from main.c:25:
./include/isock.h:8: warning: ‘struct sockaddr_in’ declared inside parameter list
./include/isock.h:8: warning: its scope is only this definition or declaration, which is probably not what you want
./include/isock.h:12: warning: ‘struct sockaddr_in’ declared inside parameter list
main.c:43: error: syntax error before ‘*’ token
main.c:43: warning: type defaults to ‘int’ in declaration of ‘slacklog’
main.c:43: warning: data definition has no type or storage class
main.c:63: error: syntax error before ‘ttime’
main.c:63: warning: type defaults to ‘int’ in declaration of ‘ttime’
main.c:63: warning: data definition has no type or storage class
main.c: In function ‘main’:
main.c:134: error: ‘uid_t’ undeclared (first use in this function)
main.c:134: error: (Each undeclared identifier is reported only once
main.c:134: error: for each function it appears in.)
main.c:134: error: syntax error before ‘uid’
main.c:135: error: ‘uid’ undeclared (first use in this function)
main.c:135: warning: implicit declaration of function ‘getuid’
main.c:140: warning: implicit declaration of function ‘getpwuid’
main.c:140: warning: assignment makes pointer from integer without a cast
main.c:141: warning: implicit declaration of function ‘strlen’
main.c:141: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:141: error: dereferencing pointer to incomplete type
main.c:141: warning: implicit declaration of function ‘printf’
main.c:141: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:141: warning: implicit declaration of function ‘exit’
main.c:141: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:142: warning: implicit declaration of function ‘sprintf’
main.c:142: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:142: error: dereferencing pointer to incomplete type
main.c:146: error: dereferencing pointer to incomplete type
main.c:147: warning: implicit declaration of function ‘fopen’
main.c:147: warning: assignment makes pointer from integer without a cast
main.c:147: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:147: error: dereferencing pointer to incomplete type
main.c:147: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:151: error: ‘DIR’ undeclared (first use in this function)
main.c:151: error: ‘dp’ undeclared (first use in this function)
main.c:152: warning: implicit declaration of function ‘opendir’
main.c:153: error: dereferencing pointer to incomplete type
main.c:154: error: dereferencing pointer to incomplete type
main.c:155: error: dereferencing pointer to incomplete type
main.c:157: warning: implicit declaration of function ‘closedir’
main.c:161: warning: implicit declaration of function ‘initscr’
main.c:162: warning: implicit declaration of function ‘has_colors’
main.c:163: warning: implicit declaration of function ‘endwin’
main.c:164: warning: implicit declaration of function ‘puts’
main.c:165: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:167: warning: implicit declaration of function ‘start_color’
main.c:167: error: ‘OK’ undeclared (first use in this function)
main.c:170: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:173: warning: implicit declaration of function ‘init_pair’
main.c:173: error: ‘COLOR_WHITE’ undeclared (first use in this function)
main.c:173: error: ‘COLOR_BLACK’ undeclared (first use in this function)
main.c:174: error: ‘COLOR_BLUE’ undeclared (first use in this function)
main.c:176: warning: implicit declaration of function ‘attrset’
main.c:176: warning: implicit declaration of function ‘COLOR_PAIR’
main.c:176: error: ‘A_BOLD’ undeclared (first use in this function)
main.c:179: warning: implicit declaration of function ‘move’
main.c:179: error: ‘COLS’ undeclared (first use in this function)
main.c:180: warning: implicit declaration of function ‘printw’
main.c:181: warning: implicit declaration of function ‘refresh’
main.c:182: warning: implicit declaration of function ‘attroff’
main.c:188: warning: implicit declaration of function ‘getopt’
main.c:188: error: ‘EOF’ undeclared (first use in this function)
main.c:191: error: ‘optarg’ undeclared (first use in this function)
main.c:192: error: dereferencing pointer to incomplete type
main.c:197: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:230: warning: implicit declaration of function ‘send’
main.c:234: warning: implicit declaration of function ‘memset’
main.c:234: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:237: error: ‘fd_set’ undeclared (first use in this function)
main.c:237: error: syntax error before ‘creadfds’
main.c:238: error: storage size of ‘timeout’ isn’t known
main.c:239: warning: implicit declaration of function ‘FD_ZERO’
main.c:239: error: ‘creadfds’ undeclared (first use in this function)
main.c:240: warning: implicit declaration of function ‘FD_SET’
main.c:243: error: ‘ctestfds’ undeclared (first use in this function)
main.c:247: warning: implicit declaration of function ‘select’
main.c:247: error: ‘FD_SETSIZE’ undeclared (first use in this function)
main.c:247: error: syntax error before ‘)’ token
main.c:250: error: syntax error before ‘)’ token
main.c:256: error: ‘LINES’ undeclared (first use in this function)
main.c:238: warning: unused variable ‘timeout’
main.c:264: error: syntax error before ‘else’
main.c:266: warning: implicit declaration of function ‘noecho’
main.c:268: warning: implicit declaration of function ‘getch’
main.c:276: warning: implicit declaration of function ‘clrtoeol’
main.c:327: warning: implicit declaration of function ‘memcpy’
main.c:327: warning: incompatible implicit declaration of built-in function ‘memcpy’
main.c:360: warning: implicit declaration of function ‘memmove’
main.c:360: warning: incompatible implicit declaration of built-in function ‘memmove’
main.c:375: warning: implicit declaration of function ‘echo’
main.c:377: warning: control reaches end of non-void function
main.c: At top level:
main.c:378: error: syntax error before ‘}’ token
main.c:381: warning: type defaults to ‘int’ in declaration of ‘endwin’
main.c:381: warning: data definition has no type or storage class
main.c:382: error: syntax error before numeric constant
main.c:382: warning: type defaults to ‘int’ in declaration of ‘exit’
main.c:382: warning: conflicting types for built-in function ‘exit’
main.c:382: warning: data definition has no type or storage class
main.c:385: error: syntax error before numeric constant
main.c:385: warning: type defaults to ‘int’ in declaration of ‘sleep’
main.c:385: warning: data definition has no type or storage class
main.c:386: warning: type defaults to ‘int’ in declaration of ‘fclose’
main.c:386: warning: parameter names (without types) in function declaration
main.c:386: warning: data definition has no type or storage class
main.c:387: warning: type defaults to ‘int’ in declaration of ‘endwin’
main.c:387: warning: data definition has no type or storage class
main.c:388: error: syntax error before numeric constant
main.c:388: warning: type defaults to ‘int’ in declaration of ‘exit’
main.c:388: warning: data definition has no type or storage class
main.c: In function ‘sconnect’:
main.c:397: warning: passing argument 1 of ‘create_socket’ from incompatible pointer type
main.c:402: error: ‘bnets’ has an incomplete type
main.c:402: error: type of formal parameter 2 is incomplete
main.c:410: warning: control reaches end of non-void function
main.c: In function ‘recvloop’:
main.c:415: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:417: warning: implicit declaration of function ‘recv’
main.c:428: warning: implicit declaration of function ‘fprintf’
main.c:428: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:428: error: ‘stderr’ undeclared (first use in this function)
main.c:441: warning: pointer targets in passing argument 1 of ‘parsedata’ differ in signedness
main.c:442: warning: incompatible implicit declaration of built-in function ‘memmove’
main.c: In function ‘mystrcat’:
main.c:477: error: ‘va_list’ undeclared (first use in this function)
main.c:477: error: syntax error before ‘argptr’
main.c:478: warning: implicit declaration of function ‘va_start’
main.c:478: error: ‘argptr’ undeclared (first use in this function)
main.c:479: warning: implicit declaration of function ‘vsprintf’
main.c:479: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:480: warning: implicit declaration of function ‘va_end’
main.c: In function ‘extractMPQNumber’:
main.c:487: error: ‘NULL’ undeclared (first use in this function)
main.c:489: warning: implicit declaration of function ‘strchr’
main.c:489: warning: incompatible implicit declaration of built-in function ‘strchr’
main.c: In function ‘updatestatusbar’:
main.c:499: error: ‘LINES’ undeclared (first use in this function)
main.c:501: error: ‘A_STANDOUT’ undeclared (first use in this function)
main.c: In function ‘printtime’:
main.c:509: warning: implicit declaration of function ‘time’
main.c:510: warning: implicit declaration of function ‘localtime’
main.c:510: warning: assignment makes pointer from integer without a cast
main.c:511: error: dereferencing pointer to incomplete type
main.c:511: error: dereferencing pointer to incomplete type
main.c:511: error: dereferencing pointer to incomplete type
main.c: In function ‘pscr’:
main.c:519: error: ‘va_list’ undeclared (first use in this function)
main.c:519: error: syntax error before ‘argptr’
main.c:520: error: ‘argptr’ undeclared (first use in this function)
main.c:521: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:524: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:524: error: ‘COLS’ undeclared (first use in this function)
main.c:530: warning: implicit declaration of function ‘malloc’
main.c:530: warning: incompatible implicit declaration of built-in function ‘malloc’
main.c:531: warning: implicit declaration of function ‘strcpy’
main.c:531: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c:534: warning: incompatible implicit declaration of built-in function ‘malloc’
main.c:535: warning: implicit declaration of function ‘strncpy’
main.c:535: warning: incompatible implicit declaration of built-in function ‘strncpy’
main.c:546: error: ‘LINES’ undeclared (first use in this function)
main.c:550: warning: implicit declaration of function ‘instr’
main.c:553: warning: incompatible implicit declaration of built-in function ‘memcpy’
main.c:554: error: ‘A_BOLD’ undeclared (first use in this function)
main.c:574: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:578: warning: implicit declaration of function ‘free’
main.c: In function ‘sendpacket’:
main.c:592: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:592: error: ‘stderr’ undeclared (first use in this function)
main.c: In function ‘HandleAuthInfo’:
main.c:628: warning: implicit declaration of function ‘rand’
main.c:638: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c:669: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c: In function ‘SendLogonResponse’:
main.c:774: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:776: warning: implicit declaration of function ‘isupper’
main.c:777: warning: implicit declaration of function ‘tolower’
main.c: In function ‘SendCreateAccount’:
main.c:833: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c: In function ‘HandleCreateAccount’:
main.c:854: warning: implicit declaration of function ‘close’
main.c: In function ‘parsedata’:
main.c:949: warning: pointer targets in passing argument 1 of ‘packet’ differ in signedness
main.c:982: warning: incompatible implicit declaration of built-in function ‘strchr’
main.c:1025: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c: In function ‘getvalues’:
main.c:1070: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c:1071: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c: In function ‘ParseStatstring’:
main.c:1077: warning: incompatible implicit declaration of built-in function ‘strcpy’
main.c:1079: warning: implicit declaration of function ‘strncmp’
main.c:1081: warning: implicit declaration of function ‘sscanf’
main.c:1081: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1087: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1095: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1097: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1101: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1109: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1111: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1115: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1123: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1125: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1129: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1137: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1139: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1143: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1151: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1160: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c:1166: warning: incompatible implicit declaration of built-in function ‘sscanf’
main.c:1175: warning: incompatible implicit declaration of built-in function ‘sprintf’
main.c: In function ‘ParseD2Stats’:
main.c:1207: warning: incompatible implicit declaration of built-in function ‘malloc’
main.c:1208: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:1212: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:1218: warning: implicit declaration of function ‘strcat’
main.c:1218: warning: incompatible implicit declaration of built-in function ‘strcat’
main.c:1228: error: ‘bool’ undeclared (first use in this function)
main.c:1228: error: syntax error before ‘female’
main.c:1230: error: ‘female’ undeclared (first use in this function)
main.c:1230: error: ‘true’ undeclared (first use in this function)
main.c:1233: error: syntax error before ‘expansion’
main.c:1264: error: ‘expansion’ undeclared (first use in this function)
main.c:1270: error: ‘false’ undeclared (first use in this function)
main.c: In function ‘ParseW3Stats’:
main.c:1330: warning: incompatible implicit declaration of built-in function ‘malloc’
main.c:1331: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:1332: warning: incompatible implicit declaration of built-in function ‘memset’
main.c:1335: warning: incompatible implicit declaration of built-in function ‘strcat’
main.c:1398: warning: incompatible implicit declaration of built-in function ‘strcpy’
make: *** [main.o] Error 1