pjc5520 发表于 2003-5-13 12:22:11

编译2.5.9内核出错..

gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.5.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
init/main.c:279: redefinition of `setup_per_cpu_areas'
init/main.c:275: `setup_per_cpu_areas' previously defined here
make: *** Error 1

我用的是make menuconfigp配置的内核。

Dragonfly 发表于 2003-5-13 22:00:21

check the code in main.c and remove one definition, and try again.

static inline void setup_per_cpu_areas(void)

very strange. so why u still try the 2.5.9. why not higher?

pjc5520 发表于 2003-5-14 16:36:00

2.5.9是2.5.x里最高的了吧。

Dragonfly 发表于 2003-5-14 21:42:55

no, currently 2.5.69 is the latest. 69 > 9.

pjc5520 发表于 2003-5-15 16:48:17

哦,是这样啊,那我还是用2.5.69吧。

Dragonfly 发表于 2003-5-15 22:03:31

good luck

pjc5520 发表于 2003-5-16 09:19:23

键盘鼠标都不能用,这两项应该怎么配置,我的键盘和鼠标都是usb的。

pjc5520 发表于 2003-5-16 09:26:30

什么是HID设备?在2.4.20里有一项input core device好像是跟我的键盘鼠标有关,选中这个,在选中下面的键盘和鼠标选项,在usb设备里选中hid设备,和紧跟在它下面的两项,绝对不选(1)下面跟键盘鼠标的两项。这样,我的键盘和鼠标都就可以用了。如果选中(1),则键盘和鼠标都不能用。在2.5.69里好像跟2.4.20不一样,我怎么配置都不成功,而且我强制关机还把我编译的2.4.20弄坏了,启动不起来了,现象跟用make install安装内核是不修改grub.conf里的root那一项一样。我很郁闷。

Dragonfly 发表于 2003-5-16 09:27:32

which kernel version u use? do u include usb support? does u old kernel support it?

pjc5520 发表于 2003-5-16 09:33:41

2.5.69
按照我上面说的配置,在2.4.20下工作很好,两触摸板都能很好的工作。

Dragonfly 发表于 2003-5-16 09:42:28

before u shutdown manually, u can try sync command several commands that can reduce the chance u lose data.
i am not sure about usb mouse. i still use ps2 one.

cnspy 发表于 2003-5-17 16:16:34

为什么我的2.5.69内核编译完成后,没有办法加载模块?一定要编译进内核才可以用的。

pjc5520 发表于 2003-5-17 23:01:28

对,我的好像也是不能加载内核,我好像已经编译了所需要的内核,但是启动的时候好像提示找不到,键盘没法用,我也不能好好看一下,苦恼。
有关于2.5.69的文档吗?

Dragonfly 发表于 2003-5-18 10:19:08

do u install the
*sys-apps/module-init-tools
      Latest version available: 0.9.11-r3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 313 kB
      Homepage:    http://www.kernel.org/pub/linux/kernel/people/rusty/modules
      Description: Kernel module tools for the development kernel >=2.5.48

pjc5520 发表于 2003-5-18 10:44:36

我应该是装了,我在顶上看到了这个问题,我把他下在下来了,好像是安装了。我再看一下。这个工具是在老的内核上安装就行了吧?
页: [1] 2
查看完整版本: 编译2.5.9内核出错..