Показать сообщение отдельно

  #7  
Старый 30.10.2009, 17:43
p.r0phe.t
Познающий
Регистрация: 22.08.2009
Сообщений: 98
С нами: 8799871

Репутация: 19
По умолчанию

Код HTML:
sh-3.1$ gcc 2.6.18.c -o expl  2.6.18.c:20:19: error: stdio.h: No such file or directory  2.6.18.c:21:19: error: errno.h: No such file or directory  2.6.18.c:22:20: error: stdlib.h: No such file or directory  2.6.18.c:23:20: error: string.h: No such file or directory  2.6.18.c:24:20: error: malloc.h: No such file or directory  In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,                   from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,                   from 2.6.18.c:25:  /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No s  uch file or directory  2.6.18.c:26:20: error: signal.h: No such file or directory  2.6.18.c:27:20: error: unistd.h: No such file or directory  2.6.18.c:28:21: error: sys/uio.h: No such file or directory  2.6.18.c:29:22: error: sys/mman.h: No such file or directory  2.6.18.c: In function 'die':  2.6.18.c:55: warning: incompatible implicit declaration of built-in function 'pr  intf'  2.6.18.c:56: error: 'stdout' undeclared (first use in this function)  2.6.18.c:56: error: (Each undeclared identifier is reported only once  2.6.18.c:56: error: for each function it appears in.)  2.6.18.c:57: error: 'stderr' undeclared (first use in this function)  2.6.18.c:58: warning: incompatible implicit declaration of built-in function 'ex  it'  2.6.18.c: At top level:  2.6.18.c:143: warning: 'struct iovec' declared inside parameter list  2.6.18.c:143: warning: its scope is only this definition or declaration, which i  s probably not what you want  2.6.18.c: In function '_vmsplice':  2.6.18.c:143: error: 'errno' undeclared (first use in this function)  2.6.18.c: In function 'exit_code':  2.6.18.c:183: warning: incompatible implicit declaration of built-in function 'p  rintf'  2.6.18.c:185: warning: incompatible implicit declaration of built-in function 'e  xecl'  2.6.18.c:185: error: 'NULL' undeclared (first use in this function)  2.6.18.c:186: error: 'errno' undeclared (first use in this function)  2.6.18.c: In function 'main':  2.6.18.c:192: error: 'size_t' undeclared (first use in this function)  2.6.18.c:192: error: expected ';' before 'map_size'  2.6.18.c:194: error: storage size of 'iov' isn't known  2.6.18.c:202: warning: incompatible implicit declaration of built-in function 'p  rintf'  2.6.18.c:214: error: 'map_size' undeclared (first use in this function)  2.6.18.c:215: error: 'PROT_READ' undeclared (first use in this function)  2.6.18.c:215: error: 'PROT_WRITE' undeclared (first use in this function)  2.6.18.c:216: error: 'MAP_FIXED' undeclared (first use in this function)  2.6.18.c:216: error: 'MAP_PRIVATE' undeclared (first use in this function)  2.6.18.c:216: error: 'MAP_ANONYMOUS' undeclared (first use in this function)  2.6.18.c:216: warning: assignment makes pointer from integer without a cast  2.6.18.c:217: error: 'MAP_FAILED' undeclared (first use in this function)  2.6.18.c:218: error: 'errno' undeclared (first use in this function)  2.6.18.c:220: warning: incompatible implicit declaration of built-in function 'm  emset'  2.6.18.c:236: warning: assignment makes pointer from integer without a cast  2.6.18.c:254: warning: assignment makes pointer from integer without a cast  2.6.18.c:263: error: 'NULL' undeclared (first use in this function)  2.6.18.c:264: warning: assignment makes pointer from integer without a cast  2.6.18.c:283: error: 'SIGPIPE' undeclared (first use in this function)  2.6.18.c:287:2: warning: no newline at end of file  sh-3.1$
В чем проблема?
 
Ответить с цитированием