[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - 關於核心編譯

關於核心編譯

什麼?Gentoo 裝不起來?核心怎麼編?安裝失敗等問題?來這裡求救吧!

版主: Forums Team

關於核心編譯

文章tackie » 週五 12月 12, 2003 2:55 am

經過一個禮拜的嘗試錯誤之後
我發現再也想不出哪裡錯誤
只好上來向各位高手討教一下!
首先我的電腦狀態如下
cpu:AMDk6-2(tm)350mhz,64cache
RAM:128MB
VideoCard:sis326
音效:測試用機器所以沒用音效
網卡:螃蟹卡
硬碟(兩顆4.3G)分割狀態如下:
/dev/hdb1:→/boot +218M ext3
/dev/hdb2:→swap +512M
/dev/hdb3:→/usr +剩下 ext3
---------------------------------------------------------------
/dev/hdd5:→/ +1200M ext3
/dev/hdd6:→/var +1200M ext3
/dev/hdd7:→/home +剩下 ext3
~~~~~~~~~~~~~~~~~~~~
以上
安裝步驟一開始是採取最簡單的stage3
但是後來發現到那似乎是為i686的機器做調整的
雖然不知道有沒有影響核心編譯,但至少這個時
候我已經編出問題,所以後來改用stage2來安裝!
安裝步驟主要是參考一些網路上的成功案例,
以及官方網站上的安裝指引來做,
步驟如下:
1.設定網路-----------------------------------OK!
2.分割硬碟掛載分割----------------------OK!
3.解開stage2壓縮
#cd /mnt/gentoo
#tar -xvjpf /mnt/cdrom/stages/stage2.********
-------------------------------------------------OK!
4.複製GRP檔案
#cp -R /mnt/cdrom/disfiles /mnt/gentoo/usr/portage/disfiles
#cp -a /mnt/cdrom/packages/ /mnt/gentoo/usr/portage/packages
-------------------------------------------------OK!
5.進入Chroot
#mount -0 bind /proc /mnt/gentoo/proc
#cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
#chroot /mnt/gentoo /bin/bash
#env-update
#source /etc/profile-------------------------OK!
6.sync更新
#emerge sync--------------------------------OK!
7.設定make.conf選項(因為不知從何下手改,就沒改^^!!)
8.安裝其它系統檔案
#emerge system(印象中第一次有錯誤的第二次就OK了)
9.設定時區-----------------------------------OK!
10.進入重點核心了
#emerge sys-kernel/gentoo-sources
# cd /usr/src/linux
#make menuconfig(這個部分的設定主要是參考鳥哥以及study-area的核心教學來弄得,因為也沒有啥特

殊裝備因此其實設的也都差不多然後在家上官上安裝文件上說要加進去的的幾筆資料
[*] prompt for development and /or incomplete code/drivers"
[*]/proc file systemsupport
[*]Automatically mount at boot
,但是發現核心2.4.20似乎比2.4.19多出很多東西,不過有看沒有懂也就沒加了^^)
#make dep
#make clean
#make bzImage
^^^^^^^^^^^^^^^^^每次做到這裡就出現錯誤,為此找了很久錯誤,也重灌了N次,但都宣告無效!最後一

次,也就是現在放棄的時候他出現的錯誤訊息是
ide.c:3887:prase error before '→'token
make[3]:***[ide0]Error1
make[3]:Leaveing directory '/usr/src/linux2.4.20-gentoo-r9/drivers/ides
make[2]:***[frist_rule]Error2
make[2]:Leaveing directory '/usr/src/linux2.4.20-gentoo-r9/drivers/ides
make[1]:***[_subdir_ide]Error2
make[1]:Leaveing directory '/usr/src/linux2.4.20-gentoo-r9/drivers
make:***[_dir_drivers]Error2
大致的步驟是這樣~
不知是否哪個部分沒做好,還是說核心編譯哪裡出錯?
因為之前是BSD使用者,所以憑著對BSD編譯核心的印象以及鳥哥及study-area上面的文獻參考做編譯,但一直有錯誤訊息,所以上來求助於大家 ~
最後還是感謝大家撥空看完~謝謝! :shock:
tackie
 
文章: 6
註冊時間: 週三 12月 10, 2003 2:01 am

文章kiko555 » 週五 12月 12, 2003 8:16 am

頭像
kiko555
 
文章: 152
註冊時間: 週一 5月 26, 2003 4:33 pm

文章tackie » 週五 12月 12, 2003 9:06 am

tackie
 
文章: 6
註冊時間: 週三 12月 10, 2003 2:01 am

文章paar » 週五 12月 12, 2003 10:52 am

叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

文章scsi » 週五 12月 12, 2003 12:36 pm

世界再大,不過是妳我之間的事
:111.gif: 欲使用GOT的ebuild請看
圖檔  
頭像
scsi
 
文章: 1326
註冊時間: 週二 10月 14, 2003 7:49 am

文章tackie » 週五 12月 12, 2003 2:56 pm

據老帕的指正,做了修正,但是還是有錯誤訊息!
這次的錯誤訊息卻是cdrom^^!!!
cdrom的選項有選起來
[*]include IDE/ATAPI CDROM support
錯誤訊息大致如下(ㄜ?如果又抄錯部分的話~麻煩提醒我一下^0^)
cdrom.c:1963:stray ' \' in program
cdrom.c:2513:36:warning :multi-line string literalsare deprecated
cdrom.c.2691:20:missing terminating " character
cdrom.c:1963:14:possible start of unterminated string literal
cdrom.c:1963:warning:unused variable ' dev '
cdrom.c:1962:warning:unused variable ' sense '
cdrom.c:1961:warning:unused variable ' cgc '
cdrom.c:1959:warning:unused variable ' cdo '
cdrom.c:325:warning:'cdrom-sysctl-register' used but heverde fined'
-------其實最前面安裝步驟,我是想確認我到底有沒有哪個步驟少做,還是做錯?畢竟我看的三個版本次序不一,所以有點擔心是不是會因為次序不同而產生錯誤............
我也會再試試看用其它核心版本是否也會出現錯誤訊息! :?
並謝謝大家的指導 :)
tackie
 
文章: 6
註冊時間: 週三 12月 10, 2003 2:01 am

文章tackie » 週一 12月 15, 2003 11:11 am

tackie
 
文章: 6
註冊時間: 週三 12月 10, 2003 2:01 am

文章Si » 週一 12月 15, 2003 1:54 pm

Si
 
文章: 333
註冊時間: 週日 4月 20, 2003 12:15 pm
來自: New Zealand

文章feuer » 週一 12月 15, 2003 3:56 pm

feuer
 
文章: 218
註冊時間: 週一 1月 13, 2003 11:17 am
來自: 天涯

文章tackie » 週二 12月 16, 2003 8:17 am

tackie
 
文章: 6
註冊時間: 週三 12月 10, 2003 2:01 am

文章tackie » 週三 12月 17, 2003 12:58 pm

tackie
 
文章: 6
註冊時間: 週三 12月 10, 2003 2:01 am

文章paar » 週三 12月 17, 2003 2:49 pm

叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

文章feuer » 週五 12月 19, 2003 3:30 pm

feuer
 
文章: 218
註冊時間: 週一 1月 13, 2003 11:17 am
來自: 天涯


回到 Gentoo 安裝

誰在線上

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

cron