Re: compile module problem....
On Thu, Feb 22, 2001 at 09:53:27PM -0700, Anthony Fok wrote:
> On Thu, Feb 22, 2001 at 10:24:04PM +0800, Yakumo wrote:
> > when i complie a module source "chardev.c" in debian 2.2r2 it show me a
> > lot of error message
> >
> > but it's ok when I complie the same file in Redhat 6.1
> >
> > Is it because gcc version??
> > the gcc version:
> > debian gcc:2.95.2
> > redhat gcc:egcs-2.91.66
> >
> > what's the problem whit me ??
>
> 我也不清楚。我在 Debian 上编译核心,没有遇上这个问题。
> 你用的是哪个版本的核心?会不会你 apply patch 时出错了,所以 chardev.c
> 本来就有错?你也确定安装了 kernel-package, make, bin86 等软体吗?
>
> 东东
我猜他是原本编核心时少编了chardev.c module,现在想事后只编这个module
再塞进/lib/modules里去(不想整个kernel再重编了)
我建议Yakumo还是用kernel-package重新compile一次好了。不然至少多加一个
CFLAGS= -I/usr/src/linux/include再试试。
--
Chia-Sheng Chang (Jonathan Chang)
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: