<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Linux</title><link>http://blog.blueshop.com.tw/yowcheng/category/2089.aspx</link><description>Linux</description><managingEditor>炎羽</managingEditor><dc:language>zh-TW</dc:language><generator>.Text Version 0.95.2004.101</generator><item><dc:creator>炎羽</dc:creator><title>得知gcc預設inculde的路徑</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/11/21/53450.aspx</link><pubDate>Wed, 21 Nov 2007 13:34:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/11/21/53450.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/53450.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/11/21/53450.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/53450.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/53450.aspx</trackback:ping><description>&amp;nbsp;gcc -print-search-dirs&lt;BR&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/53450.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>make時，gcc版本不同造成錯誤之解決方法</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/09/52853.aspx</link><pubDate>Tue, 09 Oct 2007 15:04:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/09/52853.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/52853.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/09/52853.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/52853.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/52853.aspx</trackback:ping><description>&lt;P&gt;今天換一台make時出錯&lt;/P&gt;
&lt;P&gt;[root@localhost]#&lt;FONT color=#a52a2a&gt; make&lt;/FONT&gt;&lt;FONT color=#808080&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;g++ -c -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -fasynchronous-unwind-tables  -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -o ucwebcamDlg.o ucwebcamDlg.cpp
/usr/lib/qt-3.3/include/qtooltip.h:86: warning: 'class QToolTip' has virtual functions but non-virtual destructor
ucwebcamDlg.cpp: In member function 'void ucwebcamDlg::videoinit()':
ucwebcamDlg.cpp:172: error: invalid lvalue in assignment
make: *** [ucwebcamDlg.o] Error 1&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;找尋了一下資料，發現是因為Feora 4中gcc與g++版本為4.0&lt;/P&gt;
&lt;P&gt;#&lt;FONT color=#a52a2a&gt;gcc -v&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;Using built-in specs.&lt;BR&gt;Target: i386-redhat-linux&lt;BR&gt;Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux&lt;BR&gt;Thread model: posix&lt;BR&gt;gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)&lt;/P&gt;
&lt;P&gt;#&lt;FONT color=#a52a2a&gt;g++ -v&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Using built-in specs.&lt;BR&gt;Target: i386-redhat-linux&lt;BR&gt;Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux&lt;BR&gt;Thread model: posix&lt;BR&gt;gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)&lt;/P&gt;
&lt;P&gt;而程式必須改為版本3.2.3的gcc與g++來編譯才能正確執行&lt;/P&gt;
&lt;P&gt;gcc&lt;BR&gt;# &lt;SPAN class=style18&gt;mv /usr/bin/gcc /usr/bin/gcc40&lt;/SPAN&gt;&lt;BR&gt;# &lt;SPAN class=style18&gt;ln -s /usr/bin/gcc323 /usr/bin/gcc&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;g++&lt;BR&gt;# &lt;SPAN class=style18&gt;mv /usr/bin/g++ /usr/bin/g++40&lt;/SPAN&gt;&lt;BR&gt;# &lt;SPAN class=style18&gt;ln -s /usr/bin/g++323 /usr/bin/g++&lt;/SPAN&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/52853.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>設定開機後讓Num Lock自動開啟</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/05/52743.aspx</link><pubDate>Fri, 05 Oct 2007 14:58:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/05/52743.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/52743.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/05/52743.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/52743.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/52743.aspx</trackback:ping><description>&lt;P&gt;&lt;FONT color=#0000ff&gt;cd /etc/rc.d&lt;/FONT&gt;&lt;BR&gt;	開啟 &lt;FONT color=#ff0000&gt;rc.sysinit&lt;/FONT&gt;&lt;BR&gt;	在最後增加下面三列&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt; for tty in /dev/tty[1-9]*;do
     setleds -D +num &amp;lt; $tty
	done	&lt;/TEXTAREA&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/52743.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>Fedora Core 2~4 環境下中文亂碼問題</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/05/52742.aspx</link><pubDate>Fri, 05 Oct 2007 14:56:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/05/52742.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/52742.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/10/05/52742.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/52742.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/52742.aspx</trackback:ping><description>&lt;P&gt;&amp;nbsp; 目前RHEL 4及Fedora Core 2、3的文字編碼採用萬國碼(UTF-8)，但目前大部份的繁體中文環境還是以 Big5 為主，所以用 UTF-8 的環境來讀 Big5 時，會發生亂碼的狀況，若在使用環境中需要讀取 Big5 環境時，建議將系統改回 Big5 的環境較不容易出現亂碼。&lt;/P&gt;
&lt;P&gt;須修改的檔案&lt;BR&gt;./etc/sysconfig/i18n&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&lt;FONT color=#000000&gt;原始&lt;/FONT&gt;&lt;BR&gt;LANG="zh_TW.&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;UTF-8&lt;/SPAN&gt;"&lt;BR&gt;SYSFONT="latarcyrheb-sun16"&lt;BR&gt;SUPPORTED="zh_TW.&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;UTF-8&lt;/SPAN&gt;:zh_TW:zh"&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;修改過後&lt;BR&gt;&lt;FONT color=#0000ff&gt;LANG="zh_TW.&lt;FONT color=#ff0000&gt;Big5&lt;/FONT&gt;"&lt;BR&gt;SYSFONT="latarcyrheb-sun16"&lt;BR&gt;SUPPORTED="zh_TW.&lt;FONT color=#ff0000&gt;Big5&lt;/FONT&gt;:zh_TW:zh"&lt;/FONT&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/52742.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>linux make時常見錯誤整理</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52574.aspx</link><pubDate>Thu, 27 Sep 2007 15:41:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52574.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/52574.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52574.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/52574.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/52574.aspx</trackback:ping><description>&lt;P&gt;從網路上找到了這些資料，但為簡體，在這邊做了一下排版跟翻譯&lt;BR&gt;&lt;A href="http://72.14.235.104/search?q=cache:as1xUtoNbKMJ:bbs.avrvi.com/read.php%3Ftid%3D1156+main.o+File+in+wrong+format&amp;amp;hl=zh-TW&amp;amp;ct=clnk&amp;amp;cd=11&amp;amp;lr=lang_zh-CN|lang_zh-TW"&gt;原出處&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;!E touchpad.c(67): unrecognized statement&lt;BR&gt;!E touchpad.c(68): syntax error; found `void' expecting `;'&lt;BR&gt;上一行缺少“;”號所致。&lt;/P&gt;
&lt;P&gt;!W touchpad.c(325):[warning] calling function without prototype may cause errors&lt;BR&gt;沒有在頭檔案中增加使用的函數庫&lt;/P&gt;
&lt;P&gt;!E E:\ICCAVR\icc\user001\main.c(100): undeclared identifier `temp'&lt;BR&gt;錯誤︰變數'temp'未定義&lt;/P&gt;
&lt;P&gt;﹗E D︰\iccavr6.31.A\icc\lib\crtAVR.(41):Codeaddress 0 already contains a value &lt;BR&gt;﹗E D︰\iccavr6.31.A\icc\lib\crtAVR.(41):Codeaddress 0x1 already contains a value &lt;BR&gt;沒有選擇晶片型號。&lt;/P&gt;
&lt;P&gt;!E library(31) area ' text' not large enough&lt;BR&gt;程式空間不夠。&lt;/P&gt;
&lt;P&gt;?!E _3Q0.AAA(0): area 'data' not large enough &lt;BR&gt;儲存容量不足&lt;/P&gt;
&lt;P&gt;C:/icc/include/iom8v.h(18): D:\icc圓織機程式\8.c(288): Macro redefinition of TWBR&lt;BR&gt;重複定義TWBR&lt;/P&gt;
&lt;P&gt;calling function without prototype may cause errors&lt;BR&gt;沒有extern定義&lt;/P&gt;
&lt;P&gt;!E lianxi.o(103): multiple define: '_main' &lt;BR&gt;main函數重複了，應該只能有一個main.&lt;/P&gt;
&lt;P&gt;[warning] declaring a function without prototype may cause errors&lt;BR&gt;函數原型沒有定義。&lt;/P&gt;
&lt;P&gt;你使用的某個函數沒有聲明。&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ambiguous operators need parentheses &lt;BR&gt;不明確的運算需要用括號括起 &lt;/P&gt;
&lt;P&gt;Ambiguous symbol ``xxx`` &lt;BR&gt;不明確的符號 &lt;/P&gt;
&lt;P&gt;Argument list syntax error &lt;BR&gt;參數表語法錯誤 &lt;/P&gt;
&lt;P&gt;Array bounds missing &lt;BR&gt;遺失矩陣界限符 &lt;/P&gt;
&lt;P&gt;Array size toolarge &lt;BR&gt;矩陣尺寸太大 &lt;/P&gt;
&lt;P&gt;Bad character in paramenters &lt;BR&gt;參數中有不適當的符號&lt;/P&gt;
&lt;P&gt;Bad file name format in include directive &lt;BR&gt;包含命令中檔案名格式不正確 &lt;/P&gt;
&lt;P&gt;Bad ifdef directive synatax &lt;BR&gt;編譯預處理ifdef有語法錯誤 &lt;/P&gt;
&lt;P&gt;Bad undef directive syntax &lt;BR&gt;編譯預處理undef有語法錯誤&lt;/P&gt;
&lt;P&gt;Bit field too large &lt;BR&gt;位字段太長 &lt;/P&gt;
&lt;P&gt;Call of non-function &lt;BR&gt;使用未定義的函數 &lt;/P&gt;
&lt;P&gt;Call to function with no prototype &lt;BR&gt;使用函數時沒有函數的說明 &lt;/P&gt;
&lt;P&gt;Cannot modify a const object &lt;BR&gt;不允許修改常數物件 &lt;/P&gt;
&lt;P&gt;Case outside of switch &lt;BR&gt;漏掉了case 語句 &lt;/P&gt;
&lt;P&gt;Case syntax error &lt;BR&gt;Case 語法錯誤 &lt;/P&gt;
&lt;P&gt;Code has no effect &lt;BR&gt;代碼不可述不可能執行到 &lt;/P&gt;
&lt;P&gt;Compound statement missing{ &lt;BR&gt;副程式漏掉"{" &lt;/P&gt;
&lt;P&gt;Conflicting type modifiers &lt;BR&gt;不明確的類型說明符號&lt;/P&gt;
&lt;P&gt;Constant expression required &lt;BR&gt;要求常數表達式 &lt;/P&gt;
&lt;P&gt;Constant out of range in comparison &lt;BR&gt;在比較中常數超出範圍 &lt;/P&gt;
&lt;P&gt;Conversion may lose significant digits &lt;BR&gt;轉換時會遺失意義的數字 &lt;/P&gt;
&lt;P&gt;Conversion of near pointer not allowed &lt;BR&gt;不允許轉換近指標 &lt;/P&gt;
&lt;P&gt;Could not find file ``xxx`` &lt;BR&gt;找不到XXX檔案 &lt;/P&gt;
&lt;P&gt;Declaration missing ; &lt;BR&gt;說明缺少"；" &lt;BR&gt;[小飛]一凡(490152151) 12:03:21&lt;BR&gt;很多人用它,學起來資源多. &lt;BR&gt;　聖心決(350310876) 12:03:26&lt;BR&gt;Declaration syntax error &lt;BR&gt;說明中出現語法錯誤 &lt;/P&gt;
&lt;P&gt;Default outside of switch &lt;BR&gt;Default 出現下switch語句之外 &lt;/P&gt;
&lt;P&gt;Define directive needs an identifier &lt;BR&gt;定義編譯預處理需要標識符號&lt;/P&gt;
&lt;P&gt;Division by zero &lt;BR&gt;用零作除數 &lt;/P&gt;
&lt;P&gt;Do statement must have while &lt;BR&gt;Do-while語句中缺少while部分 &lt;/P&gt;
&lt;P&gt;Enum syntax error &lt;BR&gt;列舉類型語法錯誤 &lt;/P&gt;
&lt;P&gt;Enumeration constant syntax error &lt;BR&gt;列舉常數語法錯誤 &lt;/P&gt;
&lt;P&gt;Error directive :xxx &lt;BR&gt;錯誤的編譯預處理命令 &lt;/P&gt;
&lt;P&gt;Error writing output file &lt;BR&gt;輸出檔案時錯誤 &lt;/P&gt;
&lt;P&gt;Expression syntax error &lt;BR&gt;表達式語法錯誤 &lt;/P&gt;
&lt;P&gt;Extra parameter in call &lt;BR&gt;使用時出現多餘錯誤 &lt;/P&gt;
&lt;P&gt;File name too long &lt;BR&gt;檔案名太長 &lt;/P&gt;
&lt;P&gt;Function call missing ) &lt;BR&gt;函數使用缺少右括號 &lt;/P&gt;
&lt;P&gt;Fuction definition out of place &lt;BR&gt;函數定義位置錯誤 &lt;/P&gt;
&lt;P&gt;Fuction should return a value &lt;BR&gt;函數必需回傳一個值 &lt;/P&gt;
&lt;P&gt;Goto statement missing label &lt;BR&gt;Goto語句沒有標號 &lt;/P&gt;
&lt;P&gt;Hexadecimal or octal constant too large &lt;BR&gt;16進制或8進制常數太大 &lt;/P&gt;
&lt;P&gt;Illegal character ``x`` &lt;BR&gt;非法字符x &lt;/P&gt;
&lt;P&gt;Illegal initialization &lt;BR&gt;非法的初始化 &lt;/P&gt;
&lt;P&gt;Illegal octal digit &lt;BR&gt;非法的8進制數字 &lt;/P&gt;
&lt;P&gt;Illegal pointer subtraction &lt;BR&gt;非法的指標相減 &lt;/P&gt;
&lt;P&gt;Illegal structure operation &lt;BR&gt;非法的架構體操作 &lt;/P&gt;
&lt;P&gt;Illegal use of floating point &lt;BR&gt;非法的浮點運算 &lt;/P&gt;
&lt;P&gt;Illegal use of pointer &lt;BR&gt;指標使用非法 &lt;/P&gt;
&lt;P&gt;Improper use of a typedefsymbol &lt;BR&gt;類型定義符號使用不恰當 &lt;/P&gt;
&lt;P&gt;In-line assembly not allowed &lt;BR&gt;不允許使用行間彙編 &lt;/P&gt;
&lt;P&gt;Incompatible storage class &lt;BR&gt;存儲類別不相容 &lt;/P&gt;
&lt;P&gt;Incompatible type conversion &lt;BR&gt;不相容的類型轉換 &lt;/P&gt;
&lt;P&gt;Incorrect number format &lt;BR&gt;錯誤的數據格式 &lt;/P&gt;
&lt;P&gt;Incorrect use of default &lt;BR&gt;Default使用不當 &lt;/P&gt;
&lt;P&gt;Invalid indirection &lt;BR&gt;無效的間接運算 &lt;/P&gt;
&lt;P&gt;Invalid pointer addition &lt;BR&gt;指標相加無效 &lt;/P&gt;
&lt;P&gt;Irreducible expression tree &lt;BR&gt;無法執行的表達式運算 &lt;/P&gt;
&lt;P&gt;Lvalue required &lt;BR&gt;需要邏輯值0或非0值 &lt;/P&gt;
&lt;P&gt;Macro argument syntax error &lt;BR&gt;宏參數語法錯誤 &lt;/P&gt;
&lt;P&gt;Macro expansion too long &lt;BR&gt;宏的擴展以後太長 &lt;/P&gt;
&lt;P&gt;Mismatched number of parameters in definition &lt;BR&gt;定義中參數個數不相容&lt;/P&gt;
&lt;P&gt;Misplaced break &lt;BR&gt;此處不應出現break語法&lt;/P&gt;
&lt;P&gt;Misplaced continue &lt;BR&gt;此處不應出現continue語法&lt;/P&gt;
&lt;P&gt;Misplaced decimal point &lt;BR&gt;此處不應出現小數點 &lt;/P&gt;
&lt;P&gt;Misplaced elif directive &lt;BR&gt;不應編譯預處理elif &lt;/P&gt;
&lt;P&gt;Misplaced else &lt;BR&gt;此處不應出現else &lt;/P&gt;
&lt;P&gt;Misplaced else directive &lt;BR&gt;此處不應出現編譯預處理else &lt;/P&gt;
&lt;P&gt;Misplaced endif directive &lt;BR&gt;此處不應出現編譯預處理endif &lt;/P&gt;
&lt;P&gt;Must be addressable &lt;BR&gt;必須是可以編址的 &lt;/P&gt;
&lt;P&gt;Must take address of memory location &lt;BR&gt;必須存儲定位的位址 &lt;/P&gt;
&lt;P&gt;No declaration for function ``xxx`` &lt;BR&gt;沒有函數xxx的說明 &lt;/P&gt;
&lt;P&gt;No stack &lt;BR&gt;缺少堆棧 &lt;/P&gt;
&lt;P&gt;No type information &lt;BR&gt;沒有類型訊息 &lt;/P&gt;
&lt;P&gt;Non-portable pointer assignment &lt;BR&gt;不可移動的指標（位址常數）賦值 &lt;/P&gt;
&lt;P&gt;Non-portable pointer comparison &lt;BR&gt;不可移動的指標（位址常數）比較 &lt;/P&gt;
&lt;P&gt;Non-portable pointer conversion &lt;BR&gt;不可移動的指標（位址常數）轉換 &lt;/P&gt;
&lt;P&gt;Not a valid expression format type &lt;BR&gt;不合法的表達式格式 &lt;/P&gt;
&lt;P&gt;Not an allowed type &lt;BR&gt;不允許使用的類型 &lt;/P&gt;
&lt;P&gt;Numeric constant too large &lt;BR&gt;數值常太大 &lt;/P&gt;
&lt;P&gt;Out of memory &lt;BR&gt;記憶體不足 &lt;/P&gt;
&lt;P&gt;Parameter ``xxx`` is never used &lt;BR&gt;能數xxx沒有用到 &lt;/P&gt;
&lt;P&gt;Pointer required on left side of -&amp;gt; &lt;BR&gt;符號-&amp;gt;的左邊必須是指標 &lt;/P&gt;
&lt;P&gt;Possible use of ``xxx`` before definition &lt;BR&gt;在定義之前就使用了xxx（警告） &lt;/P&gt;
&lt;P&gt;Possibly incorrect assignment &lt;BR&gt;指定的值可能不正確 &lt;/P&gt;
&lt;P&gt;Redeclaration of ``xxx`` &lt;BR&gt;重複定義了xxx &lt;/P&gt;
&lt;P&gt;Redefinition of ``xxx`` is not identical &lt;BR&gt;xxx的兩次定義不一致 &lt;/P&gt;
&lt;P&gt;Register allocation failure &lt;BR&gt;暫存器定址失敗 &lt;/P&gt;
&lt;P&gt;Repeat count needs an lvalue &lt;BR&gt;重複計數需要邏輯值 &lt;/P&gt;
&lt;P&gt;Size of structure or array not known &lt;BR&gt;架構體或數給大小不確定 &lt;/P&gt;
&lt;P&gt;Statement missing ; &lt;BR&gt;語句後缺少"；" &lt;/P&gt;
&lt;P&gt;Structure or union syntax error &lt;BR&gt;架構體或聯合體語法錯誤 &lt;/P&gt;
&lt;P&gt;Structure size too large &lt;BR&gt;架構體尺寸太大 &lt;/P&gt;
&lt;P&gt;Sub scripting missing ] &lt;BR&gt;下標缺少右方括號 &lt;/P&gt;
&lt;P&gt;Superfluous &amp;amp; with function or array &lt;BR&gt;函數或數組中有多餘的"&amp;amp;" &lt;/P&gt;
&lt;P&gt;Suspicious pointer conversion &lt;BR&gt;可疑的指標轉換 &lt;/P&gt;
&lt;P&gt;Symbol limit exceeded &lt;BR&gt;符號超限制&lt;/P&gt;
&lt;P&gt;Too few parameters in call &lt;BR&gt;函數使用時的實參少於函數的參數不 &lt;/P&gt;
&lt;P&gt;Too many default cases &lt;BR&gt;Default太多(switch語句中一個) &lt;/P&gt;
&lt;P&gt;Too many error or warning messages &lt;BR&gt;錯誤或警告訊息太多 &lt;/P&gt;
&lt;P&gt;Too many type in declaration &lt;BR&gt;說明中類型太多 &lt;/P&gt;
&lt;P&gt;Too much auto memory in function &lt;BR&gt;函數用到的局部存儲太多&lt;/P&gt;
&lt;P&gt;Too much global data defined in file &lt;BR&gt;檔案中全局數據太多 &lt;/P&gt;
&lt;P&gt;Two consecutive dots &lt;BR&gt;兩個連續的句點 &lt;/P&gt;
&lt;P&gt;Type mismatch in parameter xxx &lt;BR&gt;參數xxx類型不相容 &lt;/P&gt;
&lt;P&gt;Type mismatch in redeclaration of ``xxx`` &lt;BR&gt;xxx重定義的類型不相容 &lt;/P&gt;
&lt;P&gt;Unable to create output file ``xxx`` &lt;BR&gt;無法建立輸出檔案xxx &lt;/P&gt;
&lt;P&gt;Unable to open include file ``xxx`` &lt;BR&gt;無法打開被包含的檔案xxx &lt;/P&gt;
&lt;P&gt;Unable to open input file ``xxx`` &lt;BR&gt;無法打開輸入檔案xxx &lt;/P&gt;
&lt;P&gt;Undefined label ``xxx`` &lt;BR&gt;沒有定義的標號xxx &lt;/P&gt;
&lt;P&gt;Undefined structure ``xxx`` &lt;BR&gt;沒有定義的架構xxx &lt;/P&gt;
&lt;P&gt;Undefined symbol ``xxx`` &lt;BR&gt;沒有定義的符號xxx &lt;/P&gt;
&lt;P&gt;Unexpected end of file in comment started on line xxx &lt;BR&gt;從xxx行開始的註解尚未結束，檔案不能結束 &lt;/P&gt;
&lt;P&gt;Unexpected end of file in conditional started on line xxx &lt;BR&gt;從xxx 開始的條件語句尚未結束，檔案不能結束 &lt;/P&gt;
&lt;P&gt;Unknown assemble instruction &lt;BR&gt;未知的彙編架構 &lt;/P&gt;
&lt;P&gt;Unknown option &lt;BR&gt;未知的操作 &lt;/P&gt;
&lt;P&gt;Unknown preprocessor directive: ``xxx`` &lt;BR&gt;未知的預處理命令xxx &lt;/P&gt;
&lt;P&gt;Unreachable code &lt;BR&gt;無路可達的代碼 &lt;/P&gt;
&lt;P&gt;Unterminated string or character constant &lt;BR&gt;字元串缺少引號 &lt;/P&gt;
&lt;P&gt;User break &lt;BR&gt;使用者強行中斷了程式 &lt;/P&gt;
&lt;P&gt;Void functions may not return a value &lt;BR&gt;Void類型的函數不應有回傳值 &lt;/P&gt;
&lt;P&gt;Wrong number of arguments &lt;BR&gt;使用函數的參數數目錯 &lt;/P&gt;
&lt;P&gt;``xxx`` not an argument &lt;BR&gt;xxx不是參數 &lt;/P&gt;
&lt;P&gt;``xxx`` not part of structure &lt;BR&gt;xxx不是架構體的一部分 &lt;/P&gt;
&lt;P&gt;xxx statement missing ( &lt;BR&gt;xxx語句缺少左括號 &lt;/P&gt;
&lt;P&gt;xxx statement missing ) &lt;BR&gt;xxx語句缺少右括號 &lt;/P&gt;
&lt;P&gt;xxx statement missing ; &lt;BR&gt;xxx缺少分號 &lt;/P&gt;
&lt;P&gt;xxx`` declared but never used &lt;BR&gt;說明了xxx但沒有使用 &lt;/P&gt;
&lt;P&gt;xxx`` is assigned a value which is never used &lt;BR&gt;指定了xxx的值，但未用過 &lt;/P&gt;
&lt;P&gt;Zero length structure &lt;BR&gt;架構體的長度為零&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/52574.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>invalid option `tune=pentium4'錯誤解決方案</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52572.aspx</link><pubDate>Thu, 27 Sep 2007 15:20:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52572.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/52572.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52572.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/52572.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/52572.aspx</trackback:ping><description>&lt;P&gt;make時所出錯的畫面&lt;BR&gt;上網尋找解決方法，大致上有兩種&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;方法一&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;需要安裝一些compat的GCC&lt;BR&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;compat-libgcc-296-2.96-132.7.2
compat-gcc-32-c++-3.2.3-47.3
compat-gcc-32-3.2.3-47.3&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;可執行的環境範例&lt;BR&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)

$ g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)
&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;我的環境&lt;BR&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;#gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)

#g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;從中可看出差異，網路上得到的解決辦法&lt;/P&gt;
&lt;P&gt;找尋gcc&lt;BR&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;$ which gcc
/usr/bin/gcc
$ cd /usr/bin
$ ls gcc*
gcc  gcc32  gcc.orig
&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;接著試著看第三個版本的訊息&lt;BR&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;$ gcc.orig -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;另一個&lt;BR&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;$ ls g++*
g++  g++32  g++.orig
$ g++.orig -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)

&lt;/TEXTAREA&gt;&lt;/P&gt;
&lt;P&gt;都符合的話應該就是答案了，試著將他替換過去。&lt;/P&gt;
&lt;P&gt;&lt;A href="http://my.opera.com/sealinger/blog/2007/03/30/undefined-reference-to-unwind-resume"&gt;http://my.opera.com/sealinger/blog/2007/03/30/undefined-reference-to-unwind-resume&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;方法二&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;直接到Makefile中，將&lt;FONT color=#0000ff&gt; tune=pentium4&lt;/FONT&gt; 參數刪除。&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/52572.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>Fedora 4 Linux 的 QT 路徑</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52570.aspx</link><pubDate>Thu, 27 Sep 2007 15:06:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52570.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/52570.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/09/27/52570.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/52570.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/52570.aspx</trackback:ping><description>&lt;P&gt;環境：Fedora 4 Linux&lt;/P&gt;
&lt;P&gt;今天Make時發現路徑錯誤，後來檢查了一下Makefile裡的設定。&lt;BR&gt;發現好像不能完全照用別人做好的Makefile，因為環境的不同可能導致makeFile設定錯誤。&lt;/P&gt;
&lt;P&gt;當處理好時發現$QTDIR裡面是空值，於是對他做了一下設定。&lt;/P&gt;
&lt;P&gt;&lt;TEXTAREA class=c# name=code rows=6 cols=50&gt;export QTDIR=/usr/lib/qt-3.3&lt;/TEXTAREA&gt;&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/52570.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>炎羽</dc:creator><title>於linux環境下，執行windows軟體</title><link>http://blog.blueshop.com.tw/yowcheng/archive/2007/08/01/51963.aspx</link><pubDate>Wed, 01 Aug 2007 12:19:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/yowcheng/archive/2007/08/01/51963.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/yowcheng/comments/51963.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/yowcheng/archive/2007/08/01/51963.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/yowcheng/comments/commentRss/51963.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/yowcheng/services/trackbacks/51963.aspx</trackback:ping><description>&lt;P&gt;很多人一定會想在linux中執行windows的一些軟體，現在只要喝酒，就有可能辦到了: )&lt;BR&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;A href="http://www.winehq.org/"&gt;http://www.winehq.org/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;經測試過後，某部份windows程式果真能執行。&lt;BR&gt;但遇到需要用到DirectX 的遊戲，可能就要讓你失望了。&lt;BR&gt;雖然有解決辦法，但目前好像要花錢才可以使用該套件。&lt;/P&gt;
&lt;P&gt;不過一般的應用程式還是能在上面跑的: )&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/yowcheng/aggbug/51963.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>