- 論壇徽章:
- 0
|
下載zhcon.0.2.3.tar.gz
解壓
tar zvxf zhcon.0.2.3.tar.gz
編譯安裝
cd zhcon.0.2.3
./configure
make
maybe是因?yàn)閦hcon0.2.3和gcc3.4.1的兼容性問題
所以在make的時(shí)候會出現(xiàn)錯誤
提示fblinear24.cpp:206: error: ISO C++ forbids cast to non-reference
同樣的錯誤還出現(xiàn)在fblinear24.cpp:210和fblinear8.cpp:105
做如下修改:
Replace
fb_writew(d2>>8, ((__u16*)dest32++);
with
fb_writew(d2>>8, dest32);
dest32 = (__u32*)(((__u16*)dest32 + 1);
類似的其他兩個地方做出同樣的修改
上面的solution是在zhcon的mailing list中提到的,提供人是Zhang Le
http://sourceforge.net/mailarchive/forum.php?thread_id=5482075&forum_id=1051
然后make,ok,
運(yùn)行zhcon之后一切正常,本文即在終端模式下的emacs編輯
其他的解決辦法如下,需要安裝兩個補(bǔ)丁
原文提供者:tyfrlj@linuxsir.org(not mail address)
http://www.linuxsir.org/bbs/showthread.php?t=144938&page=4&pp=15
應(yīng)該是第50貼,仔細(xì)找找
讓zhcon支持1024*768分辨率
編輯/etc/grub.conf,在kernel項(xiàng)后增加vga=791
vga的值和分辨率對應(yīng)關(guān)系參考這里
http://www.yourblog.org/Data/20049/142390.html
本文來自ChinaUnix博客,如果查看原文請點(diǎn):http://blog.chinaunix.net/u/652/showart_34541.html |
|