作者 主題: make modules發生的問題?  (閱讀 3220 次)

0 會員 與 1 訪客 正在閱讀本文。

jameslfp

  • 懷疑的國中生
  • **
  • 文章數: 35
    • 檢視個人資料
make modules發生的問題?
« 於: 2003-10-06 00:25 »
這兩天在重編kernel,一到make modules都會發生下列訊息而無法繼續,我試著照原.config 去做make,但結果仍是一樣..,不知是什麼因素造成的,我試了兩部電腦而發生的訊息都一樣...

另外,發現少了tk的套件無法在x-win下執行 make xconfig,
但少了什麼套件,無法做 make menuconfig 呢? 謝謝各位學長.

In file included from /usr/src/linux-2.4.18-14/include/linux/spinlock.h:56,
                 from /usr/src/linux-2.4.18-14/include/linux/module.h:11,
                 from dummy.c:34:
/usr/src/linux-2.4.18-14/include/asm/spinlock.h:9: invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/asm/spinlock.h:9: parse error before numeric constant
/usr/src/linux-2.4.18-14/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/asm/spinlock.h:10: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.18-14/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.18-14/include/linux/list.h:6,
                 from /usr/src/linux-2.4.18-14/include/linux/module.h:12,
                 from dummy.c:34:
/usr/src/linux-2.4.18-14/include/asm/processor.h:51: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.18-14/include/asm/processor.h:51: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.18-14/include/asm/processor.h:73: invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:73: parse error before numeric constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:73: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.18-14/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.18-14/include/linux/list.h:6,
                 from /usr/src/linux-2.4.18-14/include/linux/module.h:12,
                 from dummy.c:34:
/usr/src/linux-2.4.18-14/include/asm/processor.h:258:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux-2.4.18-14/include/linux/modversions.h:128,
                 from <command line>:1:
/usr/src/linux-2.4.18-14/include/linux/modules/i386_ksyms.ver:88:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.18-14/include/asm/processor.h:260: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.18-14/include/asm/processor.h:436: invalid suffix on floating constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:436: parse error before numeric constant
/usr/src/linux-2.4.18-14/include/asm/processor.h:436: `kernel_thread_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/asm/processor.h:436: warning: function declaration isn't a prototype
In file included from dummy.c:34:
/usr/src/linux-2.4.18-14/include/linux/module.h:183: invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/linux/module.h:183: parse error before numeric constant
/usr/src/linux-2.4.18-14/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:183: warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/module.h:184: invalid suffix on integer constant
/usr/src/linux-2.4.18-14/include/linux/module.h:184: parse error before numeric constant
/usr/src/linux-2.4.18-14/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:184: warning: function declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:185: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.18-14/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/module.h:186: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.18-14/include/linux/module.h:187: invalid suffix on integer constant
/usr/src/lin

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17466
    • 檢視個人資料
    • http://www.study-area.org
make modules發生的問題?
« 回覆 #1 於: 2003-10-06 15:07 »
試試先跑一下 make mrproper 如何?
嗯... 不確定啦, try 一 try 吧...

jameslfp

  • 懷疑的國中生
  • **
  • 文章數: 35
    • 檢視個人資料
make modules發生的問題?
« 回覆 #2 於: 2003-10-06 23:27 »
make mrproper 有在書上看到,但一直認為不需去做..
目前看來好像可以了..因為還在 make 中 ...
謝謝 netman