Автор Тема: грешка при компилиране  (Прочетена 1338 пъти)

chatter

  • Напреднали
  • *****
  • Публикации: 45
    • Профил
грешка при компилиране
« -: Sep 22, 2007, 18:55 »
Greshkata pri kompilaciq e slednata molq vi zapomosht, za prav pat mi dava taka greshka....
Примерен код

debian:/usr/src/linux-2.6.22.7# make menuconfig
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:110:20: error: unistd.h: No such file or directory
scripts/basic/fixdep.c:111:19: error: fcntl.h: No such file or directory
scripts/basic/fixdep.c:112:20: error: string.h: No such file or directory
scripts/basic/fixdep.c:113:20: error: stdlib.h: No such file or directory
scripts/basic/fixdep.c:114:19: error: stdio.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 scripts/basic/fixdep.c:115:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
scripts/basic/fixdep.c:116:19: error: ctype.h: No such file or directory
scripts/basic/fixdep.c:117:23: error: arpa/inet.h: No such file or directory
scripts/basic/fixdep.c: In function §ў©¤ЎЬusage§ў©¤ЎЭ:
scripts/basic/fixdep.c:131: warning: implicit declaration of function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:131: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:131: error: §ў©¤ЎЬstderr§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:131: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:131: error: for each function it appears in.)
scripts/basic/fixdep.c:132: warning: implicit declaration of function §ў©¤ЎЬexit§ў©¤ЎЭ
scripts/basic/fixdep.c:132: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬexit§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬprint_cmdline§ў©¤ЎЭ:
scripts/basic/fixdep.c:140: warning: implicit declaration of function §ў©¤ЎЬprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:140: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬprintf§ў©¤ЎЭ
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:143: error: §ў©¤ЎЬNULL§ў©¤ЎЭ undeclared here (not in a function)
scripts/basic/fixdep.c: In function §ў©¤ЎЬgrow_config§ў©¤ЎЭ:
scripts/basic/fixdep.c:156: warning: implicit declaration of function §ў©¤ЎЬrealloc§ў©¤ЎЭ
scripts/basic/fixdep.c:156: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:158: warning: implicit declaration of function §ў©¤ЎЬperror§ў©¤ЎЭ
scripts/basic/fixdep.c:158: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬexit§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬis_defined_config§ў©¤ЎЭ:
scripts/basic/fixdep.c:174: warning: implicit declaration of function §ў©¤ЎЬmemcmp§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬdefine_config§ў©¤ЎЭ:
scripts/basic/fixdep.c:187: warning: implicit declaration of function §ў©¤ЎЬmemcpy§ў©¤ЎЭ
scripts/basic/fixdep.c:187: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬmemcpy§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬuse_config§ў©¤ЎЭ:
scripts/basic/fixdep.c:206: error: §ў©¤ЎЬPATH_MAX§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:214: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬmemcpy§ў©¤ЎЭ
scripts/basic/fixdep.c:220: warning: implicit declaration of function §ў©¤ЎЬtolower§ў©¤ЎЭ
scripts/basic/fixdep.c:222: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:206: warning: unused variable §ў©¤ЎЬs§ў©¤ЎЭ
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:225: error: expected declaration specifiers or §ў©¤ЎЬ...§ў©¤ЎЭ before §ў©¤ЎЬsize_t§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬparse_config_file§ў©¤ЎЭ:
scripts/basic/fixdep.c:227: error: §ў©¤ЎЬlen§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:233: warning: implicit declaration of function §ў©¤ЎЬntohl§ў©¤ЎЭ
scripts/basic/fixdep.c:244: warning: implicit declaration of function §ў©¤ЎЬisalnum§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬstrrcmp§ў©¤ЎЭ:
scripts/basic/fixdep.c:261: warning: implicit declaration of function §ў©¤ЎЬstrlen§ў©¤ЎЭ
scripts/basic/fixdep.c:261: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬstrlen§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬdo_config_file§ў©¤ЎЭ:
scripts/basic/fixdep.c:272: error: storage size of §ў©¤ЎЬst§ў©¤ЎЭ isn§ў©¤ЎЭt known
scripts/basic/fixdep.c:276: warning: implicit declaration of function §ў©¤ЎЬopen§ў©¤ЎЭ
scripts/basic/fixdep.c:276: error: §ў©¤ЎЬO_RDONLY§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:278: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:278: error: §ў©¤ЎЬstderr§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:280: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬexit§ў©¤ЎЭ
scripts/basic/fixdep.c:282: warning: implicit declaration of function §ў©¤ЎЬfstat§ў©¤ЎЭ
scripts/basic/fixdep.c:284: warning: implicit declaration of function §ў©¤ЎЬclose§ў©¤ЎЭ
scripts/basic/fixdep.c:287: warning: implicit declaration of function §ў©¤ЎЬmmap§ў©¤ЎЭ
scripts/basic/fixdep.c:287: error: §ў©¤ЎЬPROT_READ§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:287: error: §ў©¤ЎЬMAP_PRIVATE§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:287: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:294: error: too many arguments to function §ў©¤ЎЬparse_config_file§ў©¤ЎЭ
scripts/basic/fixdep.c:296: warning: implicit declaration of function §ў©¤ЎЬmunmap§ў©¤ЎЭ
scripts/basic/fixdep.c:272: warning: unused variable §ў©¤ЎЬst§ў©¤ЎЭ
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:301: error: expected declaration specifiers or §ў©¤ЎЬ...§ў©¤ЎЭ before §ў©¤ЎЬsize_t§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬparse_dep_file§ў©¤ЎЭ:
scripts/basic/fixdep.c:304: error: §ў©¤ЎЬlen§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:306: error: §ў©¤ЎЬPATH_MAX§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:308: warning: implicit declaration of function §ў©¤ЎЬstrchr§ў©¤ЎЭ
scripts/basic/fixdep.c:308: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬstrchr§ў©¤ЎЭ
scripts/basic/fixdep.c:310: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:310: error: §ў©¤ЎЬstderr§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:311: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬexit§ў©¤ЎЭ
scripts/basic/fixdep.c:313: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬmemcpy§ў©¤ЎЭ
scripts/basic/fixdep.c:314: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:306: warning: unused variable §ў©¤ЎЬs§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬprint_deps§ў©¤ЎЭ:
scripts/basic/fixdep.c:343: error: storage size of §ў©¤ЎЬst§ў©¤ЎЭ isn§ў©¤ЎЭt known
scripts/basic/fixdep.c:347: error: §ў©¤ЎЬO_RDONLY§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:349: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:349: error: §ў©¤ЎЬstderr§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:351: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬexit§ў©¤ЎЭ
scripts/basic/fixdep.c:355: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:359: error: §ў©¤ЎЬPROT_READ§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:359: error: §ў©¤ЎЬMAP_PRIVATE§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:359: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:366: error: too many arguments to function §ў©¤ЎЬparse_dep_file§ў©¤ЎЭ
scripts/basic/fixdep.c:343: warning: unused variable §ў©¤ЎЬst§ў©¤ЎЭ
scripts/basic/fixdep.c: In function §ў©¤ЎЬtraps§ў©¤ЎЭ:
scripts/basic/fixdep.c:378: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬfprintf§ў©¤ЎЭ
scripts/basic/fixdep.c:378: error: §ў©¤ЎЬstderr§ў©¤ЎЭ undeclared (first use in this function)
scripts/basic/fixdep.c:380: warning: incompatible implicit declaration of built-in function §ў©¤ЎЬexit§ў©¤ЎЭ
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2




Активен

karaman

  • Напреднали
  • *****
  • Публикации: 351
    • Профил
    • WWW
грешка при компилиране
« Отговор #1 -: Sep 22, 2007, 19:41 »
ами инсталирай си kernel-headers

the_real_maniac

  • Напреднали
  • *****
  • Публикации: 1258
  • Kernel panic, me - no panic ;-) :-)
    • Профил
грешка при компилиране
« Отговор #2 -: Sep 22, 2007, 20:42 »
нее ..  hahaha, не kernel-headers ... бе човек, виж че той има kernel/linux-source haha ':p' '<img'> Как да е, не си видял '<img'> :-)

libc6-dev му трябва '<img'> ':p' '<img'>

стандартната С библиотека '<img'>

виж че му реве за stdio.h '<img'> И прочие
Активен

Powered by Debian GNU / LINUX /// Intel inside ...

„Насилието е последното убежище на некомпетентността“ - Айзък Азимов (1920 — 1992)

martos

  • Напреднали
  • *****
  • Публикации: 110
    • Профил
    • WWW
грешка при компилиране
« Отговор #3 -: Sep 22, 2007, 22:36 »
Хаха - кефи ме заглавието с каква кодировка е - simplified Chinese '<img'>))))))))
Активен

alabal

  • Напреднали
  • *****
  • Публикации: 2173
  • cat /earth/europe/bg/sofia | grep Nacamura
    • Профил
грешка при компилиране
« Отговор #4 -: Sep 23, 2007, 12:33 »
Братко, chatter, пусни темата си отново на кирилица!
Активен

It makes you awful glad that you were born a man.