richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

Entries Tagged as 'Software'

BuildRoot Compile 的問題

七月 23rd, 2009 · No Comments

最近在編 Buildroot 碰到這樣的 compile error.
extra/scripts/unifdef.c:209: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: error: previous declaration of ‘getline’ was here
make[1]: *** [extra/scripts/unifdef] Error 1
make[1]: Leaving directory `/home2/richliu/1/buildroot-2009.05/toolchain_build_arm/uClibc-0.9.30.1′
make: *** [/home2/richliu/1/buildroot-2009.05/toolchain_build_arm/uClibc-0.9.30.1/.configured] Error 2
主因是 glibc 新版內, getline 是一個內建 function, 如果程式內也有用到, compile 就會出問題
這邊有 Patch File .

Tags: buildroot, glibc, uclibc

[Read more →]

Tags: Software · UNIX

[Java] Assertion `c->xlib.lock’ failed

三月 24th, 2008 · No Comments

今天要在 Gentoo 上跑 Freemind 時, Java 會出現這一段訊息
Checking Java Version…
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0×47) [0x4cea1997]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.
暫時的修正方法
# cd /opt
# find -name libmawt.so | grep 『xawt/libmawt.so』 | xargs sed -i ’s/XINERAMA/FAKEEXTN/g’
Ref.
xcb_xlib.c:50: xcb_xlib_unlock: Assertion ‘c->xlib.lock’ failed.

Tags: Java

[Read more →]

Tags: Linux · Software

Wine 0.9.54 Released

一月 27th, 2008 · No Comments

本來 Wine 就是一直在升級的, 不過這次瞄到 Wine 0.9.54 Release Note
- Photoshop CS/CS2 should now work, please help us testing it.
See http://wiki.winehq.org/AdobePhotoshop for details.
有些人可以弄來試試了

Tags: Linux, Wine

[Read more →]

Tags: Linux · Software

電子郵件加上入聯戳記 UN FOR TAIWAN (最終版)

十月 19th, 2007 · 8 Comments

阿扁 : 『入聯尚未成功, 同志仍需努力』
杜人才 : 『聯合國是台灣不可分割的一部份』
謝局長 : 『不管是黑貓白貓, 在聯合國生活的就是好貓』
張部長 : 『入聯是政府政策! 大家一定要支持』
鄉民 : 『和平, 奮鬥, 拼入聯』

Tags: Kuso E-mail UN FOR TAIWAN

[Read more →]

Tags: KUSO · Network · Programming · Software

[Gentoo][心得] Q6600 在 Linux

九月 1st, 2007 · 1 Comment

除了 Windows 搞得很煩以外, 其實 Linux 也是花了不少功夫,
首先是安裝第一件事就是碰到 Gentoo 抓不到 Intel SATA 的硬碟我的解決方法很簡單, 就是拿 ubuntu 7.10(測試版) 的光碟片開機(註: 無法進入 GUI mode, 但是 7300LE 就可以)抓到 SATA 以後, 就可以將 2007.0 的 Stage3 系統裝進去.
這部份 Kernel 安裝應該是很簡單的, 由於本人很懶, 不喜歡 OS 放 RAM Disk所以我 SATA 的 Driver 都是直接編進 kernel 的.
對了, 如果記憶體有 4G , 記得在 Kernel 要選擇支援 64G Memory.要不然也只會抓到 3.3G 左右.
Realtek HD-AUDIO [...]

[Read more →]

Tags: Gentoo · Hardware · Linux · Software · 垃圾桶

[震怒] 微軟果然在 Vista 放地雷, 讓 Windows XP 無法安裝.

八月 30th, 2007 · 37 Comments

Vista 的憂(因為微軟不是人)優點我想大家都有目共睹,
看到 Vista 的表現, 讓我不禁想起, 微軟一定要在 500 付牌前*註1 Windows XP 內就埋下地雷.
這樣 Vista 才會表現好.
最近購入了一台新電腦, 在測試過幾種 OS 之後, 我決定還是用牌子老信用好的 Windows XP.
才發現,
…微軟真她媽的在 Windows XP 內埋下大地雷…

Tags: 4G Memory, Gentoo, Microsoft, Partition, Vista, XP,   Gentoo, 開機

[Read more →]

Tags: Gentoo · Hardware · Linux · Software · 垃圾桶

[Gentoo] Google Desktop for Linux

六月 29th, 2007 · 2 Comments

大家應該都知道了, Google Desktop for Linux 己經現身了.
這個東西真是太贊了, Beagle 雖然很好用(除去慢和記憶體太大),過 Google Desktop 才是殺手呀(習慣問題).
Gentoo 要使用, 請下載 rpm 版本的, .deb 版本可能會 install 不成功.
首先是安裝 rpm 這個套件
# emerge rpm
再來就是用 rpm 加參數直接 install
# rpm -ivh –force –nodeps google-desktop-linux-1.0.1.0060.rpm
warning: google-desktop-linux-1.0.1.0060.rpm: Header V3 DSA signature: NOKEY, key ID 7fac5991
Preparing… [...]

[Read more →]

Tags: Gentoo · Linux · Software

[轉檔] Using ffmpeg to convert wmv to 3gp

四月 24th, 2007 · 3 Comments

最近買了一隻 Sony Ericsson K800i , 也買了一塊 SanDisk M2 2G 的記憶卡.
想說裝些網路上常見的 wmv 檔到手機上笑一下.
但是 K800i 這一隻手機並不能直接撥 wmv
No tag for this post.

[Read more →]

Tags: Gentoo · Linux · Software · UNIX

Wordpress Plugin 更新, 和我的 Wordpress Plugin

二月 7th, 2007 · No Comments

最近幾天都在更新 Wordpress 2.1 的 Plugin, 但是因為 Blog 的文章不太適合常常更新. 我會放在我的 Wiki 上面 Wordpress 心得

Tags: BLOG, Software

[Read more →]

Tags: BLOG · Software

[雜談] 行銷真的很重要……

一月 30th, 2007 · No Comments

在 Digg 看到 World’s First BitTorrent Microprocessor
點進去一看, 才發現原文章的標題是
IAdea/Star Semi Jointly Develop the First BitTorrent-Optimized Microprocessor

Tags: Embedded, Hardware, Software, 工作

[Read more →]

Tags: Embedded · Hardware · Software · 工作