[問題]gcc安裝問題(Kernel link failure)

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

[問題]gcc安裝問題(Kernel link failure)

文章訪客 » 週六 1月 25, 2003 11:38 am

小弟想裝gcc,可是出現了錯誤(好像是Kernel部份???)
底下是小弟的安裝步驟

代碼: 選擇全部
debian:~# apt-get install gcc gcc-3.2 binutils
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  binutils gcc gcc-3.2
0 packages upgraded, 3 newly installed, 0 to remove and 2  not upgraded.
Need to get 0B/4236kB of archives. After unpacking 10.7MB will be used.
Preconfiguring packages ...
Selecting previously deselected package binutils.
(Reading database ... 24814 files and directories currently installed.)


但是到了這個地方出現了這個


代碼: 選擇全部
Debian Configuration

                                              [!] Configuring Binutils

 Kernel link failure info

 You may experience problems linking older (and some newer) kernels with
 this version of binutils.  This is not because of a bug in the linker,
 but rather a bug in the kernel source.  This is being worked out and
 fixed by the upstream kernel group in newer kernels, but not all of the
 problems may have been fixed at this time.  Older kernel versions will
 almost always exhibit the problem, however, and no attempts are being
 made to fix those that we know of.

 There are a few work-arounds, but the most reliable is to edit the
 linker script for your architecture (e.g. arch/i386/vmlinux.lds) and
 remove the '*(.text.exit)' entry from the 'DISCARD' line.  It will
 bloat the kernel somewhat, but it should link properly.

                                    <Ok>

由於小弟是Debian 新手,請各位大哥哥們幫助小弟,感激不盡
kernel:2.4.18-bf2.4
訪客
 

re:[問題]gcc安裝問題(Kernel link failure)

文章octapult » 週六 1月 25, 2003 2:20 pm

這個應該只是一個 warning 而已,個人是覺得您不需要太擔心。

之前的 kernel 和 binutils 之間有點問題,在編譯 kernel source 的時候會出現 link 錯誤而導致編譯失敗,不過我在 kernel-2.4.18 和 2.4.19 以後就沒有遇過了 :-)
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客