Конпиль ядра =\

Discussion in 'Безопасность и Анонимность' started by delay(0), 6 May 2007.

Thread Status:
Not open for further replies.
  1. delay(0)

    delay(0) Member

    Joined:
    22 Nov 2006
    Messages:
    90
    Likes Received:
    41
    Reputations:
    6
    Здравствуйте, премного уважаемые :)
    Вопрос прост: что не так? Сначало он фалов не находит, потом в коде погрешности, короче, замешался я...
    С oldconfig/menuconfig/config ведёт себя идентично.
    Xubuntu Edgy 2.6.17-11-generic

    Code:
    user@home:~/Desktop/linux-2.6.21$ make xconfig
      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:259: warning: implicit declaration of function ‘strlen’
    scripts/basic/fixdep.c:259: warning: incompatible implicit declaration of built-in function ‘strlen’
    scripts/basic/fixdep.c: In function ‘do_config_file’:
    scripts/basic/fixdep.c:270: error: storage size of ‘st’ isn’t known
    scripts/basic/fixdep.c:274: warning: implicit declaration of function ‘open’
    scripts/basic/fixdep.c:274: error: ‘O_RDONLY’ undeclared (first use in this function)
    scripts/basic/fixdep.c:276: warning: incompatible implicit declaration of built-in function ‘fprintf’
    scripts/basic/fixdep.c:276: error: ‘stderr’ undeclared (first use in this function)
    scripts/basic/fixdep.c:278: warning: incompatible implicit declaration of built-in function ‘exit’
    scripts/basic/fixdep.c:280: warning: implicit declaration of function ‘fstat’
    scripts/basic/fixdep.c:282: warning: implicit declaration of function ‘close’
    scripts/basic/fixdep.c:285: warning: implicit declaration of function ‘mmap’
    scripts/basic/fixdep.c:285: error: ‘PROT_READ’ undeclared (first use in this function)
    scripts/basic/fixdep.c:285: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
    scripts/basic/fixdep.c:285: warning: assignment makes pointer from integer without a cast
    scripts/basic/fixdep.c:292: error: too many arguments to function ‘parse_config_file’
    scripts/basic/fixdep.c:294: warning: implicit declaration of function ‘munmap’
    scripts/basic/fixdep.c:270: warning: unused variable ‘st’
    scripts/basic/fixdep.c: At top level:
    scripts/basic/fixdep.c:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
    scripts/basic/fixdep.c: In function ‘parse_dep_file’:
    scripts/basic/fixdep.c:302: error: ‘len’ undeclared (first use in this function)
    scripts/basic/fixdep.c:304: error: ‘PATH_MAX’ undeclared (first use in this function)
    scripts/basic/fixdep.c:306: warning: implicit declaration of function ‘strchr’
    scripts/basic/fixdep.c:306: warning: incompatible implicit declaration of built-in function ‘strchr’
    scripts/basic/fixdep.c:308: warning: incompatible implicit declaration of built-in function ‘fprintf’
    scripts/basic/fixdep.c:308: error: ‘stderr’ undeclared (first use in this function)
    scripts/basic/fixdep.c:309: warning: incompatible implicit declaration of built-in function ‘exit’
    scripts/basic/fixdep.c:311: warning: incompatible implicit declaration of built-in function ‘memcpy’
    scripts/basic/fixdep.c:312: warning: incompatible implicit declaration of built-in function ‘printf’
    scripts/basic/fixdep.c:304: warning: unused variable ‘s’
    scripts/basic/fixdep.c: In function ‘print_deps’:
    scripts/basic/fixdep.c:341: error: storage size of ‘st’ isn’t known
    scripts/basic/fixdep.c:345: error: ‘O_RDONLY’ undeclared (first use in this function)
    scripts/basic/fixdep.c:347: warning: incompatible implicit declaration of built-in function ‘fprintf’
    scripts/basic/fixdep.c:347: error: ‘stderr’ undeclared (first use in this function)
    scripts/basic/fixdep.c:349: warning: incompatible implicit declaration of built-in function ‘exit’
    scripts/basic/fixdep.c:353: warning: incompatible implicit declaration of built-in function ‘fprintf’
    scripts/basic/fixdep.c:357: error: ‘PROT_READ’ undeclared (first use in this function)
    scripts/basic/fixdep.c:357: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
    scripts/basic/fixdep.c:357: warning: assignment makes pointer from integer without a cast
    scripts/basic/fixdep.c:364: error: too many arguments to function ‘parse_dep_file’
    scripts/basic/fixdep.c:341: warning: unused variable ‘st’
    scripts/basic/fixdep.c: In function ‘traps’:
    scripts/basic/fixdep.c:376: warning: incompatible implicit declaration of built-in function ‘fprintf’
    scripts/basic/fixdep.c:376: error: ‘stderr’ undeclared (first use in this function)
    scripts/basic/fixdep.c:378: warning: incompatible implicit declaration of built-in function ‘exit’
    make[1]: *** [scripts/basic/fixdep] Ошибка 1
    make: *** [scripts_basic] Ошибка 2
    user@home:~/Desktop/linux-2.6.21$ 
     
  2. fucker"ok

    fucker"ok Elder - Старейшина

    Joined:
    21 Nov 2004
    Messages:
    580
    Likes Received:
    279
    Reputations:
    91
    Не стоят основные хедеры. Без них ты вообще ни одной проги собрать не сможешь. Попробуй поставить linux-headers может поможет...
     
  3. delay(0)

    delay(0) Member

    Joined:
    22 Nov 2006
    Messages:
    90
    Likes Received:
    41
    Reputations:
    6
    Стоят хедеры...
     
  4. bxN5

    bxN5 Elder - Старейшина

    Joined:
    8 Jan 2006
    Messages:
    687
    Likes Received:
    138
    Reputations:
    32
    Начит дорога всмысле путь не правильный,но скорее всего у тия их нету
     
  5. Linuxoid

    Linuxoid Elder - Старейшина

    Joined:
    13 Feb 2007
    Messages:
    200
    Likes Received:
    28
    Reputations:
    0
    Я в убунту сам затрахался, простите, собирать ядро...
    Определенно указан неверно путь, ибо не может найти файло... ;]
     
  6. REx07

    REx07 New Member

    Joined:
    1 May 2007
    Messages:
    15
    Likes Received:
    2
    Reputations:
    1
    Вот тут тут у чела та же проблема, говорит, что помогла установка libc6-dev. В случае чего вот ссылка: libc6-dev
     
  7. delay(0)

    delay(0) Member

    Joined:
    22 Nov 2006
    Messages:
    90
    Likes Received:
    41
    Reputations:
    6
    Совсем гг. libc6-dev требует зависимости на пару версий старее текущих, гугль нихрена не нашёл по сабжу, клосед короче. =\
     
Thread Status:
Not open for further replies.