[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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)



Reply to: