LINUX.ORG.RU

Не запускается menuconfig


0

0

Пытаюсь собрать ядро 2.6, запускаю make menuconfig а он мне :

<p>HOSTCC scripts/basic/fixdep <p>In file included from /usr/include/bits/posix1_lim.h:130, <p> from /usr/include/limits.h:144, <p> <p>from /usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:122, <p> <p>from /usr/lib/gcc-lib/i486-linux/3.3.4/include/syslimits.h:7, <p> <p>from /usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:11, <p> from scripts/basic/fixdep.c:105: <p>/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory <p>In file included from /usr/include/sys/socket.h:35, <p> from /usr/include/netinet/in.h:24, <p> from scripts/basic/fixdep.c:107: <p>/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory <p>scripts/basic/fixdep.c: In function `use_config': <p>scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function) <p>scripts/basic/fixdep.c:193: error: (Each undeclared identifier is reported only once <p>scripts/basic/fixdep.c:193: error: for each function it appears in.) <p>scripts/basic/fixdep.c:193: warning: unused variable `s' <p>scripts/basic/fixdep.c: In function `parse_dep_file': <p>scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function) <p>scripts/basic/fixdep.c:289: warning: unused variable `s' <p>make[1]: *** [scripts/basic/fixdep] Error 1 <p>make: *** [scripts_basic] Error 2

Чего делать видимо каие-то проблемы с make?

anonymous

Re: Не запускается menuconfig

Сорри

Пытаюсь собрать ядро 2.6, запускаю make menuconfig а он мне :

HOSTCC scripts/basic/fixdep

In file included from /usr/include/bits/posix1_lim.h:130,

from /usr/include/limits.h:144,

<p>from /usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:122,

<p>from /usr/lib/gcc-lib/i486-linux/3.3.4/include/syslimits.h:7,

<p>from /usr/lib/gcc-lib/i486-linux/3.3.4/include/limits.h:11,

from scripts/basic/fixdep.c:105:

/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory

In file included from /usr/include/sys/socket.h:35,

from /usr/include/netinet/in.h:24,

from scripts/basic/fixdep.c:107:

/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory

scripts/basic/fixdep.c: In function `use_config':

scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function)

scripts/basic/fixdep.c:193: error: (Each undeclared identifier is reported only once

scripts/basic/fixdep.c:193: error: for each function it appears in.)

scripts/basic/fixdep.c:193: warning: unused variable `s'

scripts/basic/fixdep.c: In function `parse_dep_file':

scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function)

scripts/basic/fixdep.c:289: warning: unused variable `s'

make[1]: *** [scripts/basic/fixdep] Error 1

make: *** [scripts_basic] Error 2

anonymous ()
Ответ на: Re: Не запускается menuconfig от anonymous

Re: Re: Не запускается menuconfig

Просто нужно сделать пару симлинков:

/usr/src/linux-2.6.9/include/asm -> /usr/src/linux-2.6.9/include/asm-i386
/usr/src/linux -> /usr/src/linux-2.6.9
/usr/include/asm -> /usr/src/linux/include/asm

snigga ★★★ ()
Ответ на: Re: Re: Не запускается menuconfig от snigga

Re: Re: Re: Не запускается menuconfig

теперь он вот так говорит

HOSTCC scripts/basic/fixdep

In file included from /usr/include/sys/socket.h:35,

from /usr/include/netinet/in.h:24,

from scripts/basic/fixdep.c:107:

/usr/include/bits/socket.h:305:24: asm/socket.h: Too many levels of symbolic links

make[1]: *** [scripts/basic/fixdep] Error 1

make: *** [scripts_basic] Error 2

kuz ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.