Dragonfly 发表于 2003-5-6 21:54:48

'make: wish: Command not found ' is the error.
install the package contains wish command or use make menuconfig.

linjiang_82 发表于 2003-5-7 19:59:32

i've solve the problem by your suggestion.thx 8)

Dragonfly 发表于 2003-5-7 21:35:16

welcome

jackzheng2002 发表于 2003-5-8 20:35:31

换make menuconfig试试

linjiang_82 发表于 2003-5-8 21:48:42

i downloaded a kernel(linux-2.5.69)and when i make xconfigan error as following appeared:
scripts/fixdep.c: In function `use_config':
scripts/fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: for each function it appears in.)
scripts/fixdep.c:193: warning: unused variable `s'
scripts/fixdep.c: In function `parse_dep_file':
scripts/fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable `s'
make: *** Error 1
make: *** Error 2
how could i solve the problem????

Dragonfly 发表于 2003-5-8 22:08:23

PATH_MAX should be defined in u /usr/inlcude/linux/limits.h
check if u have thsi file, if not, then try to install needed header.
u can go /scripts/ and run gcc fixdep.c directly to see if u can compile it.
make sure u gcc is correctly installed.

linjiang_82 发表于 2003-5-10 08:22:29

when i run gcc fixdep.c,the result is
/usr/include/bits/local_lim.h:36:26: linux/limits.h: 没有那个文件或目录
In file included from /usr/include/netinet/in.h:212,
               from fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: 没有那个文件或目录
fixdep.c: In function `use_config':
fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
fixdep.c:193: (Each undeclared identifier is reported only once
fixdep.c:193: for each function it appears in.)
fixdep.c: In function `parse_dep_file':
fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
so,i think i really lack of some package ,but which package should i install??

jackyshow 发表于 2003-5-10 11:06:13

My problem about the kernel(linux-2.5.69) under RH9 is:

The recompiled kernel can NOT load module when system starts. And when I execute lsmod, and insmod, always error, say GMODULE not implement. So frustrated.
By the way, battery works well with acpi, also cpu speed step and function key works well. I like this beta kernel, but does anyone know why?

linjiang_82 发表于 2003-5-10 18:39:37

when i make modules(linux-2.5.69),there is some thing wrong
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in function
declaration
drivers/char/riscom8.c:142: confused by earlier errors, bailing out
make: *** Error 1
make: *** Error 2
make: *** Error 2

why????

Dragonfly 发表于 2003-5-10 23:37:09

My problem about the kernel(linux-2.5.69) under RH9 is:

The recompiled kernel can NOT load module when system starts. And when I execute lsmod, and insmod, always error, say GMODULE not implement. So frustrated.
By the way, battery works well with acpi, also cpu speed step and function key works well. I like this beta kernel, but does anyone know why?

check another post about 2.5.69. u need module-init-tool.

Dragonfly 发表于 2003-5-10 23:39:17

when i run gcc fixdep.c,the result is
/usr/include/bits/local_lim.h:36:26: linux/limits.h: 没有那个文件或目录
In file included from /usr/include/netinet/in.h:212,
               from fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: 没有那个文件或目录
fixdep.c: In function `use_config':
fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
fixdep.c:193: (Each undeclared identifier is reported only once
fixdep.c:193: for each function it appears in.)
fixdep.c: In function `parse_dep_file':
fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
so,i think i really lack of some package ,but which package should i install??

check if u really have that header file. i assume glibc should install it.

Dragonfly 发表于 2003-5-11 02:26:45

when i make modules(linux-2.5.69),there is some thing wrong
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in function
declaration
drivers/char/riscom8.c:142: confused by earlier errors, bailing out
make: *** Error 1
make: *** Error 2
make: *** Error 2

why????

do u need the riscom8 driver support? if not, deselect it. if u need it, try to use a lower kernel version like 2.5.38. i believe the riscom8 code is broken in 2.5.69. it needs taskqueue. but in 2.5.4x and later, the task queue is replaced by work queue. and no task queue anymore. of course u can change the riscom8.x code to let it use the work queue.

linjiang_82 发表于 2003-5-12 22:56:02

thx ,i'll try later

Dragonfly 发表于 2003-5-12 23:04:20

welcome

EdwardRF 发表于 2003-5-13 12:10:59

anybody knows why i cannot compile the modules?
(i got a lot of errors during "make modules" and "make modules_install")
and while i try to boot using the new kernel it says cannot load many modules... 5555 how?
页: 1 [2] 3 4 5
查看完整版本: 内核编译简法[转]