~$ sudo make -j2
LD [M] ubuntu/omnibook/omnibook.o
ld: /ubuntu/omnibook/sections.lds: No such file: No such file or directory
make[2]: *** [ubuntu/omnibook/omnibook.o] Error 1
make[1]: *** [ubuntu/omnibook] Error 2
make: *** [ubuntu] Error 2
$ sudo vi /usr/src/linux/ubuntu/omnibook/Makefile
160: #EXTRA_LDFLAGS += $(src)/sections.lds
161: EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds
1. cannot restore segment prot after reloc permission denied
這是我在執行startx IEGD的Driver載入時會出現這個錯誤 , 判斷是Selinux的問題
因此google到一個方法
chcon -t texrel_shlib_t $(FILE)
2. perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
由於debootstrap會依照目前我電腦的設定去產生filesystem, 所以在幫客人做filesystem時會有這種語言設定的錯誤.
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
3.OAFILD:Gnome_FastUserSwitch Applet安裝好X server client gnome後, startx會產生的Err Msg
apt-get install fast-user-switch-applet
#### 在Fedora 10上安裝新版intel driver ####
# ./autogen.sh
syntax error near unexpected token xinerama
抓新版的xorg-x11-server-devel
# yum search xorg-x11-server-devel
# yum install xorg-x11-server-devel-i386
#### Nautilus can't be used now ####
在使用embedded debian時, 我手殘的把user加入了gdm群組, 導致重登後出現這個錯誤.
把/etc/group下, gdm後面的user刪掉即可.
Error 16: Inconsistent filesystem structure
還原後的系統, grub時所出現的錯誤, 是他不認得你的裝置格式, 通常是有錯誤才會這樣
# fsck -y -f $DEVICE_NODE
手很賤...將原先編譯的好的kernel make clean又移位,導致我要compile module時出現錯誤。
1. 先出現Module.symvers is missing
那就將module下的Module.symvers貼過去
2. 又出現scripts/mod/modpost: No such file or directory
make scripts就可以解決^_^
3. 可以編譯以及正確動作啦!
手動從console only安裝x windows server & clients後,登入時的錯誤
OAFIID:GNOME_FastUserSwitchApplet panel encountered a problem
sudo apt-get install indicator-applet-session
沒有留言:
張貼留言